Home
last modified time | relevance | path

Searched refs:encodings (Results 1 - 25 of 60) sorted by relevance

123

/third_party/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
H A DCharsetSelector.java45 private String[] encodings; // encodings users ask to use field in CharsetSelector
49 int columns = (encodings.length + 31) / 32; in generateSelectorData()
57 for (int i = 0; i < encodings.length; ++i) { in generateSelectorData()
58 Charset testCharset = CharsetICU.forNameICU(encodings[i]); in generateSelectorData()
73 // handle excluded encodings in generateSelectorData()
105 // encodings are legit in selectForMask()
108 int columns = (encodings.length + 31) / 32; in selectForMask()
116 for (int i = 0; i < 32 && k < encodings.length; i++, k++) { in selectForMask()
118 result.add(encodings[ in selectForMask()
[all...]
/third_party/node/test/parallel/
H A Dtest-http2-createwritereq.js16 const encodings = {
30 const testsToRun = Object.keys(encodings).length;
34 const testEncoding = encodings[req.url.slice(1)];
41 }, Object.keys(encodings).length));
44 Object.keys(encodings).forEach((writeEncoding) => {
H A Dtest-string-decoder-fuzz.js22 const encodings = [
27 const enc = encodings[rand(encodings.length)];
H A Dtest-stream2-writable.js129 const encodings =
149 const enc = encodings[i % encodings.length];
168 const encodings =
188 const enc = encodings[i % encodings.length];
H A Dtest-stream-readable-unshift.js59 // chunk encodings
60 const encodings = ['utf8', 'binary', 'hex', 'base64'];
66 }, encodings.length));
68 for (const encoding of encodings) {
/third_party/icu/icu4c/source/common/
H A Ducnvsel.cpp14 // Purpose: To generate a list of encodings capable of handling
23 * The goal is, given a unicode string, find the encodings
26 * stores all encodings a codepoint can map to
55 char** encodings; // which encodings did user ask to use? member
84 UConverter* test_converter = ucnv_open(result->encodings[i], status); in generateSelectorData()
124 // handle excluded encodings! Simply set their values to all 1's in the upvec in generateSelectorData()
177 newSelector->encodings = in ucnvsel_open()
179 if (!newSelector->encodings) { in ucnvsel_open()
183 newSelector->encodings[ in ucnvsel_open()
552 char **encodings = ucnvsel_openFromSerialized() local
[all...]
/third_party/node/deps/icu-small/source/common/
H A Ducnvsel.cpp14 // Purpose: To generate a list of encodings capable of handling
23 * The goal is, given a unicode string, find the encodings
26 * stores all encodings a codepoint can map to
55 char** encodings; // which encodings did user ask to use? member
84 UConverter* test_converter = ucnv_open(result->encodings[i], status); in generateSelectorData()
124 // handle excluded encodings! Simply set their values to all 1's in the upvec in generateSelectorData()
177 newSelector->encodings = in ucnvsel_open()
179 if (!newSelector->encodings) { in ucnvsel_open()
183 newSelector->encodings[ in ucnvsel_open()
552 char **encodings = ucnvsel_openFromSerialized() local
[all...]
/third_party/skia/third_party/externals/icu/source/common/
H A Ducnvsel.cpp14 // Purpose: To generate a list of encodings capable of handling
23 * The goal is, given a unicode string, find the encodings
26 * stores all encodings a codepoint can map to
55 char** encodings; // which encodings did user ask to use? member
84 UConverter* test_converter = ucnv_open(result->encodings[i], status); in generateSelectorData()
124 // handle excluded encodings! Simply set their values to all 1's in the upvec in generateSelectorData()
177 newSelector->encodings = in ucnvsel_open()
179 if (!newSelector->encodings) { in ucnvsel_open()
183 newSelector->encodings[ in ucnvsel_open()
552 char **encodings = ucnvsel_openFromSerialized() local
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Ducnvseltst.c107 * ucnvsel_open() does not support "no encodings":
108 * Given 0 encodings it will open a selector for all available ones.
274 getResultsManually(const char** encodings, int32_t num_encodings, in getResultsManually() argument
292 test_converter = ucnv_open(encodings[i], &status); in getResultsManually()
302 encIndex = findIndex(encodings[i]); in getResultsManually()
402 const char **encodings = getEncodingsFns[testCaseIdx](&num_encodings); in TestSelector() local
404 uprv_free((void *)encodings); in TestSelector()
414 * set of encodings, so there is no need to test every combination. in TestSelector()
421 sel_rt = ucnvsel_open(encodings, num_encodings, in TestSelector()
431 sel_fb = ucnvsel_open(encodings, num_encoding in TestSelector()
[all...]
/third_party/node/deps/npm/node_modules/negotiator/
H A Dindex.js48 var set = this.encodings(available);
52 Negotiator.prototype.encodings = function encodings(available) {
78 Negotiator.prototype.preferredEncodings = Negotiator.prototype.encodings;
/third_party/mesa3d/src/gallium/frontends/omx/tizonia/
H A Dh264d.c39 OMX_VIDEO_CODINGTYPE encodings[] = { in instantiate_h264d_input_port() local
121 &encodings, &formats, &avctype, &levels, in instantiate_h264d_input_port()
129 OMX_VIDEO_CODINGTYPE encodings[] = { in instantiate_h264d_output_port() local
163 &encodings, &formats); in instantiate_h264d_output_port()
H A Dh264e.c37 OMX_VIDEO_CODINGTYPE encodings[] = { in instantiate_h264e_input_port() local
71 &encodings, &formats); in instantiate_h264e_input_port()
81 OMX_VIDEO_CODINGTYPE encodings[] = { in instantiate_h264e_output_port() local
170 &encodings, &formats, &avctype, &levels, in instantiate_h264e_output_port()
/third_party/skia/third_party/externals/expat/expat/lib/
H A Dxmltok_ns.c57 static const ENCODING *const NS(encodings)[] = {
67 return initScan(NS(encodings), (const INIT_ENCODING *)enc, XML_PROLOG_STATE, in initScanProlog()
74 return initScan(NS(encodings), (const INIT_ENCODING *)enc, XML_CONTENT_STATE, in initScanContent()
108 return NS(encodings)[i]; in findEncoding()
/third_party/python/Modules/expat/
H A Dxmltok_ns.c57 static const ENCODING *const NS(encodings)[] = {
67 return initScan(NS(encodings), (const INIT_ENCODING *)enc, XML_PROLOG_STATE, in initScanProlog()
74 return initScan(NS(encodings), (const INIT_ENCODING *)enc, XML_CONTENT_STATE, in initScanContent()
108 return NS(encodings)[i]; in findEncoding()
/third_party/node/lib/
H A Dstring_decoder.js41 encodings,
54 // modules monkey-patch it to support additional encodings
73 for (let i = 0; i < encodings.length; ++i)
74 encodingsMap[encodings[i]] = i;
/third_party/node/deps/npm/node_modules/iconv-lite/lib/
H A Dindex.js9 // They are lazy loaded in `iconv.getCodec` from `encodings/index.js`.
10 iconv.encodings = null;
59 // Search for a codec in iconv.encodings. Cache codec data in iconv._codecDataCache.
62 if (!iconv.encodings)
63 iconv.encodings = require("../encodings"); // Lazy load all encoding definitions.
68 // Traverse iconv.encodings to find actual codec.
75 var codecDef = iconv.encodings[enc];
179 console.error("iconv-lite warning: js files use non-utf8 encoding. See https://github.com/ashtuchkin/iconv-lite/wiki/Javascript-source-file-encodings for more info.");
/third_party/skia/third_party/externals/freetype/src/bdf/
H A Dbdfdrivr.c57 BDF_encoding_el* encodings; member
72 cmap->encodings = face->en_table; in FT_CALLBACK_DEF()
84 cmap->encodings = NULL; in bdf_cmap_done()
94 BDF_encoding_el* encodings = cmap->encodings; in FT_CALLBACK_DEF() local
96 FT_UShort result = 0; /* encodings->glyph */ in FT_CALLBACK_DEF()
111 code = encodings[mid].enc; in FT_CALLBACK_DEF()
117 result = encodings[mid].glyph + 1; in FT_CALLBACK_DEF()
139 BDF_encoding_el* encodings = cmap->encodings; in FT_CALLBACK_DEF() local
[all...]
/third_party/typescript/tests/baselines/reference/
H A DduplicateLocalVariable1.js105 app.encodings[0] === "ascii" &&
106 app.encodings[1] === "utf8nobom");
110 var app = new App.App(["-dir=C:\\test dir", "-lineEndings=LF", "-encodings=utf16be,ascii", "-recurse=false", "-fixlines"]);
116 app.encodings[0] === "utf16be" &&
117 app.encodings[1] === "ascii" &&
118 app.encodings.length === 2);
448 app.encodings[0] === "ascii" &&
449 app.encodings[1] === "utf8nobom");
452 var app = new App.App(["-dir=C:\\test dir", "-lineEndings=LF", "-encodings=utf16be,ascii", "-recurse=false", "-fixlines"]);
458 app.encodings[
[all...]
/third_party/python/Tools/unicode/
H A Dlistcodecs.py9 import os, codecs, encodings namespace
36 names = listcodecs(encodings.__path__[0])
H A Dgencjkcodecs.py58 for loc, encodings in codecs.items():
59 for enc in encodings:
/third_party/skia/third_party/externals/icu/scripts/
H A Dsingle_byte_gen.sh31 # The list of html5 encodings. Note that iso-8859-8-i is not listed here
34 encodings="ibm866 iso-8859-2 iso-8859-3 iso-8859-4 iso-8859-5 iso-8859-6\
42 for e in ${encodings}
/third_party/skia/src/sfnt/
H A DSkOTUtils.cpp79 static constexpr std::array<SkOTTableName::Record::EncodingID::Windows::Value, 2> encodings{{ in RenameFont()
87 + (encodings.size() * names.size() * sizeof(SkOTTableName::Record)) in RenameFont()
133 unsigned short stringOffset = sizeof(SkOTTableName) + (encodings.size() * names.size() * sizeof(SkOTTableName::Record)); in RenameFont()
135 nameTable->count = SkEndian_SwapBE16(encodings.size() * names.size()); in RenameFont()
139 for (const auto& encoding : encodings) { in RenameFont()
/third_party/icu/tools/unicodetools/com/ibm/rbm/
H A DRBPropertiesImporter.java71 Vector encodings = new Vector(); in beginImport()
74 encodings.addElement(b.encoding); in beginImport()
76 resolveEncodings(encodings); in beginImport()
H A DRBManager.java103 String[] encodings; in RBManager()
145 // Initialize the bundles and encodings in RBManager()
146 encodings = new String[numLanguages]; in RBManager()
151 encodings[0] = ""; in RBManager()
155 encodings[count] = new String(temp[i].substring(filePrefix.length()+1,temp[i].indexOf(filePostfix))); count++; in RBManager()
160 // Initialize the bundles and encodings in case the directory information is not available in RBManager()
162 encodings = new String[numLanguages]; in RBManager()
163 encodings[0] = new String(""); in RBManager()
169 Bundle dict = new Bundle(encodings[0]); in RBManager()
268 for (int i = 1; i < encodings in RBManager()
[all...]
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/google/sample/audio_device/
H A DAudioDeviceInfoConverter.java59 int[] encodings = adi.getEncodings(); in toString()
60 sb.append(intArrayToString(encodings)); in toString()

Completed in 10 milliseconds

123