Home
last modified time | relevance | path

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

12345678910>>...267

/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/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/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/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/gstreamer/gstreamer/tests/check/gst/
Dgstprintf.c40 char *str = NULL; in test_printf() local
44 len = __gst_vasprintf (&str, format, varargs); in test_printf()
50 GST_INFO ("[%s]", str); in test_printf()
51 return str; in test_printf()
59 gchar *str; in GST_START_TEST() local
62 str = test_printf ("x = %x", vu); in GST_START_TEST()
63 fail_unless_equals_string (str, "x = f1e2d3cf"); in GST_START_TEST()
64 g_free (str); in GST_START_TEST()
65 str = test_printf ("u = %u", vu); in GST_START_TEST()
66 fail_unless_equals_string (str, "u = 4058174415"); in GST_START_TEST()
[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/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/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/uboot/u-boot-2020.01/board/freescale/mx6sllevk/
Dplugin.S12 str r1, [r0, #0x550]
14 str r1, [r0, #0x534]
16 str r1, [r0, #0x2AC]
17 str r1, [r0, #0x548]
18 str r1, [r0, #0x52C]
20 str r1, [r0, #0x530]
22 str r1, [r0, #0x2B0]
23 str r1, [r0, #0x2B4]
24 str r1, [r0, #0x2B8]
25 str r1, [r0, #0x2BC]
[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/uboot/u-boot-2020.01/board/freescale/mx6ullevk/
Dplugin.S12 str r1, [r0, #0x4B4]
14 str r1, [r0, #0x4AC]
16 str r1, [r0, #0x27C]
18 str r1, [r0, #0x250]
19 str r1, [r0, #0x24C]
20 str r1, [r0, #0x490]
22 str r1, [r0, #0x288]
25 str r1, [r0, #0x270]
28 str r1, [r0, #0x260]
29 str r1, [r0, #0x264]
[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/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/uboot/u-boot-2020.01/board/freescale/mx7ulp_evk/
Dplugin.S12 str r3, [r2, #0xdc]
16 str r3, [r2, #0x40]
18 str r3, [r2, #0x500]
21 str r3, [r2, #0x50c]
23 str r3, [r2, #0x508]
25 str r3, [r2, #0x510]
27 str r3, [r2, #0x514]
29 str r3, [r2, #0x500]
39 str r3, [r2, #0x50c]
49 str r3, [r2, #0x30]
[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/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/cef/include/internal/
Dcef_string_wrappers.h69 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()
82 static inline bool from_string(const std::string& str, struct_type* s) { in from_string()
83 return cef_string_utf8_to_wide(str.c_str(), str.length(), s) ? true : false; in from_string()
86 return std::wstring(s->str, s->length); in to_wstring()
88 static inline bool from_wstring(const std::wstring& str, struct_type* s) { in from_wstring()
[all …]
/third_party/abseil-cpp/absl/strings/
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()
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
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()
[all …]

12345678910>>...267