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

/system/core/adb/
H A Dremount_service.c71 int num; local
76 if ((num = find_mount("\"system\"")) < 0)
79 snprintf(source, sizeof source, "/dev/block/mtdblock%d", num);
/system/core/toolbox/
H A Dnetstat.c77 unsigned lport, rport, state, txq, rxq, num; local
88 &num, &laddr.u, &lport, &raddr.u, &rport,
106 &num, &laddr.u, &lport, &raddr.u, &rport,
/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/tests/sdcard/
H A Dsysutil.cpp362 void waitForChildrenOrExit(int num) argument
364 while (num > 0)
381 --num;
/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...]
/system/wlan/ti/sta_dk_4_0_4_32/pform/common/src/
H A DosRgstry.c702 tiwlnstrtoi(char *num, UINT length) argument
706 if(num == NULL || length == 0 )
711 for(value=0;length&&*num;num++,length--)
713 if(*num<='9'&&*num>= '0')
715 value=(value*10)+(*num - '0');
/system/wlan/ti/wilink_6_1/platforms/os/common/src/
H A DosRgstry.c830 static TI_UINT32 tiwlnstrtoi (char *num, TI_UINT32 length) argument
834 if(num == NULL || length == 0 )
839 for(value=0;length&&*num;num++,length--)
841 if(*num<='9'&&*num>= '0')
843 value=(value*10)+(*num - '0');
859 static TI_UINT32 tiwlnstrtoi_hex (TI_UINT8 *num, TI_UINT32 length) argument
863 if (num == NULL || length == 0)
868 for (value = 0; length && *num; nu
[all...]

Completed in 836 milliseconds