Home
last modified time | relevance | path

Searched refs:used (Results 1 – 25 of 9418) sorted by relevance

12345678910>>...377

/external/vboot_reference/firmware/lib/
Dvboot_display.c511 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 …]
Dutility_string.c58 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/rust/crates/grpcio-sys/grpc/third_party/re2/util/
Dstrutil.cc27 size_t used = 0; in CEscapeString() local
30 if (dest_len - used < 2) // space for two-character escape in CEscapeString()
35 case '\n': dest[used++] = '\\'; dest[used++] = 'n'; break; in CEscapeString()
36 case '\r': dest[used++] = '\\'; dest[used++] = 'r'; break; in CEscapeString()
37 case '\t': dest[used++] = '\\'; dest[used++] = 't'; break; in CEscapeString()
38 case '\"': dest[used++] = '\\'; dest[used++] = '\"'; break; in CEscapeString()
39 case '\'': dest[used++] = '\\'; dest[used++] = '\''; break; in CEscapeString()
40 case '\\': dest[used++] = '\\'; dest[used++] = '\\'; break; in CEscapeString()
46 if (dest_len - used < 5) // space for four-character escape + \0 in CEscapeString()
48 snprintf(dest + used, 5, "\\%03o", c); in CEscapeString()
[all …]
/external/llvm-project/clang/test/CodeGenCXX/
Dtrivial-auto-var-init.cpp9 template<typename T> void used(T &) noexcept;
20 used(self); in test_selfinit()
30 used(block); in test_block()
55 used(captured); in test_block_self_init()
76 used(captured); in test_block_captures_self_after_init()
91 used(oops); in test_goto_unreachable_value()
114 used(oops); in test_goto()
136 used(oops); in test_switch()
173 used(ptr); in test_vla()
187 used(ptr); in test_alloca()
[all …]
Dvisibility-inlines-hidden-static-local-var.cpp3 #define used __attribute__((used)) macro
5 used inline void f1() { in f1()
11 used inline void f2() { in f2()
17 used void f3() { in f3()
26 used void f4() { in f4()
32 used void f5() { in f5()
37 used void S::f6() { in f6()
42 used inline void S::f7() { in f7()
49 used void f8() { in f8()
/external/kmod/shared/
Dstrbuf.c56 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/wpa_supplicant_8/src/tls/
Dlibtommath.c127 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/oj-libjdwp/src/share/back/
Dbag.c33 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/libpng/contrib/pngsuite/
DREADME64 Filter 0 was used 32 times
66 Filter 0 was used 32 times
68 Filter 0 was used 32 times
70 Filter 1 was used 9 times
71 Filter 4 was used 23 times
73 Filter 1 was used 1 times
74 Filter 2 was used 31 times
76 Filter 1 was used 5 times
77 Filter 4 was used 27 times
79 Filter 1 was used 1 times
[all …]
/external/boringssl/src/crypto/bio/
Dhexdump.c69 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/rust/crates/quiche/deps/boringssl/src/crypto/bio/
Dhexdump.c69 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/llvm-project/clang/test/Sema/
Dattr-used.c3 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 w…
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 only applies to variables with… in f1()
20 static void __attribute__((used)) f0(void);
/external/clang/test/Sema/
Dattr-used.c3 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/rust/crates/itertools/src/
Dunique_impl.rs15 used: HashMap<V, ()>, field
23 debug_fmt_fields!(UniqueBy, iter, used);
34 used: HashMap::new(), in unique_by()
40 fn count_new_keys<I, K>(mut used: HashMap<K, ()>, iterable: I) -> usize in count_new_keys()
45 let current_used = used.len(); in count_new_keys()
46 used.extend(iter.map(|key| (key, ()))); in count_new_keys()
47 used.len() - current_used in count_new_keys()
60 if self.used.insert(key, ()).is_none() { in next()
70 ((low > 0 && self.used.is_empty()) as usize, hi) in size_hint()
75 count_new_keys(self.used, self.iter.map(move |elt| key_f(&elt))) in count()
[all …]
/external/mesa3d/src/compiler/glsl/tests/warnings/
D030-array-as-function-parameter.vert.expected1 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
D028-conditional.vert.expected1 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/rust/crates/bindgen/src/ir/analysis/
Dtemplate_params.rs154 used: HashMap<ItemId, Option<ItemSet>>, field
211 self.used in take_this_id_usage_set()
252 self.used in constrain_instantiation_of_blocklisted_template()
284 let used_by_def = self.used in constrain_instantiation()
315 .used in constrain_instantiation()
348 .used in constrain_join()
380 let mut used = HashMap::default(); in new() localVariable
403 used.entry(item).or_insert(Some(ItemSet::new())); in new()
411 used.entry(sub_item).or_insert(Some(ItemSet::new())); in new()
449 used.entry(arg).or_insert(Some(ItemSet::new())); in new()
[all …]
/external/toybox/toys/pending/
Dklogd.c66 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/deqp-deps/glslang/Test/baseResults/
Dspv.bufferhandle_Error.frag.out2 ERROR: 0:7: 'buffer_reference' : can only be used with buffer
3 ERROR: 0:9: 'buffer_reference' : cannot declare a default, can only be used on a block
4 ERROR: 0:10: 'buffer_reference' : can only be used with buffer
5 ERROR: 0:10: 'buffer_reference' : cannot declare a default, can only be used on a block
6 ERROR: 0:11: 'buffer_reference' : can only be used with buffer
7 ERROR: 0:11: 'buffer_reference' : cannot declare a default, can only be used on a block
8 ERROR: 0:12: 'buffer_reference' : can only be used with buffer
9 ERROR: 0:12: 'buffer_reference' : cannot declare a default, can only be used on a block
10 ERROR: 0:13: 'buffer_reference' : can only be used with buffer
11 ERROR: 0:13: 'buffer_reference' : can only be used with buffer
[all …]
/external/angle/third_party/vulkan-deps/glslang/src/Test/baseResults/
Dspv.bufferhandle_Error.frag.out2 ERROR: 0:7: 'buffer_reference' : can only be used with buffer
3 ERROR: 0:9: 'buffer_reference' : cannot declare a default, can only be used on a block
4 ERROR: 0:10: 'buffer_reference' : can only be used with buffer
5 ERROR: 0:10: 'buffer_reference' : cannot declare a default, can only be used on a block
6 ERROR: 0:11: 'buffer_reference' : can only be used with buffer
7 ERROR: 0:11: 'buffer_reference' : cannot declare a default, can only be used on a block
8 ERROR: 0:12: 'buffer_reference' : can only be used with buffer
9 ERROR: 0:12: 'buffer_reference' : cannot declare a default, can only be used on a block
10 ERROR: 0:13: 'buffer_reference' : can only be used with buffer
11 ERROR: 0:13: 'buffer_reference' : can only be used with buffer
[all …]
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
Dpb_validate.c59 unsigned used; member
95 if(vl->used == vl->size) { in pb_validate_add_buffer()
115 assert(!vl->entries[vl->used].buf); in pb_validate_add_buffer()
116 pb_reference(&vl->entries[vl->used].buf, buf); in pb_validate_add_buffer()
117 vl->entries[vl->used].flags = flags; in pb_validate_add_buffer()
118 ++vl->used; in pb_validate_add_buffer()
121 _mesa_hash_table_insert(ht, buf, (void *) (uintptr_t) vl->used); in pb_validate_add_buffer()
133 for(i = 0; i < vl->used; ++i) { in pb_validate_foreach()
148 for(i = 0; i < vl->used; ++i) { in pb_validate_validate()
167 for(i = 0; i < vl->used; ++i) { in pb_validate_fence()
[all …]
/external/strace/
Ddyxlat.c30 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/llvm-project/polly/lib/External/isl/
Disl_test_imath.c42 assert(val.alloc >= val.used); in test_imath_internals()
43 assert(val.used == 1); in test_imath_internals()
49 assert(val.alloc >= val.used); in test_imath_internals()
50 assert(val.used == 1); in test_imath_internals()
56 assert(val.alloc >= val.used); in test_imath_internals()
57 assert(val.used == 1); in test_imath_internals()
63 assert(val.alloc >= val.used); in test_imath_internals()
64 assert(val.used == 2); in test_imath_internals()
/external/oss-fuzz/projects/jbig2dec/
Djbig2_fuzzer.cc32 static size_t used; variable
37 …yte used: %zu Mbyte allocation: %zu: limit reached\n", MAX_ALLOCATION / MBYTE, used / MBYTE, size); in jbig2_fuzzer_reached_limit()
39 …Mbyte reallocation: %zu -> %zu: limit reached\n", MAX_ALLOCATION / MBYTE, used / MBYTE, oldsize, s… in jbig2_fuzzer_reached_limit()
52 if (size + ALIGNMENT > MAX_ALLOCATION - used) in jbig2_fuzzer_alloc()
60 used += size + ALIGNMENT; in jbig2_fuzzer_alloc()
77 used -= size + ALIGNMENT; in jbig2_fuzzer_free()
101 if (size + ALIGNMENT > MAX_ALLOCATION - used + oldsize + ALIGNMENT) in jbig2_fuzzer_realloc()
108 used -= oldsize + ALIGNMENT; in jbig2_fuzzer_realloc()
110 used += size + ALIGNMENT; in jbig2_fuzzer_realloc()
119 used = 0; in LLVMFuzzerTestOneInput()
/external/mesa3d/src/gallium/winsys/svga/drm/
Dvmw_context.c110 uint32_t used; member
117 uint32_t used; member
125 uint32_t used; member
133 uint32_t used; member
217 for(i = 0; i < vswc->region.used; ++i) { in vmw_swc_flush()
238 if (vswc->command.used || pfence != NULL) in vmw_swc_flush()
243 vswc->command.used, in vmw_swc_flush()
254 vswc->command.used = 0; in vmw_swc_flush()
257 for(i = 0; i < vswc->surface.used + vswc->surface.staged; ++i) { in vmw_swc_flush()
265 vswc->surface.used = 0; in vmw_swc_flush()
[all …]

12345678910>>...377