Home
last modified time | relevance | path

Searched refs:s2 (Results 1 – 25 of 28) sorted by relevance

12

/system/bt/embdrv/sbc/decoder/include/
Doi_string.h61 #define OI_MemCmp(s1, s2, n) memcmp((s1), (s2), (n)) argument
65 #define OI_Strcmp(s1, s2) strcmp((s1), (s2)) argument
66 #define OI_Strncmp(s1, s2, n) strncmp((s1), (s2), (n)) argument
103 OI_INT OI_MemCmp(void const* s1, void const* s2, uint32_t n);
141 OI_INT OI_Strcmp(OI_CHAR const* s1, OI_CHAR const* s2);
153 OI_INT OI_Strncmp(OI_CHAR const* s1, OI_CHAR const* s2, uint32_t len);
169 OI_INT OI_StrcmpInsensitive(OI_CHAR const* s1, OI_CHAR const* s2);
184 OI_INT OI_StrncmpInsensitive(OI_CHAR const* s1, OI_CHAR const* s2, OI_UINT len);
/system/extras/ioshark/
Dcompile_ioshark.c125 char *s, *s2; in get_tracetype() local
153 s2 = strchr(s, ' '); in get_tracetype()
154 if (s2 == NULL) { in get_tracetype()
160 while (*s2 == ' ') in get_tracetype()
161 s2++; in get_tracetype()
162 if (*s2 == '\0') { in get_tracetype()
172 bcopy(s2, s, strlen(s2) + 1); in get_tracetype()
178 char *s, *s2, save; in get_pathname() local
187 s2 = strchr(s, ' '); in get_pathname()
188 if (s2 == NULL) { in get_pathname()
[all …]
/system/netd/libnetdutils/
DStatusTest.cpp67 Status s2(666, "EDAEMON"); in TEST() local
68 EXPECT_NE(s, s2); in TEST()
69 s = s2; // Invokes the move-assignment operator. in TEST()
72 EXPECT_EQ(s, s2); in TEST()
75 s2 = s; in TEST()
80 EXPECT_EQ(s, s2); in TEST()
DSliceTest.cpp36 Slice s2 = makeSlice(mRaw); in TEST_F() local
38 s2 = p.first; // avoid warn-unused error in TEST_F()
58 Slice s2(s1); in TEST_F() local
59 Slice s3 = s2; in TEST_F()
/system/libufdt/sysdeps/
Dlibufdt_sysdeps_posix.c60 int dto_strcmp(const char *s1, const char *s2) { return strcmp(s1, s2); } in dto_strcmp() argument
62 int dto_strncmp(const char *s1, const char *s2, size_t n) { in dto_strncmp() argument
63 return strncmp(s1, s2, n); in dto_strncmp()
Dlibufdt_sysdeps_vendor.c203 int dto_strcmp(const char *s1, const char *s2) { return strcmp(s1, s2); } in dto_strcmp() argument
205 int dto_strncmp(const char *s1, const char *s2, size_t n) { in dto_strncmp() argument
206 return strncmp(s1, s2, n); in dto_strncmp()
/system/extras/tests/mmc_tracepoints/
Dmmc_trace_sample_data27 … Binder_4-434 [000] ..s2 56.115856: mmc_blk_rw_end: cmd=18,addr=0x0013faf0,size=0x00000020
39 …WindowManager-396 [000] ..s2 56.399184: mmc_blk_rw_end: cmd=18,addr=0x0035af18,size=0x00000020
41 …WindowManager-396 [000] ..s2 56.399992: mmc_blk_rw_end: cmd=18,addr=0x0035af40,size=0x000000c0
43 …WindowManager-396 [000] ..s2 56.400300: mmc_blk_rw_end: cmd=18,addr=0x00361000,size=0x00000018
45 …WindowManager-396 [000] ..s2 56.400993: mmc_blk_rw_end: cmd=18,addr=0x003610e8,size=0x00000088
53 …WindowManager-396 [000] ..s2 56.407260: mmc_blk_rw_end: cmd=18,addr=0x0035a020,size=0x000000e8
55 … Compiler-387 [000] ..s2 56.408158: mmc_blk_rw_end: cmd=18,addr=0x0035a108,size=0x00000090
57 …WindowManager-396 [000] ..s2 56.409353: mmc_blk_rw_end: cmd=18,addr=0x0035ac10,size=0x00000100
59 …WindowManager-396 [000] ..s2 56.410055: mmc_blk_rw_end: cmd=18,addr=0x0035abb8,size=0x00000058
63 … kworker/0:2-48 [000] ..s2 56.412130: mmc_blk_rw_end: cmd=18,addr=0x0035a198,size=0x000000b0
[all …]
/system/extras/simpleperf/
Ddso.h80 static bool CompareByDumpId(const Symbol* s1, const Symbol* s2) { in CompareByDumpId()
84 s2->GetDumpId(&id2); in CompareByDumpId()
88 static bool CompareByAddr(const Symbol* s1, const Symbol* s2) { in CompareByAddr()
89 return s1->addr < s2->addr; in CompareByAddr()
92 static bool CompareValueByAddr(const Symbol& s1, const Symbol& s2) { in CompareValueByAddr()
93 return s1.addr < s2.addr; in CompareValueByAddr()
Dsample_tree.h257 callchain, period, [&](const EntryT* s1, const EntryT* s2) { in InsertCallChainForSample()
258 return sample_comparator_.IsSameSample(s1, s2); in InsertCallChainForSample()
325 std::sort(v.begin(), v.end(), [this](const EntryT* s1, const EntryT* s2) { in Sort()
326 return comparator_(s1, s2); in Sort()
/system/libbase/include/android-base/
Dlogging.h281 #define CHECK_STROP(s1, s2, sense) \ argument
282 while (UNLIKELY((strcmp(s1, s2) == 0) != (sense))) \
288 << ((sense) ? " == " : " != ") << "\"" << (s2) << "\""
292 #define CHECK_STREQ(s1, s2) CHECK_STROP(s1, s2, true) argument
293 #define CHECK_STRNE(s1, s2) CHECK_STROP(s1, s2, false) argument
329 #define DCHECK_STREQ(s1, s2) \ argument
330 if (::android::base::kEnableDChecks) CHECK_STREQ(s1, s2)
331 #define DCHECK_STRNE(s1, s2) \ argument
332 if (::android::base::kEnableDChecks) CHECK_STRNE(s1, s2)
/system/core/libutils/
DUnicode.cpp224 int strcmp16(const char16_t *s1, const char16_t *s2) in strcmp16() argument
230 d = (int)(ch = *s1++) - (int)*s2++; in strcmp16()
238 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n) in strncmp16() argument
248 d = (int)(ch = *s1++) - (int)*s2++; in strncmp16()
309 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2) in strzcmp16() argument
312 const char16_t* e2 = s2+n2; in strzcmp16()
314 while (s1 < e1 && s2 < e2) { in strzcmp16()
315 const int d = (int)*s1++ - (int)*s2++; in strzcmp16()
322 ? (0 - (int)*s2) in strzcmp16()
/system/libufdt/sysdeps/include/
Dlibufdt_sysdeps.h69 int dto_strcmp(const char *s1, const char *s2);
71 int dto_strncmp(const char *s1, const char *s2, size_t n);
/system/keymaster/android_keymaster/
Dandroid_keymaster_utils.cpp38 const uint8_t* s2 = static_cast<const uint8_t*>(p2); in memcmp_s() local
41 result |= *s1++ ^ *s2++; in memcmp_s()
/system/core/libutils/include/utils/
DUnicode.h27 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n);
40 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2);
/system/gatekeeper/include/gatekeeper/
Dgatekeeper_utils.h49 const uint8_t* s2 = static_cast<const uint8_t*>(p2); in memcmp_s() local
52 result |= *s1++ ^ *s2++; in memcmp_s()
/system/bt/stack/crypto_toolbox/
Daes.cc612 uint_8t s2[N_BLOCK];
613 mix_sub_columns(s2, s1);
614 copy_and_key(s1, s2, ctx->ksch + r * N_BLOCK);
660 uint_8t s2[N_BLOCK];
661 copy_and_key(s2, s1, ctx->ksch + r * N_BLOCK);
662 inv_mix_sub_columns(s1, s2);
732 uint_8t s2[N_BLOCK];
733 mix_sub_columns(s2, s1);
735 copy_and_key(s1, s2, o_key);
787 uint_8t s2[N_BLOCK];
[all …]
/system/bt/gd/crypto_toolbox/
Daes.cc559 uint_8t s2[N_BLOCK];
560 mix_sub_columns(s2, s1);
561 copy_and_key(s1, s2, ctx->ksch + r * N_BLOCK);
605 uint_8t s2[N_BLOCK];
606 copy_and_key(s2, s1, ctx->ksch + r * N_BLOCK);
607 inv_mix_sub_columns(s1, s2);
677 uint_8t s2[N_BLOCK];
678 mix_sub_columns(s2, s1);
680 copy_and_key(s1, s2, o_key);
733 uint_8t s2[N_BLOCK];
[all …]
/system/tools/aidl/
Dast_cpp_unittest.cpp234 IfStatement s2(new LiteralExpression("bar")); in TEST_F() local
235 s2.OnTrue()->AddLiteral("on true1"); in TEST_F()
236 CompareGeneratedCode(s2, "if (bar) {\n on true1;\n}\n"); in TEST_F()
/system/core/adb/
Dsockets.cpp782 asocket* s2; in smart_socket_enqueue() local
809 s2 = host_service_to_socket(service, serial, transport_id); in smart_socket_enqueue()
810 if (s2 == nullptr) { in smart_socket_enqueue()
828 s->peer->peer = s2; in smart_socket_enqueue()
829 s2->peer = s->peer; in smart_socket_enqueue()
835 s2->ready(s2); in smart_socket_enqueue()
/system/sepolicy/tools/
Dbuild_policies.sh90 echo "Failed to build: $(grep "\s2\s0\scompile_target" $out_dir/joblog | sed 's/^.* //' | sort | pa…
/system/bt/service/test/
Dparcelable_unittest.cc151 Descriptor s2 = Descriptor(0xFFFE, Uuid::GetRandom(), in TEST() local
162 TestData<Descriptor, android::bluetooth::BluetoothGattDescriptor>(s2); in TEST()
/system/core/fs_mgr/libsnapshot/
Dpower_test.cpp257 struct stat s1, s2; in SetupImages() local
262 if (fstat(second_fd.get(), &s2)) { in SetupImages()
269 uint64_t s2_size = (s2.st_size + 4095) & ~uint64_t(4095); in SetupImages()
/system/tools/hidl/utils/
DFQName.cpp527 std::string s2 = other.string(); in endsWith() local
529 size_t pos = s1.rfind(s2); in endsWith()
530 if (pos == std::string::npos || pos + s2.size() != s1.size()) { in endsWith()
/system/libhidl/
Dtest_main.cpp88 hidl_string s2("s2"); // copy constructor from cstr in TEST_F() local
89 EXPECT_STREQ(s2.c_str(), "s2"); in TEST_F()
/system/chre/build/sys_support/qcom/
Duimage.lcs.toolv8062 *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*)

12