/third_party/PyYAML/tests/data/ |
D | yaml11.schema | 84 '!!str #empty': ['str', '', "''"] 85 '!!str +.INF': ['str', '+.INF', "'+.INF'"] 86 '!!str +.Inf': ['str', '+.Inf', "'+.Inf'"] 87 '!!str +.inf': ['str', '+.inf', "'+.inf'"] 88 '!!str +0': ['str', '+0', "'+0'"] 89 '!!str +0.3e+3': ['str', '+0.3e+3', "'+0.3e+3'"] 90 '!!str +0.3e3': ['str', '+0.3e3', "+0.3e3"] 91 '!!str +0100_200': ['str', '+0100_200', "'+0100_200'"] 92 '!!str +0b100': ['str', '+0b100', "'+0b100'"] 93 '!!str +190:20:30': ['str', '+190:20:30', "'+190:20:30'"] [all …]
|
/third_party/jerryscript/tests/jerry/ |
D | labelled-statements.js | 19 str = ''; 23 str += 'A'; 27 str += 'B'; 31 str += 'C'; 34 str += 'D'; 37 assert (str === 'AB'); 40 str = ''; 44 str += 'A'; 48 str += 'B'; 58 str += 'C'; [all …]
|
D | json-parse.js | 18 var str; variable 22 function check_parse_error (str) argument 25 JSON.parse (str); 32 str = ' null '; 33 assert (JSON.parse (str) === null); 34 str = 'true'; 35 assert (JSON.parse (str) === true); 36 str = 'false'; 37 assert (JSON.parse (str) === false); 38 str = '-32.5e002'; [all …]
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
D | json_stream_parser_test.cc | 162 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 [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/ |
D | if_test.cpp | 18 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, expected); in TEST_F() [all …]
|
/third_party/skia/src/utils/ |
D | SkParse.cpp | 50 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() [all …]
|
/third_party/python/Python/ |
D | mystrtoul.c | 95 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() 117 ++str; in PyOS_strtoul() 119 } else if (*str == 'o' || *str == 'O') { in PyOS_strtoul() [all …]
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
D | test-number.cc | 34 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[] = "12F"; in main() local 61 const char *pp = str; in main() [all …]
|
/third_party/node/deps/v8/src/temporal/ |
D | temporal-parser.cc | 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[s] == '2') && base::IsInRange(str[s + 1], '0', '3'))); in IsHour() 92 int32_t ScanHour(base::Vector<Char> str, int32_t s, int32_t* out) { in ScanHour() argument 93 if (!IsHour(str, s)) return 0; in ScanHour() 94 *out = ToInt(str[s]) * 10 + ToInt(str[s + 1]); in ScanHour() 101 bool IsMinuteSecond(base::Vector<Char> str, int32_t s) { in IsMinuteSecond() argument 102 return (str.length() >= (s + 2)) && in IsMinuteSecond() 103 (base::IsInRange(str[s], '0', '5') && IsDecimalDigit(str[s + 1])); in IsMinuteSecond() [all …]
|
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/ |
D | rust_parse_tests.toml | 19 str = "12.34E-56" 25 str = "-456." 31 str = "+123" 37 str = "nan" 43 str = "NaN" 49 str = "NAN" 55 str = "inf" 61 str = "Inf" 67 str = "INF" 73 str = "-inf" [all …]
|
/third_party/rust/crates/memchr/bench/src/memmem/ |
D | imp.rs | 22 pub(crate) fn available(_: &str) -> &'static [&'static str] { in available() argument 29 pub(crate) fn oneshot(haystack: &str, needle: &str) -> bool { in oneshot() argument 34 needle: &str, in prebuilt() argument 35 ) -> impl Fn(&str) -> bool + 'static { in prebuilt() 41 haystack: &'a str, in oneshotiter() argument 42 needle: &'a str, in oneshotiter() argument 47 pub(crate) fn prebuiltiter(needle: &str) -> PrebuiltIter { in prebuiltiter() 57 haystack: &'a str, in iter() argument 67 pub(crate) fn oneshot(haystack: &str, needle: &str) -> bool { in oneshot() argument 72 needle: &str, in prebuilt() argument [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/val/ |
D | val_cfg_test.cpp | 104 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 += entry >> loop; in TEST_P() [all …]
|
D | val_ssa_test.cpp | 35 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() [all …]
|
D | val_data_test.cpp | 108 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.c_str()); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/test/val/ |
D | val_cfg_test.cpp | 104 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 += entry >> loop; in TEST_P() [all …]
|
D | val_ssa_test.cpp | 35 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() [all …]
|
D | val_data_test.cpp | 108 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.c_str()); in TEST_F() [all …]
|
/third_party/rust/crates/nom/src/ |
D | str.rs | 13 const INPUT: &str = "Hello World!"; in tagtr_succeed() 14 const TAG: &str = "Hello"; in tagtr_succeed() 15 fn test(input: &str) -> IResult<&str, &str> { in tagtr_succeed() argument 42 const INPUT: &str = "Hello"; in tagtr_incomplete() 43 const TAG: &str = "Hello World!"; in tagtr_incomplete() 60 const INPUT: &str = "Hello World!"; in tagtr_error() 61 const TAG: &str = "Random"; // TAG must be closer than INPUT. in tagtr_error() 77 const INPUT: &str = "βèƒôřèÂßÇáƒƭèř"; in take_s_succeed() 78 const CONSUMED: &str = "βèƒôřèÂßÇ"; in take_s_succeed() 79 const LEFTOVER: &str = "áƒƭèř"; in take_s_succeed() [all …]
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
D | sprintf.c | 24 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, "%x,%X", 15, 15); in sprintf_specifier_tests() [all …]
|
/third_party/node/deps/npm/node_modules/columnify/ |
D | utils.js | 12 function repeatString(str, len) { argument 13 return Array.apply(null, {length: len + 1}).join(str).slice(0, len) 26 function padRight(str, max, chr) { argument 27 str = str != null ? str : '' 28 str = String(str) 29 var length = max - wcwidth(str) 30 if (length <= 0) return str 31 return str + repeatString(chr || ' ', length) 44 function padCenter(str, max, chr) { argument 45 str = str != null ? str : '' [all …]
|
/third_party/spirv-tools/test/val/ |
D | val_cfg_test.cpp | 104 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 += entry >> loop; in TEST_P() [all …]
|
D | val_ssa_test.cpp | 35 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() [all …]
|
D | val_data_test.cpp | 108 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.c_str()); in TEST_F() [all …]
|
/third_party/mesa3d/src/util/ |
D | string_buffer.c | 28 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 = ralloc(mem_ctx, struct _mesa_string_buffer); in _mesa_string_buffer_create() 52 if (str == NULL) in _mesa_string_buffer_create() 56 str->capacity = initial_capacity ? initial_capacity : 32; in _mesa_string_buffer_create() [all …]
|
/third_party/vk-gl-cts/framework/egl/ |
D | egluStrUtil.cpp | 30 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 <<() 59 return str << getBoolDontCareStr(attribFmt.value); in operator <<() 79 return str << (int)attribFmt.value; in operator <<() [all …]
|