/system/core/toolbox/upstream-netbsd/lib/libc/stdlib/ |
D | strsuftoll.c | 137 long long num, t; in __strsuftollx() local 153 num = strtoll(val, &expr, 10); in __strsuftollx() 162 t = num; in __strsuftollx() 163 num *= 512; /* 1 block */ in __strsuftollx() 164 if (t > num) in __strsuftollx() 169 t = num; in __strsuftollx() 170 num *= 1024; /* 1 kibibyte */ in __strsuftollx() 171 if (t > num) in __strsuftollx() 176 t = num; in __strsuftollx() 177 num *= 1048576; /* 1 mebibyte */ in __strsuftollx() [all …]
|
/system/security/keystore-engine/ |
D | rsa_meth.cpp | 48 int num = RSA_size(rsa); in keystore_rsa_priv_enc() local 49 UniquePtr<uint8_t> padded(new uint8_t[num]); in keystore_rsa_priv_enc() 57 if (!RSA_padding_add_PKCS1_type_1(padded.get(), num, from, flen)) { in keystore_rsa_priv_enc() 62 if (!RSA_padding_add_X931(padded.get(), num, from, flen)) { in keystore_rsa_priv_enc() 67 if (!RSA_padding_add_none(padded.get(), num, from, flen)) { in keystore_rsa_priv_enc() 94 num, &reply, &replyLen); in keystore_rsa_priv_enc() 135 int num = RSA_size(rsa); in keystore_rsa_priv_dec() local 164 outSize = RSA_padding_check_PKCS1_type_2(to, num, alignedReply, replyLen, num); in keystore_rsa_priv_dec() 167 outSize = RSA_padding_check_X931(to, num, alignedReply, replyLen, num); in keystore_rsa_priv_dec() 170 outSize = RSA_padding_check_none(to, num, alignedReply, replyLen, num); in keystore_rsa_priv_dec()
|
D | dsa_meth.cpp | 68 int num = DSA_size(dsa); in keystore_dsa_do_sign() local 83 } else if (replyLen > (size_t) num) { in keystore_dsa_do_sign()
|
D | ecdsa_meth.cpp | 74 int num = ECDSA_size(eckey); in keystore_ecdsa_do_sign() local 89 } else if (replyLen > (size_t) num) { in keystore_ecdsa_do_sign()
|
/system/core/include/utils/ |
D | SortedVector.h | 127 virtual void do_construct(void* storage, size_t num) const; 128 virtual void do_destroy(void* storage, size_t num) const; 129 virtual void do_copy(void* dest, const void* from, size_t num) const; 130 virtual void do_splat(void* dest, const void* item, size_t num) const; 131 virtual void do_move_forward(void* dest, const void* from, size_t num) const; 132 virtual void do_move_backward(void* dest, const void* from, size_t num) const; 243 void SortedVector<TYPE>::do_construct(void* storage, size_t num) const { 244 construct_type( reinterpret_cast<TYPE*>(storage), num ); 248 void SortedVector<TYPE>::do_destroy(void* storage, size_t num) const { 249 destroy_type( reinterpret_cast<TYPE*>(storage), num ); [all …]
|
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 | Vector.h | 202 virtual void do_construct(void* storage, size_t num) const; 203 virtual void do_destroy(void* storage, size_t num) const; 204 virtual void do_copy(void* dest, const void* from, size_t num) const; 205 virtual void do_splat(void* dest, const void* item, size_t num) const; 206 virtual void do_move_forward(void* dest, const void* from, size_t num) const; 207 virtual void do_move_backward(void* dest, const void* from, size_t num) const; 389 void Vector<TYPE>::do_construct(void* storage, size_t num) const { 390 construct_type( reinterpret_cast<TYPE*>(storage), num ); 394 void Vector<TYPE>::do_destroy(void* storage, size_t num) const { 395 destroy_type( reinterpret_cast<TYPE*>(storage), num ); [all …]
|
/system/extras/perfprofd/quipper/original-kernel-headers/tools/perf/util/include/linux/ |
D | bitops.h | 61 int num = 0; in __ffs() local 65 num += 32; in __ffs() 70 num += 16; in __ffs() 74 num += 8; in __ffs() 78 num += 4; in __ffs() 82 num += 2; in __ffs() 86 num += 1; in __ffs() 87 return num; in __ffs()
|
/system/core/liblog/ |
D | log_time.cpp | 89 unsigned num = 0; in strptime() local 91 num = num * 10 + *e - '0'; in strptime() 105 if (num == 0) { in strptime() 106 num = INT_MAX; in strptime() 109 while (isdigit(*ret) && num && (mul > 1)) { in strptime() 110 --num; in strptime()
|
/system/core/libdiskconfig/ |
D | config_mbr.c | 324 int num = 0; in find_mbr_part() local 328 for(num = 1; num <= dinfo->num_parts; ++num) { in find_mbr_part() 329 if (!strcmp(plist[num-1].name, name)) in find_mbr_part() 333 if (num > dinfo->num_parts) in find_mbr_part() 336 if (has_extended && (num >= PC_NUM_BOOT_RECORD_PARTS)) in find_mbr_part() 337 num++; in find_mbr_part() 344 num = snprintf(dev_name, MAX_NAME_LEN, "%s%d", dinfo->device, num); in find_mbr_part() 345 if (num >= MAX_NAME_LEN) { in find_mbr_part()
|
/system/core/libutils/ |
D | VectorImpl.cpp | 520 void VectorImpl::_do_construct(void* storage, size_t num) const in _do_construct() 523 do_construct(storage, num); in _do_construct() 527 void VectorImpl::_do_destroy(void* storage, size_t num) const in _do_destroy() 530 do_destroy(storage, num); in _do_destroy() 534 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const in _do_copy() 537 do_copy(dest, from, num); in _do_copy() 539 memcpy(dest, from, num*itemSize()); in _do_copy() 543 void VectorImpl::_do_splat(void* dest, const void* item, size_t num) const { in _do_splat() 544 do_splat(dest, item, num); in _do_splat() 547 void VectorImpl::_do_move_forward(void* dest, const void* from, size_t num) const { in _do_move_forward() [all …]
|
/system/extras/ext4_utils/ |
D | allocate.c | 208 static int reserve_blocks(struct block_group_info *bg, u32 start, u32 num) in reserve_blocks() argument 213 if (num > bg->free_blocks) in reserve_blocks() 216 for (i = 0; i < num && block % 8 != 0; i++, block++) { in reserve_blocks() 223 for (; i + 8 <= (num & ~7); i += 8, block += 8) { in reserve_blocks() 230 for (; i < num; i++, block++) { in reserve_blocks() 237 bg->free_blocks -= num; in reserve_blocks() 239 bg->first_free_block = start + num; in reserve_blocks() 699 u32 reserve_inodes(int bg, u32 num) in reserve_inodes() argument 704 if (get_free_inodes(bg) < num) in reserve_inodes() 707 for (i = 0; i < num; i++) { in reserve_inodes() [all …]
|
D | ext4_utils.c | 540 u64 num = strtoull(arg, &endptr, 10); in parse_num() local 542 num *= 1024LL; in parse_num() 544 num *= 1024LL * 1024LL; in parse_num() 546 num *= 1024LL * 1024LL * 1024LL; in parse_num() 548 return num; in parse_num()
|
/system/bt/stack/a2dp/ |
D | a2d_api.c | 357 UINT8 A2D_BitsSet(UINT8 num) in A2D_BitsSet() argument 361 if(num == 0) in A2D_BitsSet() 365 count = (num & (num - 1)); in A2D_BitsSet()
|
/system/bt/bta/ag/ |
D | bta_ag_cmd.c | 852 val.num = (UINT16) int_arg; in bta_ag_at_hsp_cback() 893 val.num = int_arg; in bta_ag_at_hfp_cback() 1133 val.num = BTA_AG_BTRH_READ; in bta_ag_at_hfp_cback() 1236 val.num = p_scb->peer_codecs; in bta_ag_at_hfp_cback() 1277 val.num = codec_sent; in bta_ag_at_hfp_cback() 1324 val.num = 0; in bta_ag_at_err_cback() 1355 bta_ag_send_result(p_scb, code, NULL, p_result->data.num); in bta_ag_hsp_result() 1468 bta_ag_send_result(p_scb, code, NULL, p_result->data.num); in bta_ag_hfp_result() 1479 … if ((p_result->data.num < BTA_AG_CLIP_TYPE_MIN) || (p_result->data.num > BTA_AG_CLIP_TYPE_MAX)) in bta_ag_hfp_result() 1481 if (p_result->data.num != BTA_AG_CLIP_TYPE_VOIP) in bta_ag_hfp_result() [all …]
|
/system/bt/btif/co/ |
D | bta_gattc_co.c | 155 int num = fwrite(p_attr_list, sizeof(tBTA_GATTC_NV_ATTR), num_attr, sCacheFD); in bta_gattc_co_cache_save() local 156 BTIF_TRACE_DEBUG("%s() wrote %d", __FUNCTION__, num); in bta_gattc_co_cache_save()
|
/system/bt/btif/src/ |
D | btif_hf.c | 493 BTHF_VOLUME_TYPE_MIC, p_data->val.num, in btif_hf_upstreams_evt() 537 (p_data->val.num == 1) ? BTHF_VR_STATE_STARTED : in btif_hf_upstreams_evt() 543 (p_data->val.num == 1) ? BTHF_NREC_START : BTHF_NREC_STOP, in btif_hf_upstreams_evt() 559 p_data->val.hdr.status, p_data->val.num); in btif_hf_upstreams_evt() 560 if(p_data->val.num == BTA_AG_CODEC_CVSD) in btif_hf_upstreams_evt() 562 else if(p_data->val.num == BTA_AG_CODEC_MSBC) in btif_hf_upstreams_evt() 600 BTIF_TRACE_DEBUG("AG Bitmap of peer-codecs %d", p_data->val.num); in btif_hf_upstreams_evt() 605 if ((btif_conf_hf_force_wbs == TRUE) && (p_data->val.num & BTA_AG_CODEC_MSBC)) in btif_hf_upstreams_evt() 618 BTIF_TRACE_DEBUG("AG final seleded codec is %d 1=CVSD 2=MSBC", p_data->val.num); in btif_hf_upstreams_evt() 620 HAL_CBACK(bt_hf_callbacks, wbs_cb,(p_data->val.num == BTA_AG_CODEC_MSBC) ? \ in btif_hf_upstreams_evt() [all …]
|
/system/core/fastboot/ |
D | fastboot.cpp | 880 unsigned long long num; in parse_num() local 882 num = strtoull(arg, &endptr, 0); in parse_num() 888 if (num >= (-1ULL) / 1024) { in parse_num() 891 num *= 1024LL; in parse_num() 894 if (num >= (-1ULL) / (1024 * 1024)) { in parse_num() 897 num *= 1024LL * 1024LL; in parse_num() 900 if (num >= (-1ULL) / (1024 * 1024 * 1024)) { in parse_num() 903 num *= 1024LL * 1024LL * 1024LL; in parse_num() 911 if (num > INT64_MAX) { in parse_num() 915 return num; in parse_num()
|
/system/extras/tests/sdcard/ |
D | sysutil.h | 142 void waitForChildrenOrExit(int num);
|
D | plot_sdcard.py | 137 for num, line in enumerate(f): 166 print 'skipping line %d: %s' % (num, line) 173 print 'Error parsing line %d' % num, sys.exc_info()[0]
|
D | sysutil.cpp | 362 void waitForChildrenOrExit(int num) in waitForChildrenOrExit() argument 364 while (num > 0) in waitForChildrenOrExit() 381 --num; in waitForChildrenOrExit()
|
/system/extras/tests/lib/testUtil/ |
D | testUtil.c | 326 size_t num = size; in testXDump() local 329 while (num) { in testXDump() 349 num--; in testXDump()
|
/system/bt/stack/include/ |
D | a2d_sbc.h | 181 BOOLEAN last, UINT8 num);
|
D | a2d_api.h | 238 extern UINT8 A2D_BitsSet(UINT8 num);
|
/system/bt/bta/include/ |
D | bta_ag_api.h | 216 UINT16 num; member 306 UINT16 num; member
|