Searched defs:chars (Results 101 - 125 of 275) sorted by relevance

1234567891011

/external/chromium_org/sync/internal_api/public/base/
H A Dunique_position.cc510 // A series of four identical chars at the beginning of a block indicates
512 static bool IsRepeatedCharPrefix(const std::string& chars, size_t start_index) { argument
513 return chars[start_index] == chars[start_index+1]
514 && chars[start_index] == chars[start_index+2]
515 && chars[start_index] == chars[start_index+3];
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-graphite2.cc247 uint32_t *chars = (uint32_t *) scratch; local
250 chars[i] = buffer->info[i].codepoint;
258 gr_utf32, chars, buffer->len,
H A Dhb-ot-shape-complex-hangul.cc225 hb_codepoint_t chars[2]; local
227 chars[0] = u;
228 chars[1] = 0x25CCu;
230 chars[0] = 0x25CCu;
231 chars[1] = u;
233 buffer->replace_glyphs (1, 2, chars);
/external/chromium_org/third_party/icu/source/io/
H A Dustdio.c305 u_file_write_flush(const UChar *chars, argument
313 const UChar *mySource = chars;
322 count = u_strlen(chars);
329 mySource = u_file_translit(f, chars, &count, flushTranslit);
385 /* return # of chars written */
390 u_file_write( const UChar *chars, argument
394 return u_file_write_flush(chars,count,f,FALSE,FALSE);
691 u_file_read( UChar *chars, argument
715 memcpy(chars + read, str->fPos, dataSize * sizeof(UChar));
/external/chromium_org/third_party/icu/source/test/cintltst/
H A Ducsdetst.c163 static const UChar chars[] = { local
169 int32_t beLength = 0, leLength = 0, cLength = ARRAY_SIZE(chars);
170 char *beBytes = extractBytes(chars, cLength, "UTF-16BE", &beLength);
171 char *leBytes = extractBytes(chars, cLength, "UTF-16LE", &leLength);
432 static const UChar chars[] = { local
473 int32_t bLength = 0, brLength = 0, cLength = ARRAY_SIZE(chars), crLength = ARRAY_SIZE(chars_reverse);
475 char *bytes = extractBytes(chars, cLength, "IBM424", &bLength);
518 static const UChar chars[] = { local
551 int32_t bLength = 0, brLength = 0, cLength = ARRAY_SIZE(chars), crLength = ARRAY_SIZE(chars_reverse);
553 char *bytes = extractBytes(chars, cLengt
[all...]
/external/chromium_org/third_party/icu/source/test/intltest/
H A Dcolldata.cpp213 void StringList::add(const UChar *chars, int32_t count, UErrorCode &status) argument
215 const UnicodeString string(chars, count);
/external/chromium_org/third_party/icu/source/test/letest/
H A Dcletest.c48 LEUnicode chars[] = { local
131 glyphCount = le_layoutChars(engine, chars, -1, 6, 20, TRUE, 0.0, 0.0, &status);
134 log_err("Calling layoutChars(chars, -1, 6, 20, TRUE, 0.0, 0.0, status) did not fail w/ LE_ILLEGAL_ARGUMENT_ERROR.\n");
138 glyphCount = le_layoutChars(engine, chars, 8, -1, 20, TRUE, 0.0, 0.0, &status);
141 log_err("Calling layoutChars(chars, 8, -1, 20, TRUE, 0.0, 0.0, status) did not fail w/ LE_ILLEGAL_ARGUMENT_ERROR.\n");
145 glyphCount = le_layoutChars(engine, chars, 8, 6, -1, TRUE, 0.0, 0.0, &status);
148 log_err("Calling layoutChars((chars, 8, 6, -1, TRUE, 0.0, 0.0, status) did not fail w/ LE_ILLEGAL_ARGUMENT_ERROR.\n");
152 glyphCount = le_layoutChars(engine, chars, 8, 6, 10, TRUE, 0.0, 0.0, &status);
155 log_err("Calling layoutChars(chars, 8, 6, 10, TRUE, 0.0, 0.0, status) did not fail w/ LE_ILLEGAL_ARGUMENT_ERROR.\n");
159 glyphCount = le_layoutChars(engine, chars,
218 LEUnicode chars[] = { local
522 LEUnicode chars[] = { local
[all...]
/external/chromium_org/third_party/icu/source/tools/icuswap/
H A Dicuswap.cpp328 const char *chars=(const char *)context; local
329 return (int32_t)uprv_strcmp(chars+((const ToCEntry *)left)->nameOffset,
330 chars+((const ToCEntry *)right)->nameOffset);
/external/chromium_org/third_party/libjingle/source/talk/examples/call/
H A Dcall_main.cc196 void Print(const char* chars) { argument
197 printf("%s", chars);
/external/chromium_org/third_party/libxml/src/
H A DtestHTML.c415 * receiving some chars from the parser.
436 * receiving some cdata chars from the parser.
637 char chars[4096]; local
642 res = fread(chars, 1, 4, f);
645 chars, res, filename, XML_CHAR_ENCODING_NONE);
646 while ((res = fread(chars, 1, size, f)) > 0) {
647 htmlParseChunk(ctxt, chars, res, 0);
649 htmlParseChunk(ctxt, chars, 0, 1);
667 char chars[4096]; local
672 res = fread(chars,
731 char chars[4096]; local
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkTypeface.cpp57 virtual int onCharsToGlyphs(const void* chars, Encoding encoding,
221 int SkTypeface::charsToGlyphs(const void* chars, Encoding encoding, argument
226 if (NULL == chars || (unsigned)encoding > kUTF32_Encoding) {
232 return this->onCharsToGlyphs(chars, encoding, glyphs, glyphCount);
/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/chromium_org/third_party/skia/src/views/
H A DSkEvent.cpp68 char chars[sizeof(size_t) + 1]; local
69 size_t len = makeCharArray(chars, (size_t) fType);
70 str->set(chars, len);
87 char chars[sizeof(size_t) + 1]; local
88 size_t len = makeCharArray(chars, (size_t) fType);
89 return len == typeLen && strncmp(chars, type, typeLen) == 0;
/external/chromium_org/third_party/webrtc/tools/frame_analyzer/
H A Dvideo_quality_analysis.cc75 int chars = 0; local
83 line[chars] = buf;
84 ++chars;
86 line[chars-1] = '\0'; // Strip the trailing \n and put end of string.
/external/chromium_org/v8/src/
H A Dconversions.cc418 static const char chars[] = "0123456789abcdefghijklmnopqrstuvwxyz"; local
420 // Buffer for the integer part of the result. 1024 chars is enough
427 // to kBufferSize - 1 chars for the decimal part.
444 integer_buffer[integer_pos--] = chars[static_cast<int>(remainder)];
455 // chars.
458 // chars because hitting zero will often not happen. The right
466 chars[static_cast<int>(std::floor(decimal_part))];
H A Dutils.cc223 char* chars = ReadCharsFromFile(filename, size, 0, verbose); local
224 return reinterpret_cast<byte*>(chars);
228 static Vector<const char> SetVectorContents(char* chars, argument
231 if (!chars) {
235 chars[size] = '\0';
237 return Vector<const char>(chars, size);
358 size_t chars) {
359 uint16_t* limit = dest + chars;
357 MemCopyUint16Uint8Wrapper(uint16_t* dest, const uint8_t* src, size_t chars) argument
/external/harfbuzz_ng/src/
H A Dhb-graphite2.cc247 uint32_t *chars = (uint32_t *) scratch; local
250 chars[i] = buffer->info[i].codepoint;
258 gr_utf32, chars, buffer->len,
/external/icu/icu4c/source/io/
H A Dustdio.c305 u_file_write_flush(const UChar *chars, argument
313 const UChar *mySource = chars;
322 count = u_strlen(chars);
329 mySource = u_file_translit(f, chars, &count, flushTranslit);
385 /* return # of chars written */
390 u_file_write( const UChar *chars, argument
394 return u_file_write_flush(chars,count,f,FALSE,FALSE);
691 u_file_read( UChar *chars, argument
715 memcpy(chars + read, str->fPos, dataSize * sizeof(UChar));
/external/icu/icu4c/source/layout/
H A DArabicShaping.cpp28 shaping array holds types for Arabic chars between 0610 and 0700
125 void ArabicShaping::shape(const LEUnicode *chars, le_int32 offset, le_int32 charCount, le_int32 charMax, argument
148 rightType = getShapeType(chars[i]);
156 leftType = getShapeType(chars[i]);
176 LEUnicode c = chars[in];
/external/icu/icu4c/source/test/cintltst/
H A Ducsdetst.c163 static const UChar chars[] = { local
169 int32_t beLength = 0, leLength = 0, cLength = ARRAY_SIZE(chars);
170 char *beBytes = extractBytes(chars, cLength, "UTF-16BE", &beLength);
171 char *leBytes = extractBytes(chars, cLength, "UTF-16LE", &leLength);
432 static const UChar chars[] = { local
473 int32_t bLength = 0, brLength = 0, cLength = ARRAY_SIZE(chars), crLength = ARRAY_SIZE(chars_reverse);
475 char *bytes = extractBytes(chars, cLength, "IBM424", &bLength);
518 static const UChar chars[] = { local
551 int32_t bLength = 0, brLength = 0, cLength = ARRAY_SIZE(chars), crLength = ARRAY_SIZE(chars_reverse);
553 char *bytes = extractBytes(chars, cLengt
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dcolldata.cpp215 void StringList::add(const UChar *chars, int32_t count, UErrorCode &status) argument
217 const UnicodeString string(chars, count);
/external/icu/icu4c/source/test/letest/
H A Dcletest.c48 LEUnicode chars[] = { local
131 glyphCount = le_layoutChars(engine, chars, -1, 6, 20, TRUE, 0.0, 0.0, &status);
134 log_err("Calling layoutChars(chars, -1, 6, 20, TRUE, 0.0, 0.0, status) did not fail w/ LE_ILLEGAL_ARGUMENT_ERROR.\n");
138 glyphCount = le_layoutChars(engine, chars, 8, -1, 20, TRUE, 0.0, 0.0, &status);
141 log_err("Calling layoutChars(chars, 8, -1, 20, TRUE, 0.0, 0.0, status) did not fail w/ LE_ILLEGAL_ARGUMENT_ERROR.\n");
145 glyphCount = le_layoutChars(engine, chars, 8, 6, -1, TRUE, 0.0, 0.0, &status);
148 log_err("Calling layoutChars((chars, 8, 6, -1, TRUE, 0.0, 0.0, status) did not fail w/ LE_ILLEGAL_ARGUMENT_ERROR.\n");
152 glyphCount = le_layoutChars(engine, chars, 8, 6, 10, TRUE, 0.0, 0.0, &status);
155 log_err("Calling layoutChars(chars, 8, 6, 10, TRUE, 0.0, 0.0, status) did not fail w/ LE_ILLEGAL_ARGUMENT_ERROR.\n");
159 glyphCount = le_layoutChars(engine, chars,
218 LEUnicode chars[] = { local
523 LEUnicode chars[] = { local
[all...]
/external/icu/icu4c/source/tools/icuswap/
H A Dicuswap.cpp328 const char *chars=(const char *)context; local
329 return (int32_t)uprv_strcmp(chars+((const ToCEntry *)left)->nameOffset,
330 chars+((const ToCEntry *)right)->nameOffset);
/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/skia/src/views/
H A DSkEvent.cpp68 char chars[sizeof(size_t) + 1]; local
69 size_t len = makeCharArray(chars, (size_t) fType);
70 str->set(chars, len);
87 char chars[sizeof(size_t) + 1]; local
88 size_t len = makeCharArray(chars, (size_t) fType);
89 return len == typeLen && strncmp(chars, type, typeLen) == 0;

Completed in 848 milliseconds

1234567891011