/external/vboot_reference/firmware/lib/ |
D | vboot_display.c | 511 uint32_t used = 0; in VbDisplayDebugInfo() local 521 used += StrnAppend(buf + used, "HWID: ", DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo() 522 used += StrnAppend(buf + used, hwid, DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo() 526 used += StrnAppend(buf + used, in VbDisplayDebugInfo() 527 "\nrecovery_reason: 0x", DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo() 528 used += Uint64ToString(buf + used, DEBUG_INFO_SIZE - used, in VbDisplayDebugInfo() 530 used += StrnAppend(buf + used, " / 0x", DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo() 531 used += Uint64ToString(buf + used, DEBUG_INFO_SIZE - used, i, 16, 2); in VbDisplayDebugInfo() 532 used += StrnAppend(buf + used, " ", DEBUG_INFO_SIZE - used); in VbDisplayDebugInfo() 533 used += StrnAppend(buf + used, in VbDisplayDebugInfo() [all …]
|
D | utility_string.c | 58 uint32_t used = 0; in StrnAppend() local 64 while (dest[used] && used < destlen - 1) in StrnAppend() 65 used++; in StrnAppend() 68 while (*src && used < destlen - 1) in StrnAppend() 69 dest[used++] = *src++; in StrnAppend() 72 dest[used] = 0; in StrnAppend() 73 return used; in StrnAppend()
|
/external/wpa_supplicant_8/src/tls/ |
D | libtommath.c | 127 int used, alloc, sign; member 133 #define mp_iszero(a) (((a)->used == 0) ? MP_YES : MP_NO) 134 #define mp_iseven(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 0)) ? MP_YES : MP_NO) 135 #define mp_isodd(a) (((a)->used > 0 && (((a)->dp[0] & 1) == 1)) ? MP_YES : MP_NO) 139 #define s_mp_mul(a, b, c) s_mp_mul_digs(a, b, c, (a)->used + (b)->used + 1) 228 if (a->used > b->used) { in s_mp_add() 229 min = b->used; in s_mp_add() 230 max = a->used; in s_mp_add() 233 min = a->used; in s_mp_add() 234 max = b->used; in s_mp_add() [all …]
|
/external/kmod/shared/ |
D | strbuf.c | 56 buf->used = 0; in strbuf_init() 68 bytes = realloc(buf->bytes, buf->used + 1); in strbuf_steal() 73 bytes[buf->used] = '\0'; in strbuf_steal() 79 if (!buf_grow(buf, buf->used + 1)) in strbuf_str() 81 buf->bytes[buf->used] = '\0'; in strbuf_str() 87 if (!buf_grow(buf, buf->used + 1)) in strbuf_pushchar() 89 buf->bytes[buf->used] = ch; in strbuf_pushchar() 90 buf->used++; in strbuf_pushchar() 103 if (!buf_grow(buf, buf->used + len)) in strbuf_pushchars() 106 memcpy(buf->bytes + buf->used, str, len); in strbuf_pushchars() [all …]
|
/external/libpng/contrib/pngsuite/ |
D | README | 62 Filter 0 was used 32 times 64 Filter 0 was used 32 times 66 Filter 0 was used 32 times 68 Filter 1 was used 9 times 69 Filter 4 was used 23 times 71 Filter 1 was used 1 times 72 Filter 2 was used 31 times 74 Filter 1 was used 5 times 75 Filter 4 was used 27 times 77 Filter 1 was used 1 times [all …]
|
/external/oj-libjdwp/src/share/back/ |
D | bag.c | 33 int used; /* number of items in bag */ member 50 theBag->used = 0; in bagCreateBag() 62 newBag->used = oldBag->used; in bagDup() 63 (void)memcpy(newBag->items, oldBag->items, newBag->used * newBag->itemSize); in bagDup() 82 char *itemsEnd = items + (itemSize * theBag->used); in bagFind() 102 if (theBag->used >= allocated) { in bagAdd() 109 (void)memcpy(new_items, items, (theBag->used) * itemSize); in bagAdd() 115 ret = ((char *)items) + (itemSize * (theBag->used)++); in bagAdd() 123 int used = --(theBag->used); in bagDelete() local 126 void *tailItem = ((char *)items) + (used * itemSize); in bagDelete() [all …]
|
/external/boringssl/src/crypto/bio/ |
D | hexdump.c | 69 unsigned used; // number of bytes in the current line. member 99 if (ctx->used == 0) { in hexdump_write() 116 if (ctx->used == 7) { in hexdump_write() 120 } else if (ctx->used == 15) { in hexdump_write() 131 ctx->right_chars[ctx->used] = to_char(data[i]); in hexdump_write() 132 ctx->used++; in hexdump_write() 134 if (ctx->used == 16) { in hexdump_write() 140 ctx->used = 0; in hexdump_write() 150 const unsigned n_bytes = ctx->used; in finish() 161 for (; ctx->used < 16; ctx->used++) { in finish() [all …]
|
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
D | pb_validate.c | 58 unsigned used; member 80 if(vl->used && vl->entries[vl->used - 1].buf == buf) { in pb_validate_add_buffer() 81 vl->entries[vl->used - 1].flags |= flags; in pb_validate_add_buffer() 86 if(vl->used == vl->size) { in pb_validate_add_buffer() 106 assert(!vl->entries[vl->used].buf); in pb_validate_add_buffer() 107 pb_reference(&vl->entries[vl->used].buf, buf); in pb_validate_add_buffer() 108 vl->entries[vl->used].flags = flags; in pb_validate_add_buffer() 109 ++vl->used; in pb_validate_add_buffer() 121 for(i = 0; i < vl->used; ++i) { in pb_validate_foreach() 136 for(i = 0; i < vl->used; ++i) { in pb_validate_validate() [all …]
|
/external/clang/test/Sema/ |
D | attr-used.c | 3 extern int l0 __attribute__((used)); // expected-warning {{'used' attribute ignored}} 4 __private_extern__ int l1 __attribute__((used)); // expected-warning {{'used' attribute ignored}} 6 struct __attribute__((used)) s { // expected-warning {{'used' attribute only applies to variables a… 10 int a __attribute__((used)); 12 static void __attribute__((used)) f0(void) { in f0() 16 static int a __attribute__((used)); in f1() 17 int b __attribute__((used)); // expected-warning {{'used' attribute ignored}} in f1() 20 static void __attribute__((used)) f0(void);
|
/external/boringssl/src/crypto/fipsmodule/bn/ |
D | ctx.c | 83 unsigned used, size; member 117 unsigned int used; member 134 ret->used = 0; in BN_CTX_new() 154 } else if (!BN_STACK_push(&ctx->stack, ctx->used)) { in BN_CTX_start() 178 ctx->used++; in BN_CTX_get() 188 if (fp < ctx->used) { in BN_CTX_end() 189 BN_POOL_release(&ctx->pool, ctx->used - fp); in BN_CTX_end() 192 ctx->used = fp; in BN_CTX_end() 238 p->used = p->size = 0; in BN_POOL_init() 254 if (p->used == p->size) { in BN_POOL_get() [all …]
|
/external/syslinux/gpxe/src/core/ |
D | uri.c | 221 int used = 0; in unparse_uri() local 250 used += ssnprintf ( buf + used, size - used, in unparse_uri() 258 used += ssnprintf ( buf + used, size - used, in unparse_uri() 263 used += uri_encode ( field, buf + used, in unparse_uri() 264 size - used, i ); in unparse_uri() 266 used += ssnprintf ( buf + used, size - used, in unparse_uri() 271 return used; in unparse_uri() 438 size_t used; in uri_encode() local 446 used = ssnprintf ( buf, remaining, "%c", c ); in uri_encode() 448 used = ssnprintf ( buf, remaining, "%%%02X", c ); in uri_encode() [all …]
|
/external/valgrind/memcheck/tests/ |
D | leak-autofreepool.c | 31 size_t used; member 72 MetaPool->used = 0; in create_meta_pool() 81 MetaPool->used += sizeof(uint8_t); in create_meta_pool() 90 PlainPool->used = 0; in create_plain_pool() 94 PlainPool->used += sizeof(uint8_t); in create_plain_pool() 99 void *a = p->buf + p->used; in allocate_meta_style() 100 assert(p->used + n < p->allocated); in allocate_meta_style() 105 p->used += n; in allocate_meta_style() 112 void *a = p->buf + p->used; in allocate_plain_style() 113 assert(p->used + n < p->allocated); in allocate_plain_style() [all …]
|
/external/mesa3d/src/gallium/winsys/svga/drm/ |
D | vmw_context.c | 109 uint32_t used; member 116 uint32_t used; member 124 uint32_t used; member 132 uint32_t used; member 191 for(i = 0; i < vswc->region.used; ++i) { in vmw_swc_flush() 212 if (vswc->command.used || pfence != NULL) in vmw_swc_flush() 217 vswc->command.used, in vmw_swc_flush() 223 vswc->command.used = 0; in vmw_swc_flush() 226 for(i = 0; i < vswc->surface.used + vswc->surface.staged; ++i) { in vmw_swc_flush() 234 vswc->surface.used = 0; in vmw_swc_flush() [all …]
|
/external/syslinux/core/lwip/src/core/ |
D | mem.c | 161 u8_t used; member 240 LWIP_ASSERT("plug_holes: mem->used == 0", mem->used == 0); in plug_holes() 246 if (mem != nmem && nmem->used == 0 && (u8_t *)nmem != (u8_t *)ram_end) { in plug_holes() 257 if (pmem != mem && pmem->used == 0) { in plug_holes() 284 mem->used = 0; in lwip_mem_init() 287 ram_end->used = 1; in lwip_mem_init() 336 LWIP_ASSERT("mem_free: mem->used", mem->used); in mem_free() 338 mem->used = 0; in mem_free() 345 MEM_STATS_DEC_USED(used, mem->next - (mem_size_t)(((u8_t *)mem - ram))); in mem_free() 419 if(mem2->used == 0) { in mem_trim() [all …]
|
/external/toybox/toys/pending/ |
D | klogd.c | 66 int prio, size, used = 0; in klogd_main() local 83 start = msg_buffer + used; //start updated for re-read. in klogd_main() 85 size = klogctl(2, start, sizeof(msg_buffer) - used - 1); in klogd_main() 87 size = xread(TT.fd, start, sizeof(msg_buffer) - used - 1); in klogd_main() 91 if (used) start = msg_buffer; in klogd_main() 93 if ((line_start = strsep(&start, "\n")) != NULL && start != NULL) used = 0; in klogd_main() 95 used = strlen(line_start); in klogd_main() 97 if (used < (sizeof(msg_buffer) - 1)) break; in klogd_main() 98 used = 0; //we have buffer full, log it as it is. in klogd_main()
|
/external/mesa3d/src/compiler/glsl/tests/warnings/ |
D | 030-array-as-function-parameter.vert.expected | 1 0:11(20): warning: `undefinedIndex' used uninitialized 2 0:11(51): warning: `undefinedIndex' used uninitialized 3 0:11(82): warning: `undefinedIndex' used uninitialized 4 0:11(6): warning: `willBeDefined' used uninitialized 5 0:14(20): warning: `undefinedIndex' used uninitialized 6 0:14(51): warning: `undefinedIndex' used uninitialized 7 0:14(82): warning: `undefinedIndex' used uninitialized
|
D | 028-conditional.vert.expected | 1 0:11(34): warning: `undefinedInt' used uninitialized 2 0:12(21): warning: `undefinedInt' used uninitialized 3 0:14(11): warning: `undefined' used uninitialized 4 0:14(36): warning: `undefinedInt' used uninitialized 5 0:15(11): warning: `undefined' used uninitialized 6 0:15(23): warning: `undefinedInt' used uninitialized
|
/external/strace/ |
D | dyxlat.c | 30 size_t used; member 46 dyxlat->used = 1; in dyxlat_alloc() 59 for (i = 0; i < dyxlat->used - 1; ++i) { in dyxlat_free() 81 for (i = 0; i < dyxlat->used - 1; ++i) { in dyxlat_add_pair() 93 if (dyxlat->used >= dyxlat->allocated) in dyxlat_add_pair() 97 dyxlat->xlat[dyxlat->used - 1].val = val; in dyxlat_add_pair() 98 dyxlat->xlat[dyxlat->used - 1].str = xstrndup(str, len); in dyxlat_add_pair() 99 MARK_END(dyxlat->xlat[dyxlat->used]); in dyxlat_add_pair() 100 dyxlat->used++; in dyxlat_add_pair()
|
/external/clang/test/FixIt/ |
D | format-darwin.m | 37 …printf("%s", getNSInteger()); // expected-warning{{values of type 'NSInteger' should not be used a… 38 …nteger()); // expected-warning{{values of type 'NSUInteger' should not be used as format arguments… 39 …printf("%s", getSInt32()); // expected-warning{{values of type 'SInt32' should not be used as form… 40 …printf("%s", getUInt32()); // expected-warning{{values of type 'UInt32' should not be used as form… 54 …ected-warning{{enum values with underlying type 'NSInteger' should not be used as format arguments… 79 …printf("%s", arr[0]); // expected-warning{{values of type 'NSInteger' should not be used as forma… 80 …printf("%s", getNSInteger()); // expected-warning{{values of type 'NSInteger' should not be used … 81 …printf("%s", i); // expected-warning{{values of type 'NSInteger' should not be used as format arg… 82 …printf("%s", obj->_value); // expected-warning{{values of type 'NSInteger' should not be used as … 83 …Integer]); // expected-warning{{values of type 'NSInteger' should not be used as format arguments… [all …]
|
/external/wpa_supplicant_8/src/utils/ |
D | wpabuf.c | 40 buf, (unsigned long) buf->size, (unsigned long) buf->used, in wpabuf_overflow() 69 if (buf->used + add_len > buf->size) { in wpabuf_resize() 72 nbuf = os_realloc(buf->buf, buf->used + add_len); in wpabuf_resize() 75 os_memset(nbuf + buf->used, 0, add_len); in wpabuf_resize() 81 buf->used + add_len); in wpabuf_resize() 87 sizeof(struct wpabuf) + buf->used, 0, in wpabuf_resize() 91 buf->used + add_len); in wpabuf_resize() 95 os_memset(nbuf + sizeof(struct wpabuf) + buf->used, 0, in wpabuf_resize() 101 buf->size = buf->used + add_len; in wpabuf_resize() 152 buf->used = len; in wpabuf_alloc_ext_data() [all …]
|
/external/autotest/server/cros/res_resource_monitor/ |
D | top_test_data.txt | 4 KiB Mem : 24508128 total, 23433516 free, 499784 used, 574828 buff/cache 5 KiB Swap: 1023996 total, 1023996 free, 0 used. 23565096 avail Mem 21 KiB Mem : 24508128 total, 23433372 free, 502088 used, 572668 buff/cache 22 KiB Swap: 1023996 total, 1023996 free, 0 used. 23562220 avail Mem 34 KiB Mem: 24508128 total,23433372 free,502088 used,572668 buff/cache 35 KiB Swap: 1023996 total , 1023996 free 0 used. 23562220 avail Mem 40 KiB Mem : 24508128 total, 23448048 used, 487384 free, 572696 buff/cache 41 KiB Swap: 1023996 total, 1023996 free, 0 used. 23577032 avail Mem 46 KiB Mem : 24508128 free , 23448048 used, 487384 total, 572696 buff/cache 47 KiB Swap: 1023996 total, 1023996 free, 0 used. 23577032 avail Mem
|
/external/libedit/src/ |
D | chartype.c | 81 ssize_t used = 0; in ct_encode_string() local 92 used = (ssize_t)(conv->csize - (size_t)(dst - conv->cbuff)); in ct_encode_string() 93 if (used < 5) { in ct_encode_string() 94 used = dst - conv->cbuff; in ct_encode_string() 99 dst = conv->cbuff + used; in ct_encode_string() 101 used = ct_encode_char(dst, (size_t)5, *s); in ct_encode_string() 102 if (used == -1) /* failed to encode, need more buffer space */ in ct_encode_string() 105 dst += used; in ct_encode_string() 214 ssize_t used = 0; in ct_visual_string() local 224 used = ct_visual_char(dst, buffsize - (size_t)(dst - buff), *s); in ct_visual_string() [all …]
|
/external/libunwind/tests/ |
D | test-coredump-unwind.c | 90 int prefix_len, strerr_len, msgeol_len, used; in verror_msg_helper() local 95 used = vasprintf(&msg, s, p); in verror_msg_helper() 96 if (used < 0) in verror_msg_helper() 108 char *msg1 = (char*) realloc(msg, prefix_len + used + strerr_len + msgeol_len + 3); in verror_msg_helper() 119 memmove(msg + prefix_len, msg, used); in verror_msg_helper() 120 used += prefix_len; in verror_msg_helper() 129 msg[used++] = ':'; in verror_msg_helper() 130 msg[used++] = ' '; in verror_msg_helper() 132 strcpy(&msg[used], strerr); in verror_msg_helper() 133 used += strerr_len; in verror_msg_helper() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_batchbuffer.c | 60 intel->batch.used = 0; in intel_batchbuffer_reset() 87 batch->used); in do_batch_dump() 96 batch->used); in do_batch_dump() 119 ret = drm_intel_bo_subdata(batch->bo, 0, 4*batch->used, batch->map); in do_flush_locked() 125 ret = drm_intel_bo_mrb_exec(batch->bo, 4 * batch->used, NULL, 0, 0, in do_flush_locked() 148 if (intel->batch.used == 0) in _intel_batchbuffer_flush() 158 4*intel->batch.used); in _intel_batchbuffer_flush() 167 if (intel->batch.used & 1) { in _intel_batchbuffer_flush() 202 ret = drm_intel_bo_emit_reloc(intel->batch.bo, 4*intel->batch.used, in intel_batchbuffer_emit_reloc() 227 ret = drm_intel_bo_emit_reloc_fence(intel->batch.bo, 4*intel->batch.used, in intel_batchbuffer_emit_reloc_fenced() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_program.c | 106 unsigned char * used, in rc_get_used_temporaries() argument 111 d.Used = used; in rc_get_used_temporaries() 136 unsigned char * used, in rc_find_free_temporary_list() argument 142 if ((~used[i] & mask) == mask) { in rc_find_free_temporary_list() 143 used[i] |= mask; in rc_find_free_temporary_list() 152 unsigned char used[RC_REGISTER_MAX_INDEX]; in rc_find_free_temporary() local 155 memset(used, 0, sizeof(used)); in rc_find_free_temporary() 157 rc_get_used_temporaries(c, used, RC_REGISTER_MAX_INDEX); in rc_find_free_temporary() 159 free = rc_find_free_temporary_list(c, used, RC_REGISTER_MAX_INDEX, in rc_find_free_temporary()
|