Searched refs:vector (Results 1 – 5 of 5) sorted by relevance
/busybox-1.35.0/libbb/ |
D | xrealloc_vector.c | 35 void* FAST_FUNC xrealloc_vector_helper(void *vector, unsigned sizeof_and_shift, int idx) in xrealloc_vector_helper() argument 41 vector = xrealloc(vector, sizeof_and_shift * (idx + mask + 1)); in xrealloc_vector_helper() 42 memset((char*)vector + (sizeof_and_shift * idx), 0, sizeof_and_shift * (mask + 1)); in xrealloc_vector_helper() 44 return vector; in xrealloc_vector_helper()
|
/busybox-1.35.0/procps/ |
D | iostat.c | 58 cputime_t vector[N_STATS_CPU]; member 183 sscanf(ibuf, "%"FMT_DATA"u", &sc->vector[i]); in get_cpu_statistics() 185 sc->vector[GLOBAL_UPTIME] += sc->vector[i]; in get_cpu_statistics() 193 sc->vector[SMP_UPTIME] = get_smp_uptime(); in get_cpu_statistics() 239 cputime_t *p = stats->prev->vector; in print_stats_cpu_struct() 240 cputime_t *c = stats->curr->vector; in print_stats_cpu_struct() 484 stats.prev->vector[GLOBAL_UPTIME], in iostat_main() 485 stats.curr->vector[GLOBAL_UPTIME] in iostat_main() 501 stats.prev->vector[SMP_UPTIME], in iostat_main() 502 stats.curr->vector[SMP_UPTIME] in iostat_main()
|
/busybox-1.35.0/coreutils/ |
D | tr.c | 283 char *vector = xzalloc(ASCII * 3); in tr_main() local 284 char *invec = vector + ASCII; in tr_main() 285 char *outvec = vector + ASCII * 2; in tr_main() 292 vector[i] = i; in tr_main() 313 map(vector, str1, str1_length, in tr_main() 344 coded = vector[c]; in tr_main() 354 free(vector); in tr_main()
|
/busybox-1.35.0/shell/ |
D | hush_doc.txt | 81 instead of argv vector progs[] usually do. "for" keyword is forcing
|
/busybox-1.35.0/include/ |
D | libbb.h | 428 #define xrealloc_vector(vector, shift, idx) \ argument 429 xrealloc_vector_helper((vector), (sizeof((vector)[0]) << 8) + (shift), (idx)) 430 void* xrealloc_vector_helper(void *vector, unsigned sizeof_and_shift, int idx) FAST_FUNC;
|