Home
last modified time | relevance | path

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

12345678910>>...123

/third_party/grpc/src/core/lib/gpr/
Dstring_util_windows.cc46 int needed = MultiByteToWideChar(CP_UTF8, 0, input, -1, NULL, 0); in gpr_char_to_tchar() local
47 if (needed <= 0) return NULL; in gpr_char_to_tchar()
48 ret = (LPTSTR)gpr_malloc((unsigned)needed * sizeof(TCHAR)); in gpr_char_to_tchar()
49 MultiByteToWideChar(CP_UTF8, 0, input, -1, ret, needed); in gpr_char_to_tchar()
56 int needed = WideCharToMultiByte(CP_UTF8, 0, input, -1, NULL, 0, NULL, NULL); in gpr_tchar_to_char() local
57 if (needed <= 0) return NULL; in gpr_tchar_to_char()
58 ret = (LPSTR)gpr_malloc((unsigned)needed); in gpr_tchar_to_char()
59 WideCharToMultiByte(CP_UTF8, 0, input, -1, ret, needed, NULL, NULL); in gpr_tchar_to_char()
/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/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/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/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/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/mesa3d/src/asahi/compiler/
Dagx_dce.c35 bool needed = false; in agx_dce() local
39 needed |= BITSET_TEST(seen, I->dest[d].value); in agx_dce()
41 needed = true; in agx_dce()
44 if (!needed) { in agx_dce()
/third_party/json/benchmarks/thirdparty/benchmark/src/
Dre.h117 size_t needed = regerror(ec, &re_, nullptr, 0); in Init() local
118 char* errbuf = new char[needed]; in Init()
119 regerror(ec, &re_, errbuf, needed); in Init()
123 CHECK_NE(needed, 0); in Init()
124 error->assign(errbuf, needed - 1); in Init()
/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/grpc/src/core/lib/json/
Djson_writer.cc53 void OutputCheck(size_t needed);
81 void JsonWriter::OutputCheck(size_t needed) { in OutputCheck() argument
83 if (free_space >= needed) return; in OutputCheck()
84 needed -= free_space; in OutputCheck()
86 needed = (needed + 0xff) & ~0xffU; in OutputCheck()
87 output_.reserve(output_.capacity() + needed); in OutputCheck()
/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/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/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/boost/libs/beast/include/boost/beast/core/detail/
Dconfig.hpp39 # error Beast requires C++11: Visual Studio 2015 Update 3 or later needed
44 # error Beast requires C++11: gcc version 4.8 or later needed
53 # error Beast requires C++11: a conforming compiler is needed
/third_party/boost/boost/beast/core/detail/
Dconfig.hpp39 # error Beast requires C++11: Visual Studio 2015 Update 3 or later needed
44 # error Beast requires C++11: gcc version 4.8 or later needed
53 # error Beast requires C++11: a conforming compiler is needed
/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/gettext/gettext-tools/tests/
Dinit-env.in1 # Variable needed by LTLIBINTL.
41 # Variable needed by xgettext.
45 # Variable needed for checking output with --color.
/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/boost/libs/mpl/preprocessed/
DREADME.txt37 the source-files needed for pre-processing the selected MPL-container
45 If you just want to test if any fixing is needed call it like this:
49 This will tell you if any fixing is needed. In such a case call the script
54 This will fix the header-comments of all the source-files needed during
63 directories therein) has a size of zero bytes, fixing is 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/boost/boost/pending/
Ddisjoint_sets.hpp192 Index needed in extend_sets() local
194 if (needed > parent.size()) in extend_sets()
196 rank.insert(rank.end(), needed - rank.size(), 0); in extend_sets()
197 for (Index k = parent.size(); k < needed; ++k) in extend_sets()
/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()

12345678910>>...123