Home
last modified time | relevance | path

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

/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/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/libbase/include/android-base/
Dlogging.h287 #define CHECK_STROP(s1, s2, sense) \ argument
288 while (UNLIKELY((strcmp(s1, s2) == 0) != (sense))) \
294 << ((sense) ? " == " : " != ") << "\"" << (s2) << "\""
298 #define CHECK_STREQ(s1, s2) CHECK_STROP(s1, s2, true) argument
299 #define CHECK_STRNE(s1, s2) CHECK_STROP(s1, s2, false) argument
335 #define DCHECK_STREQ(s1, s2) \ argument
336 if (::android::base::kEnableDChecks) CHECK_STREQ(s1, s2)
337 #define DCHECK_STRNE(s1, s2) \ argument
338 if (::android::base::kEnableDChecks) CHECK_STRNE(s1, s2)
/system/core/libutils/
DUnicode.cpp192 int strcmp16(const char16_t *s1, const char16_t *s2) in strcmp16() argument
198 d = (int)(ch = *s1++) - (int)*s2++; in strcmp16()
206 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n) in strncmp16() argument
216 d = (int)(ch = *s1++) - (int)*s2++; in strncmp16()
264 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2) in strzcmp16() argument
267 const char16_t* e2 = s2+n2; in strzcmp16()
269 while (s1 < e1 && s2 < e2) { in strzcmp16()
270 const int d = (int)*s1++ - (int)*s2++; in strzcmp16()
277 ? (0 - (int)*s2) in strzcmp16()
/system/extras/simpleperf/
Ddso.h82 static bool CompareByDumpId(const Symbol* s1, const Symbol* s2) { in CompareByDumpId()
86 s2->GetDumpId(&id2); in CompareByDumpId()
90 static bool CompareByAddr(const Symbol* s1, const Symbol* s2) { return s1->addr < s2->addr; } in CompareByAddr()
92 static bool CompareValueByAddr(const Symbol& s1, const Symbol& s2) { return s1.addr < s2.addr; } in CompareValueByAddr()
Dsample_tree.h247 sample->callchain.AddCallChain(callchain, period, [&](const EntryT* s1, const EntryT* s2) { in InsertCallChainForSample()
248 return sample_comparator_.IsSameSample(s1, s2); in InsertCallChainForSample()
315 [this](const EntryT* s1, const EntryT* s2) { return comparator_(s1, s2); }); in Sort()
/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/core/libutils/include/utils/
DUnicode.h27 int strncmp16(const char16_t *s1, const char16_t *s2, size_t n);
39 int strzcmp16(const char16_t *s1, size_t n1, const char16_t *s2, size_t n2);
/system/keymaster/android_keymaster/
Dandroid_keymaster_utils.cpp36 const uint8_t* s2 = static_cast<const uint8_t*>(p2); in memcmp_s() local
39 result |= *s1++ ^ *s2++; in memcmp_s()
/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/update_engine/lz4diff/
Dlz4diff.cc56 auto s2 = target_blob.substr(offset, block.compressed_length); in StoreDstCompressedFileInfo() local
57 if (s1 != s2) { in StoreDstCompressedFileInfo()
62 reinterpret_cast<const unsigned char*>(s2.data()), in StoreDstCompressedFileInfo()
63 s2.size(), in StoreDstCompressedFileInfo()
/system/sepolicy/tools/
Dbuild_policies.sh90 echo "Failed to build: $(grep "\s2\s0\scompile_target" $out_dir/joblog | sed 's/^.* //' | sort | pa…
/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.cpp511 std::string s2 = other.string(); in endsWith() local
513 size_t pos = s1.rfind(s2); in endsWith()
514 if (pos == std::string::npos || pos + s2.size() != s1.size()) { in endsWith()
/system/security/keystore2/src/
Dasync_task.rs276 let s2 = "Another string".to_string(); in test_shelf() localVariable
277 assert_eq!(shelf.put(s2), Some("A string".to_string())); in test_shelf()
/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/media/audio_utils/include/audio_utils/
DBiquadFilter.h493 T s2 = vld1<T>(&delays[localStride]); in biquad_filter_func_impl() local
499 s1, s2); in biquad_filter_func_impl()
/system/chre/build/sys_support/qcom/
Duimage.lcs.toolv8062 *(.rela.sdata2 .rela.sdata2.* .rela.gnu.linkonce.s2.*)
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp910 std::string s2 = RandomString(1000, rand_illegal); in TEST_F() local
911 ret = fb->RawCommand(s2); in TEST_F()
913 << "Device did not respond with failure after sending length " << s2.size() in TEST_F()
/system/netd/tests/
Dbinder_test.cpp854 int s2 = socket(AF_INET6, SOCK_STREAM | SOCK_NONBLOCK, 0); in TEST_F() local
855 ASSERT_EQ(0, bind(s2, reinterpret_cast<sockaddr*>(&sin6_2), len)); in TEST_F()
856 ASSERT_EQ(0, getsockname(s2, reinterpret_cast<sockaddr*>(&sin6_2), &len)); in TEST_F()
859 ASSERT_EQ(0, listen(s2, 10)); in TEST_F()
868 int a2 = accept(s2, nullptr, 0); in TEST_F()
889 EXPECT_EQ(-1, accept(s2, nullptr, 0)); in TEST_F()
/system/extras/simpleperf/scripts/inferno/
Dinferno.b641 …A+HwFmYQQn0iVlXgw318/xGeBccr0qB/3tMVkSUXFP6KiMgaUPgrIiIiInJC8YtvkW59sGnt1g+s2/6x5a23rOI6w6LlgzF4gD…