/system/chre/util/include/chre/util/ |
D | memory_impl.h | 38 inline void moveOrCopyAssign(ElementType& dest, ElementType& source, in moveOrCopyAssign() argument 40 dest = std::move(source); in moveOrCopyAssign() 45 inline void moveOrCopyAssign(ElementType& dest, ElementType& source, in moveOrCopyAssign() argument 47 dest = source; in moveOrCopyAssign() 51 inline void moveOrCopyAssign(ElementType& dest, ElementType& source) { in moveOrCopyAssign() argument 52 moveOrCopyAssign(dest, source, in moveOrCopyAssign() 59 ElementType *dest, std::true_type) { in uninitializedMoveOrCopy() argument 60 std::memcpy(dest, source, count * sizeof(ElementType)); in uninitializedMoveOrCopy() 67 ElementType *dest, std::false_type, in uninitializedMoveOrCopy() argument 70 new (&dest[i]) ElementType(std::move(source[i])); in uninitializedMoveOrCopy() [all …]
|
D | memory.h | 39 void moveOrCopyAssign(ElementType& dest, ElementType& source); 53 ElementType *dest);
|
/system/keymaster/android_keymaster/ |
D | serializable.cpp | 47 bool copy_from_buf(const uint8_t** buf_ptr, const uint8_t* end, void* dest, size_t size) { in copy_from_buf() argument 49 memcpy(dest, *buf_ptr, size); in copy_from_buf() 58 UniquePtr<uint8_t[]>* dest) { in copy_size_and_data_from_buf() argument 63 dest->reset(); in copy_size_and_data_from_buf() 68 dest->reset(new (std::nothrow) uint8_t[*size]); in copy_size_and_data_from_buf() 69 if (!dest->get()) { in copy_size_and_data_from_buf() 72 return copy_from_buf(buf_ptr, end, dest->get(), *size); in copy_size_and_data_from_buf() 138 bool Buffer::read(uint8_t* dest, size_t read_length) { in read() argument 141 memcpy(dest, buffer_.get() + read_position_, read_length); in read()
|
/system/bt/embdrv/sbc/decoder/srce/ |
D | framing.c | 262 PRIVATE void shift_buffer(SBC_BUFFER_T* dest, SBC_BUFFER_T* src, in shift_buffer() argument 265 memmove(dest, src, wordCount * sizeof(SBC_BUFFER_T)); in shift_buffer() 267 OI_ASSERT(((OI_CHAR*)(dest) - (OI_CHAR*)(src)) >= wordCount * sizeof(*dest)); in shift_buffer() 268 memcpy(dest, src, wordCount * sizeof(SBC_BUFFER_T)); in shift_buffer() 273 n = wordCount / 4 / (sizeof(int32_t) / sizeof(*dest)); in shift_buffer() 274 OI_ASSERT((n * 4 * (sizeof(int32_t) / sizeof(*dest))) == wordCount); in shift_buffer() 276 d = (void*)(dest + wordCount); in shift_buffer()
|
/system/core/libutils/include/utils/ |
D | VectorImpl.h | 104 virtual void do_copy(void* dest, const void* from, size_t num) const = 0; 105 virtual void do_splat(void* dest, const void* item, size_t num) const = 0; 106 virtual void do_move_forward(void* dest, const void* from, size_t num) const = 0; 107 virtual void do_move_backward(void* dest, const void* from, size_t num) const = 0; 115 inline void _do_copy(void* dest, const void* from, size_t num) const; 116 inline void _do_splat(void* dest, const void* item, size_t num) const; 117 inline void _do_move_forward(void* dest, const void* from, size_t num) const; 118 inline void _do_move_backward(void* dest, const void* from, size_t num) const;
|
D | SortedVector.h | 147 virtual void do_copy(void* dest, const void* from, size_t num) const; 148 virtual void do_splat(void* dest, const void* item, size_t num) const; 149 virtual void do_move_forward(void* dest, const void* from, size_t num) const; 150 virtual void do_move_backward(void* dest, const void* from, size_t num) const; 267 UTILS_VECTOR_NO_CFI void SortedVector<TYPE>::do_copy(void* dest, const void* from, size_t num) cons… in do_copy() argument 268 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); in do_copy() 272 UTILS_VECTOR_NO_CFI void SortedVector<TYPE>::do_splat(void* dest, const void* item, size_t num) con… in do_splat() argument 273 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num ); in do_splat() 277 UTILS_VECTOR_NO_CFI void SortedVector<TYPE>::do_move_forward(void* dest, const void* from, size_t n… in do_move_forward() argument 278 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); in do_move_forward() [all …]
|
D | Vector.h | 216 virtual void do_copy(void* dest, const void* from, size_t num) const; 217 virtual void do_splat(void* dest, const void* item, size_t num) const; 218 virtual void do_move_forward(void* dest, const void* from, size_t num) const; 219 virtual void do_move_backward(void* dest, const void* from, size_t num) const; 407 UTILS_VECTOR_NO_CFI void Vector<TYPE>::do_copy(void* dest, const void* from, size_t num) const { in do_copy() argument 408 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); in do_copy() 412 UTILS_VECTOR_NO_CFI void Vector<TYPE>::do_splat(void* dest, const void* item, size_t num) const { in do_splat() argument 413 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num ); in do_splat() 417 UTILS_VECTOR_NO_CFI void Vector<TYPE>::do_move_forward(void* dest, const void* from, size_t num) co… in do_move_forward() argument 418 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); in do_move_forward() [all …]
|
/system/sepolicy/tests/ |
D | sepolicy_tests.py | 51 def take_action(self, action, dest, opt, value, values, parser): argument 53 values.ensure_value(dest, []).append(value) 55 Option.take_action(self, action, dest, opt, value, values, parser) 72 parser.add_option("-f", "--file_contexts", dest="file_contexts", 74 parser.add_option("-p", "--policy", dest="policy", metavar="FILE") 75 parser.add_option("-l", "--library-path", dest="libpath", metavar="FILE") 76 parser.add_option("-t", "--test", dest="test", action="extend",
|
D | treble_sepolicy_tests.py | 319 def take_action(self, action, dest, opt, value, values, parser): argument 321 values.ensure_value(dest, []).append(value) 323 Option.take_action(self, action, dest, opt, value, values, parser) 336 parser.add_option("-b", "--basepolicy", dest="basepolicy", metavar="FILE") 337 parser.add_option("-u", "--base-pub-policy", dest="base_pub_policy", 339 parser.add_option("-f", "--file_contexts", dest="file_contexts", 341 parser.add_option("-l", "--library-path", dest="libpath", metavar="FILE") 342 parser.add_option("-m", "--mapping", dest="mapping", metavar="FILE") 343 parser.add_option("-o", "--oldpolicy", dest="oldpolicy", metavar="FILE") 344 parser.add_option("-p", "--policy", dest="policy", metavar="FILE") [all …]
|
D | combine_maps.py | 60 parser.add_argument("-t", "--top-map", dest="top_map", 62 parser.add_argument("-b", "--bottom-map", dest="bottom_map", 64 parser.add_argument("-o", "--output-file", dest="output_file",
|
D | searchpolicy.py | 10 parser.add_argument("--libpath", dest="libpath", help="Path to the libsepolwrap.so", nargs="?") 13 const="allow", dest="tertypes", 20 expr.add_argument("-c", "--class", dest="tclass",
|
/system/netd/libnetdutils/ |
D | MemBlockTest.cpp | 58 void checkHelloMello(Slice dest, Slice src) { in checkHelloMello() argument 59 EXPECT_EQ('h', dest.base()[0]); in checkHelloMello() 60 EXPECT_EQ('e', dest.base()[1]); in checkHelloMello() 61 EXPECT_EQ('l', dest.base()[2]); in checkHelloMello() 62 EXPECT_EQ('l', dest.base()[3]); in checkHelloMello() 63 EXPECT_EQ('o', dest.base()[4]); in checkHelloMello() 66 EXPECT_EQ('h', dest.base()[0]); in checkHelloMello()
|
/system/chre/apps/chqts/src/shared/ |
D | nano_string.cc | 56 char *strncpy(char *dest, const char *src, size_t len) { in strncpy() argument 59 dest[i] = src[i]; in strncpy() 62 dest[i] = '\0'; in strncpy() 64 return dest; in strncpy()
|
/system/core/libpixelflinger/codeflinger/ |
D | texturing.cpp | 1060 component_t& dest, in modulate() argument 1078 RSB(AL, 0, dest.reg, texel.reg, reg_imm(texel.reg, LSL, incoming.h)); in modulate() 1079 AND(AL, 0, dest.reg, dest.reg, incoming.reg); in modulate() 1080 dest.l = incoming.l; in modulate() 1081 dest.h = incoming.h; in modulate() 1082 dest.flags |= (incoming.flags & CLEAR_LO); in modulate() 1084 MOV(AL, 0, dest.reg, reg_imm(incoming.reg, LSL, 31-incoming.h)); in modulate() 1085 AND(AL, 0, dest.reg, texel.reg, reg_imm(dest.reg, ASR, 31)); in modulate() 1086 dest.l = 0; in modulate() 1087 dest.h = Nt; in modulate() [all …]
|
/system/bt/vendor_libs/test_vendor_lib/model/devices/ |
D | sniffer.cc | 44 Address dest = packet.GetDestinationAddress(); in IncomingPacket() local 46 bool match_dest = device_to_sniff_ == dest; in IncomingPacket() 52 source.ToString().c_str(), dest.ToString().c_str(), in IncomingPacket()
|
/system/tools/aidl/tests/java_app/src/android/aidl/tests/generic/ |
D | Pair.java | 31 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 32 dest.writeValue(mFirst); in writeToParcel() 33 dest.writeValue(mSecond); in writeToParcel()
|
/system/core/storaged/tools/ |
D | ranker.py | 51 parser.add_argument("-i", "--input", dest="input", required="true", 53 parser.add_argument("-o", "--output", dest="output", default="stdout", 55 parser.add_argument("-u", "--uidcnt", dest="uidcnt", type=int, default=10, 58 parser.add_argument("-c", "--combine", dest="combine", default=False, 61 parser.add_argument("-n", "--native", dest="native", default=False, 64 parser.add_argument("-t", "--task", dest="task", default=False,
|
/system/bt/embdrv/sbc/decoder/include/ |
D | oi_string.h | 62 #define OI_Strcpy(dest, src) strcpy((dest), (src)) argument 63 #define OI_Strcat(dest, src) strcat((dest), (src)) argument
|
/system/apex/tools/ |
D | deapexer.py | 112 def extract(self, dest): argument 114 self._apex._extract(self._path, dest) 161 def _extract(self, path, dest): argument 162 process = subprocess.Popen([self._debugfs, '-R', 'rdump %s %s' % (path, dest), self._payload], 183 if not os.path.exists(args.dest): 184 os.makedirs(args.dest, mode=0o755) 185 apex.extract(args.dest) 186 shutil.rmtree(os.path.join(args.dest, "lost+found")) 202 subparsers = parser.add_subparsers(required=True, dest='cmd')
|
/system/tools/aidl/tests/java_app/src/android/aidl/tests/ |
D | SimpleParcelable.java | 34 public void writeToParcel(Parcel dest, int flags) { in writeToParcel() argument 35 dest.writeString(mName); in writeToParcel() 36 dest.writeInt(mNumber); in writeToParcel()
|
/system/libufdt/utils/src/ |
D | mkdtboimg.py | 567 parser.add_argument('--id', type=str, dest='id', action='store', 569 parser.add_argument('--rev', type=str, dest='rev', 571 parser.add_argument('--flags', type=str, dest='flags', 574 parser.add_argument('--custom0', type=str, dest='custom0', 577 parser.add_argument('--custom1', type=str, dest='custom1', 580 parser.add_argument('--custom2', type=str, dest='custom2', 738 parser.add_argument('--dt_type', type=str, dest='dt_type', 740 parser.add_argument('--page_size', type=int, dest='page_size', 742 parser.add_argument('--version', type=int, dest='version', 744 parser.add_argument('--id', type=str, dest='global_id', [all …]
|
/system/core/libutils/ |
D | VectorImpl.cpp | 431 void* dest = reinterpret_cast<uint8_t *>(array) + (where+amount)*mItemSize; in _grow() local 432 _do_copy(dest, from, mCount-where); in _grow() 498 void* dest = reinterpret_cast<uint8_t *>(array) + where*mItemSize; in _shrink() local 499 _do_copy(dest, from, new_size - where); in _shrink() 537 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const in _do_copy() argument 540 do_copy(dest, from, num); in _do_copy() 542 memcpy(dest, from, num*itemSize()); in _do_copy() 546 void VectorImpl::_do_splat(void* dest, const void* item, size_t num) const { in _do_splat() argument 547 do_splat(dest, item, num); in _do_splat() 550 void VectorImpl::_do_move_forward(void* dest, const void* from, size_t num) const { in _do_move_forward() argument [all …]
|
/system/bt/btcore/src/ |
D | device_class.cc | 103 bool device_class_copy(bt_device_class_t* dest, const bt_device_class_t* src) { in device_class_copy() argument 104 CHECK(dest != NULL); in device_class_copy() 106 return (memcpy(dest, src, sizeof(bt_device_class_t)) == dest); in device_class_copy()
|
/system/vold/ |
D | Checkpoint.cpp | 409 sector_t dest; // in sectors of size kSectorSize member 491 void relocate(Relocations& relocations, sector_t dest, sector_t source, int count) { in relocate() argument 497 slice[dest] = source - s->first + s->second; in relocate() 502 slice[dest - source + s->first] = s->second; in relocate() 505 auto dest_end = --relocations.upper_bound(dest + count); in relocate() 506 relocations[dest + count] = dest + count - dest_end->first + dest_end->second; in relocate() 509 relocations.erase(relocations.lower_bound(dest), relocations.lower_bound(dest + count)); in relocate() 571 markUsed(used_sectors, le->dest, le->dest + count); in restoreSector() 666 LOG(VERBOSE) << action << " " << le->size << " bytes from sector " << le->dest in cp_restoreCheckpoint() 670 auto buffer = relocatedRead(device_fd, relocations, validating, le->dest, le->size, in cp_restoreCheckpoint() [all …]
|
/system/extras/libfec/ |
D | fec_read.cpp | 107 static int __ecc_read(fec_handle *f, void *rs, uint8_t *dest, uint64_t offset, in __ecc_read() argument 196 dest[i] = ecc_data[i * FEC_RSM + data_index]; in __ecc_read() 234 static ssize_t ecc_read(fec_handle *f, uint8_t *dest, size_t count, in ecc_read() argument 238 check(dest); in ecc_read() 271 memcpy(dest, &data[coff], copy); in ecc_read() 273 dest += copy; in ecc_read() 285 static ssize_t verity_read(fec_handle *f, uint8_t *dest, size_t count, in verity_read() argument 289 check(dest); in verity_read() 391 memcpy(dest, &data[coff], copy); in verity_read() 393 dest += copy; in verity_read()
|