Searched defs:num_chars (Results 1 - 23 of 23) sorted by relevance

/external/webrtc/src/system_wrappers/source/
H A Dfile_impl.cc219 int num_chars = vfprintf(_id, format, args); local
222 if (num_chars >= 0)
224 return num_chars;
/external/chromium_org/base/strings/
H A Dstring_util_unittest.cc1168 static void WritesCorrectly(size_t num_chars) { argument
1171 strncpy(WriteInto(&buffer, num_chars + 1), kOriginal, num_chars); local
1175 std::min(num_chars, arraysize(kOriginal) - 1)),
1177 EXPECT_EQ(num_chars, buffer.size());
/external/chromium_org/content/common/android/
H A Daddress_parser_internal.cc89 void HouseNumberParser::AcceptChars(size_t num_chars) { argument
91 num_chars);
96 void HouseNumberParser::SkipChars(size_t num_chars) { argument
97 it_ += std::min(static_cast<size_t>(std::distance(it_, end_)), num_chars);
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-graphite2.cc211 unsigned int num_chars; member in struct:hb_graphite2_cluster_t
312 clusters[ci-1].num_chars += clusters[ci].num_chars;
317 if (gr_slot_can_insert_before (is) && clusters[ci].num_chars && before >= clusters[ci].base_char + clusters[ci].num_chars)
320 c->base_char = clusters[ci].base_char + clusters[ci].num_chars;
321 c->num_chars = before - c->base_char;
328 if (clusters[ci].base_char + clusters[ci].num_chars < after + 1)
329 clusters[ci].num_chars = after + 1 - clusters[ci].base_char;
/external/harfbuzz_ng/src/
H A Dhb-graphite2.cc212 unsigned int num_chars; member in struct:hb_graphite2_cluster_t
307 clusters[ci-1].num_chars += clusters[ci].num_chars;
312 if (gr_slot_can_insert_before (is) && clusters[ci].num_chars && before >= clusters[ci].base_char + clusters[ci].num_chars)
315 c->base_char = clusters[ci].base_char + clusters[ci].num_chars;
316 c->num_chars = before - c->base_char;
323 if (clusters[ci].base_char + clusters[ci].num_chars < after + 1)
324 clusters[ci].num_chars = after + 1 - clusters[ci].base_char;
/external/chromium_org/content/common/
H A Dpage_state_serialization.cc326 const char16* ReadStringNoCopy(SerializeObject* obj, int* num_chars) { argument
342 if (num_chars)
343 *num_chars = length_in_bytes / sizeof(char16);
348 int num_chars; local
349 const char16* chars = ReadStringNoCopy(obj, &num_chars);
351 base::NullableString16(base::string16(chars, num_chars), false) :
/external/chromium_org/net/http/
H A Dhttp_stream_parser.cc939 const int num_chars = base::snprintf(output, output_size, local
942 cursor += num_chars;
/external/chromium_org/third_party/freetype/include/freetype/internal/
H A Dt1types.h56 /* num_chars :: The number of character codes in the encoding. */
71 FT_Int num_chars; member in struct:T1_EncodingRecRec_
/external/freetype/include/freetype/internal/
H A Dt1types.h56 /* num_chars :: The number of character codes in the encoding. */
71 FT_Int num_chars; member in struct:T1_EncodingRecRec_
/external/ppp/pppd/plugins/
H A Dwinbind.c171 size_t num_chars = 0; local
194 p[num_chars] = (hinybble << 4) | lonybble;
195 num_chars++;
200 return num_chars;
/external/srec/srec/crec/
H A Dsrec_context.c331 int wordmap_create(wordmap** pwmap, int num_chars, int num_words, int num_words_to_add) argument
342 Interface->max_chars = num_chars + num_words_to_add * AVG_CHARS_PER_WORD;
376 asr_int32_t num_chars; local
382 for (num_words = 0, num_chars = 0; pfgets(buf, MAX_LINE_LENGTH, fp); num_words++)
385 num_chars += strlen(word);
387 num_chars += num_words * 2; /* for null terminators */
394 wordmap_create(&wmap, num_chars, num_words, num_words_to_add);
/external/chromium/testing/gtest/src/
H A Dgtest.cc1496 // Parameter num_chars may additionally limit the number
1504 String WideStringToUtf8(const wchar_t* str, int num_chars) { argument
1505 if (num_chars == -1)
1506 num_chars = static_cast<int>(wcslen(str));
1509 for (int i = 0; i < num_chars; ++i) {
1514 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) {
/external/chromium_org/testing/gtest/src/
H A Dgtest.cc1477 // Parameter num_chars may additionally limit the number
1485 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { argument
1486 if (num_chars == -1)
1487 num_chars = static_cast<int>(wcslen(str));
1490 for (int i = 0; i < num_chars; ++i) {
1495 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) {
/external/chromium_org/third_party/mesa/src/src/gtest/src/
H A Dgtest.cc1496 // Parameter num_chars may additionally limit the number
1504 String WideStringToUtf8(const wchar_t* str, int num_chars) { argument
1505 if (num_chars == -1)
1506 num_chars = static_cast<int>(wcslen(str));
1509 for (int i = 0; i < num_chars; ++i) {
1514 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) {
/external/chromium_org/v8/src/
H A Dparser.cc216 int num_chars = char_vector.length(); local
217 if (num_chars > 1) {
218 Vector<const uc16> prefix = char_vector.SubVector(0, num_chars - 1);
220 char_vector = char_vector.SubVector(num_chars - 1, num_chars);
/external/gtest/src/
H A Dgtest.cc1496 // Parameter num_chars may additionally limit the number
1504 String WideStringToUtf8(const wchar_t* str, int num_chars) { argument
1505 if (num_chars == -1)
1506 num_chars = static_cast<int>(wcslen(str));
1509 for (int i = 0; i < num_chars; ++i) {
1514 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) {
/external/llvm/utils/unittest/googletest/
H A Dgtest.cc1496 // Parameter num_chars may additionally limit the number
1504 String WideStringToUtf8(const wchar_t* str, int num_chars) { argument
1505 if (num_chars == -1)
1506 num_chars = static_cast<int>(wcslen(str));
1509 for (int i = 0; i < num_chars; ++i) {
1514 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) {
/external/mesa3d/src/gtest/src/
H A Dgtest.cc1496 // Parameter num_chars may additionally limit the number
1504 String WideStringToUtf8(const wchar_t* str, int num_chars) { argument
1505 if (num_chars == -1)
1506 num_chars = static_cast<int>(wcslen(str));
1509 for (int i = 0; i < num_chars; ++i) {
1514 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) {
/external/open-vcdiff/gtest/src/
H A Dgtest.cc1511 // Parameter num_chars may additionally limit the number
1519 String WideStringToUtf8(const wchar_t* str, int num_chars) { argument
1520 if (num_chars == -1)
1521 num_chars = static_cast<int>(wcslen(str));
1524 for (int i = 0; i < num_chars; ++i) {
1529 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) {
/external/protobuf/gtest/src/
H A Dgtest.cc1481 // Parameter num_chars may additionally limit the number
1489 String WideStringToUtf8(const wchar_t* str, int num_chars) { argument
1490 if (num_chars == -1)
1491 num_chars = static_cast<int>(wcslen(str));
1494 for (int i = 0; i < num_chars; ++i) {
1499 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) {
/external/v8/src/
H A Dparser.cc214 int num_chars = char_vector.length(); local
215 if (num_chars > 1) {
216 Vector<const uc16> prefix = char_vector.SubVector(0, num_chars - 1);
218 char_vector = char_vector.SubVector(num_chars - 1, num_chars);
/external/libvpx/libvpx/third_party/googletest/src/src/
H A Dgtest-all.cc640 // Parameter num_chars may additionally limit the number
648 GTEST_API_ std::string WideStringToUtf8(const wchar_t* str, int num_chars);
2976 // Parameter num_chars may additionally limit the number
2984 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { argument
2985 if (num_chars == -1)
2986 num_chars = static_cast<int>(wcslen(str));
2989 for (int i = 0; i < num_chars; ++i) {
2994 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) {
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 938 milliseconds