Searched refs:num (Results 1 - 21 of 21) sorted by relevance

/system/core/libpixelflinger/tinyutils/
H A 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) cons
[all...]
H A 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 {
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...]
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...]
H A DVectorImpl.cpp380 void VectorImpl::_do_construct(void* storage, size_t num) const
383 do_construct(storage, num);
387 void VectorImpl::_do_destroy(void* storage, size_t num) const
390 do_destroy(storage, num);
394 void VectorImpl::_do_copy(void* dest, const void* from, size_t num) const
397 do_copy(dest, from, num);
399 memcpy(dest, from, num*itemSize());
403 void VectorImpl::_do_splat(void* dest, const void* item, size_t num) const {
404 do_splat(dest, item, num);
407 void VectorImpl::_do_move_forward(void* dest, const void* from, size_t num) cons
[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/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/extras/tests/sdcard/
H A Dsysutil.h140 // Wait for 'num' children to complete.
142 void waitForChildrenOrExit(int num);
H A 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]
H A Dsysutil.cpp362 void waitForChildrenOrExit(int num) argument
364 while (num > 0)
381 --num;
/system/core/sh/
H A Doutput.c302 u_quad_t num;
305 u_long num;
374 num = l;
376 num = -l;
399 num = va_arg(ap, u_quad_t);
403 num = va_arg(ap, unsigned long);
405 num = va_arg(ap, unsigned int);
409 while (num) {
410 *--p = digit[num % base];
411 num /
[all...]
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...]
H A Dhistedit.c399 out1fmt("%5d ", he.num);
425 if (he.num == last)
525 return (he.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/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/extras/ext4_utils/
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...]
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;
/system/extras/tests/lib/testUtil/
H A DtestUtil.c325 size_t num = size; local
328 while (num) {
348 num--;
/system/extras/procrank/
H A Dprocrank.c95 char* num = p; local
101 mem[i] = atoll(num);
/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/core/include/cutils/
H A Dlog.h455 #define android_writevLog(vec,num) do{}while(0)

Completed in 1658 milliseconds