/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 …]
|
/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/gstreamer/gstplugins_base/gst-libs/gst/tag/ |
D | gsttageditingprivate.c | 28 __exif_tag_image_orientation_to_exif_value (const gchar * str) in __exif_tag_image_orientation_to_exif_value() argument 30 if (str == NULL) in __exif_tag_image_orientation_to_exif_value() 33 if (strcmp (str, "rotate-0") == 0) in __exif_tag_image_orientation_to_exif_value() 35 else if (strcmp (str, "flip-rotate-0") == 0) in __exif_tag_image_orientation_to_exif_value() 37 else if (strcmp (str, "rotate-180") == 0) in __exif_tag_image_orientation_to_exif_value() 39 else if (strcmp (str, "flip-rotate-180") == 0) in __exif_tag_image_orientation_to_exif_value() 41 else if (strcmp (str, "flip-rotate-270") == 0) in __exif_tag_image_orientation_to_exif_value() 43 else if (strcmp (str, "rotate-90") == 0) in __exif_tag_image_orientation_to_exif_value() 45 else if (strcmp (str, "flip-rotate-90") == 0) in __exif_tag_image_orientation_to_exif_value() 47 else if (strcmp (str, "rotate-270") == 0) in __exif_tag_image_orientation_to_exif_value() [all …]
|
/third_party/flutter/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/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/cef/libcef/common/ |
D | string_types_impl.cc | 16 void string_wide_dtor(wchar_t* str) { in string_wide_dtor() argument 17 delete[] str; in string_wide_dtor() 20 void string_utf8_dtor(char* str) { in string_utf8_dtor() argument 21 delete[] str; in string_utf8_dtor() 24 void string_utf16_dtor(char16* str) { in string_utf16_dtor() argument 25 delete[] str; in string_utf16_dtor() 44 output->str = new wchar_t[src_len + 1]; in cef_string_wide_set() 45 if (!output->str) in cef_string_wide_set() 48 memcpy(output->str, src, src_len * sizeof(wchar_t)); in cef_string_wide_set() 49 output->str[src_len] = 0; in cef_string_wide_set() [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/flutter/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/pulseaudio/src/pulse/ |
D | json.c | 47 static const char* parse_value(const char *str, const char *end, pa_json_object **obj, unsigned int… 79 static const char* consume_string(const char *str, const char *expect) { in consume_string() argument 81 if (*str != *expect) in consume_string() 84 str++; in consume_string() 88 return str; in consume_string() 91 static const char* parse_null(const char *str, pa_json_object *obj) { in parse_null() argument 92 str = consume_string(str, "null"); in parse_null() 94 if (str) in parse_null() 97 return str; in parse_null() 100 static const char* parse_boolean(const char *str, pa_json_object *obj) { in parse_boolean() argument [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/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/flutter/skia/third_party/externals/spirv-tools/test/val/ |
D | val_cfg_test.cpp | 112 out << ss.str(); in operator string() 131 return out.str(); in operator string() 196 string str = R"( in TEST_P() local 218 CompileSuccessfully(str); in TEST_P() 219 ASSERT_EQ(SPV_SUCCESS, ValidateInstructions()) << str; in TEST_P() 234 string str = R"( in TEST_P() local 264 CompileSuccessfully(str); in TEST_P() 265 ASSERT_EQ(SPV_SUCCESS, ValidateInstructions()) << str in TEST_P() 281 string str = header(GetParam()) + nameOps("loop", "entry", "cont", "merge", in TEST_P() local 285 str += entry >> loop; in TEST_P() [all …]
|
D | val_data_test.cpp | 110 string str = header + R"( in TEST_F() local 114 CompileSuccessfully(str.c_str()); in TEST_F() 120 string str = header + R"( in TEST_F() local 124 CompileSuccessfully(str.c_str()); in TEST_F() 130 string str = header + R"( in TEST_F() local 134 CompileSuccessfully(str.c_str()); in TEST_F() 139 string str = header + R"( in TEST_F() local 143 CompileSuccessfully(str.c_str()); in TEST_F() 148 string str = header + R"( in TEST_F() local 152 CompileSuccessfully(str.c_str()); in TEST_F() [all …]
|
/third_party/gstreamer/gstreamer/tests/check/gst/ |
D | gstprintf.c | 40 char *str = NULL; in test_printf() local 44 len = __gst_vasprintf (&str, format, varargs); in test_printf() 52 GST_INFO ("[%s]", str); in test_printf() 53 return str; in test_printf() 61 gchar *str; in GST_START_TEST() local 64 str = test_printf ("x = %x", vu); in GST_START_TEST() 65 fail_unless_equals_string (str, "x = f1e2d3cf"); in GST_START_TEST() 66 g_free (str); in GST_START_TEST() 67 str = test_printf ("u = %u", vu); in GST_START_TEST() 68 fail_unless_equals_string (str, "u = 4058174415"); in GST_START_TEST() [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/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 …]
|
/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 …]
|
/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/cef/include/internal/ |
D | cef_string_wrappers.h | 69 static inline bool from_ascii(const char* str, size_t len, struct_type* s) { in from_ascii() 70 return cef_string_ascii_to_wide(str, len, s) ? true : false; in from_ascii() 75 cef_string_wide_to_utf8(s->str, s->length, &cstr); in to_string() 76 std::string str; in to_string() local 78 str = std::string(cstr.str, cstr.length); in to_string() 80 return str; in to_string() 87 static inline bool from_string(const std::string& str, struct_type* s) { in from_string() 88 return from_string(str.data(), str.length(), s); in from_string() 91 return std::wstring(s->str, s->length); in to_wstring() 98 static inline bool from_wstring(const std::wstring& str, struct_type* s) { in from_wstring() [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 …]
|