Home
last modified time | relevance | path

Searched refs:str (Results 1 – 25 of 7620) sorted by relevance

12345678910>>...305

/third_party/jerryscript/tests/jerry/
Dlabelled-statements.js19 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/PyYAML/tests/data/
Dyaml11.schema84 '!!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/gstreamer/gstplugins_base/gst-libs/gst/tag/
Dgsttageditingprivate.c28 __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/protobuf/src/google/protobuf/util/internal/
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
[all …]
/third_party/python/Python/
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()
117 ++str; in PyOS_strtoul()
119 } else if (*str == 'o' || *str == 'O') { in PyOS_strtoul()
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
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, expected); in TEST_F()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
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, expected); in TEST_F()
[all …]
/third_party/flutter/skia/src/utils/
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()
[all …]
/third_party/skia/src/utils/
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()
[all …]
/third_party/skia/third_party/externals/harfbuzz/src/
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[] = "12F"; in main() local
61 const char *pp = str; in main()
[all …]
/third_party/harfbuzz/src/
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[] = "12F"; in main() local
61 const char *pp = str; in main()
[all …]
/third_party/gstreamer/gstreamer/tests/check/gst/
Dgstprintf.c40 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/cef/libcef/common/
Dstring_types_impl.cc16 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/pulseaudio/src/pulse/
Djson.c47 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/boost/libs/multiprecision/test/
Dtest_cpp_int.cpp99 BOOST_CHECK_EQUAL(a.str(), a1.str()); in t1()
100 BOOST_CHECK_EQUAL(b.str(), b1.str()); in t1()
101 BOOST_CHECK_EQUAL(c.str(), c1.str()); in t1()
102 BOOST_CHECK_EQUAL(d.str(), d1.str()); in t1()
103 BOOST_CHECK_EQUAL(mpz_int(a + b).str(), test_type(a1 + b1).str()); in t1()
104 BOOST_CHECK_EQUAL((mpz_int(a) += b).str(), (test_type(a1) += b1).str()); in t1()
105 BOOST_CHECK_EQUAL((mpz_int(b) += a).str(), (test_type(b1) += a1).str()); in t1()
106 BOOST_CHECK_EQUAL(mpz_int(a - b).str(), test_type(a1 - b1).str()); in t1()
107 BOOST_CHECK_EQUAL((mpz_int(a) -= b).str(), (test_type(a1) -= b1).str()); in t1()
108 BOOST_CHECK_EQUAL(mpz_int(mpz_int(-a) + b).str(), test_type(test_type(-a1) + b1).str()); in t1()
[all …]
Dtest_fixed_int.cpp69 packed_type a1 = a.str(); in main()
70 packed_type b1 = b.str(); in main()
71 packed_type c1 = c.str(); in main()
72 packed_type d1 = d.str(); in main()
74 BOOST_CHECK_EQUAL(a.str(), a1.str()); in main()
75 BOOST_CHECK_EQUAL(b.str(), b1.str()); in main()
76 BOOST_CHECK_EQUAL(c.str(), c1.str()); in main()
77 BOOST_CHECK_EQUAL(d.str(), d1.str()); in main()
78 BOOST_CHECK_EQUAL(mpz_int(a + b).str(), packed_type(a1 + b1).str()); in main()
79 BOOST_CHECK_EQUAL(mpz_int(a - b).str(), packed_type(a1 - b1).str()); in main()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/val/
Dval_cfg_test.cpp112 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 …]
Dval_data_test.cpp110 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/node/deps/npm/node_modules/colors/
Dsafe.d.ts11 export function strip(str: string): string;
12 export function stripColors(str: string): string;
14 export function black(str: string): string;
15 export function red(str: string): string;
16 export function green(str: string): string;
17 export function yellow(str: string): string;
18 export function blue(str: string): string;
19 export function magenta(str: string): string;
20 export function cyan(str: string): string;
21 export function white(str: string): string;
[all …]
/third_party/node/deps/npm/node_modules/columnify/
Dutils.js12 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/mesa3d/src/util/
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 = 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/mindspore/mindspore/ccsrc/frontend/parallel/auto_parallel/rec_core/
Drec_cost.cc169 return ChoseStr(cost_op, node.apply.str); in GetOptimalStr()
187 StrategyRec CostMatMul::ChoseStr(const std::vector<double> &cost_op, StrategyRec str) { in ChoseStr() argument
190 return str; in ChoseStr()
195 str.inputTensor[0].str_h /= 2.0; in ChoseStr()
196 str.outputTensor.str_h /= 2.0; in ChoseStr()
197 str.cut_counter += 1; in ChoseStr()
198 str.cost = str.cost + cost_in_i_; in ChoseStr()
202 str.inputTensor[1].str_w /= 2.0; in ChoseStr()
203 str.outputTensor.str_w /= 2.0; in ChoseStr()
204 str.cut_counter += 1; in ChoseStr()
[all …]
/third_party/vk-gl-cts/framework/egl/
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 <<()
59 return str << getBoolDontCareStr(attribFmt.value); in operator <<()
79 return str << (int)attribFmt.value; in operator <<()
[all …]
/third_party/spirv-tools/test/val/
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()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/val/
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()
[all …]

12345678910>>...305