/system/nfc/halimpl/bcm2079x/adaptation/ |
H A D | _OverrideLog.cpp | 56 unsigned long num = 0; local 59 num = 1; 60 if (GetNumValue(NAME_APPL_TRACE_LEVEL, &num, sizeof(num))) 61 appl_trace_level = (unsigned char)num; 66 sscanf(valueStr, "%lu", &num); 67 appl_trace_level = (unsigned char)num; 83 uint32_t num = 0; local 86 if (GetNumValue(NAME_PROTOCOL_TRACE_LEVEL, &num, sizeof(num))) [all...] |
H A D | HalAdaptation.cpp | 82 unsigned long num = 0; local 89 if (GetNumValue(NAME_GLOBAL_RESET, &num, sizeof(num))) { 90 if (num == 1) { 98 if (GetNumValue(NAME_PRESERVE_STORAGE, (char*)&num, sizeof(num)) && 99 (num == 1)) 105 if (GetNumValue(NAME_USE_RAW_NCI_TRACE, &num, sizeof(num))) { 106 if (num [all...] |
H A D | patchram.cpp | 296 unsigned long num = 0; local 363 if (GetNumValue(NAME_NFA_MAX_EE_SUPPORTED, &num, sizeof(num))) 364 nfc_hal_cb.max_ee = num; 560 unsigned long num = 0; local 566 if (GetNumValue(NAME_XTAL_HARDWARE_ID, &num, sizeof(num))) hwId = num; 568 if (GetNumValue(NAME_XTAL_FREQUENCY, &num, sizeof(num))) [all...] |
/system/nfc/src/adaptation/ |
H A D | OverrideLog.cpp | 52 unsigned long num = 0; local 55 num = 1; 56 if (GetNumValue(NAME_APPL_TRACE_LEVEL, &num, sizeof(num))) 57 appl_trace_level = (unsigned char)num; 62 sscanf(valueStr, "%lu", &num); 63 appl_trace_level = (unsigned char)num; 79 uint32_t num = 0; local 82 if (GetNumValue(NAME_PROTOCOL_TRACE_LEVEL, &num, sizeof(num))) [all...] |
/system/core/toolbox/upstream-netbsd/lib/libc/stdlib/ |
H A D | strsuftoll.c | 137 long long num, t; local 153 num = strtoll(val, &expr, 10); 162 t = num; 163 num *= 512; /* 1 block */ 164 if (t > num) 169 t = num; 170 num *= 1024; /* 1 kibibyte */ 171 if (t > num) 176 t = num; 177 num * [all...] |
/system/chre/apps/chqts/src/general_test/ |
H A D | send_event_stress_test.cc | 120 uint32_t num) { 126 sendFatalFailureToHost("bad event data:", &num); 119 sanityCheck(uint16_t eventType, const void *data, uint32_t num) argument
|
H A D | send_event_test.cc | 40 * num | eventType | data | Callback 42 * 0 | 0 | ptr to num | 0 43 * 1 | 0 | ptr to num | 1 44 * 2 | 1 | ptr to num | 0 45 * 3 | 1 | ptr to num | 1 46 * 4 | 0 | ptr to num | nullptr 47 * 5 | 1 | ptr to num | nullptr 79 uint32_t num = *(reinterpret_cast<uint32_t*>(data)); local 82 switch (num) { 100 sendFatalFailureToHost("completeCallback given bad data.", &num); [all...] |
/system/core/liblog/ |
H A D | log_time.cpp | 90 unsigned num = 0; local 92 num = num * 10 + *e - '0'; 106 if (num == 0) { 107 num = INT_MAX; 110 while (isdigit(*ret) && num && (mul > 1)) { 111 --num;
|
/system/core/libmemunreachable/tests/ |
H A D | Allocator_test.cpp | 63 const int num = 4096; local 66 void* ptr[num]; 67 for (int i = 0; i < num; i++) { 73 for (int i = 0; i < num; i++) { 74 for (int j = 0; j < num; j++) { 81 for (int i = 0; i < num; i++) { 96 const int num = 128; local 99 void* ptr[num]; 100 for (int i = 0; i < num; i++) { 106 for (int i = 0; i < num; [all...] |
/system/nfc/halimpl/pn54x/log/ |
H A D | phNxpLog.c | 54 unsigned long num = 0; local 60 sscanf(valueStr, "%lu", &num); 61 level = (unsigned char)num; 77 unsigned long num = 0; local 81 if (GetNxpNumValue(NAME_NXPLOG_HAL_LOGLEVEL, &num, sizeof(num))) { 83 (level > (unsigned char)num) ? level : (unsigned char)num; 90 sscanf(valueStr, "%lu", &num); 91 gLog_level.hal_log_level = (unsigned char)num; 105 unsigned long num = 0; local 132 unsigned long num = 0; local 159 unsigned long num = 0; local 186 unsigned long num = 0; local [all...] |
/system/core/libcrypto_utils/ |
H A D | android_pubkey.c | 113 static bool android_pubkey_encode_bignum(const BIGNUM* num, uint8_t* buffer) { argument 114 if (!BN_bn2bin_padded(buffer, ANDROID_PUBKEY_MODULUS_SIZE, num)) {
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/ |
H A D | bitops.h | 61 int num = 0; local 65 num += 32; 70 num += 16; 74 num += 8; 78 num += 4; 82 num += 2; 86 num += 1; 87 return num;
|
/system/sepolicy/tools/ |
H A D | version_policy.c | 89 char *num = NULL; local 118 num = strdup(optarg); 137 if (num == NULL || base == NULL || (mapping == false && tgt_policy == NULL)) { 143 dot = num; 164 rc = cil_android_attrib_mapping(&out_db, base_db, num); 174 rc = cil_android_attributize(out_db, base_db, num); 187 free(num);
|
/system/bt/stack/a2dp/ |
H A D | a2dp_api.cc | 346 * Description Check the given num for the number of bits set 351 uint8_t A2DP_BitsSet(uint64_t num) { argument 352 if (num == 0) return A2DP_SET_ZERO_BIT; 353 if ((num & (num - 1)) == 0) return A2DP_SET_ONE_BIT;
|
/system/core/libdiskconfig/ |
H A D | config_mbr.c | 323 int num = 0; local 327 for(num = 1; num <= dinfo->num_parts; ++num) { 328 if (!strcmp(plist[num-1].name, name)) 332 if (num > dinfo->num_parts) 335 if (has_extended && (num >= PC_NUM_BOOT_RECORD_PARTS)) 336 num++; 343 num = snprintf(dev_name, MAX_NAME_LEN, "%s%d", dinfo->device, num); [all...] |
/system/nfc/halimpl/bcm2079x/gki/common/ |
H A D | gki_debug.c | 42 uint8_t num = gki_cb.com.curr_total_no_of_pools; local 61 if (p_num_pools) *p_num_pools = num; 62 if (p_cur_used) memcpy(p_cur_used, cur, num * 2); 88 ** stack used by looking non magic num. Magic num is consider
|
/system/vold/ |
H A D | Loop.cpp | 246 int num = ioctl(ctl_fd.get(), LOOP_CTL_GET_FREE); local 247 if (num == -1) { 252 out_device = StringPrintf("/dev/block/loop%d", num);
|
/system/core/include/backtrace/ |
H A D | Backtrace.h | 56 size_t num; // The current fame number. member in struct:backtrace_frame_data_t
|
/system/core/include/utils/ |
H A D | SortedVector.h | 143 virtual void do_construct(void* storage, size_t num) const; 144 virtual void do_destroy(void* storage, size_t num) const; 145 virtual void do_copy(void* dest, const void* from, size_t num) const; 146 virtual void do_splat(void* dest, const void* item, size_t num) const; 147 virtual void do_move_forward(void* dest, const void* from, size_t num) const; 148 virtual void do_move_backward(void* dest, const void* from, size_t num) const; 255 UTILS_VECTOR_NO_CFI void SortedVector<TYPE>::do_construct(void* storage, size_t num) const { 256 construct_type( reinterpret_cast<TYPE*>(storage), num ); local 260 void SortedVector<TYPE>::do_destroy(void* storage, size_t num) const { 261 destroy_type( reinterpret_cast<TYPE*>(storage), num ); local 266 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local 271 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num ); local 276 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local 281 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local [all...] |
H A 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 { 398 construct_type( reinterpret_cast<TYPE*>(storage), num ); local 402 void Vector<TYPE>::do_destroy(void* storage, size_t num) const { 403 destroy_type( reinterpret_cast<TYPE*>(storage), num ); local 408 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local 413 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num ); local 418 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local 423 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local [all...] |
/system/core/libbacktrace/include/backtrace/ |
H A D | Backtrace.h | 56 size_t num; // The current fame number. member in struct:backtrace_frame_data_t
|
/system/core/libutils/include/utils/ |
H A D | SortedVector.h | 143 virtual void do_construct(void* storage, size_t num) const; 144 virtual void do_destroy(void* storage, size_t num) const; 145 virtual void do_copy(void* dest, const void* from, size_t num) const; 146 virtual void do_splat(void* dest, const void* item, size_t num) const; 147 virtual void do_move_forward(void* dest, const void* from, size_t num) const; 148 virtual void do_move_backward(void* dest, const void* from, size_t num) const; 255 UTILS_VECTOR_NO_CFI void SortedVector<TYPE>::do_construct(void* storage, size_t num) const { 256 construct_type( reinterpret_cast<TYPE*>(storage), num ); local 260 void SortedVector<TYPE>::do_destroy(void* storage, size_t num) const { 261 destroy_type( reinterpret_cast<TYPE*>(storage), num ); local 266 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local 271 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num ); local 276 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local 281 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local [all...] |
/system/extras/tests/lib/testUtil/ |
H A D | testUtil.c | 325 size_t num = size; local 328 while (num) { 348 num--;
|
/system/libhwbinder/vts/performance/ |
H A D | Latency.cpp | 176 static void clientFx(int num, int server_count, int iterations, Pipe p) { argument 205 int target = num; 227 cout << "\"fifo_" + to_string(num) + "_data\": "; 239 static Pipe makeClientProcess(int num, int iterations, int no_pair) { argument 248 clientFx(num, no_pair, iterations, move(get<1>(pipe_pair)));
|
/system/nfc/src/nfc/nci/ |
H A D | nci_hmsgs.c | 142 uint8_t num = 0, ulen, len, *pt; local 160 num++; 171 UINT8_TO_STREAM(pp, num); 356 uint8_t nci_snd_discover_cmd(uint8_t num, tNCI_DISCOVER_PARAMS* p_param) { argument 362 size = num * sizeof(tNCI_DISCOVER_PARAMS) + 1; 376 UINT8_TO_STREAM(pp, num); 377 for (xx = 0; xx < num; xx++) { 467 uint8_t nci_snd_discover_map_cmd(uint8_t num, tNCI_DISCOVER_MAPS* p_maps) { argument 473 size = num * sizeof(tNCI_DISCOVER_MAPS) + 1; 488 UINT8_TO_STREAM(pp, num); 546 uint8_t num = 0, ulen, len, *pt; local [all...] |