Home
last modified time | relevance | path

Searched refs:needed (Results 1 – 25 of 2674) sorted by relevance

12345678910>>...107

/third_party/elfutils/libcpu/
Di386_data.h402 int needed; in FCT_MOD$R_M() local
404 needed = snprintf (buf, avail, "%%%s", dregs[byte]); in FCT_MOD$R_M()
406 needed = snprintf (buf, avail, "%%mm%" PRIxFAST8, byte); in FCT_MOD$R_M()
407 if ((size_t) needed > avail) in FCT_MOD$R_M()
408 return needed - avail; in FCT_MOD$R_M()
409 *bufcntp += needed; in FCT_MOD$R_M()
431 int needed = snprintf (&d->bufp[*bufcntp], avail, "%%xmm%" PRIxFAST8, in FCT_Mod$R_m() local
433 if ((size_t) needed > avail) in FCT_Mod$R_m()
434 return needed - avail; in FCT_Mod$R_m()
435 *d->bufcntp += needed; in FCT_Mod$R_m()
[all …]
/third_party/freetype/src/dlg/
Ddlg.c186 static bool win_write_heap(void* handle, int needed, const char* format, va_list args) { in win_write_heap() argument
187 char* buf1 = xalloc(3 * needed + 3 + (needed % 2)); in win_write_heap()
188 wchar_t* buf2 = (wchar_t*) (buf1 + needed + 1 + (needed % 2)); in win_write_heap()
189 vsnprintf(buf1, needed + 1, format, args); in win_write_heap()
190 needed = MultiByteToWideChar(CP_UTF8, 0, buf1, needed, buf2, needed + 1); in win_write_heap()
191 bool ret = (needed != 0 && WriteConsoleW(handle, buf2, needed, NULL, NULL) != 0); in win_write_heap()
196 static bool win_write_stack(void* handle, int needed, const char* format, va_list args) { in win_write_stack() argument
199 vsnprintf(buf1, needed + 1, format, args); in win_write_stack()
200 needed = MultiByteToWideChar(CP_UTF8, 0, buf1, needed, buf2, needed + 1); in win_write_stack()
201 return (needed != 0 && WriteConsoleW(handle, buf2, needed, NULL, NULL) != 0); in win_write_stack()
[all …]
/third_party/icu/icu4j/main/classes/currdata/src/com/ibm/icu/impl/
DICUCurrencyMetaInfo.java79 int needed = collector.collects(); in collect() local
81 needed |= Region; in collect()
84 needed |= Currency; in collect()
87 needed |= Date; in collect()
90 needed |= Tender; in collect()
93 if (needed != 0) { in collect()
97 collectRegion(collector, filter, needed, b); in collect()
101 collectRegion(collector, filter, needed, regionInfo.at(i)); in collect()
110 int needed, ICUResourceBundle b) { in collectRegion() argument
113 if (needed == Region) { in collectRegion()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DICUCurrencyMetaInfo.java81 int needed = collector.collects(); in collect() local
83 needed |= Region; in collect()
86 needed |= Currency; in collect()
89 needed |= Date; in collect()
92 needed |= Tender; in collect()
95 if (needed != 0) { in collect()
99 collectRegion(collector, filter, needed, b); in collect()
103 collectRegion(collector, filter, needed, regionInfo.at(i)); in collect()
112 int needed, ICUResourceBundle b) { in collectRegion() argument
115 if (needed == Region) { in collectRegion()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/gsm/
Dgstgsmdec.c162 gsmdec->needed = 33; in gst_gsmdec_set_format()
205 gsmdec->needed = 33; in gst_gsmdec_parse()
211 if (size < gsmdec->needed) in gst_gsmdec_parse()
215 *length = gsmdec->needed; in gst_gsmdec_parse()
219 gsmdec->needed = (gsmdec->needed == 33 ? 32 : 33); in gst_gsmdec_parse()
232 if (buffer_size % (33 + 32) >= dec->needed) in gst_gsmdec_get_frame_count()
281 data += gsmdec->needed; in gst_gsmdec_handle_frame()
283 gsmdec->needed = (gsmdec->needed == 33 ? 32 : 33); in gst_gsmdec_handle_frame()
/third_party/openssl/crypto/property/
Dproperty_parse.c574 static void put_char(char ch, char **buf, size_t *remain, size_t *needed) in put_char() argument
577 ++*needed; in put_char()
585 ++*needed; in put_char()
589 static void put_str(const char *str, char **buf, size_t *remain, size_t *needed) in put_str() argument
594 *needed += len; in put_str()
615 static void put_num(int64_t val, char **buf, size_t *remain, size_t *needed) in put_num() argument
626 *needed += len; in put_num()
647 size_t needed = 0; in ossl_property_list_to_string() local
662 if (needed > 0) in ossl_property_list_to_string()
663 put_char(',', &buf, &bufsize, &needed); in ossl_property_list_to_string()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/tools/gencolusb/
Dextract_unsafe_backwards.cpp80 int32_t needed = pattern.length(); in main() local
90 const UnicodeString unsafeBackwardPattern(FALSE, buf, needed); in main()
120 printf("static const int32_t collunsafe_len = %d;\n", needed); in main()
122 for(int i=0;i<needed;i++) { in main()
127 if(i != (needed-1)) { in main()
131 printf(" //%d\n};\n", (needed-1)); in main()
/third_party/icu/icu4c/source/tools/gencolusb/
Dextract_unsafe_backwards.cpp80 int32_t needed = pattern.length(); in main() local
90 const UnicodeString unsafeBackwardPattern(FALSE, buf, needed); in main()
120 printf("static const int32_t collunsafe_len = %d;\n", needed); in main()
122 for(int i=0;i<needed;i++) { in main()
127 if(i != (needed-1)) { in main()
131 printf(" //%d\n};\n", (needed-1)); in main()
/third_party/skia/third_party/externals/icu/source/tools/gencolusb/
Dextract_unsafe_backwards.cpp80 int32_t needed = pattern.length(); in main() local
90 const UnicodeString unsafeBackwardPattern(FALSE, buf, needed); in main()
120 printf("static const int32_t collunsafe_len = %d;\n", needed); in main()
122 for(int i=0;i<needed;i++) { in main()
127 if(i != (needed-1)) { in main()
131 printf(" //%d\n};\n", (needed-1)); in main()
/third_party/musl/src/malloc/mallocng/
Drealloc.c32 size_t needed = (n + base + UNIT + IB + 4095) & -4096; in realloc() local
33 new = g->maplen*4096UL == needed ? g->mem : in realloc()
34 mremap(g->mem, g->maplen*4096UL, needed, MREMAP_MAYMOVE); in realloc()
37 g->maplen = needed/4096; in realloc()
39 end = g->mem->storage + (needed - UNIT) - IB; in realloc()
Dmalloc.c234 size_t needed = size*cnt + UNIT; in alloc_group() local
235 needed += -needed & (pagesize-1); in alloc_group()
245 needed = req; in alloc_group()
249 p = mmap(0, needed, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0); in alloc_group()
254 m->maplen = needed>>12; in alloc_group()
309 size_t needed = n + IB + UNIT; in malloc() local
310 void *p = mmap(0, needed, PROT_READ|PROT_WRITE, in malloc()
318 munmap(p, needed); in malloc()
326 g->maplen = (needed+4095)/4096; in malloc()
/third_party/benchmark/src/
Dre.h123 size_t needed = regerror(ec, &re_, nullptr, 0); in Init() local
124 char* errbuf = new char[needed]; in Init()
125 regerror(ec, &re_, errbuf, needed); in Init()
129 BM_CHECK_NE(needed, 0); in Init()
130 error->assign(errbuf, needed - 1); in Init()
/third_party/mesa3d/src/asahi/compiler/
Dagx_dce.c47 bool needed = false; in agx_dce() local
51 needed |= BITSET_TEST(seen, I->dest[d].value); in agx_dce()
53 needed = true; in agx_dce()
56 if (!needed) { in agx_dce()
/third_party/musl/porting/linux/user/src/malloc/mallocng/
Dmalloc.c298 size_t needed = size*cnt + UNIT; in alloc_group() local
299 needed += -needed & (pagesize-1); in alloc_group()
309 needed = req; in alloc_group()
313 p = mmap(0, needed, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANON, -1, 0); in alloc_group()
318 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, p, needed, "native_heap:brk"); in alloc_group()
319 m->maplen = needed>>12; in alloc_group()
374 size_t needed = n + IB + UNIT; in malloc() local
375 void *p = mmap(0, needed, PROT_READ|PROT_WRITE, in malloc()
379 prctl(PR_SET_VMA, PR_SET_VMA_ANON_NAME, p, needed, "native_heap:mmap"); in malloc()
384 munmap(p, needed); in malloc()
[all …]
/third_party/rust/crates/cxx/src/
Dsip.rs158 let mut needed = 0; in write() localVariable
161 needed = 8 - self.ntail; in write()
163 self.tail |= unsafe { u8to64_le(msg, 0, cmp::min(length, needed)) } << (8 * self.ntail); in write()
164 if length < needed { in write()
176 let len = length - needed; in write()
179 let mut i = needed; in write()
/third_party/gstreamer/gstplugins_good/gst/matroska/
Debml-read.c48 guint needed; in gst_ebml_peek_id_length() local
64 needed = 2; in gst_ebml_peek_id_length()
65 ret = peek (ctx, needed, &buf); in gst_ebml_peek_id_length()
78 needed = read + 1; in gst_ebml_peek_id_length()
79 ret = peek (ctx, needed, &buf); in gst_ebml_peek_id_length()
103 needed += read - 1; in gst_ebml_peek_id_length()
104 ret = peek (ctx, needed, &buf); in gst_ebml_peek_id_length()
107 buf += (needed - read); in gst_ebml_peek_id_length()
123 *_needed = needed; in gst_ebml_peek_id_length()
134 *_needed = needed; in gst_ebml_peek_id_length()
[all …]
/third_party/skia/third_party/externals/tint/docs/
Dspirv-ptr-ref.md52 as needed to generate valid WGSL expressions.
85 * Map to reference, inserting a dereference operator if needed.
87 * Map to reference, inserting a dereference operator if needed.
93 * Map to reference, inserting a dereference operator if needed.
96 * Map to pointer, inserting an address-of operator if needed.
99 * Map to pointer, inserting an address-of operator if needed.
105 * Map to pointer, inserting an address-of operator if needed.
109 operators if needed.
115 operator if needed.
/third_party/ffmpeg/doc/
Dswresample.txt34 Planar/Packed conversion is done when needed during sample format conversion.
35 Every step can be skipped without memcpy when it is not needed.
38 The Buffers are needed for resampling due to resamplng being a process that
45 If only sample format and/or packed/planar conversion is needed, it
/third_party/node/test/fixtures/
Dguess-hash-seed.js88 let needed = Math.floor(tester_set_buckets * 1.5) + 1;
98 for (let i = 0; needed > 0; i++) {
101 needed--;
102 if (needed == 0) {
/third_party/harfbuzz/src/
Dhb-subset.cc110 bool needed = table->subset (c); in _try_subset() local
114 return needed; in _try_subset()
125 return needed; in _try_subset()
161 bool needed = false; in _subset() local
165 needed = _try_subset (table, &buf, buf_size, &c); in _subset()
175 if (!needed) in _subset()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-subset.cc134 bool needed = table->subset (c); in _try_subset() local
138 return needed; in _try_subset()
149 return needed; in _try_subset()
185 bool needed = false; in _subset() local
189 needed = _try_subset (table, &buf, buf_size, &c); in _subset()
199 if (!needed) in _subset()
/third_party/node/lib/internal/
Dcli_table.js40 const needed = (columnWidths[i] - len) / 2; constant
43 out += `${' '.repeat(needed)}${cell}${' '.repeat(MathCeil(needed))}`;
/third_party/vk-gl-cts/external/openglcts/docs/specs/
DCTS_ARB_indirect_parameters.txt62 with data needed to draw two polygons - one next to each other.
65 structure data and fill it with data needed to draw 4 triangles.
67 structure data and also fill it with data needed to draw 4
70 with data needed to draw arrays two times. First time with 2
/third_party/ffmpeg/libavcodec/
Dtak_parser.c46 int needed = buf_size ? TAK_MAX_FRAME_HEADER_BYTES : 8; in tak_parse() local
62 while (buf_size || t->index + needed <= pc->index) { in tak_parse()
75 for (; t->index + needed <= pc->index; t->index++) { in tak_parse()
/third_party/libxml2/python/
DTODO14 - more work needed on context handling for function lookup
20 - element needed in both
46 - needed for SAX too

12345678910>>...107