Searched refs:chars (Results 101 - 125 of 442) sorted by relevance

1234567891011>>

/external/proguard/src/proguard/classfile/constant/
H A DUtf8Constant.java251 char[] chars = new char[bytes.length];
267 chars[charIndex++] =
279 throw new UnsupportedEncodingException("Missing UTF-8 bytes after initial byte [0x"+Integer.toHexString(b)+"] in string ["+new String(chars, 0, charIndex)+"]");
283 return new String(chars, 0, charIndex);
/external/chromium_org/third_party/zlib/
H A Dgzlib.c38 DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM local
46 if (chars != 0) {
48 if (chars >= 2
49 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') {
50 chars -= 2;
51 msgbuf[chars] = 0;
54 if (chars > sizeof (buf) - 1) {
55 chars = sizeof (buf) - 1;
56 msgbuf[chars]
[all...]
/external/pdfium/core/src/fxcodec/fx_zlib/zlib_v128/
H A Dgzlib.c40 DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM local
48 if (chars != 0) {
50 if (chars >= 2
51 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') {
52 chars -= 2;
53 msgbuf[chars] = 0;
56 if (chars > sizeof (buf) - 1) {
57 chars = sizeof (buf) - 1;
58 msgbuf[chars]
[all...]
/external/qemu/distrib/zlib-1.2.8/
H A Dgzlib.c40 DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM local
48 if (chars != 0) {
50 if (chars >= 2
51 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') {
52 chars -= 2;
53 msgbuf[chars] = 0;
56 if (chars > sizeof (buf) - 1) {
57 chars = sizeof (buf) - 1;
58 msgbuf[chars]
[all...]
/external/zlib/src/
H A Dgzlib.c40 DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM local
48 if (chars != 0) {
50 if (chars >= 2
51 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') {
52 chars -= 2;
53 msgbuf[chars] = 0;
56 if (chars > sizeof (buf) - 1) {
57 chars = sizeof (buf) - 1;
58 msgbuf[chars]
[all...]
/external/chromium_org/third_party/icu/source/i18n/
H A Dregeximp.cpp65 CaseFoldingUCharIterator::CaseFoldingUCharIterator(const UChar *chars, int64_t start, int64_t limit) : argument
66 fChars(chars), fIndex(start), fLimit(limit), fcsp(NULL), fFoldChars(NULL), fFoldLength(0) {
/external/chromium_org/third_party/icu/source/samples/layout/
H A DScriptCompositeFontInstance.cpp63 const LEFontInstance *ScriptCompositeFontInstance::getSubFont(const LEUnicode chars[], le_int32 *offset, le_int32 limit, le_int32 script, LEErrorCode &success) const argument
69 if (chars == NULL || *offset < 0 || limit < 0 || *offset >= limit || script < 0 || script >= scriptCodeCount) {
/external/chromium_org/tools/ipc_fuzzer/mutate/
H A Dipc_fuzzer_gen.py23 def random_id(size=16, chars=string.ascii_lowercase):
24 return ''.join(random.choice(chars) for x in range(size))
/external/chromium_org/tools/json_comment_eater/
H A Djson_comment_eater.py13 def _Rcount(string, chars):
14 '''Returns the number of consecutive characters from |chars| that occur at the
17 return len(string) - len(string.rstrip(chars))
/external/icu/icu4c/source/i18n/
H A Dregeximp.cpp65 CaseFoldingUCharIterator::CaseFoldingUCharIterator(const UChar *chars, int64_t start, int64_t limit) : argument
66 fChars(chars), fIndex(start), fLimit(limit), fcsp(NULL), fFoldChars(NULL), fFoldLength(0) {
/external/icu/icu4c/source/samples/layout/
H A DScriptCompositeFontInstance.cpp63 const LEFontInstance *ScriptCompositeFontInstance::getSubFont(const LEUnicode chars[], le_int32 *offset, le_int32 limit, le_int32 script, LEErrorCode &success) const argument
69 if (chars == NULL || *offset < 0 || limit < 0 || *offset >= limit || script < 0 || script >= scriptCodeCount) {
/external/chromium_org/third_party/skia/src/animator/
H A DSkDisplayEvent.cpp239 const char* chars = string->c_str(); local
240 int count = SkUTF8_CountUnichars(chars);
242 code = (SkKey) SkUTF8_NextUnichar(&chars);
246 SkASSERT(*chars == '-');
247 chars++;
248 fMax = (SkKey) SkUTF8_NextUnichar(&chars);
/external/chromium_org/ui/file_manager/file_manager/foreground/js/metadata/
H A Dbyte_reader.js184 var chars = [];
202 chars[3] = ByteReader.base64Alphabet_[bits & 63];
203 chars[2] = ByteReader.base64Alphabet_[(bits >> 6) & 63];
204 chars[1] = ByteReader.base64Alphabet_[(bits >> 12) & 63];
205 chars[0] = ByteReader.base64Alphabet_[(bits >> 18) & 63];
207 rv.push.apply(rv, chars);
/external/emma/core/java12/com/vladium/util/
H A DStrings.java185 final char [] chars;
186 if (USE_GET_CHARS) chars = s.toCharArray ();
190 final char c = USE_GET_CHARS ? chars [i] : s.charAt (i);
226 final char [] chars;
227 if (USE_GET_CHARS) chars = s.toCharArray ();
231 final char c = USE_GET_CHARS ? chars [i] : s.charAt (i);
/external/harfbuzz_ng/src/
H A Dhb-ot-shape-complex-hangul.cc216 hb_codepoint_t chars[2]; local
218 chars[0] = u;
219 chars[1] = 0x25CCu;
221 chars[0] = 0x25CCu;
222 chars[1] = u;
224 buffer->replace_glyphs (1, 2, chars);
/external/skia/src/animator/
H A DSkDisplayEvent.cpp239 const char* chars = string->c_str(); local
240 int count = SkUTF8_CountUnichars(chars);
242 code = (SkKey) SkUTF8_NextUnichar(&chars);
246 SkASSERT(*chars == '-');
247 chars++;
248 fMax = (SkKey) SkUTF8_NextUnichar(&chars);
/external/libvterm/src/
H A Dscreen.c33 uint32_t chars[VTERM_MAX_CHARS_PER_CELL]; member in struct:__anon25026
89 new_cell->chars[0] = 0;
179 for(i = 0; i < VTERM_MAX_CHARS_PER_CELL && info->chars[i]; i++) {
180 cell->chars[i] = info->chars[i];
184 cell->chars[i] = 0;
187 getcell(screen, pos.row, pos.col + col)->chars[0] = (uint32_t)-1;
272 cell->chars[0] = 0;
658 if(cell->chars[0] == 0)
661 else if(cell->chars[
684 vterm_screen_get_chars(const VTermScreen *screen, uint32_t *chars, size_t len, const VTermRect rect) argument
[all...]
/external/chromium_org/third_party/skia/src/ports/
H A DSkTypeface_win_dw.cpp49 static SkUnichar next_utf8(const void** chars) { argument
50 return SkUTF8_NextUnichar((const char**)chars);
53 static SkUnichar next_utf16(const void** chars) { argument
54 return SkUTF16_NextUnichar((const uint16_t**)chars);
57 static SkUnichar next_utf32(const void** chars) { argument
58 const SkUnichar** uniChars = (const SkUnichar**)chars;
74 int DWriteFontTypeface::onCharsToGlyphs(const void* chars, Encoding encoding, argument
80 const SkUnichar c = next_ucs4_proc(&chars);
100 scratch[i] = next_ucs4_proc(&chars);
107 const UINT32* utf32 = reinterpret_cast<const UINT32*>(chars);
[all...]
/external/skia/src/ports/
H A DSkTypeface_win_dw.cpp40 static SkUnichar next_utf8(const void** chars) { argument
41 return SkUTF8_NextUnichar((const char**)chars);
44 static SkUnichar next_utf16(const void** chars) { argument
45 return SkUTF16_NextUnichar((const uint16_t**)chars);
48 static SkUnichar next_utf32(const void** chars) { argument
49 const SkUnichar** uniChars = (const SkUnichar**)chars;
65 int DWriteFontTypeface::onCharsToGlyphs(const void* chars, Encoding encoding, argument
71 const SkUnichar c = next_ucs4_proc(&chars);
91 scratch[i] = next_ucs4_proc(&chars);
98 const UINT32* utf32 = reinterpret_cast<const UINT32*>(chars);
[all...]
/external/chromium_org/third_party/libxml/src/
H A DtestSAX.c649 * receiving some chars from the parser.
1022 char chars[10]; local
1025 ret = fread(chars, 1, 4, f);
1028 chars, ret, filename);
1029 while ((ret = fread(chars, 1, 3, f)) > 0) {
1030 xmlParseChunk(ctxt, chars, ret, 0);
1032 xmlParseChunk(ctxt, chars, 0, 1);
1051 char chars[10]; local
1054 ret = fread(chars, 1, 4, f);
1058 chars, re
[all...]
/external/chromium_org/third_party/cython/src/Cython/Plex/
H A DMachines.py209 chars = chars_leading_to_state.get(id(s), None)
210 if chars is None:
211 chars = []
212 chars_leading_to_state[id(s)] = chars
213 chars.append(c)
H A DTraditional.py107 chars = ''.join(char_list)
109 return AnyBut(chars)
111 return Any(chars)
131 """Look ahead n chars."""
/external/clang/test/SemaCXX/
H A Dfor-range-examples.cpp132 map_range::vector<char> chars; local
133 chars.push_back('a');
134 chars.push_back('b');
135 chars.push_back('c');
136 for (char c : chars) {
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
H A DCstString.java81 char[] chars = new char[length]; // This is sized to avoid a realloc.
154 chars[outAt] = out;
158 return new String(chars, 0, outAt);
362 * get the number of 16-bit chars in the UTF-16 encoding of this
/external/emma/core/java12/com/vladium/emma/filter/
H A DIInclExclFilter.java116 final char [] chars = s.toCharArray ();
130 if (inclusions [i].matches (chars))
144 if (exclusions [x].matches (chars)) return false;

Completed in 3990 milliseconds

1234567891011>>