Home
last modified time | relevance | path

Searched refs:str (Results 1 - 25 of 9254) sorted by relevance

12345678910>>...371

/test/xts/acts/kernel_lite/io_posix/src/
H A DIoTestSprintf.cpp30 char str[100] = {0}; in HWTEST_F() local
31 int ret = sprintf(str, "%d", -2147483648); in HWTEST_F()
33 EXPECT_STREQ(str, "-2147483648"); in HWTEST_F()
35 ret = sprintf(str, "%d", 2147483647); in HWTEST_F()
37 EXPECT_STREQ(str, "2147483647"); in HWTEST_F()
39 ret = sprintf(str, "%i", -2147483648); in HWTEST_F()
41 EXPECT_STREQ(str, "-2147483648"); in HWTEST_F()
43 ret = sprintf(str, "%i", 2147483647); in HWTEST_F()
45 EXPECT_STREQ(str, "2147483647"); in HWTEST_F()
47 ret = sprintf(str, " in HWTEST_F()
63 char str[100] = {0}; HWTEST_F() local
96 char str[100] = {0}; HWTEST_F() local
129 char str[100] = {0}; HWTEST_F() local
154 char str[50] = {0}; HWTEST_F() local
171 char str[50] = {0}; HWTEST_F() local
188 char str[50] = {0}; HWTEST_F() local
205 char str[50] = {0}; HWTEST_F() local
250 char str[50] = {0}; HWTEST_F() local
283 char str[50] = {0}; HWTEST_F() local
340 char str[50] = {0}; HWTEST_F() local
373 char str[50] = {0}; HWTEST_F() local
422 char str[50] = {0}; HWTEST_F() local
455 char str[50] = {0}; HWTEST_F() local
504 char str[50] = {0}; HWTEST_F() local
537 char str[50] = {0}; HWTEST_F() local
590 char str[100] = {0}; HWTEST_F() local
643 char str[50] = {0}; HWTEST_F() local
692 char str[50] = {0}; HWTEST_F() local
741 char str[50] = {0}; HWTEST_F() local
790 char str[50] = {0}; HWTEST_F() local
839 char str[50] = {0}; HWTEST_F() local
888 char str[50] = {0}; HWTEST_F() local
937 char str[100] = {0}; HWTEST_F() local
1002 char str[100] = {0}; HWTEST_F() local
1035 char str[100] = {0}; HWTEST_F() local
1056 char str[100] = {0}; HWTEST_F() local
[all...]
/third_party/protobuf/src/google/protobuf/util/internal/
H A Djson_stream_parser_test.cc162 StringPiece str = "true"; in TEST_F() local
163 for (int i = 0; i <= str.length(); ++i) { in TEST_F()
165 DoTest(str, i); in TEST_F()
170 StringPiece str = "false"; in TEST_F() local
171 for (int i = 0; i <= str.length(); ++i) { in TEST_F()
173 DoTest(str, i); in TEST_F()
178 StringPiece str = "null"; in TEST_F() local
179 for (int i = 0; i <= str.length(); ++i) { in TEST_F()
181 DoTest(str, i); in TEST_F()
187 StringPiece str in TEST_F() local
195 StringPiece str = "[]"; TEST_F() local
204 StringPiece str = "42.5"; TEST_F() local
212 StringPiece str = "1.2345e-10"; TEST_F() local
220 StringPiece str = "-1045.235"; TEST_F() local
228 StringPiece str = "123456"; TEST_F() local
236 StringPiece str = "-79497823553162765"; TEST_F() local
244 StringPiece str = "11779497823553162765"; TEST_F() local
252 StringPiece str = "01234"; TEST_F() local
263 StringPiece str = "0x1234"; TEST_F() local
279 StringPiece str = "\\"\\""; TEST_F() local
287 StringPiece str = "''"; TEST_F() local
295 StringPiece str = "\\"Some String\\""; TEST_F() local
303 StringPiece str = "'Another String'"; TEST_F() local
312 StringPiece str = TEST_F() local
329 StringPiece str = "{ nullkey: \\"a\\", truekey: \\"b\\", falsekey: \\"c\\"}"; TEST_F() local
341 StringPiece str = "{ null: \\"a\\", true: \\"b\\", false: \\"c\\"}"; TEST_F() local
348 StringPiece str = "{ foo-bar-baz: \\"a\\"}"; TEST_F() local
357 StringPiece str = "[true, false, null, 'one', \\"two\\"]"; TEST_F() local
372 StringPiece str = TEST_F() local
394 StringPiece str = TEST_F() local
437 StringPiece str = "[\\"\\\\u0639\\\\u0631\\\\u0628\\\\u0649\\"]"; TEST_F() local
448 StringPiece str = TEST_F() local
463 StringPiece str = "[\\"\\\\ude36\\"]"; TEST_F() local
471 StringPiece str = "[\\"\\\\ud83d\\"]"; TEST_F() local
494 StringPiece str = TEST_F() local
510 StringPiece str = "[['a',true,], {b: null,},]"; TEST_F() local
529 StringPiece str = "truee"; TEST_F() local
537 StringPiece str = "-"; TEST_F() local
544 StringPiece str = "-foo"; TEST_F() local
551 StringPiece str = "[nule]"; TEST_F() local
559 StringPiece str = "{123false}"; TEST_F() local
568 StringPiece str = "'Some str\\""; TEST_F() local
575 StringPiece str = "\\"Another string that ends poorly!'"; TEST_F() local
583 StringPiece str = "\\"Forgot the rest of i"; TEST_F() local
590 StringPiece str = "\\"Forgot the rest of \\\\"; TEST_F() local
597 StringPiece str = "[\\"Forgot to close the string]"; TEST_F() local
605 StringPiece str = "{f: \\"Forgot to close the string}"; TEST_F() local
613 StringPiece str = "{"; TEST_F() local
623 StringPiece str = "{'key': true]"; TEST_F() local
631 StringPiece str = "[true, null}"; TEST_F() local
640 StringPiece str = "{42: true}"; TEST_F() local
648 StringPiece str = "{{bob: true}}"; TEST_F() local
656 StringPiece str = "{[null]}"; TEST_F() local
664 StringPiece str = "{false}"; TEST_F() local
672 StringPiece str = "{\\"key\\"}"; TEST_F() local
680 StringPiece str = "{key}"; TEST_F() local
688 StringPiece str = "{key"; TEST_F() local
696 StringPiece str = "{key:}"; TEST_F() local
704 StringPiece str = "{key:20 'hello': true}"; TEST_F() local
712 StringPiece str = "{false: 20}"; TEST_F() local
720 StringPiece str = "{}}"; TEST_F() local
728 StringPiece str = "18446744073709551616"; // 2^64 TEST_F() local
736 StringPiece str = "-18446744073709551616"; TEST_F() local
744 StringPiece str = "[1.89769e+308]"; TEST_F() local
759 StringPiece str = "\\"\\\\"; TEST_F() local
767 StringPiece str = "\\"\\\\u"; TEST_F() local
775 StringPiece str = "\\"\\\\u12"; TEST_F() local
783 StringPiece str = "\\"\\\\u{1f36f}\\""; TEST_F() local
791 StringPiece str = "\\"\\\\u12$4hello"; TEST_F() local
799 StringPiece str = "\\"\\\\ud800\\\\udcfg\\""; TEST_F() local
807 StringPiece str = "{'k1': true,,'k2': false}"; TEST_F() local
815 StringPiece str = "[true,,false}"; TEST_F() local
824 StringPiece str = "'hello', 'world'"; TEST_F() local
832 StringPiece str = "{'key': true} 'oops'"; TEST_F() local
840 StringPiece str = "[null] 'oops'"; TEST_F() local
849 StringPiece str = "*&#25"; TEST_F() local
856 StringPiece str = "[*&#25]"; TEST_F() local
864 StringPiece str = "{'key': *&#25}"; TEST_F() local
873 std::string str; TEST_F() local
899 std::string str; TEST_F() local
[all...]
/third_party/python/Python/
H A Dmystrtoul.c95 PyOS_strtoul(const char *str, char **ptr, int base) in PyOS_strtoul() argument
102 while (*str && Py_ISSPACE(*str)) in PyOS_strtoul()
103 ++str; in PyOS_strtoul()
108 if (*str == '0') { in PyOS_strtoul()
109 ++str; in PyOS_strtoul()
110 if (*str == 'x' || *str == 'X') { in PyOS_strtoul()
112 if (_PyLong_DigitValue[Py_CHARMASK(str[1])] >= 16) { in PyOS_strtoul()
114 *ptr = (char *)str; in PyOS_strtoul()
263 PyOS_strtol(const char *str, char **ptr, int base) PyOS_strtol() argument
[all...]
/third_party/node/deps/v8/src/temporal/
H A Dtemporal-parser.cc60 * base::Vector<Char> str, int32_t s, R* out)
62 * These routine scan the next item from position s in str and store the
69 * bool Satisfy$ProductionName(base::Vector<Char> str, R* r);
70 * It scan from the beginning of the str by calling Scan routines to put
71 * parsed result into r and return true if the entire str satisfy the
85 bool IsHour(base::Vector<Char> str, int32_t s) { in IsHour() argument
86 return (str.length() >= (s + 2)) && in IsHour()
87 ((base::IsInRange(str[s], '0', '1') && IsDecimalDigit(str[s + 1])) || in IsHour()
88 ((str[ in IsHour()
92 ScanHour(base::Vector<Char> str, int32_t s, int32_t* out) ScanHour() argument
101 IsMinuteSecond(base::Vector<Char> str, int32_t s) IsMinuteSecond() argument
107 ScanMinuteSecond(base::Vector<Char> str, int32_t s, int32_t* out) ScanMinuteSecond() argument
146 ScanTimeSecond(base::Vector<Char> str, int32_t s, int32_t* out) ScanTimeSecond() argument
163 ScanFractionalPart(base::Vector<Char> str, int32_t s, int32_t* out) ScanFractionalPart() argument
175 ScanFractionalPart(base::Vector<Char> str, int32_t s, int64_t* out) ScanFractionalPart() argument
188 ScanFraction(base::Vector<Char> str, int32_t s, int32_t* out) ScanFraction() argument
198 ScanTimeFraction(base::Vector<Char> str, int32_t s, int32_t* out) ScanTimeFraction() argument
206 ScanTimeFraction(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanTimeFraction() argument
218 ScanTimeSpec(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanTimeSpec() argument
267 ScanTimeSpecSeparator(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanTimeSpecSeparator() argument
276 ScanDateExtendedYear(base::Vector<Char> str, int32_t s, int32_t* out) ScanDateExtendedYear() argument
293 ScanDateFourDigitYear(base::Vector<Char> str, int32_t s, int32_t* out) ScanDateFourDigitYear() argument
316 ScanDateMonth(base::Vector<Char> str, int32_t s, int32_t* out) ScanDateMonth() argument
333 ScanDateDay(base::Vector<Char> str, int32_t s, int32_t* out) ScanDateDay() argument
348 ScanDate(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanDate() argument
386 ScanTimeZoneUTCOffsetFraction(base::Vector<Char> str, int32_t s, int32_t* out) ScanTimeZoneUTCOffsetFraction() argument
404 ScanTimeZoneNumericUTCOffset(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanTimeZoneNumericUTCOffset() argument
461 ScanTimeZoneUTCOffset(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanTimeZoneUTCOffset() argument
476 ScanTimeZoneIANANameComponent(base::Vector<Char> str, int32_t s) ScanTimeZoneIANANameComponent() argument
496 ScanTimeZoneIANAName(base::Vector<Char> str, int32_t s) ScanTimeZoneIANAName() argument
513 ScanTimeZoneIANAName(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanTimeZoneIANAName() argument
530 ScanTimeZoneUTCOffsetName(base::Vector<Char> str, int32_t s) ScanTimeZoneUTCOffsetName() argument
580 ScanEtcGMTAsciiSignHour(base::Vector<Char> str, int32_t s) ScanEtcGMTAsciiSignHour() argument
598 ScanTimeZoneBracketedName(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanTimeZoneBracketedName() argument
612 ScanTimeZoneBracketedAnnotation(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanTimeZoneBracketedAnnotation() argument
626 ScanTimeZoneOffsetRequired(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanTimeZoneOffsetRequired() argument
637 ScanTimeZoneNameRequired(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanTimeZoneNameRequired() argument
656 ScanCalendarNameComponent(base::Vector<Char> str, int32_t s) ScanCalendarNameComponent() argument
671 ScanCalendarName(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanCalendarName() argument
689 ScanCalendar(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanCalendar() argument
708 ScanCalendarTime(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanCalendarTime() argument
720 ScanDateTime(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanDateTime() argument
731 ScanDateSpecYearMonth(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanDateSpecYearMonth() argument
749 ScanDateSpecMonthDay(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanDateSpecMonthDay() argument
777 ScanTemporalTimeZoneIdentifier(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanTemporalTimeZoneIdentifier() argument
789 ScanCalendarDateTime(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanCalendarDateTime() argument
799 ScanTemporalZonedDateTimeString(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanTemporalZonedDateTimeString() argument
825 ScanDate_TimeSpecSeparator_TimeZone_Calendar(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanDate_TimeSpecSeparator_TimeZone_Calendar() argument
876 ScanTemporalInstantString(base::Vector<Char> str, int32_t s, ParsedISO8601Result* r) ScanTemporalInstantString() argument
957 SatisfyTemporalCalendarString(base::Vector<Char> str, ParsedISO8601Result* r) SatisfyTemporalCalendarString() argument
973 ScanFraction(base::Vector<Char> str, int32_t s, int64_t* out) ScanFraction() argument
984 ScanDigits(base::Vector<Char> str, int32_t s, int64_t* out) ScanDigits() argument
1049 ScanDurationMinutesPart(base::Vector<Char> str, int32_t s, ParsedISO8601Duration* r) ScanDurationMinutesPart() argument
1063 ScanDurationHoursPart(base::Vector<Char> str, int32_t s, ParsedISO8601Duration* r) ScanDurationHoursPart() argument
1077 ScanDurationTime(base::Vector<Char> str, int32_t s, ParsedISO8601Duration* r) ScanDurationTime() argument
1112 ScanDurationWeeksPart(base::Vector<Char> str, int32_t s, ParsedISO8601Duration* r) ScanDurationWeeksPart() argument
1123 ScanDurationMonthsPart(base::Vector<Char> str, int32_t s, ParsedISO8601Duration* r) ScanDurationMonthsPart() argument
1137 ScanDurationYearsPart(base::Vector<Char> str, int32_t s, ParsedISO8601Duration* r) ScanDurationYearsPart() argument
1153 ScanDurationDate(base::Vector<Char> str, int32_t s, ParsedISO8601Duration* r) ScanDurationDate() argument
1170 ScanDuration(base::Vector<Char> str, int32_t s, ParsedISO8601Duration* r) ScanDuration() argument
[all...]
/third_party/skia/src/utils/
H A DSkParse.cpp50 static const char* skip_ws(const char str[]) in skip_ws() argument
52 SkASSERT(str); in skip_ws()
53 while (is_ws(*str)) in skip_ws()
54 str++; in skip_ws()
55 return str; in skip_ws()
58 static const char* skip_sep(const char str[]) in skip_sep() argument
60 SkASSERT(str); in skip_sep()
61 while (is_sep(*str)) in skip_sep()
62 str++; in skip_sep()
63 return str; in skip_sep()
66 Count(const char str[]) Count() argument
87 Count(const char str[], char separator) Count() argument
108 FindHex(const char str[], uint32_t* value) FindHex() argument
137 FindS32(const char str[], int32_t* value) FindS32() argument
163 FindMSec(const char str[], SkMSec* value) FindMSec() argument
202 FindScalar(const char str[], SkScalar* value) FindScalar() argument
217 FindScalars(const char str[], SkScalar value[], int count) FindScalars() argument
238 lookup_str(const char str[], const char** table, int count) lookup_str() argument
246 FindBool(const char str[], bool* value) FindBool() argument
[all...]
/third_party/backends/backend/genesys/
H A Dserialize.h35 inline void serialize_newline(std::ostream& str) { str << '\n'; } in serialize_newline() argument
36 inline void serialize_newline(std::istream& str) { (void) str; } in serialize_newline() argument
38 inline void serialize(std::ostream& str, bool x) { str << static_cast<unsigned>(x) << " "; } in serialize() argument
39 inline void serialize(std::istream& str, bool& x) { unsigned v; str >> v; x = v; } in serialize() argument
40 inline void serialize(std::ostream& str, char x) { str << static_cas in serialize() argument
41 serialize(std::istream& str, char& x) serialize() argument
42 serialize(std::ostream& str, unsigned char x) serialize() argument
43 serialize(std::istream& str, unsigned char& x) serialize() argument
44 serialize(std::ostream& str, signed char x) serialize() argument
45 serialize(std::istream& str, signed char& x) serialize() argument
46 serialize(std::ostream& str, short x) serialize() argument
47 serialize(std::istream& str, short& x) serialize() argument
48 serialize(std::ostream& str, unsigned short x) serialize() argument
49 serialize(std::istream& str, unsigned short& x) serialize() argument
50 serialize(std::ostream& str, int x) serialize() argument
51 serialize(std::istream& str, int& x) serialize() argument
52 serialize(std::ostream& str, unsigned int x) serialize() argument
53 serialize(std::istream& str, unsigned int& x) serialize() argument
54 serialize(std::ostream& str, long x) serialize() argument
55 serialize(std::istream& str, long& x) serialize() argument
56 serialize(std::ostream& str, unsigned long x) serialize() argument
57 serialize(std::istream& str, unsigned long& x) serialize() argument
58 serialize(std::ostream& str, long long x) serialize() argument
59 serialize(std::istream& str, long long& x) serialize() argument
60 serialize(std::ostream& str, unsigned long long x) serialize() argument
61 serialize(std::istream& str, unsigned long long& x) serialize() argument
62 serialize(std::ostream& str, float x) serialize() argument
63 serialize(std::istream& str, float& x) serialize() argument
64 serialize(std::ostream& str, double x) serialize() argument
65 serialize(std::istream& str, double& x) serialize() argument
66 serialize(std::ostream& str, const std::string& x) serialize() argument
67 serialize(std::istream& str, std::string& x) serialize() argument
70 serialize(std::ostream& str, std::vector<T>& x) serialize() argument
82 serialize(std::istream& str, std::vector<T>& x, size_t max_size = std::numeric_limits<size_t>::max()) serialize() argument
100 serialize(std::ostream& str, std::array<T, Size>& x) serialize() argument
112 serialize(std::istream& str, std::array<T, Size>& x) serialize() argument
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dtest-number.cc34 const char str[] = "123"; in main() local
35 const char *pp = str; in main()
36 const char *end = str + 3; in main()
41 assert (pp - str == 3); in main()
47 const char str[] = "123"; in main() local
48 const char *pp = str; in main()
49 const char *end = str + strlen (str); in main()
54 assert (pp - str == 3); in main()
60 const char str[] in main() local
73 const char str[] = "12Fq"; main() local
87 const char str[] = "-123"; main() local
100 const char str[] = "123"; main() local
113 const char str[] = "123\\0"; main() local
126 const char str[] = "123V"; main() local
139 const char str[] = ".123"; main() local
151 const char str[] = "0.123"; main() local
163 const char str[] = "0.123e0"; main() local
175 const char str[] = "123e-3"; main() local
187 const char str[] = ".000123e+3"; main() local
199 const char str[] = "-.000000123e6"; main() local
212 const char str[] = "-1.23E-1"; main() local
[all...]
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
H A Dif_test.cpp18 const char *str = in TEST_F() local
31 preprocess(str, expected); in TEST_F()
36 const char *str = in TEST_F() local
49 preprocess(str, expected); in TEST_F()
54 const char *str = in TEST_F() local
71 preprocess(str, expected); in TEST_F()
76 const char *str = in TEST_F() local
93 preprocess(str, expected); in TEST_F()
98 const char *str = in TEST_F() local
127 preprocess(str, expecte in TEST_F()
132 const char *str = TEST_F() local
162 const char *str = TEST_F() local
192 const char *str = TEST_F() local
224 const char *str = TEST_F() local
256 const char *str = TEST_F() local
274 const char *str = TEST_F() local
316 const char *str = TEST_F() local
334 const char *str = TEST_F() local
352 const char *str = TEST_F() local
370 const char *str = TEST_F() local
388 const char *str = TEST_F() local
416 const char *str = TEST_F() local
444 const char *str = TEST_F() local
462 const char *str = TEST_F() local
480 const char *str = TEST_F() local
498 const char *str = TEST_F() local
516 const char *str = TEST_F() local
534 const char *str = TEST_F() local
552 const char *str = TEST_F() local
576 const char *str = TEST_F() local
602 const char *str = TEST_F() local
634 const char *str = TEST_F() local
666 const char *str = TEST_F() local
678 const char *str = TEST_F() local
690 const char *str = TEST_F() local
702 const char *str = TEST_F() local
714 const char *str = TEST_F() local
726 const char *str = TEST_F() local
738 const char *str = TEST_F() local
750 const char *str = TEST_F() local
772 const char *str = "#else\\n"; TEST_F() local
782 const char *str = "#elif 1\\n"; TEST_F() local
792 const char *str = "#endif\\n"; TEST_F() local
802 const char *str = TEST_F() local
816 const char *str = TEST_F() local
830 const char *str = "#if 1\\n"; TEST_F() local
840 const char *str = "#ifdef foo\\n"; TEST_F() local
852 const char *str = TEST_F() local
866 const char *str = TEST_F() local
880 const char *str = TEST_F() local
895 const char *str = TEST_F() local
912 const char *str = TEST_F() local
924 constexpr char str[] = R"(#define BBB 1 TEST_F() local
939 constexpr char str[] = R"(#define AAA defined(BBB) TEST_F() local
953 constexpr char str[] = R"(#define BBB 1 TEST_F() local
972 constexpr char str[] = R"(#define BBB 1 TEST_F() local
989 const char *str = TEST_F() local
1009 const char *str = TEST_F() local
1028 const char *str = TEST_F() local
1044 const char *str = TEST_F() local
1058 const char *str = TEST_F() local
1072 const char *str = TEST_F() local
1088 const char *str = TEST_F() local
1107 const char *str = TEST_F() local
1122 const char *str = TEST_F() local
1136 const char *str = TEST_F() local
1150 const char *str = TEST_F() local
[all...]
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dsprintf.c24 char str[BUFFER_SIZE]; in sprintf_specifier_tests() local
27 ret = sprintf(str, "test"); in sprintf_specifier_tests()
29 EXPECT_STREQ("sprintf_specifier_null", str, "test"); in sprintf_specifier_tests()
31 ret = sprintf(str, "%d,%i", 1, 2); in sprintf_specifier_tests()
33 EXPECT_STREQ("sprintf_specifier_integer", str, "1,2"); in sprintf_specifier_tests()
35 ret = sprintf(str, "%u,%u", 1, -1); in sprintf_specifier_tests()
37 EXPECT_STREQ("sprintf_specifier_Unsigned_integer", str, "1,4294967295"); in sprintf_specifier_tests()
39 ret = sprintf(str, "%o", 9); in sprintf_specifier_tests()
41 EXPECT_STREQ("sprintf_specifier_octal_integer", str, "11"); in sprintf_specifier_tests()
43 ret = sprintf(str, " in sprintf_specifier_tests()
78 char str[BUFFER_SIZE]; sprintf_flag_tests() local
97 char str[BUFFER_SIZE]; sprintf_width_tests() local
110 char str[BUFFER_SIZE]; sprintf_precision_tests() local
[all...]
/third_party/node/deps/npm/node_modules/columnify/
H A Dutils.js6 * repeat string `str` up to total length of `len`
8 * @param String str string to repeat
12 function repeatString(str, len) {
13 return Array.apply(null, {length: len + 1}).join(str).slice(0, len)
17 * Pad `str` up to total length `max` with `chr`.
18 * If `str` is longer than `max`, padRight will return `str` unaltered.
20 * @param String str string to pad
23 * @return String padded str
26 function padRight(str, ma
[all...]
/third_party/vk-gl-cts/framework/egl/
H A DegluStrUtil.cpp30 std::ostream& operator<< (std::ostream& str, const ConfigAttribValueFmt& attribFmt) in operator <<() argument
35 return str << getColorBufferTypeStr(attribFmt.value); in operator <<()
38 return str << getConfigCaveatStr(attribFmt.value); in operator <<()
42 return str << getAPIBitsStr(attribFmt.value); in operator <<()
45 return str << getSurfaceBitsStr(attribFmt.value); in operator <<()
49 return str << "EGL_NONE"; in operator <<()
51 return str << tcu::toHex(attribFmt.value); in operator <<()
54 return str << getTransparentTypeStr(attribFmt.value); in operator <<()
60 return str << getBoolDontCareStr(attribFmt.value); in operator <<()
80 return str << (in in operator <<()
87 operator <<(std::ostream& str, const ContextAttribValueFmt& attribFmt) operator <<() argument
106 operator <<(std::ostream& str, const SurfaceAttribValueFmt& attribFmt) operator <<() argument
148 operator <<(std::ostream& str, const ConfigAttribListFmt& fmt) operator <<() argument
188 operator <<(std::ostream& str, const SurfaceAttribListFmt& fmt) operator <<() argument
228 operator <<(std::ostream& str, const ContextAttribListFmt& fmt) operator <<() argument
[all...]
/third_party/mesa3d/src/util/
H A Dstring_buffer.c28 ensure_capacity(struct _mesa_string_buffer *str, uint32_t needed_capacity) in ensure_capacity() argument
30 if (needed_capacity <= str->capacity) in ensure_capacity()
34 uint32_t new_capacity = str->capacity * 2; in ensure_capacity()
38 str->buf = reralloc_array_size(str, str->buf, sizeof(char), new_capacity); in ensure_capacity()
39 if (str->buf == NULL) in ensure_capacity()
42 str->capacity = new_capacity; in ensure_capacity()
49 struct _mesa_string_buffer *str; in _mesa_string_buffer_create() local
50 str in _mesa_string_buffer_create()
70 _mesa_string_buffer_append_all(struct _mesa_string_buffer *str, uint32_t num_args, ...) _mesa_string_buffer_append_all() argument
89 _mesa_string_buffer_append_len(struct _mesa_string_buffer *str, const char *c, uint32_t len) _mesa_string_buffer_append_len() argument
108 _mesa_string_buffer_vprintf(struct _mesa_string_buffer *str, const char *format, va_list args) _mesa_string_buffer_vprintf() argument
139 _mesa_string_buffer_printf(struct _mesa_string_buffer *str, const char *format, ...) _mesa_string_buffer_printf() argument
[all...]
/third_party/vk-gl-cts/framework/opengl/
H A DgluStrUtil.cpp33 std::ostream& operator<< (std::ostream& str, const BooleanPointerFmt& fmt) in operator <<() argument
37 str << "{ "; in operator <<()
41 str << ", "; in operator <<()
42 str << getBooleanStr(fmt.value[ndx]); in operator <<()
44 str << " }"; in operator <<()
45 return str; in operator <<()
48 return str << "(null)"; in operator <<()
52 std::ostream& operator<< (std::ostream& str, const EnumPointerFmt& fmt) in operator <<() argument
56 str << "{ "; in operator <<()
60 str << ", "; in operator <<()
71 operator <<(std::ostream& str, const TextureUnitStr& unitStr) operator <<() argument
80 operator <<(std::ostream& str, const TextureParameterValueStr& valueStr) operator <<() argument
126 operator <<(std::ostream& str, ApiType apiType) operator <<() argument
145 operator <<(std::ostream& str, ContextType contextType) operator <<() argument
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dsubstitute_test.cc67 std::string str = absl::Substitute("$0", int_p); in TEST() local
68 EXPECT_EQ(absl::StrCat("0x", absl::Hex(int_p)), str); in TEST()
74 str = absl::Substitute("$0", volptr); in TEST()
75 EXPECT_EQ("true", str); in TEST()
79 str = absl::Substitute("$0", null_p); in TEST()
80 EXPECT_EQ("NULL", str); in TEST()
84 str = absl::Substitute("$0", char_p); in TEST()
85 EXPECT_EQ("print me", str); in TEST()
89 str = absl::Substitute("$0", char_buf); in TEST()
90 EXPECT_EQ("print me too", str); in TEST()
134 std::string str = "Hello"; TEST() local
182 std::string str = "Logic be like: "; TEST() local
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/val/
H A Dval_ssa_test.cpp35 char str[] = R"( in TEST_F() local
48 CompileSuccessfully(str); in TEST_F()
53 char str[] = R"( in TEST_F() local
65 CompileSuccessfully(str); in TEST_F()
71 char str[] = R"( in TEST_F() local
83 CompileSuccessfully(str); in TEST_F()
88 char str[] = R"( in TEST_F() local
96 CompileSuccessfully(str); in TEST_F()
102 char str[] = R"( in TEST_F() local
118 CompileSuccessfully(str); in TEST_F()
126 char str[] = R"( TEST_F() local
149 char str[] = R"( TEST_F() local
166 char str[] = R"( TEST_F() local
178 char str[] = R"( TEST_F() local
193 char str[] = R"( TEST_F() local
211 char str[] = R"( TEST_F() local
225 char str[] = R"( TEST_F() local
247 char str[] = R"( TEST_F() local
263 char str[] = R"( TEST_F() local
281 char str[] = R"( TEST_F() local
299 char str[] = R"( TEST_F() local
319 char str[] = R"( TEST_F() local
339 char str[] = R"( TEST_F() local
359 char str[] = R"( TEST_F() local
381 char str[] = R"( TEST_F() local
409 char str[] = R"( TEST_F() local
437 char str[] = R"( TEST_F() local
464 char str[] = R"( TEST_F() local
491 char str[] = R"( TEST_F() local
521 char str[] = R"( TEST_F() local
613 std::string str = kHeader + kBasicTypes + kKernelTypesAndConstants + TEST_F() local
629 std::string str = kHeader + kBasicTypes + kKernelTypesAndConstants + R"( TEST_F() local
645 std::string str = kHeader + "OpName %kfunc \\"kfunc\\"" + kBasicTypes + TEST_F() local
679 std::string str = forwardKernelNonDominantParameterBaseCode("missing") + R"( TEST_F() local
692 std::string str = forwardKernelNonDominantParameterBaseCode("dqueue2") + R"( TEST_F() local
706 std::string str = forwardKernelNonDominantParameterBaseCode("ndval2") + R"( TEST_F() local
720 std::string str = forwardKernelNonDominantParameterBaseCode("nevent2") + R"( TEST_F() local
734 std::string str = forwardKernelNonDominantParameterBaseCode("event2") + R"( TEST_F() local
748 std::string str = forwardKernelNonDominantParameterBaseCode("revent2") + R"( TEST_F() local
762 std::string str = forwardKernelNonDominantParameterBaseCode("firstp2") + R"( TEST_F() local
776 std::string str = forwardKernelNonDominantParameterBaseCode("psize2") + R"( TEST_F() local
790 std::string str = forwardKernelNonDominantParameterBaseCode("palign2") + R"( TEST_F() local
804 std::string str = forwardKernelNonDominantParameterBaseCode("lsize2") + R"( TEST_F() local
855 std::string str = kHeader + kBasicTypes + kKernelTypesAndConstants + TEST_P() local
984 std::string str = kHeader + kBasicTypes + TEST_F() local
1007 std::string str = kHeader + "OpName %missing \\"missing\\"" + kBasicTypes + TEST_F() local
1031 std::string str = kHeader + "OpName %missing \\"missing\\"" + kBasicTypes + TEST_F() local
1055 std::string str = kHeader + "OpName %missing \\"missing\\"" + kBasicTypes + TEST_F() local
1079 std::string str = kHeader + kBasicTypes + TEST_F() local
1103 std::string str = kHeader + TEST_F() local
1135 std::string str = kHeader + kBasicTypes + TEST_F() local
1164 std::string str = kHeader + "OpName %inew \\"inew\\"" + kBasicTypes + TEST_F() local
1195 std::string str = kHeader + "OpName %if_true \\"if_true\\"\\n" + TEST_F() local
1225 std::string str = kHeader + "OpName %loop \\"loop\\"\\n" + TEST_F() local
1244 std::string str = kHeader + "OpName %if_true \\"if_true\\"\\n" + TEST_F() local
1280 std::string str = kHeader + "OpName %if_true \\"if_true\\"\\n" + kBasicTypes + TEST_F() local
1310 std::string str = kHeader + kBasicTypes + TEST_F() local
1328 std::string str = kHeader + "OpName %unreachable \\"unreachable\\"\\n" + TEST_F() local
1359 std::string str = kHeader + kBasicTypes + TEST_F() local
1378 std::string str = kHeader + TEST_F() local
1410 std::string str = R"( TEST_F() local
1427 std::string str = R"( TEST_F() local
[all...]
H A Dval_data_test.cpp108 std::string str = header + R"( in TEST_F() local
112 CompileSuccessfully(str.c_str()); in TEST_F()
118 std::string str = header + R"( in TEST_F() local
122 CompileSuccessfully(str.c_str()); in TEST_F()
128 std::string str = header + R"( in TEST_F() local
132 CompileSuccessfully(str.c_str()); in TEST_F()
137 std::string str = header + R"( in TEST_F() local
141 CompileSuccessfully(str.c_str()); in TEST_F()
146 std::string str = header + R"( in TEST_F() local
150 CompileSuccessfully(str in TEST_F()
155 std::string str = header + R"( TEST_F() local
165 std::string str = header + R"( TEST_F() local
175 std::string str = header_with_vec16_cap + R"( TEST_F() local
184 std::string str = header + R"( TEST_F() local
194 std::string str = header_with_vec16_cap + R"( TEST_F() local
203 std::string str = header + R"( TEST_F() local
213 std::string str = header_with_int8 + "%2 = OpTypeInt 8 0"; TEST_F() local
219 std::string str = header + "%2 = OpTypeInt 8 1"; TEST_F() local
226 std::string str = HeaderWith( TEST_F() local
235 std::string str = HeaderWith( TEST_F() local
244 std::string str = HeaderWith( TEST_F() local
253 std::string str = header_with_int16 + "%2 = OpTypeInt 16 1"; TEST_F() local
259 std::string str = HeaderWith( TEST_F() local
268 std::string str = TEST_F() local
276 std::string str = HeaderWith( TEST_F() local
285 std::string str = HeaderWith( TEST_F() local
294 std::string str = R"( TEST_F() local
305 std::string str = header + "%2 = OpTypeInt 16 1"; TEST_F() local
312 std::string str = header_with_int64 + "%2 = OpTypeInt 64 1"; TEST_F() local
318 std::string str = header + "%2 = OpTypeInt 64 1"; TEST_F() local
326 std::string str = header + "%2 = OpTypeInt 48 1"; TEST_F() local
333 std::string str = header_with_float16 + "%2 = OpTypeFloat 16"; TEST_F() local
339 std::string str = header_with_float16_buffer + "%2 = OpTypeFloat 16"; TEST_F() local
345 std::string str = header + "%2 = OpTypeFloat 16"; TEST_F() local
352 std::string str = header_with_float64 + "%2 = OpTypeFloat 64"; TEST_F() local
358 std::string str = header + "%2 = OpTypeFloat 64"; TEST_F() local
366 std::string str = header + "%2 = OpTypeFloat 48"; TEST_F() local
373 std::string str = header + R"( TEST_F() local
383 std::string str = header + R"( TEST_F() local
394 std::string str = header + R"( TEST_F() local
405 std::string str = header + R"( TEST_F() local
417 std::string str = header + R"( TEST_F() local
429 std::string str = header + R"( TEST_F() local
442 std::string str = header + R"( TEST_F() local
455 std::string str = header + R"( TEST_F() local
465 std::string str = header + R"( TEST_F() local
475 std::string str = header + R"( TEST_F() local
485 std::string str = header + R"( TEST_F() local
498 std::string str = header + R"( TEST_F() local
506 std::string str = header + R"( TEST_F() local
514 std::string str = header + R"( TEST_F() local
523 std::string str = header + R"( TEST_F() local
534 std::string str = header + R"( TEST_F() local
545 std::string str = header_with_addresses + R"( TEST_F() local
556 std::string str = header_with_addresses + R"( TEST_F() local
568 std::string str = header_with_addresses + R"( TEST_F() local
580 std::string str = header_with_addresses + R"( TEST_F() local
594 std::string str = header_with_addresses + R"( TEST_F() local
607 std::string str = header_with_addresses + R"( TEST_F() local
622 std::string str = std::string(R"( TEST_F() local
655 std::string str = std::string(R"( TEST_F() local
689 std::string str = header + R"( TEST_F() local
704 std::string str = header + R"( TEST_F() local
718 std::string str = R"( TEST_F() local
745 std::string str = R"( TEST_F() local
[all...]
H A Dval_cfg_test.cpp104 out << ss.str(); in operator std::string()
133 return out.str(); in operator std::string()
197 std::string str = R"( in TEST_P() local
219 CompileSuccessfully(str); in TEST_P()
220 ASSERT_EQ(SPV_SUCCESS, ValidateInstructions()) << str; in TEST_P()
235 std::string str = R"( in TEST_P() local
265 CompileSuccessfully(str); in TEST_P()
267 << str << getDiagnosticString(); in TEST_P()
282 std::string str = GetDefaultHeader(GetParam()) + in TEST_P() local
288 str in TEST_P()
305 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
325 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
350 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
375 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
407 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
443 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
470 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
494 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
520 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
548 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
580 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
615 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
651 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
686 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
720 std::string str = header; GetUnreachableMergeNoMergeInst() local
748 std::string str = header; GetUnreachableMergeTerminatedBy() local
792 std::string str = header; GetUnreachableContinueTerminatedBy() local
857 std::string str = header; GetUnreachableMergeUnreachableMergeInst() local
891 std::string str = header; GetUnreachableContinueUnreachableLoopInst() local
935 std::string str = header; GetUnreachableMergeWithComplexBody() local
971 std::string str = header; GetUnreachableContinueWithComplexBody() local
1004 std::string str = header; GetUnreachableMergeWithBranchUse() local
1038 std::string str = header; GetUnreachableMergeWithMultipleUses() local
1083 std::string str = header; GetUnreachableContinueWithBranchUse() local
1122 std::string str = header; GetReachableMergeAndContinue() local
1163 std::string str = header; GetUnreachableMergeAndContinue() local
1197 std::string str = header; GetUnreachableBlock() local
1228 std::string str = header; GetUnreachableBranch() local
1251 std::string str = GetDefaultHeader(GetParam()) + std::string(types_consts()) + TEST_P() local
1270 std::string str = GetDefaultHeader(GetParam()) + std::string(types_consts()) + TEST_P() local
1299 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
1339 std::string str = GetDefaultHeader(GetParam()) + std::string(types_consts()) + TEST_P() local
1375 std::string str = TEST_P() local
1413 std::string str = GetDefaultHeader(GetParam()) + nameOps("split", "f") + TEST_P() local
1446 std::string str = GetDefaultHeader(GetParam()) + nameOps("split") + TEST_P() local
1479 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
1516 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
1551 std::string str = GetDefaultHeader(GetParam()) + nameOps("cont", "loop") + TEST_P() local
1586 std::string str = GetDefaultHeader(GetParam()) + nameOps("cont", "loop") + TEST_P() local
1618 std::string str = R"( TEST_F() local
1657 std::string str = R"( TEST_F() local
1683 std::string str = R"( TEST_F() local
1737 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
1771 std::string str = TEST_P() local
1811 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
1845 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/
H A Dval_ssa_test.cpp35 char str[] = R"( in TEST_F() local
48 CompileSuccessfully(str); in TEST_F()
53 char str[] = R"( in TEST_F() local
65 CompileSuccessfully(str); in TEST_F()
71 char str[] = R"( in TEST_F() local
83 CompileSuccessfully(str); in TEST_F()
88 char str[] = R"( in TEST_F() local
96 CompileSuccessfully(str); in TEST_F()
102 char str[] = R"( in TEST_F() local
118 CompileSuccessfully(str); in TEST_F()
126 char str[] = R"( TEST_F() local
149 char str[] = R"( TEST_F() local
166 char str[] = R"( TEST_F() local
178 char str[] = R"( TEST_F() local
193 char str[] = R"( TEST_F() local
211 char str[] = R"( TEST_F() local
225 char str[] = R"( TEST_F() local
247 char str[] = R"( TEST_F() local
263 char str[] = R"( TEST_F() local
281 char str[] = R"( TEST_F() local
299 char str[] = R"( TEST_F() local
319 char str[] = R"( TEST_F() local
339 char str[] = R"( TEST_F() local
359 char str[] = R"( TEST_F() local
381 char str[] = R"( TEST_F() local
409 char str[] = R"( TEST_F() local
437 char str[] = R"( TEST_F() local
464 char str[] = R"( TEST_F() local
491 char str[] = R"( TEST_F() local
521 char str[] = R"( TEST_F() local
613 std::string str = kHeader + kBasicTypes + kKernelTypesAndConstants + TEST_F() local
629 std::string str = kHeader + kBasicTypes + kKernelTypesAndConstants + R"( TEST_F() local
645 std::string str = kHeader + "OpName %kfunc \\"kfunc\\"" + kBasicTypes + TEST_F() local
679 std::string str = forwardKernelNonDominantParameterBaseCode("missing") + R"( TEST_F() local
692 std::string str = forwardKernelNonDominantParameterBaseCode("dqueue2") + R"( TEST_F() local
706 std::string str = forwardKernelNonDominantParameterBaseCode("ndval2") + R"( TEST_F() local
720 std::string str = forwardKernelNonDominantParameterBaseCode("nevent2") + R"( TEST_F() local
734 std::string str = forwardKernelNonDominantParameterBaseCode("event2") + R"( TEST_F() local
748 std::string str = forwardKernelNonDominantParameterBaseCode("revent2") + R"( TEST_F() local
762 std::string str = forwardKernelNonDominantParameterBaseCode("firstp2") + R"( TEST_F() local
776 std::string str = forwardKernelNonDominantParameterBaseCode("psize2") + R"( TEST_F() local
790 std::string str = forwardKernelNonDominantParameterBaseCode("palign2") + R"( TEST_F() local
804 std::string str = forwardKernelNonDominantParameterBaseCode("lsize2") + R"( TEST_F() local
855 std::string str = kHeader + kBasicTypes + kKernelTypesAndConstants + TEST_P() local
984 std::string str = kHeader + kBasicTypes + TEST_F() local
1007 std::string str = kHeader + "OpName %missing \\"missing\\"" + kBasicTypes + TEST_F() local
1031 std::string str = kHeader + "OpName %missing \\"missing\\"" + kBasicTypes + TEST_F() local
1055 std::string str = kHeader + "OpName %missing \\"missing\\"" + kBasicTypes + TEST_F() local
1079 std::string str = kHeader + kBasicTypes + TEST_F() local
1103 std::string str = kHeader + TEST_F() local
1135 std::string str = kHeader + kBasicTypes + TEST_F() local
1164 std::string str = kHeader + "OpName %inew \\"inew\\"" + kBasicTypes + TEST_F() local
1195 std::string str = kHeader + "OpName %if_true \\"if_true\\"\\n" + TEST_F() local
1225 std::string str = kHeader + "OpName %loop \\"loop\\"\\n" + TEST_F() local
1244 std::string str = kHeader + "OpName %if_true \\"if_true\\"\\n" + TEST_F() local
1280 std::string str = kHeader + "OpName %if_true \\"if_true\\"\\n" + kBasicTypes + TEST_F() local
1310 std::string str = kHeader + kBasicTypes + TEST_F() local
1328 std::string str = kHeader + "OpName %unreachable \\"unreachable\\"\\n" + TEST_F() local
1359 std::string str = kHeader + kBasicTypes + TEST_F() local
1378 std::string str = kHeader + TEST_F() local
1410 std::string str = R"( TEST_F() local
1427 std::string str = R"( TEST_F() local
[all...]
H A Dval_data_test.cpp108 std::string str = header + R"( in TEST_F() local
112 CompileSuccessfully(str.c_str()); in TEST_F()
118 std::string str = header + R"( in TEST_F() local
122 CompileSuccessfully(str.c_str()); in TEST_F()
128 std::string str = header + R"( in TEST_F() local
132 CompileSuccessfully(str.c_str()); in TEST_F()
137 std::string str = header + R"( in TEST_F() local
141 CompileSuccessfully(str.c_str()); in TEST_F()
146 std::string str = header + R"( in TEST_F() local
150 CompileSuccessfully(str in TEST_F()
155 std::string str = header + R"( TEST_F() local
165 std::string str = header + R"( TEST_F() local
175 std::string str = header_with_vec16_cap + R"( TEST_F() local
184 std::string str = header + R"( TEST_F() local
194 std::string str = header_with_vec16_cap + R"( TEST_F() local
203 std::string str = header + R"( TEST_F() local
213 std::string str = header_with_int8 + "%2 = OpTypeInt 8 0"; TEST_F() local
219 std::string str = header + "%2 = OpTypeInt 8 1"; TEST_F() local
226 std::string str = HeaderWith( TEST_F() local
235 std::string str = HeaderWith( TEST_F() local
244 std::string str = HeaderWith( TEST_F() local
253 std::string str = header_with_int16 + "%2 = OpTypeInt 16 1"; TEST_F() local
259 std::string str = HeaderWith( TEST_F() local
268 std::string str = TEST_F() local
276 std::string str = HeaderWith( TEST_F() local
285 std::string str = HeaderWith( TEST_F() local
294 std::string str = R"( TEST_F() local
305 std::string str = header + "%2 = OpTypeInt 16 1"; TEST_F() local
312 std::string str = header_with_int64 + "%2 = OpTypeInt 64 1"; TEST_F() local
318 std::string str = header + "%2 = OpTypeInt 64 1"; TEST_F() local
326 std::string str = header + "%2 = OpTypeInt 48 1"; TEST_F() local
333 std::string str = header_with_float16 + "%2 = OpTypeFloat 16"; TEST_F() local
339 std::string str = header_with_float16_buffer + "%2 = OpTypeFloat 16"; TEST_F() local
345 std::string str = header + "%2 = OpTypeFloat 16"; TEST_F() local
352 std::string str = header_with_float64 + "%2 = OpTypeFloat 64"; TEST_F() local
358 std::string str = header + "%2 = OpTypeFloat 64"; TEST_F() local
366 std::string str = header + "%2 = OpTypeFloat 48"; TEST_F() local
373 std::string str = header + R"( TEST_F() local
383 std::string str = header + R"( TEST_F() local
394 std::string str = header + R"( TEST_F() local
405 std::string str = header + R"( TEST_F() local
417 std::string str = header + R"( TEST_F() local
429 std::string str = header + R"( TEST_F() local
442 std::string str = header + R"( TEST_F() local
455 std::string str = header + R"( TEST_F() local
465 std::string str = header + R"( TEST_F() local
475 std::string str = header + R"( TEST_F() local
485 std::string str = header + R"( TEST_F() local
498 std::string str = header + R"( TEST_F() local
506 std::string str = header + R"( TEST_F() local
514 std::string str = header + R"( TEST_F() local
523 std::string str = header + R"( TEST_F() local
534 std::string str = header + R"( TEST_F() local
545 std::string str = header_with_addresses + R"( TEST_F() local
556 std::string str = header_with_addresses + R"( TEST_F() local
568 std::string str = header_with_addresses + R"( TEST_F() local
580 std::string str = header_with_addresses + R"( TEST_F() local
594 std::string str = header_with_addresses + R"( TEST_F() local
607 std::string str = header_with_addresses + R"( TEST_F() local
622 std::string str = std::string(R"( TEST_F() local
655 std::string str = std::string(R"( TEST_F() local
689 std::string str = header + R"( TEST_F() local
704 std::string str = header + R"( TEST_F() local
718 std::string str = R"( TEST_F() local
745 std::string str = R"( TEST_F() local
[all...]
H A Dval_cfg_test.cpp104 out << ss.str(); in operator std::string()
133 return out.str(); in operator std::string()
197 std::string str = R"( in TEST_P() local
219 CompileSuccessfully(str); in TEST_P()
220 ASSERT_EQ(SPV_SUCCESS, ValidateInstructions()) << str; in TEST_P()
235 std::string str = R"( in TEST_P() local
265 CompileSuccessfully(str); in TEST_P()
267 << str << getDiagnosticString(); in TEST_P()
282 std::string str = GetDefaultHeader(GetParam()) + in TEST_P() local
288 str in TEST_P()
305 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
325 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
350 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
375 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
407 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
443 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
470 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
494 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
520 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
548 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
580 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
615 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
651 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
686 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
720 std::string str = header; GetUnreachableMergeNoMergeInst() local
748 std::string str = header; GetUnreachableMergeTerminatedBy() local
792 std::string str = header; GetUnreachableContinueTerminatedBy() local
857 std::string str = header; GetUnreachableMergeUnreachableMergeInst() local
891 std::string str = header; GetUnreachableContinueUnreachableLoopInst() local
935 std::string str = header; GetUnreachableMergeWithComplexBody() local
971 std::string str = header; GetUnreachableContinueWithComplexBody() local
1004 std::string str = header; GetUnreachableMergeWithBranchUse() local
1038 std::string str = header; GetUnreachableMergeWithMultipleUses() local
1083 std::string str = header; GetUnreachableContinueWithBranchUse() local
1122 std::string str = header; GetReachableMergeAndContinue() local
1163 std::string str = header; GetUnreachableMergeAndContinue() local
1197 std::string str = header; GetUnreachableBlock() local
1228 std::string str = header; GetUnreachableBranch() local
1251 std::string str = GetDefaultHeader(GetParam()) + std::string(types_consts()) + TEST_P() local
1270 std::string str = GetDefaultHeader(GetParam()) + std::string(types_consts()) + TEST_P() local
1299 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
1339 std::string str = GetDefaultHeader(GetParam()) + std::string(types_consts()) + TEST_P() local
1375 std::string str = TEST_P() local
1413 std::string str = GetDefaultHeader(GetParam()) + nameOps("split", "f") + TEST_P() local
1446 std::string str = GetDefaultHeader(GetParam()) + nameOps("split") + TEST_P() local
1479 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
1516 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
1551 std::string str = GetDefaultHeader(GetParam()) + nameOps("cont", "loop") + TEST_P() local
1586 std::string str = GetDefaultHeader(GetParam()) + nameOps("cont", "loop") + TEST_P() local
1618 std::string str = R"( TEST_F() local
1657 std::string str = R"( TEST_F() local
1683 std::string str = R"( TEST_F() local
1737 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
1771 std::string str = TEST_P() local
1811 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
1845 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
[all...]
/third_party/spirv-tools/test/val/
H A Dval_ssa_test.cpp35 char str[] = R"( in TEST_F() local
48 CompileSuccessfully(str); in TEST_F()
53 char str[] = R"( in TEST_F() local
65 CompileSuccessfully(str); in TEST_F()
71 char str[] = R"( in TEST_F() local
83 CompileSuccessfully(str); in TEST_F()
88 char str[] = R"( in TEST_F() local
96 CompileSuccessfully(str); in TEST_F()
102 char str[] = R"( in TEST_F() local
118 CompileSuccessfully(str); in TEST_F()
126 char str[] = R"( TEST_F() local
149 char str[] = R"( TEST_F() local
166 char str[] = R"( TEST_F() local
178 char str[] = R"( TEST_F() local
193 char str[] = R"( TEST_F() local
211 char str[] = R"( TEST_F() local
225 char str[] = R"( TEST_F() local
247 char str[] = R"( TEST_F() local
263 char str[] = R"( TEST_F() local
281 char str[] = R"( TEST_F() local
299 char str[] = R"( TEST_F() local
319 char str[] = R"( TEST_F() local
339 char str[] = R"( TEST_F() local
359 char str[] = R"( TEST_F() local
381 char str[] = R"( TEST_F() local
409 char str[] = R"( TEST_F() local
437 char str[] = R"( TEST_F() local
464 char str[] = R"( TEST_F() local
491 char str[] = R"( TEST_F() local
521 char str[] = R"( TEST_F() local
613 std::string str = kHeader + kBasicTypes + kKernelTypesAndConstants + TEST_F() local
629 std::string str = kHeader + kBasicTypes + kKernelTypesAndConstants + R"( TEST_F() local
645 std::string str = kHeader + "OpName %kfunc \\"kfunc\\"" + kBasicTypes + TEST_F() local
679 std::string str = forwardKernelNonDominantParameterBaseCode("missing") + R"( TEST_F() local
692 std::string str = forwardKernelNonDominantParameterBaseCode("dqueue2") + R"( TEST_F() local
706 std::string str = forwardKernelNonDominantParameterBaseCode("ndval2") + R"( TEST_F() local
720 std::string str = forwardKernelNonDominantParameterBaseCode("nevent2") + R"( TEST_F() local
734 std::string str = forwardKernelNonDominantParameterBaseCode("event2") + R"( TEST_F() local
748 std::string str = forwardKernelNonDominantParameterBaseCode("revent2") + R"( TEST_F() local
762 std::string str = forwardKernelNonDominantParameterBaseCode("firstp2") + R"( TEST_F() local
776 std::string str = forwardKernelNonDominantParameterBaseCode("psize2") + R"( TEST_F() local
790 std::string str = forwardKernelNonDominantParameterBaseCode("palign2") + R"( TEST_F() local
804 std::string str = forwardKernelNonDominantParameterBaseCode("lsize2") + R"( TEST_F() local
855 std::string str = kHeader + kBasicTypes + kKernelTypesAndConstants + TEST_P() local
984 std::string str = kHeader + kBasicTypes + TEST_F() local
1007 std::string str = kHeader + "OpName %missing \\"missing\\"" + kBasicTypes + TEST_F() local
1031 std::string str = kHeader + "OpName %missing \\"missing\\"" + kBasicTypes + TEST_F() local
1055 std::string str = kHeader + "OpName %missing \\"missing\\"" + kBasicTypes + TEST_F() local
1079 std::string str = kHeader + kBasicTypes + TEST_F() local
1103 std::string str = kHeader + TEST_F() local
1135 std::string str = kHeader + kBasicTypes + TEST_F() local
1164 std::string str = kHeader + "OpName %inew \\"inew\\"" + kBasicTypes + TEST_F() local
1195 std::string str = kHeader + "OpName %if_true \\"if_true\\"\\n" + TEST_F() local
1225 std::string str = kHeader + "OpName %loop \\"loop\\"\\n" + TEST_F() local
1244 std::string str = kHeader + "OpName %if_true \\"if_true\\"\\n" + TEST_F() local
1280 std::string str = kHeader + "OpName %if_true \\"if_true\\"\\n" + kBasicTypes + TEST_F() local
1310 std::string str = kHeader + kBasicTypes + TEST_F() local
1328 std::string str = kHeader + "OpName %unreachable \\"unreachable\\"\\n" + TEST_F() local
1359 std::string str = kHeader + kBasicTypes + TEST_F() local
1378 std::string str = kHeader + TEST_F() local
1410 std::string str = R"( TEST_F() local
1427 std::string str = R"( TEST_F() local
[all...]
H A Dval_data_test.cpp107 std::string str = header + R"( in TEST_F() local
111 CompileSuccessfully(str.c_str()); in TEST_F()
117 std::string str = header + R"( in TEST_F() local
121 CompileSuccessfully(str.c_str()); in TEST_F()
127 std::string str = header + R"( in TEST_F() local
131 CompileSuccessfully(str.c_str()); in TEST_F()
136 std::string str = header + R"( in TEST_F() local
140 CompileSuccessfully(str.c_str()); in TEST_F()
145 std::string str = header + R"( in TEST_F() local
149 CompileSuccessfully(str in TEST_F()
154 std::string str = header + R"( TEST_F() local
164 std::string str = header + R"( TEST_F() local
174 std::string str = header_with_vec16_cap + R"( TEST_F() local
183 std::string str = header + R"( TEST_F() local
193 std::string str = header_with_vec16_cap + R"( TEST_F() local
202 std::string str = header + R"( TEST_F() local
212 std::string str = header_with_int8 + "%2 = OpTypeInt 8 0"; TEST_F() local
218 std::string str = header + "%2 = OpTypeInt 8 1"; TEST_F() local
225 std::string str = HeaderWith( TEST_F() local
234 std::string str = HeaderWith( TEST_F() local
243 std::string str = HeaderWith( TEST_F() local
252 std::string str = header_with_int16 + "%2 = OpTypeInt 16 1"; TEST_F() local
258 std::string str = HeaderWith( TEST_F() local
267 std::string str = TEST_F() local
275 std::string str = HeaderWith( TEST_F() local
284 std::string str = HeaderWith( TEST_F() local
293 std::string str = R"( TEST_F() local
304 std::string str = header + "%2 = OpTypeInt 16 1"; TEST_F() local
311 std::string str = header_with_int64 + "%2 = OpTypeInt 64 1"; TEST_F() local
317 std::string str = header + "%2 = OpTypeInt 64 1"; TEST_F() local
325 std::string str = header + "%2 = OpTypeInt 48 1"; TEST_F() local
332 std::string str = header_with_float16 + "%2 = OpTypeFloat 16"; TEST_F() local
338 std::string str = header_with_float16_buffer + "%2 = OpTypeFloat 16"; TEST_F() local
344 std::string str = header + "%2 = OpTypeFloat 16"; TEST_F() local
351 std::string str = header_with_float64 + "%2 = OpTypeFloat 64"; TEST_F() local
357 std::string str = header + "%2 = OpTypeFloat 64"; TEST_F() local
365 std::string str = header + "%2 = OpTypeFloat 48"; TEST_F() local
372 std::string str = header + R"( TEST_F() local
382 std::string str = header + R"( TEST_F() local
393 std::string str = header + R"( TEST_F() local
404 std::string str = header + R"( TEST_F() local
416 std::string str = header + R"( TEST_F() local
428 std::string str = header + R"( TEST_F() local
441 std::string str = header + R"( TEST_F() local
454 std::string str = header + R"( TEST_F() local
464 std::string str = header + R"( TEST_F() local
474 std::string str = header + R"( TEST_F() local
484 std::string str = header + R"( TEST_F() local
497 std::string str = header + R"( TEST_F() local
505 std::string str = header + R"( TEST_F() local
513 std::string str = header + R"( TEST_F() local
522 std::string str = header + R"( TEST_F() local
533 std::string str = header + R"( TEST_F() local
544 std::string str = header_with_addresses + R"( TEST_F() local
555 std::string str = header_with_addresses + R"( TEST_F() local
567 std::string str = header_with_addresses + R"( TEST_F() local
579 std::string str = header_with_addresses + R"( TEST_F() local
593 std::string str = header_with_addresses + R"( TEST_F() local
606 std::string str = header_with_addresses + R"( TEST_F() local
621 std::string str = std::string(R"( TEST_F() local
654 std::string str = std::string(R"( TEST_F() local
688 std::string str = header + R"( TEST_F() local
703 std::string str = header + R"( TEST_F() local
717 std::string str = R"( TEST_F() local
744 std::string str = R"( TEST_F() local
[all...]
H A Dval_cfg_test.cpp102 out << ss.str(); in operator std::string()
131 return out.str(); in operator std::string()
195 std::string str = R"( in TEST_P() local
217 CompileSuccessfully(str); in TEST_P()
218 ASSERT_EQ(SPV_SUCCESS, ValidateInstructions()) << str; in TEST_P()
233 std::string str = R"( in TEST_P() local
263 CompileSuccessfully(str); in TEST_P()
265 << str << getDiagnosticString(); in TEST_P()
280 std::string str = GetDefaultHeader(GetParam()) + in TEST_P() local
286 str in TEST_P()
303 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
323 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
348 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
373 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
405 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
441 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
468 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
492 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
518 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
547 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
580 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
616 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
652 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
688 std::string str = header; GetUnreachableMergeNoMergeInst() local
716 std::string str = header; GetUnreachableMergeTerminatedBy() local
762 std::string str = header; GetUnreachableContinueTerminatedBy() local
827 std::string str = header; GetUnreachableMergeUnreachableMergeInst() local
861 std::string str = header; GetUnreachableContinueUnreachableLoopInst() local
896 std::string str = header; GetUnreachableMergeWithComplexBody() local
932 std::string str = header; GetUnreachableContinueWithComplexBody() local
965 std::string str = header; GetUnreachableMergeWithBranchUse() local
999 std::string str = header; GetUnreachableMergeWithMultipleUses() local
1042 std::string str = header; GetUnreachableContinueWithBranchUse() local
1080 std::string str = header; GetReachableMergeAndContinue() local
1122 std::string str = header; GetUnreachableMergeAndContinue() local
1157 std::string str = header; GetUnreachableBlock() local
1188 std::string str = header; GetUnreachableBranch() local
1211 std::string str = GetDefaultHeader(GetParam()) + std::string(types_consts()) + TEST_P() local
1230 std::string str = GetDefaultHeader(GetParam()) + std::string(types_consts()) + TEST_P() local
1259 std::string str = TEST_P() local
1300 std::string str = GetDefaultHeader(GetParam()) + std::string(types_consts()) + TEST_P() local
1336 std::string str = TEST_P() local
1376 std::string str = GetDefaultHeader(GetParam()) + nameOps("split", "f") + TEST_P() local
1409 std::string str = GetDefaultHeader(GetParam()) + nameOps("split") + TEST_P() local
1442 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
1479 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
1516 std::string str = GetDefaultHeader(GetParam()) + nameOps("cont", "loop") + TEST_P() local
1552 std::string str = GetDefaultHeader(GetParam()) + nameOps("cont", "loop") + TEST_P() local
1585 std::string str = R"( TEST_F() local
1624 std::string str = R"( TEST_F() local
1650 std::string str = R"( TEST_F() local
1704 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
1738 std::string str = TEST_P() local
1779 std::string str = GetDefaultHeader(GetParam()) + TEST_P() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/buffer/
H A Dbuffer.c58 static char *sec_alloc_realloc(BUF_MEM *str, size_t len) in sec_alloc_realloc() argument
63 if (str->data != NULL) { in sec_alloc_realloc()
65 memcpy(ret, str->data, str->length); in sec_alloc_realloc()
66 OPENSSL_secure_clear_free(str->data, str->length); in sec_alloc_realloc()
67 str->data = NULL; in sec_alloc_realloc()
73 size_t BUF_MEM_grow(BUF_MEM *str, size_t len) in BUF_MEM_grow() argument
78 if (str->length >= len) { in BUF_MEM_grow()
79 str in BUF_MEM_grow()
110 BUF_MEM_grow_clean(BUF_MEM *str, size_t len) BUF_MEM_grow_clean() argument
[all...]
/third_party/openssl/crypto/buffer/
H A Dbuffer.c58 static char *sec_alloc_realloc(BUF_MEM *str, size_t len) in sec_alloc_realloc() argument
63 if (str->data != NULL) { in sec_alloc_realloc()
65 memcpy(ret, str->data, str->length); in sec_alloc_realloc()
66 OPENSSL_secure_clear_free(str->data, str->length); in sec_alloc_realloc()
67 str->data = NULL; in sec_alloc_realloc()
73 size_t BUF_MEM_grow(BUF_MEM *str, size_t len) in BUF_MEM_grow() argument
78 if (str->length >= len) { in BUF_MEM_grow()
79 str in BUF_MEM_grow()
110 BUF_MEM_grow_clean(BUF_MEM *str, size_t len) BUF_MEM_grow_clean() argument
[all...]

Completed in 17 milliseconds

12345678910>>...371