Home
last modified time | relevance | path

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

12

/external/google-breakpad/src/common/linux/tests/
Dcrash_generator.cc259 int num_chars = snprintf(from_path, PATH_MAX, "/proc/%d/%s", in CopyProcFiles() local
261 if (num_chars < 0 || num_chars >= PATH_MAX) in CopyProcFiles()
264 num_chars = snprintf(to_path, PATH_MAX, "%s/%s", in CopyProcFiles()
266 if (num_chars < 0 || num_chars >= PATH_MAX) in CopyProcFiles()
/external/harfbuzz_ng/src/
Dhb-graphite2.cc215 unsigned int num_chars; member
328 clusters[ci-1].num_chars += clusters[ci].num_chars; in _hb_graphite2_shape()
334 …t_can_insert_before (is) && clusters[ci].num_chars && before >= clusters[ci].base_char + clusters[… in _hb_graphite2_shape()
337 c->base_char = clusters[ci].base_char + clusters[ci].num_chars; in _hb_graphite2_shape()
339 c->num_chars = before - c->base_char; in _hb_graphite2_shape()
354 if (clusters[ci].base_char + clusters[ci].num_chars < after + 1) in _hb_graphite2_shape()
355 clusters[ci].num_chars = after + 1 - clusters[ci].base_char; in _hb_graphite2_shape()
/external/valgrind/none/tests/s390x/
Dtest.h21 int say(const char *text, unsigned long num_chars) in say() argument
23 return svc3(4, 1, (unsigned long) text, num_chars); in say()
/external/valgrind/coregrind/
Dm_libcprint.c308 UInt num_chars; // number of characters in buf member
317 fp->buf[fp->num_chars++] = c; in add_to__vgfile()
319 if (fp->num_chars == VGFILE_BUFSIZE) { in add_to__vgfile()
320 VG_(write)(fp->fd, fp->buf, fp->num_chars); in add_to__vgfile()
321 fp->num_chars = 0; in add_to__vgfile()
335 fp->num_chars = 0; in VG_()
359 if (fp->num_chars) in VG_()
360 VG_(write)(fp->fd, fp->buf, fp->num_chars); in VG_()
/external/webrtc/webrtc/system_wrappers/source/
Dfile_impl.cc216 int num_chars = vfprintf(id_, format, args); in WriteText() local
219 if (num_chars >= 0) { in WriteText()
220 return num_chars; in WriteText()
/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/pdfium/third_party/freetype/src/cid/
Dcidload.h34 FT_Int num_chars; /* number of characters in encoding */ member
/external/pdfium/fpdfsdk/src/
Dfpdftext_embeddertest.cpp45 int num_chars = FPDFText_GetText(textpage, 0, 128, fixed_buffer); in TEST_F() local
46 ASSERT_GE(num_chars, 0); in TEST_F()
47 EXPECT_EQ(sizeof(expected), static_cast<size_t>(num_chars)); in TEST_F()
/external/pdfium/third_party/freetype/src/type1/
Dt1load.h38 FT_Int num_chars; /* number of characters in encoding */ member
Dt1load.c1233 loader->num_chars = encode->num_chars = count; in parse_encoding()
2091 loader->num_chars = 0; in t1_init_loader()
2311 type1->encoding.num_chars = loader.num_chars; in T1_Open_Face()
/external/v8/src/regexp/
Dregexp-parser.cc1144 int num_chars = char_vector.length(); in AddQuantifierToAtom() local
1145 if (num_chars > 1) { in AddQuantifierToAtom()
1146 Vector<const uc16> prefix = char_vector.SubVector(0, num_chars - 1); in AddQuantifierToAtom()
1148 char_vector = char_vector.SubVector(num_chars - 1, num_chars); in AddQuantifierToAtom()
/external/freetype/include/internal/
Dt1types.h71 FT_Int num_chars; member
/external/pdfium/third_party/freetype/include/freetype/internal/
Dt1types.h71 FT_Int num_chars; member
/external/libchrome/base/strings/
Dstring_util_unittest.cc1107 static void WritesCorrectly(size_t num_chars) { in WritesCorrectly() argument
1110 strncpy(WriteInto(&buffer, num_chars + 1), kOriginal, num_chars); in WritesCorrectly()
1114 std::min(num_chars, arraysize(kOriginal) - 1)), in WritesCorrectly()
1116 EXPECT_EQ(num_chars, buffer.size()); in WritesCorrectly()
/external/freetype/src/pfr/
Dpfrload.c687 phy_font->num_chars = 0; in pfr_phy_font_done()
867 phy_font->num_chars = count = PFR_NEXT_USHORT( p ); in pfr_phy_font_load()
/external/protobuf/gtest/src/
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()
Dgtest-internal-inl.h234 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
/external/google-breakpad/src/testing/gtest/src/
Dgtest.cc1505 String WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() argument
1506 if (num_chars == -1) in WideStringToUtf8()
1507 num_chars = static_cast<int>(wcslen(str)); in WideStringToUtf8()
1510 for (int i = 0; i < num_chars; ++i) { in WideStringToUtf8()
1515 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) { in WideStringToUtf8()
Dgtest-internal-inl.h245 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
/external/mesa3d/src/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/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.h241 GTEST_API_ String WideStringToUtf8(const wchar_t* str, int num_chars);
/external/gtest/src/
Dgtest.cc1500 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() argument
1501 if (num_chars == -1) in WideStringToUtf8()
1502 num_chars = static_cast<int>(wcslen(str)); in WideStringToUtf8()
1505 for (int i = 0; i < num_chars; ++i) { in WideStringToUtf8()
1510 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) { in WideStringToUtf8()
/external/vulkan-validation-layers/tests/gtest-1.7.0/src/
Dgtest.cc1500 std::string WideStringToUtf8(const wchar_t* str, int num_chars) { in WideStringToUtf8() argument
1501 if (num_chars == -1) in WideStringToUtf8()
1502 num_chars = static_cast<int>(wcslen(str)); in WideStringToUtf8()
1505 for (int i = 0; i < num_chars; ++i) { in WideStringToUtf8()
1510 } else if (i + 1 < num_chars && IsUtf16SurrogatePair(str[i], str[i + 1])) { in WideStringToUtf8()

12