/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/include/android/aidl/loggable/ |
D | Data.h | 18 int32_t num = 0; 23 …return std::tie(num, str, nestedUnion, nestedEnum) != std::tie(rhs.num, rhs.str, rhs.nestedUnion, … 26 …return std::tie(num, str, nestedUnion, nestedEnum) < std::tie(rhs.num, rhs.str, rhs.nestedUnion, r… 29 …return std::tie(num, str, nestedUnion, nestedEnum) <= std::tie(rhs.num, rhs.str, rhs.nestedUnion, … 32 …return std::tie(num, str, nestedUnion, nestedEnum) == std::tie(rhs.num, rhs.str, rhs.nestedUnion, … 35 …return std::tie(num, str, nestedUnion, nestedEnum) > std::tie(rhs.num, rhs.str, rhs.nestedUnion, r… 38 …return std::tie(num, str, nestedUnion, nestedEnum) >= std::tie(rhs.num, rhs.str, rhs.nestedUnion, … 50 os << "num: " << ::android::internal::ToString(num); in toString()
|
D | Union.h | 26 num = 0, enumerator 30 static const inline Tag num = Tag::num; variable 36 Union() : _value(std::in_place_index<static_cast<size_t>(num)>, int32_t(43)) { } in Union() 107 case num: os << "num: " << ::android::internal::ToString(get<num>()); break; in toString() 124 case Union::Tag::num: in toString() 141 ::android::aidl::loggable::Union::Tag::num,
|
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk-source/gen/include/aidl/android/aidl/loggable/ |
D | Data.h | 26 int32_t num = 0; variable 35 …return std::tie(num, str, nestedUnion, nestedEnum) != std::tie(rhs.num, rhs.str, rhs.nestedUnion, … 38 …return std::tie(num, str, nestedUnion, nestedEnum) < std::tie(rhs.num, rhs.str, rhs.nestedUnion, r… 41 …return std::tie(num, str, nestedUnion, nestedEnum) <= std::tie(rhs.num, rhs.str, rhs.nestedUnion, … 44 …return std::tie(num, str, nestedUnion, nestedEnum) == std::tie(rhs.num, rhs.str, rhs.nestedUnion, … 47 …return std::tie(num, str, nestedUnion, nestedEnum) > std::tie(rhs.num, rhs.str, rhs.nestedUnion, r… 50 …return std::tie(num, str, nestedUnion, nestedEnum) >= std::tie(rhs.num, rhs.str, rhs.nestedUnion, … 57 os << "num: " << ::android::internal::ToString(num); in toString()
|
D | Union.h | 35 num = 0, enumerator 40 static const inline Tag num = Tag::num; variable 46 Union() : _value(std::in_place_index<static_cast<size_t>(num)>, int32_t(43)) { } in Union() 115 case num: os << "num: " << ::android::internal::ToString(get<num>()); break; in toString() 134 case Union::Tag::num: in toString() 152 aidl::android::aidl::loggable::Union::Tag::num,
|
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-java-source/gen/android/aidl/loggable/ |
D | Union.java | 7 public final static int num = 0; // int num; field in Union 15 this._tag = num; in Union() 34 public static Union num(int _value) { in num() method in Union 35 return new Union(num, _value); in num() 39 _assertTag(num); in getNum() 44 _set(num, _value); in setNum() 77 case num: in writeToParcel() 90 case num: { in readFromParcel() 120 case num: return "num"; in _tagString() 131 public static final int num = 0; field
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/ |
D | UnionWithFd.java | 7 public final static int num = 0; // int num; field in UnionWithFd 15 this._tag = num; in UnionWithFd() 34 public static UnionWithFd num(int _value) { in num() method in UnionWithFd 35 return new UnionWithFd(num, _value); in num() 39 _assertTag(num); in getNum() 44 _set(num, _value); in setNum() 77 case num: in writeToParcel() 90 case num: { in readFromParcel() 130 case num: return "num"; in _tagString() 141 public static final int num = 0; field
|
/system/core/libutils/include/utils/ |
D | VectorImpl.h | 102 virtual void do_construct(void* storage, size_t num) const = 0; 103 virtual void do_destroy(void* storage, size_t num) const = 0; 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; 113 inline void _do_construct(void* storage, size_t num) const; 114 inline void _do_destroy(void* storage, size_t num) const; 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; [all …]
|
D | SortedVector.h | 145 virtual void do_construct(void* storage, size_t num) const; 146 virtual void do_destroy(void* storage, size_t num) const; 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; 257 UTILS_VECTOR_NO_CFI void SortedVector<TYPE>::do_construct(void* storage, size_t num) const { in do_construct() argument 258 construct_type( reinterpret_cast<TYPE*>(storage), num ); in do_construct() 262 void SortedVector<TYPE>::do_destroy(void* storage, size_t num) const { in do_destroy() argument 263 destroy_type( reinterpret_cast<TYPE*>(storage), num ); in do_destroy() [all …]
|
D | Vector.h | 214 virtual void do_construct(void* storage, size_t num) const; 215 virtual void do_destroy(void* storage, size_t num) const; 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; 397 UTILS_VECTOR_NO_CFI void Vector<TYPE>::do_construct(void* storage, size_t num) const { in do_construct() argument 398 construct_type( reinterpret_cast<TYPE*>(storage), num ); in do_construct() 402 void Vector<TYPE>::do_destroy(void* storage, size_t num) const { in do_destroy() argument 403 destroy_type( reinterpret_cast<TYPE*>(storage), num ); in do_destroy() [all …]
|
/system/logging/liblog/ |
D | log_time.cpp | 84 unsigned num = 0; in strptime() local 86 num = num * 10 + *e - '0'; in strptime() 100 if (num == 0) { in strptime() 101 num = INT_MAX; in strptime() 104 while (isdigit(*ret) && num && (mul > 1)) { in strptime() 105 --num; in strptime()
|
/system/core/storaged/include/ |
D | storaged_diskstats.h | 131 void add(uint32_t num) { in add() argument 132 mSum += (double)num; in add() 133 mSquareSum += (double)num * (double)num; in add() 136 void evict(uint32_t num) { in evict() argument 137 if (mSum < num || mSquareSum < (double)num * (double)num) return; in evict() 138 mSum -= (double)num; in evict() 139 mSquareSum -= (double)num * (double)num; in evict()
|
/system/memory/libmemunreachable/tests/ |
D | Allocator_test.cpp | 63 const int num = 4096; in TEST_F() local 66 void* ptr[num]; in TEST_F() 67 for (int i = 0; i < num; i++) { in TEST_F() 73 for (int i = 0; i < num; i++) { in TEST_F() 74 for (int j = 0; j < num; j++) { in TEST_F() 81 for (int i = 0; i < num; i++) { in TEST_F() 96 const int num = 128; in TEST_F() local 99 void* ptr[num]; in TEST_F() 100 for (int i = 0; i < num; i++) { in TEST_F() 106 for (int i = 0; i < num; i++) { in TEST_F()
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk-source/gen/android/aidl/tests/ |
D | UnionWithFd.cpp | 16 case num: { in readFromParcel() 20 set<num>(_aidl_value); in readFromParcel() 23 set<num>(std::move(_aidl_value)); in readFromParcel() 43 case num: return ::ndk::AParcel_writeData(_parcel, get<num>()); in writeToParcel()
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/ |
D | UnionWithFd.cpp | 11 case num: { in readFromParcel() 15 set<num>(_aidl_value); in readFromParcel() 18 set<num>(std::move(_aidl_value)); in readFromParcel() 38 case num: return _aidl_parcel->writeInt32(get<num>()); in writeToParcel()
|
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-ndk-source/gen/android/aidl/loggable/ |
D | Union.cpp | 16 case num: { in readFromParcel() 20 set<num>(_aidl_value); in readFromParcel() 23 set<num>(std::move(_aidl_value)); in readFromParcel() 43 case num: return ::ndk::AParcel_writeData(_parcel, get<num>()); in writeToParcel()
|
/system/tools/aidl/tests/golden_output/aidl_test_loggable_interface-cpp-source/gen/android/aidl/loggable/ |
D | Union.cpp | 11 case num: { in readFromParcel() 15 set<num>(_aidl_value); in readFromParcel() 18 set<num>(std::move(_aidl_value)); in readFromParcel() 38 case num: return _aidl_parcel->writeInt32(get<num>()); in writeToParcel()
|
/system/core/libdiskconfig/ |
D | config_mbr.c | 323 int num = 0; in find_mbr_part() local 327 for(num = 1; num <= dinfo->num_parts; ++num) { in find_mbr_part() 328 if (!strcmp(plist[num-1].name, name)) in find_mbr_part() 332 if (num > dinfo->num_parts) in find_mbr_part() 335 if (has_extended && (num >= PC_NUM_BOOT_RECORD_PARTS)) in find_mbr_part() 336 num++; in find_mbr_part() 343 num = snprintf(dev_name, MAX_NAME_LEN, "%s%d", dinfo->device, num); in find_mbr_part() 344 if (num >= MAX_NAME_LEN) { in find_mbr_part()
|
/system/sepolicy/tools/ |
D | version_policy.c | 89 char *num = NULL; in main() local 119 num = strdup(optarg); in main() 138 if (num == NULL || base == NULL || (mapping == false && tgt_policy == NULL)) { in main() 144 dot = num; in main() 165 rc = cil_android_attrib_mapping(&out_db, base_db, num); in main() 175 rc = cil_android_attributize(out_db, base_db, num); in main() 198 free(num); in main()
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-ndk-source/gen/include/aidl/android/aidl/tests/ |
D | UnionWithFd.h | 35 num = 0, enumerator 40 static const inline Tag num = Tag::num; variable 46 UnionWithFd() : _value(std::in_place_index<static_cast<size_t>(num)>, int32_t(0)) { } in UnionWithFd() 115 case num: os << "num: " << ::android::internal::ToString(get<num>()); break; in toString() 134 case UnionWithFd::Tag::num: in toString() 152 aidl::android::aidl::tests::UnionWithFd::Tag::num,
|
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/ |
D | UnionWithFd.h | 27 num = 0, enumerator 31 static const inline Tag num = Tag::num; variable 37 UnionWithFd() : _value(std::in_place_index<static_cast<size_t>(num)>, int32_t(0)) { } in UnionWithFd() 108 case num: os << "num: " << ::android::internal::ToString(get<num>()); break; in toString() 125 case UnionWithFd::Tag::num: in toString() 142 ::android::aidl::tests::UnionWithFd::Tag::num,
|
/system/media/audio_utils/fuzz/monoblend_fuzzer/ |
D | monoblend_fuzzer.cpp | 10 audio_format_t decideFormat(uint32_t num) { in decideFormat() argument 12 switch (num % 3) { in decideFormat() 18 return (audio_format_t) num; // default switch case in mono_blend() in decideFormat()
|
/system/chre/apps/test/chqts/src/general_test/ |
D | send_event_test.cc | 78 uint32_t num = *(reinterpret_cast<uint32_t *>(data)); in completeCallback() local 81 switch (num) { in completeCallback() 99 sendFatalFailureToHost("completeCallback given bad data.", &num); in completeCallback() 107 uint8_t mask = static_cast<uint8_t>(1 << num); in completeCallback() 110 &num); in completeCallback()
|
/system/apex/apexd/ |
D | apexd_loop.cpp | 271 Result<void> PreAllocateLoopDevices(size_t num) { in PreAllocateLoopDevices() argument 290 for (size_t id = 0ul, cnt = 0; cnt < num; ++id) { in PreAllocateLoopDevices() 317 LOG(INFO) << "Found " << (num - new_allocations) in PreAllocateLoopDevices() 436 Result<LoopbackDeviceUniqueFd> WaitForDevice(int num) { in WaitForDevice() argument 439 StringPrintf("/dev/block/loop%d", num), in WaitForDevice() 440 StringPrintf("/dev/loop%d", num), in WaitForDevice() 465 PLOG(WARNING) << "Loopback device " << num << " not ready. Waiting 50ms..."; in WaitForDevice() 473 return Error() << "Failed to open loopback device " << num; in WaitForDevice() 488 int num = ioctl(ctl_fd.get(), LOOP_CTL_GET_FREE); in CreateLoopDevice() local 489 if (num == -1) { in CreateLoopDevice() [all …]
|
/system/nfc/src/nfc/nci/ |
D | nci_hmsgs.cc | 144 uint8_t num = 0, ulen, len, *pt; in nci_snd_core_set_config() local 162 num++; in nci_snd_core_set_config() 173 UINT8_TO_STREAM(pp, num); in nci_snd_core_set_config() 360 uint8_t nci_snd_discover_cmd(uint8_t num, tNCI_DISCOVER_PARAMS* p_param) { in nci_snd_discover_cmd() argument 366 size = num * sizeof(tNCI_DISCOVER_PARAMS) + 1; in nci_snd_discover_cmd() 380 UINT8_TO_STREAM(pp, num); in nci_snd_discover_cmd() 381 for (xx = 0; xx < num; xx++) { in nci_snd_discover_cmd() 471 uint8_t nci_snd_discover_map_cmd(uint8_t num, tNCI_DISCOVER_MAPS* p_maps) { in nci_snd_discover_map_cmd() argument 477 size = num * sizeof(tNCI_DISCOVER_MAPS) + 1; in nci_snd_discover_map_cmd() 492 UINT8_TO_STREAM(pp, num); in nci_snd_discover_map_cmd() [all …]
|
/system/core/libutils/ |
D | VectorImpl.cpp | 521 void VectorImpl::_do_construct(void* storage, size_t num) const in _do_construct() 524 do_construct(storage, num); in _do_construct() 528 void VectorImpl::_do_destroy(void* storage, size_t num) const in _do_destroy() 531 do_destroy(storage, num); in _do_destroy() 535 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const in _do_copy() 538 do_copy(dest, from, num); in _do_copy() 540 memcpy(dest, from, num*itemSize()); in _do_copy() 544 void VectorImpl::_do_splat(void* dest, const void* item, size_t num) const { in _do_splat() 545 do_splat(dest, item, num); in _do_splat() 548 void VectorImpl::_do_move_forward(void* dest, const void* from, size_t num) const { in _do_move_forward() [all …]
|