Home
last modified time | relevance | path

Searched refs:num_chars (Results 1 – 17 of 17) sorted by relevance

/external/bluetooth/glib/tests/
Dutf8-pointer.c34 gint num_chars; in test_utf8() local
40 num_chars = g_utf8_strlen (string, -1); in test_utf8()
42 p = (gchar **) g_malloc (num_chars * sizeof (gchar *)); in test_utf8()
45 for (i = 1; i < num_chars; i++) in test_utf8()
48 for (i = 0; i < num_chars; i++) in test_utf8()
49 for (j = 0; j < num_chars; j++) in test_utf8()
/external/ppp/pppd/plugins/
Dwinbind.c171 size_t num_chars = 0; in strhex_to_str() local
194 p[num_chars] = (hinybble << 4) | lonybble; in strhex_to_str()
195 num_chars++; in strhex_to_str()
200 return num_chars; in strhex_to_str()
/external/freetype/include/freetype/internal/
Dt1types.h71 FT_Int num_chars; member
/external/srec/srec/include/
Dsrec_context.h226 int wordmap_create(wordmap** pwmap, int num_chars, int num_words, int num_words_to_add);
/external/gtest/src/
Dgtest.cc1511 String WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() argument
1512 if (num_chars == -1) in WideStringToUtf8()
1513 num_chars = static_cast<int>(wcslen(str)); in WideStringToUtf8()
1516 for (int i = 0; i < num_chars; ++i) { in WideStringToUtf8()
1521 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) { in WideStringToUtf8()
Dgtest-internal-inl.h168 String WideStringToUtf8(const wchar_t* str, int num_chars);
/external/srec/srec/crec/
Dsrec_context.c331 int wordmap_create(wordmap** pwmap, int num_chars, int num_words, int num_words_to_add) in wordmap_create() argument
342 Interface->max_chars = num_chars + num_words_to_add * AVG_CHARS_PER_WORD; in wordmap_create()
376 asr_int32_t num_chars; in FST_LoadWordMap() local
382 for (num_words = 0, num_chars = 0; pfgets(buf, MAX_LINE_LENGTH, fp); num_words++) in FST_LoadWordMap()
385 num_chars += strlen(word); in FST_LoadWordMap()
387 num_chars += num_words * 2; /* for null terminators */ in FST_LoadWordMap()
394 wordmap_create(&wmap, num_chars, num_words, num_words_to_add); in FST_LoadWordMap()
/external/protobuf/gtest/src/
Dgtest.cc1489 String WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() argument
1490 if (num_chars == -1) in WideStringToUtf8()
1491 num_chars = static_cast<int>(wcslen(str)); in WideStringToUtf8()
1494 for (int i = 0; i < num_chars; ++i) { in WideStringToUtf8()
1499 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) { in WideStringToUtf8()
Dgtest-internal-inl.h211 String WideStringToUtf8(const wchar_t* str, int num_chars);
/external/chromium/testing/gtest/src/
Dgtest.cc1504 String WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() argument
1505 if (num_chars == -1) in WideStringToUtf8()
1506 num_chars = static_cast<int>(wcslen(str)); in WideStringToUtf8()
1509 for (int i = 0; i < num_chars; ++i) { in WideStringToUtf8()
1514 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) { in WideStringToUtf8()
Dgtest-internal-inl.h238 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
/external/llvm/utils/unittest/googletest/
Dgtest.cc1525 String WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() argument
1526 if (num_chars == -1) in WideStringToUtf8()
1527 num_chars = static_cast<int>(wcslen(str)); in WideStringToUtf8()
1530 for (int i = 0; i < num_chars; ++i) { in WideStringToUtf8()
1535 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) { in WideStringToUtf8()
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal-inl.h234 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
/external/v8/src/
Dparser.cc214 int num_chars = char_vector.length(); in AddQuantifierToAtom() local
215 if (num_chars > 1) { in AddQuantifierToAtom()
216 Vector<const uc16> prefix = char_vector.SubVector(0, num_chars - 1); in AddQuantifierToAtom()
218 char_vector = char_vector.SubVector(num_chars - 1, num_chars); in AddQuantifierToAtom()
/external/webkit/Tools/android/flex-2.5.4a/MISC/
Dflex.man151 int num_lines = 0, num_chars = 0;
154 \n ++num_lines; ++num_chars;
155 . ++num_chars;
162 num_lines, num_chars );
168 globals, "num_lines" and "num_chars", which are accessible
/external/webkit/Tools/android/flex-2.5.4a/MISC/texinfo/
Dflex.info204 int num_lines = 0, num_chars = 0;
207 \n ++num_lines; ++num_chars;
208 . ++num_chars;
215 num_lines, num_chars );
221 "num_chars", which are accessible both inside `yylex()' and in the
Dflex.texi285 int num_lines = 0, num_chars = 0;
288 \n ++num_lines; ++num_chars;
289 . ++num_chars;
296 num_lines, num_chars );
303 declares two globals, "num_lines" and "num_chars", which