/system/bt/embdrv/sbc/decoder/include/ |
D | oi_string.h | 61 #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/netd/libnetdutils/ |
D | SliceTest.cpp | 35 Slice s1 = makeSlice(mRaw); in TEST_F() local 37 auto p = split(s1, 14); in TEST_F() 43 EXPECT_EQ(s1.base(), take(s1, kBytes).base()); in TEST_F() 44 EXPECT_EQ(kBytes, take(s1, kBytes).size()); in TEST_F() 45 EXPECT_EQ(s1.base() + kBytes, drop(s1, kBytes).base()); in TEST_F() 46 EXPECT_EQ(s1.size() - kBytes, drop(s1, kBytes).size()); in TEST_F() 50 EXPECT_EQ(sizeof(a), extract(s1, a)); in TEST_F() 51 EXPECT_EQ(sizeof(a) + sizeof(b), extract(s1, a, b)); in TEST_F() 52 EXPECT_EQ(sizeof(a) + sizeof(b) + sizeof(c), extract(s1, a, b, c)); in TEST_F() 57 Slice s1 = makeSlice(mRaw); in TEST_F() local [all …]
|
/system/bt/btif/test/ |
D | btif_storage_test.cc | 27 const char* s1 = in TEST() local 36 size_t num_uuids = btif_split_uuids_string(s1, uuids, 2); in TEST() 43 const char* s1 = in TEST() local 48 size_t num_uuids = btif_split_uuids_string(s1, uuids, 1); in TEST()
|
/system/bt/stack/crypto_toolbox/ |
D | aes.cc | 601 uint_8t s1[N_BLOCK], r; local 602 copy_and_key(s1, in, ctx->ksch); 607 mix_sub_columns(s1); 608 add_round_key(s1, ctx->ksch + r * N_BLOCK); 613 mix_sub_columns(s2, s1); 614 copy_and_key(s1, s2, ctx->ksch + r * N_BLOCK); 617 shift_sub_rows(s1); 618 copy_and_key(out, s1, ctx->ksch + r * N_BLOCK); 648 uint_8t s1[N_BLOCK], r; local 649 copy_and_key(s1, in, ctx->ksch + ctx->rnd * N_BLOCK); [all …]
|
/system/bt/gd/crypto_toolbox/ |
D | aes.cc | 548 uint_8t s1[N_BLOCK], r; local 549 copy_and_key(s1, in, ctx->ksch); 554 mix_sub_columns(s1); 555 add_round_key(s1, ctx->ksch + r * N_BLOCK); 560 mix_sub_columns(s2, s1); 561 copy_and_key(s1, s2, ctx->ksch + r * N_BLOCK); 564 shift_sub_rows(s1); 565 copy_and_key(out, s1, ctx->ksch + r * N_BLOCK); 593 uint_8t s1[N_BLOCK], r; local 594 copy_and_key(s1, in, ctx->ksch + ctx->rnd * N_BLOCK); [all …]
|
D | crypto_toolbox.h | 36 Octet16 s1(const Octet16& k, const Octet16& r1, const Octet16& r2);
|
D | crypto_toolbox.cc | 209 Octet16 s1(const Octet16& k, const Octet16& r1, const Octet16& r2) { in s1() function
|
/system/libufdt/sysdeps/ |
D | libufdt_sysdeps_posix.c | 60 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()
|
D | libufdt_sysdeps_vendor.c | 203 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/ioshark/ |
D | compile_ioshark.c | 246 char *s, *s1; in get_mmap_offset_len_prot() local 258 s1 = strchr(s, ','); in get_mmap_offset_len_prot() 259 if (s1 == NULL) { in get_mmap_offset_len_prot() 264 s1 += 2; in get_mmap_offset_len_prot() 265 s = strchr(s1, ','); in get_mmap_offset_len_prot() 272 strcpy(protstr, s1); in get_mmap_offset_len_prot() 475 char *s1; in map_open_flags() local 477 while ((s1 = strchr(s, '|'))) { in map_open_flags() 478 *s1 = '\0'; in map_open_flags() 481 *s1 = '|'; in map_open_flags() [all …]
|
/system/extras/simpleperf/ |
D | dso.h | 80 static bool CompareByDumpId(const Symbol* s1, const Symbol* s2) { in CompareByDumpId() 82 s1->GetDumpId(&id1); 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()
|
D | sample_tree.h | 257 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/ |
D | logging.h | 281 #define CHECK_STROP(s1, s2, sense) \ argument 282 while (UNLIKELY((strcmp(s1, s2) == 0) != (sense))) \ 287 << "Check failed: " << "\"" << (s1) << "\"" \ 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/ |
D | Unicode.cpp | 224 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 311 const char16_t* e1 = s1+n1; in strzcmp16() 314 while (s1 < e1 && s2 < e2) { in strzcmp16() 315 const int d = (int)*s1++ - (int)*s2++; in strzcmp16() 324 ? ((int)*s1 - 0) in strzcmp16()
|
/system/libufdt/sysdeps/include/ |
D | libufdt_sysdeps.h | 69 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/ |
D | android_keymaster_utils.cpp | 37 const uint8_t* s1 = static_cast<const uint8_t*>(p1); in memcmp_s() local 41 result |= *s1++ ^ *s2++; in memcmp_s()
|
/system/core/libutils/include/utils/ |
D | Unicode.h | 27 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/ |
D | gatekeeper_utils.h | 48 const uint8_t* s1 = static_cast<const uint8_t*>(p1); in memcmp_s() local 52 result |= *s1++ ^ *s2++; in memcmp_s()
|
/system/tools/hidl/utils/ |
D | FQName.cpp | 526 std::string s1 = 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() 543 if (s1[pos - 1] == '.') { in endsWith() 548 if (s1[pos - 1] == ':') { in endsWith() 553 if (s1[pos] == '@') { in endsWith()
|
/system/core/fs_mgr/libsnapshot/ |
D | power_test.cpp | 257 struct stat s1, s2; in SetupImages() local 258 if (fstat(first_fd.get(), &s1)) { in SetupImages() 268 uint64_t s1_size = (s1.st_size + 4095) & ~uint64_t(4095); in SetupImages() 292 while (written < s1.st_size) { in SetupImages() 293 uint64_t remaining = s1.st_size - written; in SetupImages()
|
/system/core/libpixelflinger/codeflinger/ |
D | load_store.cpp | 88 int s1 = scratches.obtain(); in load() local 89 LDRB(AL, s1, addr.reg, immed12_pre(0)); // R in load() 91 ORR(AL, 0, s1, s1, reg_imm(s0, LSL, 8)); in load() 93 ORR(AL, 0, s.reg, s1, reg_imm(s0, LSL, 16)); in load()
|
/system/sepolicy/tools/ |
D | build_policies.sh | 89 echo "Failed to lunch: $(grep "\s1\s0\scompile_target" $out_dir/joblog | sed 's/^.* //' | sort | pa…
|
/system/apex/apexer/testdata/ |
D | key.pem | 12 BPIakZG8pXgMORJbrHFM0V6bW5qMN3vGeaNOGwRV4zCE33htB1zysc0POpp/+6s1
|
/system/bt/gd/security/ |
D | pairing_handler_le_legacy.cc | 243 return crypto_toolbox::s1(tk, mrand, srand); in DoLegacyStage2()
|
/system/libhidl/ |
D | test_main.cpp | 86 hidl_string s1 = "s1"; // copy = from cstr in TEST_F() local 87 EXPECT_STREQ(s1.c_str(), "s1"); in TEST_F()
|