Searched refs:chars (Results 1 – 5 of 5) sorted by relevance
/bionic/tests/ |
D | wchar_test.cpp | 120 const wchar_t chars[] = { L'h', L'e', L'l', L'l', L'o', 0 }; in TEST() local 126 EXPECT_EQ(5U, wcstombs(nullptr, chars, 0)); in TEST() 127 EXPECT_EQ(5U, wcstombs(nullptr, chars, 4)); in TEST() 128 EXPECT_EQ(5U, wcstombs(nullptr, chars, 256)); in TEST() 129 src = chars; in TEST() 131 EXPECT_EQ(&chars[0], src); in TEST() 132 src = chars; in TEST() 134 EXPECT_EQ(&chars[0], src); in TEST() 135 src = chars; in TEST() 137 EXPECT_EQ(&chars[0], src); in TEST() [all …]
|
D | stdio_test.cpp | 345 wchar_t chars[] = { L'h', L'i', 0 }; in TEST() local 346 ws = chars; in TEST() 357 wchar_t chars[] = { L'h', L'i', 0 }; in TEST() local 358 ws = chars; in TEST()
|
/bionic/libc/tzcode/ |
D | localtime.c | 132 char chars[BIGGEST(BIGGEST(TZ_MAX_CHARS + 1, sizeof gmt), member 266 tzname[ttisp->tt_isdst] = (char *) &sp->chars[ttisp->tt_abbrind]; in update_tzname_etc() 322 if (strchr(TZ_ABBR_CHAR_SET, sp->chars[i]) == NULL) in scrub_abbrs() 323 sp->chars[i] = TZ_ABBR_ERR_CHAR; in scrub_abbrs() 329 register char * cp = &sp->chars[ttisp->tt_abbrind]; in scrub_abbrs() 518 sp->chars[i] = *p++; in tzloadbody() 519 sp->chars[i] = '\0'; /* ensure '\0' at end */ in tzloadbody() 594 char *tsabbr = ts->chars + ts->ttis[i].tt_abbrind; in tzloadbody() 597 if (strcmp(sp->chars + j, tsabbr) == 0) { in tzloadbody() 605 strcpy(sp->chars + j, tsabbr); in tzloadbody() [all …]
|
/bionic/libc/upstream-netbsd/lib/libc/regex/ |
D | cclass.h | 77 const char *chars; member
|
D | regcomp.c | 940 u = cp->chars; in p_b_cclass()
|