Home
last modified time | relevance | path

Searched refs:num (Results 1 – 22 of 22) sorted by relevance

/system/core/libpixelflinger/tinyutils/
DVectorImpl.h86 virtual void do_construct(void* storage, size_t num) const = 0;
87 virtual void do_destroy(void* storage, size_t num) const = 0;
88 virtual void do_copy(void* dest, const void* from, size_t num) const = 0;
89 virtual void do_splat(void* dest, const void* item, size_t num) const = 0;
90 virtual void do_move_forward(void* dest, const void* from, size_t num) const = 0;
91 virtual void do_move_backward(void* dest, const void* from, size_t num) const = 0;
107 inline void _do_construct(void* storage, size_t num) const;
108 inline void _do_destroy(void* storage, size_t num) const;
109 inline void _do_copy(void* dest, const void* from, size_t num) const;
110 inline void _do_splat(void* dest, const void* item, size_t num) const;
[all …]
DSortedVector.h125 virtual void do_construct(void* storage, size_t num) const;
126 virtual void do_destroy(void* storage, size_t num) const;
127 virtual void do_copy(void* dest, const void* from, size_t num) const;
128 virtual void do_splat(void* dest, const void* item, size_t num) const;
129 virtual void do_move_forward(void* dest, const void* from, size_t num) const;
130 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 { in do_construct() argument
244 construct_type( reinterpret_cast<TYPE*>(storage), num ); in do_construct()
248 void SortedVector<TYPE>::do_destroy(void* storage, size_t num) const { in do_destroy() argument
249 destroy_type( reinterpret_cast<TYPE*>(storage), num ); in do_destroy()
[all …]
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 { in do_construct() argument
310 construct_type( reinterpret_cast<TYPE*>(storage), num ); in do_construct()
314 void Vector<TYPE>::do_destroy(void* storage, size_t num) const { in do_destroy() argument
315 destroy_type( reinterpret_cast<TYPE*>(storage), num ); in do_destroy()
[all …]
DVectorImpl.cpp380 void VectorImpl::_do_construct(void* storage, size_t num) const in _do_construct()
383 do_construct(storage, num); in _do_construct()
387 void VectorImpl::_do_destroy(void* storage, size_t num) const in _do_destroy()
390 do_destroy(storage, num); in _do_destroy()
394 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const in _do_copy()
397 do_copy(dest, from, num); in _do_copy()
399 memcpy(dest, from, num*itemSize()); in _do_copy()
403 void VectorImpl::_do_splat(void* dest, const void* item, size_t num) const { in _do_splat()
404 do_splat(dest, item, num); in _do_splat()
407 void VectorImpl::_do_move_forward(void* dest, const void* from, size_t num) const { in _do_move_forward()
[all …]
/system/core/libdiskconfig/
Dconfig_mbr.c297 int num = 0; in find_mbr_part() local
301 for(num = 1; num <= dinfo->num_parts; ++num) { in find_mbr_part()
302 if (!strcmp(plist[num-1].name, name)) in find_mbr_part()
306 if (num > dinfo->num_parts) in find_mbr_part()
309 if (has_extended && (num >= PC_NUM_BOOT_RECORD_PARTS)) in find_mbr_part()
310 num++; in find_mbr_part()
317 num = snprintf(dev_name, MAX_NAME_LEN, "%s%d", dinfo->device, num); in find_mbr_part()
318 if (num >= MAX_NAME_LEN) { in find_mbr_part()
/system/core/sh/
Doutput.c302 u_quad_t num; in doformat()
305 u_long num; in doformat()
374 num = l; in doformat()
376 num = -l; in doformat()
399 num = va_arg(ap, u_quad_t); in doformat()
403 num = va_arg(ap, unsigned long); in doformat()
405 num = va_arg(ap, unsigned int); in doformat()
409 while (num) { in doformat()
410 *--p = digit[num % base]; in doformat()
411 num /= base; in doformat()
Dexpand.c800 int num = atoi(name); in varisset() local
802 if (num > shellparam.nparam) in varisset()
805 if (num == 0) in varisset()
808 ap = shellparam.p[num - 1]; in varisset()
825 int num; in varvalue() local
849 num = rootpid; in varvalue()
852 num = exitstatus; in varvalue()
855 num = shellparam.nparam; in varvalue()
858 num = backgndpid; in varvalue()
860 expdest = cvtnum(num, expdest); in varvalue()
[all …]
Dhistedit.c399 out1fmt("%5d ", he.num); in histcmd()
425 if (he.num == last) in histcmd()
525 return (he.num); in str_to_event()
/system/core/toolbox/
Dnetstat.c102 unsigned lport, rport, state, txq, rxq, num; in ipv4() local
104 &num, &laddr.u, &lport, &raddr.u, &rport, in ipv4()
129 unsigned lport, rport, state, txq, rxq, num; in ipv6() local
131 &num, &laddr6.u.a, &laddr6.u.b, &laddr6.u.c, &laddr6.u.d, &lport, in ipv6()
/system/extras/ext4_utils/
Dallocate.c179 static int reserve_blocks(struct block_group_info *bg, u32 start, u32 num) in reserve_blocks() argument
184 if (num > bg->free_blocks) in reserve_blocks()
187 for (i = 0; i < num && block % 8 != 0; i++, block++) { in reserve_blocks()
194 for (; i + 8 <= (num & ~7); i += 8, block += 8) { in reserve_blocks()
201 for (; i < num; i++, block++) { in reserve_blocks()
208 bg->free_blocks -= num; in reserve_blocks()
210 bg->first_free_block = start + num; in reserve_blocks()
671 u32 reserve_inodes(int bg, u32 num) in reserve_inodes() argument
676 if (get_free_inodes(bg) < num) in reserve_inodes()
679 for (i = 0; i < num; i++) { in reserve_inodes()
[all …]
Dext4_utils.c394 u64 num = strtoull(arg, &endptr, 10); in parse_num() local
396 num *= 1024LL; in parse_num()
398 num *= 1024LL * 1024LL; in parse_num()
400 num *= 1024LL * 1024LL * 1024LL; in parse_num()
402 return num; in parse_num()
/system/extras/tests/sdcard/
Dsysutil.h142 void waitForChildrenOrExit(int num);
Dplot_sdcard.py137 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]
Dsysutil.cpp362 void waitForChildrenOrExit(int num) in waitForChildrenOrExit() argument
364 while (num > 0) in waitForChildrenOrExit()
381 --num; in waitForChildrenOrExit()
/system/core/libcutils/
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 * (long) SECSPERHOUR;
728 strp = getnum(strp, &num, 0, MINSPERHOUR - 1);
[all …]
/system/wlan/ti/lib/
Dshlist.c49 SHLIST *shListGetNItem( SHLIST *head, unsigned long num ) in shListGetNItem() argument
54 for(i=0,item=head->next;( (i < num) && (item != head) );i++,item=item->next); in shListGetNItem()
Dshlist.h21 SHLIST *shListGetNItem( SHLIST *head, unsigned long num );
/system/media/opensles/libopensles/
Dandroid_Effect.cpp276 uint16_t num = 0; in android_eq_init() local
277 if (android::NO_ERROR == android_eq_getParam(ieq->mEqEffect, EQ_PARAM_NUM_BANDS, 0, &num)) { in android_eq_init()
278 ieq->mNumBands = num; in android_eq_init()
286 SL_LOGV(" EQ init: num bands = %u, band range=[%d %d]mB", num, range[0], range[1]); in android_eq_init()
/system/wlan/ti/wilink_6_1/wpa_supplicant_lib/
Ddriver_ti.c1232 wpa_printf(MSG_DEBUG, "Actual APs number %d", res->num); in wpa_driver_tista_get_scan_results()
1233 ap_num = (unsigned)scan_count(drv) + res->num; in wpa_driver_tista_get_scan_results()
1237 res->num = scan_merge(drv, tmp, drv->force_merge_flag, res->num, ap_num); in wpa_driver_tista_get_scan_results()
1238 wpa_printf(MSG_DEBUG, "After merge, APs number %d", res->num); in wpa_driver_tista_get_scan_results()
1239 tmp = os_realloc(tmp, res->num * sizeof(struct wpa_scan_res *)); in wpa_driver_tista_get_scan_results()
/system/core/include/cutils/
Dlog.h419 #define android_writevLog(vec,num) do{}while(0) argument
/system/wlan/ti/wilink_6_1/platforms/os/common/src/
DosRgstry.c830 static TI_UINT32 tiwlnstrtoi (char *num, TI_UINT32 length) in tiwlnstrtoi() argument
834 if(num == NULL || length == 0 ) in tiwlnstrtoi()
839 for(value=0;length&&*num;num++,length--) in tiwlnstrtoi()
841 if(*num<='9'&&*num>= '0') in tiwlnstrtoi()
843 value=(value*10)+(*num - '0'); in tiwlnstrtoi()
859 static TI_UINT32 tiwlnstrtoi_hex (TI_UINT8 *num, TI_UINT32 length) in tiwlnstrtoi_hex() argument
863 if (num == NULL || length == 0) in tiwlnstrtoi_hex()
868 for (value = 0; length && *num; num++, length--) in tiwlnstrtoi_hex()
870 if (*num <= '9' && *num >= '0') in tiwlnstrtoi_hex()
872 value = (value * 16) + (*num - '0'); in tiwlnstrtoi_hex()
[all …]
/system/wlan/ti/sta_dk_4_0_4_32/pform/common/src/
DosRgstry.c702 tiwlnstrtoi(char *num, UINT length) in tiwlnstrtoi() argument
706 if(num == NULL || length == 0 ) in tiwlnstrtoi()
711 for(value=0;length&&*num;num++,length--) in tiwlnstrtoi()
713 if(*num<='9'&&*num>= '0') in tiwlnstrtoi()
715 value=(value*10)+(*num - '0'); in tiwlnstrtoi()