Searched defs:num (Results 1 - 17 of 17) sorted by relevance

/system/core/toolbox/
H A Dkill.c59 unsigned int num; local
68 num = 0;
77 if ((num++ % 4) == 3) {
82 if ((num % 4) == 3) {
H A Dnetstat.c102 unsigned lport, rport, state, txq, rxq, num; local
104 &num, &laddr.u, &lport, &raddr.u, &rport,
129 unsigned lport, rport, state, txq, rxq, num; local
131 &num, &laddr6.u.a, &laddr6.u.b, &laddr6.u.c, &laddr6.u.d, &lport,
/system/security/keystore-engine/
H A Ddsa_meth.cpp68 int num = DSA_size(dsa); local
83 } else if (replyLen > (size_t) num) {
H A Decdsa_meth.cpp74 int num = ECDSA_size(eckey); local
89 } else if (replyLen > (size_t) num) {
H A Drsa_meth.cpp48 int num = RSA_size(rsa); local
49 UniquePtr<uint8_t> padded(new uint8_t[num]);
57 if (!RSA_padding_add_PKCS1_type_1(padded.get(), num, from, flen)) {
62 if (!RSA_padding_add_X931(padded.get(), num, from, flen)) {
67 if (!RSA_padding_add_none(padded.get(), num, from, flen)) {
94 num, &reply, &replyLen);
135 int num = RSA_size(rsa); local
164 outSize = RSA_padding_check_PKCS1_type_2(to, num, alignedReply, replyLen, num);
167 outSize = RSA_padding_check_X931(to, num, alignedRepl
[all...]
/system/core/libdiskconfig/
H A Dconfig_mbr.c297 int num = 0; local
301 for(num = 1; num <= dinfo->num_parts; ++num) {
302 if (!strcmp(plist[num-1].name, name))
306 if (num > dinfo->num_parts)
309 if (has_extended && (num >= PC_NUM_BOOT_RECORD_PARTS))
310 num++;
317 num = snprintf(dev_name, MAX_NAME_LEN, "%s%d", dinfo->device, num);
[all...]
/system/core/include/utils/
H A DSortedVector.h127 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 ); local
248 void SortedVector<TYPE>::do_destroy(void* storage, size_t num) const {
249 destroy_type( reinterpret_cast<TYPE*>(storage), num ); local
254 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
259 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num ); local
264 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
269 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
[all...]
H A DVector.h202 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 ); local
394 void Vector<TYPE>::do_destroy(void* storage, size_t num) const {
395 destroy_type( reinterpret_cast<TYPE*>(storage), num ); local
400 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
405 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num ); local
410 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
415 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
[all...]
/system/core/libpixelflinger/codeflinger/tinyutils/
H A DVector.h163 virtual void do_construct(void* storage, size_t num) const;
164 virtual void do_destroy(void* storage, size_t num) const;
165 virtual void do_copy(void* dest, const void* from, size_t num) const;
166 virtual void do_splat(void* dest, const void* item, size_t num) const;
167 virtual void do_move_forward(void* dest, const void* from, size_t num) const;
168 virtual void do_move_backward(void* dest, const void* from, size_t num) const;
318 void Vector<TYPE>::do_construct(void* storage, size_t num) const {
319 construct_type( reinterpret_cast<TYPE*>(storage), num ); local
323 void Vector<TYPE>::do_destroy(void* storage, size_t num) const {
324 destroy_type( reinterpret_cast<TYPE*>(storage), num ); local
329 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
334 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num ); local
339 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
344 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
[all...]
/system/extras/ext4_utils/
H A Dext4_utils.c443 u64 num = strtoull(arg, &endptr, 10); local
445 num *= 1024LL;
447 num *= 1024LL * 1024LL;
449 num *= 1024LL * 1024LL * 1024LL;
451 return num;
H A Dallocate.c208 static int reserve_blocks(struct block_group_info *bg, u32 start, u32 num) argument
213 if (num > bg->free_blocks)
216 for (i = 0; i < num && block % 8 != 0; i++, block++) {
223 for (; i + 8 <= (num & ~7); i += 8, block += 8) {
230 for (; i < num; i++, block++) {
237 bg->free_blocks -= num;
239 bg->first_free_block = start + num;
731 u32 reserve_inodes(int bg, u32 num) argument
736 if (get_free_inodes(bg) < num)
739 for (i = 0; i < num;
[all...]
/system/extras/procrank/
H A Dprocrank.c97 char* num = p; local
103 mem[i] = atoll(num);
/system/extras/tests/lib/testUtil/
H A DtestUtil.c325 size_t num = size; local
328 while (num) {
348 num--;
/system/extras/tests/sdcard/
H A Dsysutil.cpp362 void waitForChildrenOrExit(int num) argument
364 while (num > 0)
381 --num;
/system/core/fastboot/
H A Dfastboot.c843 unsigned long long num; local
845 num = strtoull(arg, &endptr, 0);
851 if (num >= (-1ULL) / 1024) {
854 num *= 1024LL;
857 if (num >= (-1ULL) / (1024 * 1024)) {
860 num *= 1024LL * 1024LL;
863 if (num >= (-1ULL) / (1024 * 1024 * 1024)) {
866 num *= 1024LL * 1024LL * 1024LL;
874 if (num > INT64_MAX) {
878 return num;
[all...]
/system/core/sh/
H A Dexpand.c800 int num = atoi(name); local
802 if (num > shellparam.nparam)
805 if (num == 0)
808 ap = shellparam.p[num - 1];
825 int num; local
849 num = rootpid;
852 num = exitstatus;
855 num = shellparam.nparam;
858 num = backgndpid;
860 expdest = cvtnum(num, expdes
1518 cvtnum(int num, char *buf) argument
[all...]
/system/vold/
H A Dcryptfs.c1957 unsigned int num; local
1980 num = persist_data->persist_valid_entries;
1982 for (i = 0; i < num; i++) {
1993 memset(&persist_data->persist_entry[num], 0, sizeof(struct crypt_persist_entry));
1994 strlcpy(persist_data->persist_entry[num].key, fieldname, PROPERTY_KEY_MAX);
1995 strlcpy(persist_data->persist_entry[num].val, value, PROPERTY_VALUE_MAX);

Completed in 281 milliseconds