Home
last modified time | relevance | path

Searched refs:str1 (Results 1 – 25 of 184) sorted by relevance

12345678

/third_party/elfutils/libcpu/
Di386_dis.h140 …{ .mnemonic = MNE_aaa, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1…
141 …{ .mnemonic = MNE_aad, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1…
142 …{ .mnemonic = MNE_aam, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1…
143 …{ .mnemonic = MNE_aas, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 0, .str1 = 0, .off1_1…
144 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_…
145 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_…
146 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 18, .str1 = 0, .off1_…
147 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 26, .str1 = 0, .off1_…
148 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 24, .str1 = 0, .off1_…
149 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_…
[all …]
Dx86_64_dis.h141 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_…
142 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_…
143 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 19, .str1 = 0, .off1_…
144 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 27, .str1 = 0, .off1_…
145 …{ .mnemonic = MNE_adc, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 25, .str1 = 0, .off1_…
146 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 0, .fct1 = 15, .str1 = 0, .off1_…
147 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 15, .str1 = 0, .off1_…
148 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 1, .modrm = 1, .fct1 = 19, .str1 = 0, .off1_…
149 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 27, .str1 = 0, .off1_…
150 …{ .mnemonic = MNE_add, .rep = 0, .repe = 0, .suffix = 0, .modrm = 1, .fct1 = 25, .str1 = 0, .off1_…
[all …]
/third_party/cef/tests/ceftests/
Dstring_unittest.cc16 CefStringUTF8 str1("Test String"); in TEST() local
17 EXPECT_EQ(str1.length(), (size_t)11); in TEST()
18 EXPECT_FALSE(str1.empty()); in TEST()
19 EXPECT_TRUE(str1.IsOwner()); in TEST()
23 EXPECT_EQ(str1, str2); in TEST()
24 EXPECT_LE(str1, str2); in TEST()
25 EXPECT_GE(str1, str2); in TEST()
28 EXPECT_LT(str1, str2); in TEST()
29 EXPECT_GT(str2, str1); in TEST()
34 EXPECT_LT(str2, str1); in TEST()
[all …]
/third_party/libabigail/src/
Dabg-diff-utils.cc97 compute_middle_snake(const char* str1, const char* str2, in compute_middle_snake() argument
101 int str1_size = strlen(str1), str2_size = strlen(str2); in compute_middle_snake()
104 default_eq_functor>(str1, str1 + str1_size, in compute_middle_snake()
128 ses_len(const char* str1, in ses_len() argument
132 int str1_size = strlen(str1), str2_size = strlen(str2); in ses_len()
135 return ses_len(str1, str1 + str1_size, in ses_len()
157 compute_lcs(const char* str1, const char* str2, int &ses_len, string& lcs) in compute_lcs() argument
162 compute_diff(str1, str1 + strlen(str1), in compute_lcs()
171 ABG_ASSERT(str1[x] == str2[y]); in compute_lcs()
172 lcs.push_back(str1[x]); in compute_lcs()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/string/
Dwcscmp.c28 wchar_t str1[] = L"test wcscmp"; in wcscmp_0100() local
30 if (wcscmp(str1, str2)) { in wcscmp_0100()
42 wchar_t str1[] = L"ABCD"; in wcscmp_0200() local
44 if (wcscmp(str1, str2) >= 0) { in wcscmp_0200()
56 wchar_t str1[] = L"ABCE"; in wcscmp_0300() local
58 if (wcscmp(str1, str2) <= 0) { in wcscmp_0300()
70 wchar_t str1[] = L"ABCD"; in wcscmp_0400() local
72 if (wcscmp(str1, str2) >= 0) { in wcscmp_0400()
75 if (wcscmp(str2, str1) <= 0) { in wcscmp_0400()
87 wchar_t str1[] = L""; in wcscmp_0500() local
[all …]
/third_party/node/test/js-native-api/test_string/
Dtest.js22 const str1 = 'hello world'; constant
23 assert.strictEqual(test_string.TestLatin1(str1), str1);
24 assert.strictEqual(test_string.TestUtf8(str1), str1);
25 assert.strictEqual(test_string.TestUtf16(str1), str1);
26 assert.strictEqual(test_string.TestLatin1AutoLength(str1), str1);
27 assert.strictEqual(test_string.TestUtf8AutoLength(str1), str1);
28 assert.strictEqual(test_string.TestUtf16AutoLength(str1), str1);
29 assert.strictEqual(test_string.TestLatin1External(str1), str1);
30 assert.strictEqual(test_string.TestUtf16External(str1), str1);
31 assert.strictEqual(test_string.TestLatin1ExternalAutoLength(str1), str1);
[all …]
/third_party/pcre2/pcre2/src/
Dpcre2_string_utils.c102 PRIV(strcmp)(PCRE2_SPTR str1, PCRE2_SPTR str2) in PRIV()
105 while (*str1 != '\0' || *str2 != '\0') in PRIV()
107 c1 = *str1++; in PRIV()
130 PRIV(strcmp_c8)(PCRE2_SPTR str1, const char *str2) in PRIV()
133 while (*str1 != '\0' || *str2 != '\0') in PRIV()
135 c1 = *str1++; in PRIV()
157 PRIV(strncmp)(PCRE2_SPTR str1, PCRE2_SPTR str2, size_t len) in PRIV()
162 c1 = *str1++; in PRIV()
186 PRIV(strncmp_c8)(PCRE2_SPTR str1, const char *str2, size_t len) in PRIV()
191 c1 = *str1++; in PRIV()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/
Dstring_memcmp_test.cpp19 const char* str1 = "Hello, world!"; variable
21 int result = memcmp(str1, str2, strlen(str1));
33 const char* str1 = "Hello, world!"; variable
35 int result = memcmp(str1, str2, strlen(str1));
47 const char* str1 = "Hello, world!"; variable
49 int result = memcmp(str1, str2, strlen(str2));
61 const char* str1 = nullptr; variable
63 int result = memcmp(str1, str2, 0);
Dstring_bcmp_test.cpp19 const char* str1 = "Hello"; variable
21 EXPECT_EQ(0, bcmp(str1, str2, strlen(str1)));
32 const char* str1 = "hello"; variable
34 EXPECT_NE(bcmp(str1, str2, strlen(str1)), strlen(str1));
Dstring_strcmp_test.cpp18 const char* str1 = "Hello"; variable
20 int result = strcmp(str1, str2);
31 const char* str1 = "Hello"; variable
33 int result = strcmp(str1, str2);
44 const char* str1 = nullptr; variable
46 int result = strcmp(str1, str2);
Dstring_strcspn_test.cpp21 const char* str1 = "Hello,world!"; variable
23 size_t count = strcspn(str1, str2);
35 const char* str1 = "Hello,world!"; variable
37 size_t count = strcspn(str1, str2);
38 EXPECT_EQ(count, strlen(str1));
/third_party/jerryscript/tests/jerry/
Dstrict.js85 var str1 = "'\\" + "0'"; variable
87 eval (str1);
89 assert (eval (str1) === eval (str2));
97 var str1 = "'\\" + "0" + "\\" + "0" + "\\" + "0'";
99 eval (str1);
101 assert (eval (str1) === eval (str2));
109 var str1 = "'foo\\" + "0" + "bar'";
111 eval (str1);
113 assert (eval (str1) === eval (str2));
Dstring-prototype-localecompare.js15 var str1 = "ab"; variable
17 assert (str1.localeCompare(str1) === 0);
18 assert (str1.localeCompare(str2) === -1);
19 assert (str2.localeCompare(str1) === 1);
/third_party/cef/libcef/common/
Dstring_types_impl.cc140 CEF_EXPORT int cef_string_wide_cmp(const cef_string_wide_t* str1, in cef_string_wide_cmp() argument
142 if (str1->length == 0 && str2->length == 0) in cef_string_wide_cmp()
144 int r = wcsncmp(str1->str, str2->str, std::min(str1->length, str2->length)); in cef_string_wide_cmp()
146 if (str1->length > str2->length) in cef_string_wide_cmp()
148 else if (str1->length < str2->length) in cef_string_wide_cmp()
154 CEF_EXPORT int cef_string_utf8_cmp(const cef_string_utf8_t* str1, in cef_string_utf8_cmp() argument
156 if (str1->length == 0 && str2->length == 0) in cef_string_utf8_cmp()
158 int r = strncmp(str1->str, str2->str, std::min(str1->length, str2->length)); in cef_string_utf8_cmp()
160 if (str1->length > str2->length) in cef_string_utf8_cmp()
162 else if (str1->length < str2->length) in cef_string_utf8_cmp()
[all …]
/third_party/libabigail/tests/
Dtest-diff2.cc42 const char* str1; member
52 str1(0), in options()
82 if (!opts.str1) in parse_command_line()
83 opts.str1 = argv[i]; in parse_command_line()
121 int len = ses_len(opts.str1, opts.str2, opts.reverse); in main()
130 if (compute_middle_snake(opts.str1, opts.str2, in main()
133 print_snake(opts.str1, opts.str2, s, cout); in main()
143 compute_lcs(opts.str1, opts.str2, ses_len, lcs); in main()
152 compute_ses(opts.str1, opts.str2, ses); in main()
153 display_edit_script(ses, opts.str1, opts.str2, cout); in main()
/third_party/mesa3d/src/util/tests/hash_table/
Dcollision.c44 const char *str1 = strdup("test1"); in main() local
59 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str1, NULL); in main()
63 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1); in main()
64 assert(entry1->key == str1); in main()
70 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1); in main()
71 assert(entry1->key == str1); in main()
88 _mesa_hash_table_insert_pre_hashed(ht, bad_hash, str1, NULL); in main()
94 entry1 = _mesa_hash_table_search_pre_hashed(ht, bad_hash, str1); in main()
95 assert(entry1->key == str1); in main()
Dreplacement.c39 char *str1 = strdup("test1"); in main() local
46 assert(str1 != str2); in main()
51 _mesa_hash_table_insert(ht, str1, str1); in main()
54 entry = _mesa_hash_table_search(ht, str1); in main()
60 entry = _mesa_hash_table_search(ht, str1); in main()
64 free(str1); in main()
Dremove_key.c36 const char *str1 = "test1"; in main() local
45 _mesa_hash_table_insert(ht, str1, NULL); in main()
51 entry = _mesa_hash_table_search(ht, str1); in main()
52 assert(strcmp(entry->key, str1) == 0); in main()
54 _mesa_hash_table_remove_key(ht, str1); in main()
56 entry = _mesa_hash_table_search(ht, str1); in main()
Ddelete_and_lookup.c49 const char *str1 = "test1"; in main() local
58 _mesa_hash_table_insert(ht, str1, NULL); in main()
64 entry = _mesa_hash_table_search(ht, str1); in main()
65 assert(strcmp(entry->key, str1) == 0); in main()
69 entry = _mesa_hash_table_search(ht, str1); in main()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Dwritev.c31 char *str1 = "writev\n"; in writev_0100() local
36 iov[1].iov_base = str1; in writev_0100()
37 iov[1].iov_len = strlen(str1) + 1; in writev_0100()
53 char *str1 = "writev\n"; in writev_0200() local
58 iov[1].iov_base = str1; in writev_0200()
59 iov[1].iov_len = strlen(str1) + 1; in writev_0200()
/third_party/ltp/testcases/kernel/syscalls/mmap/
Dmmap19.c32 static const char str1[] = "testing 123"; variable
46 if (strncmp(str1, mm1, strlen(str1))) in run()
61 if (strncmp(str1, mm1, strlen(str1))) in run()
75 SAFE_WRITE(1, f1, str1, strlen(str1)); in setup()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
Dcord_ring_test.cc516 absl::string_view str1 = "abcdefghijklmnopqrstuvwxyz"; in TEST_P() local
517 CordRepRing* result = NeedsUnref(CordRepRing::Create(MakeFlat(str1))); in TEST_P()
519 EXPECT_THAT(result->length, Eq(str1.size())); in TEST_P()
520 EXPECT_THAT(ToFlats(result), ElementsAre(str1)); in TEST_P()
556 absl::string_view str1 = "abcdefghijklmnopqrstuvwxyz"; in TEST_P() local
557 auto* flat = RefIfInputShared(MakeFlat(str1)); in TEST_P()
562 EXPECT_THAT(ToFlats(result), ElementsAre(str1.substr(4, 20))); in TEST_P()
566 absl::string_view str1 = "abcdefghijklmnopqrstuvwxyz"; in TEST_P() local
567 auto* child = RefIfInputShared(MakeExternal(str1)); in TEST_P()
570 EXPECT_THAT(result->length, Eq(str1.size())); in TEST_P()
[all …]
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/2.0/dotted_names_in_type_guards/
Ddotted_names_in_type_guards_1.ts27 str1?: string;
34 if (so && so.strobj && so.strobj.str1) {
35 const x: string = so.strobj.str1;
43 if (so && so.strobj && so.strobj.str1 === undefined) {
61 so = { strobj: { str1: "str1" } };
/third_party/typescript/tests/ts_extra_tests/test_ts_cases/spec/expressions/template_literals/
Dtemplate_literals.ts42 let str1 = hiStr`Type variable
44 Assert.equal(str1, `hi Type
46 Assert.equal(str1, 'hi Type\nScript');
50 … function funFF(str1: string | TemplateStringsArray, ...strs: string[] | TemplateStringsArray[]) {
51 let s = `${str2}\n${str1}`;
/third_party/ffmpeg/libavcodec/
Divi.h274 static inline int ivi_pic_config_cmp(IVIPicConfig *str1, IVIPicConfig *str2) in ivi_pic_config_cmp() argument
276 return str1->pic_width != str2->pic_width || str1->pic_height != str2->pic_height || in ivi_pic_config_cmp()
277 str1->chroma_width != str2->chroma_width || str1->chroma_height != str2->chroma_height || in ivi_pic_config_cmp()
278 str1->tile_width != str2->tile_width || str1->tile_height != str2->tile_height || in ivi_pic_config_cmp()
279 str1->luma_bands != str2->luma_bands || str1->chroma_bands != str2->chroma_bands; in ivi_pic_config_cmp()

12345678