Searched defs:num (Results 1 - 13 of 13) 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/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/libpixelflinger/tinyutils/
H A DVector.h154 virtual void do_construct(void* storage, size_t num) const;
155 virtual void do_destroy(void* storage, size_t num) const;
156 virtual void do_copy(void* dest, const void* from, size_t num) const;
157 virtual void do_splat(void* dest, const void* item, size_t num) const;
158 virtual void do_move_forward(void* dest, const void* from, size_t num) const;
159 virtual void do_move_backward(void* dest, const void* from, size_t num) const;
309 void Vector<TYPE>::do_construct(void* storage, size_t num) const {
310 construct_type( reinterpret_cast<TYPE*>(storage), num ); local
314 void Vector<TYPE>::do_destroy(void* storage, size_t num) const {
315 destroy_type( reinterpret_cast<TYPE*>(storage), num ); local
320 copy_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
325 splat_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(item), num ); local
330 move_forward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
335 move_backward_type( reinterpret_cast<TYPE*>(dest), reinterpret_cast<const TYPE*>(from), num ); local
[all...]
/system/extras/ext4_utils/
H A Dext4_utils.c433 u64 num = strtoull(arg, &endptr, 10); local
435 num *= 1024LL;
437 num *= 1024LL * 1024LL;
439 num *= 1024LL * 1024LL * 1024LL;
441 return num;
H A Dallocate.c198 static int reserve_blocks(struct block_group_info *bg, u32 start, u32 num) argument
203 if (num > bg->free_blocks)
206 for (i = 0; i < num && block % 8 != 0; i++, block++) {
213 for (; i + 8 <= (num & ~7); i += 8, block += 8) {
220 for (; i < num; i++, block++) {
227 bg->free_blocks -= num;
229 bg->first_free_block = start + num;
691 u32 reserve_inodes(int bg, u32 num) argument
696 if (get_free_inodes(bg) < num)
699 for (i = 0; i < num;
[all...]
/system/extras/procrank/
H A Dprocrank.c95 char* num = p; local
101 mem[i] = atoll(num);
/system/extras/tests/lib/testUtil/
H A DtestUtil.c325 size_t num = size; local
328 while (num) {
348 num--;
/system/security/keystore-engine/
H A Deng_keystore.cpp129 int num = RSA_size(rsa); local
130 UniquePtr<uint8_t> padded(new uint8_t[num]);
138 if (!RSA_padding_add_PKCS1_type_1(padded.get(), num, from, flen)) {
143 if (!RSA_padding_add_X931(padded.get(), num, from, flen)) {
148 if (!RSA_padding_add_none(padded.get(), num, from, flen)) {
165 key_id, static_cast<size_t>(num), reinterpret_cast<const uint8_t*>(padded.get()))
/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.c763 unsigned long long num; local
765 num = strtoull(arg, &endptr, 0);
771 if (num >= (-1ULL) / 1024) {
774 num *= 1024LL;
777 if (num >= (-1ULL) / (1024 * 1024)) {
780 num *= 1024LL * 1024LL;
783 if (num >= (-1ULL) / (1024 * 1024 * 1024)) {
786 num *= 1024LL * 1024LL * 1024LL;
794 if (num > INT64_MAX) {
798 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/core/libcutils/
H A Dtztime.c684 register int num; local
688 num = 0;
690 num = num * 10 + (c - '0');
691 if (num > max)
695 if (num < min)
697 *nump = num;
714 int num; local
722 strp = getnum(strp, &num, 0, HOURSPERDAY * DAYSPERWEEK - 1);
725 *secsp = num * (lon
[all...]

Completed in 87 milliseconds