/packages/modules/adb/client/pairing/tests/ |
D | pairing_connection_test.cpp | 202 ASSERT_EQ(strlen(peer_info->name), strlen(client_info_.name)); in TEST_F() 203 EXPECT_EQ(::memcmp(peer_info->name, client_info_.name, strlen(client_info_.name)), 0); in TEST_F() 204 ASSERT_EQ(strlen(peer_info->guid), strlen(client_info_.guid)); in TEST_F() 205 EXPECT_EQ(::memcmp(peer_info->guid, client_info_.guid, strlen(client_info_.guid)), 0); in TEST_F() 227 ASSERT_EQ(strlen(peer_info->name), strlen(server_info_.name)); in TEST_F() 228 EXPECT_EQ(::memcmp(peer_info->name, server_info_.name, strlen(server_info_.name)), 0); in TEST_F() 229 ASSERT_EQ(strlen(peer_info->guid), strlen(server_info_.guid)); in TEST_F() 230 EXPECT_EQ(::memcmp(peer_info->guid, server_info_.guid, strlen(server_info_.guid)), 0); in TEST_F() 384 ASSERT_EQ(strlen(peer_info->name), strlen(client_info_.name)); in TEST_F() 385 EXPECT_EQ(::memcmp(peer_info->name, client_info_.name, strlen(client_info_.name)), 0); in TEST_F() [all …]
|
D | pairing_server.cpp | 138 '\0' == peer_info.guid[kPeerGuidLength - 1] && strlen(peer_info.name) > 0 && in PairingServerImpl() 139 strlen(peer_info.guid) > 0); in PairingServerImpl() 411 '\0' != peer_info.guid[kPeerGuidLength - 1] || strlen(peer_info.name) == 0 || in create() 412 strlen(peer_info.guid) == 0) { in create()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | file_utils.cpp | 99 return strlen(filePath) + strlen(suffix) + 1 /* terminator */; in getFilePathWithSuffixBufSize() 109 return strlen(dirPath) + 1 /* '/' */ + strlen(fileName) + 1 /* terminator */; in getFilePathBufSize() 119 const int filePathLength = strlen(filePath); in getFilePathWithoutSuffix() 120 const int suffixLength = strlen(suffix); in getFilePathWithoutSuffix() 142 for (int i = strlen(filePath) - 1; i >= 0; --i) { in getDirPath() 158 const int filePathBufSize = strlen(filePath) + 1 /* terminator */; in getBasename() 162 const int baseNameLength = strlen(baseName); in getBasename()
|
/packages/services/BuiltInPrintService/jni/lib/ |
D | plugin_db.c | 71 if (strlen(mt[i]) < MAX_MIME_LENGTH) { in plugin_add() 85 if (strlen(pf[i]) < MAX_MIME_LENGTH) { in plugin_add() 106 while (strlen(_plugin[i].print_formats[j])) { in plugin_search() 109 while (strlen(_plugin[i].mime_types[k])) { in plugin_search() 144 (strlen(_plugin[i].print_formats[1]) == 0) in plugin_get_passthru_input_formats() 145 && (strlen(_plugin[i].mime_types[1]) == 0)) { in plugin_get_passthru_input_formats()
|
/packages/modules/adb/pairing_connection/tests/ |
D | pairing_connection_test.cpp | 351 ASSERT_EQ(strlen(reinterpret_cast<const char*>(client_waiter.peer_info_.data)), in TEST_F() 352 strlen(reinterpret_cast<const char*>(server_info_.data))); in TEST_F() 364 ASSERT_EQ(strlen(reinterpret_cast<const char*>(server_waiter.peer_info_.data)), in TEST_F() 365 strlen(reinterpret_cast<const char*>(client_info_.data))); in TEST_F() 474 ASSERT_EQ(strlen(reinterpret_cast<const char*>(client_waiter.peer_info_.data)), in TEST_F() 475 strlen(reinterpret_cast<const char*>(server_info_.data))); in TEST_F() 493 ASSERT_EQ(strlen(reinterpret_cast<const char*>(server_waiter.peer_info_.data)), in TEST_F() 494 strlen(reinterpret_cast<const char*>(client_info_.data))); in TEST_F()
|
/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ipphelper.c | 365 strlen(IPP_PRNT_STATE_NONE)) == 0) { in get_PrinterStateReason() 379 strlen(IPP_PRNT_STATE_SPOOL_FULL)) == 0) { in get_PrinterStateReason() 393 strlen(IPP_PRNT_STATE_MARKER_SUPPLY_LOW)) == 0) { in get_PrinterStateReason() 396 strlen(IPP_PRNT_STATE_TONER_LOW)) == 0) { in get_PrinterStateReason() 399 strlen(IPP_PRNT_STATE_OTHER_WARN)) == 0) { in get_PrinterStateReason() 404 strlen(IPP_PRNT_STATE_MEDIA_NEEDED)) == 0) { in get_PrinterStateReason() 407 strlen(IPP_PRNT_STATE_MEDIA_EMPTY)) == 0) { in get_PrinterStateReason() 410 strlen(IPP_PRNT_STATE_TONER_EMPTY)) == 0) { in get_PrinterStateReason() 414 strlen(IPP_PRNT_STATE_MARKER_SUPPLY_EMPTY)) == 0) { in get_PrinterStateReason() 417 strlen(IPP_PRNT_STATE_DOOR_OPEN)) == 0) { in get_PrinterStateReason() [all …]
|
D | ipp_print.c | 92 if ((printer_uri == NULL) || (strlen(printer_uri) == 0)) { in _init() 436 if ((job_params->useragent != NULL) && (strlen(job_params->useragent) > 0)) { in _validate_job() 466 strlen(ippErrorString(IPP_OK))) == 0) { in _validate_job() 499 if ((job_params->useragent != NULL) && (strlen(job_params->useragent) > 0)) { in _start_job()
|
/packages/modules/StatsD/lib/libkll/encoding/ |
D | encoder_test.cpp | 57 EXPECT_EQ(with_prefix.length(), params.encoding_length + strlen("thisisaprefix")); in TEST_P() 58 EXPECT_EQ("thisisaprefix", with_prefix.substr(0, strlen("thisisaprefix"))); in TEST_P() 59 EXPECT_EQ(suffix, with_prefix.substr(strlen("thisisaprefix"))); in TEST_P()
|
/packages/modules/adb/client/ |
D | bugreport.cpp | 138 SetSrcFile(&line[strlen(BUGZ_BEGIN_PREFIX)]); in ProcessLine() 140 SetSrcFile(&line[strlen(BUGZ_OK_PREFIX)]); in ProcessLine() 142 const char* error_message = &line[strlen(BUGZ_FAIL_PREFIX)]; in ProcessLine() 150 size_t idx1 = line.rfind(BUGZ_PROGRESS_PREFIX) + strlen(BUGZ_PROGRESS_PREFIX); in ProcessLine()
|
/packages/modules/DnsResolver/ |
D | gethnamaddr.cpp | 186 n = (int) strlen(bp) + 1; /* for the \0 */ in getanswer() 228 n = (int) strlen(bp) + 1; /* for the \0 */ in getanswer() 235 n = (int) strlen(tbuf) + 1; /* for the \0 */ in getanswer() 254 n = (int) strlen(tbuf) + 1; /* for the \0 */ in getanswer() 291 n = (int) strlen(bp) + 1; /* for the \0 */ in getanswer() 323 nn = (int) strlen(bp) + 1; /* for the \0 */ in getanswer() 354 n = (int) strlen(qname) + 1; /* for the \0 */ in getanswer()
|
D | res_query.cpp | 344 n = strlen(name); in res_nquerydomain() 357 n = strlen(name); in res_nquerydomain() 358 d = strlen(domain); in res_nquerydomain()
|
D | getaddrinfo.cpp | 900 n = strlen(bp) + 1; /* for the \0 */ in getanswer() 940 n = strlen(tbuf) + 1; /* for the \0 */ in getanswer() 991 nn = strlen(bp) + 1; /* for the \0 */ in getanswer() 1934 n = strlen(name); in res_querydomainN() 1945 n = strlen(name); in res_querydomainN() 1946 d = strlen(domain); in res_querydomainN()
|
D | hostent.h | 67 size_t _len = strlen(src) + 1; \
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/perftest/ |
D | platformtest.cpp | 70 TEST_F(Platform, strlen) { in TEST_F() argument 72 size_t l = strlen(json_); in TEST_F() 92 size_t l = strlen(whitespace_); in TEST_F()
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_sdp.cpp | 263 record.mas.hdr.service_name_length = strlen(service_name); in sdpCreateMapMasRecordNative() 302 record.mns.hdr.service_name_length = strlen(service_name); in sdpCreateMapMnsRecordNative() 337 record.pce.hdr.service_name_length = strlen(service_name); in sdpCreatePbapPceRecordNative() 371 record.pse.hdr.service_name_length = strlen(service_name); in sdpCreatePbapPseRecordNative() 409 record.ops.hdr.service_name_length = strlen(service_name); in sdpCreateOppOpsRecordNative() 457 record.mas.hdr.service_name_length = strlen(service_name); in sdpCreateSapsRecordNative()
|
/packages/modules/NeuralNetworks/driver/cache/nnCache/ |
D | nnCache_test.cpp | 194 const size_t keySize = strlen(key); in yesStringBlob() 195 const size_t valueSize = strlen(value); in yesStringBlob() 210 const size_t keySize = strlen(key); in noStringBlob()
|
/packages/modules/StatsD/statsd/src/storage/ |
D | StorageManager.cpp | 89 size_t fileNameLength = strlen(fileName); in findTrainInfoFileNameLocked() 451 size_t nameLen = strlen(name); in deleteSuffixedFiles() 452 size_t suffixLen = strlen(suffix); in deleteSuffixedFiles() 494 size_t nameLen = strlen(name); in hasConfigMetricsReport() 624 size_t nameLen = strlen(name); in readConfigFromDisk()
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genPCLm.cpp | 229 sint32 strSize = strlen(str); in writeStr2OutBuff() 619 strLength = strlen(str); in injectImageTransform() 748 buffSize = strlen(buffer) + strlen(str); in writeStr2Buff() 753 buffSize = strlen(buffer); in writeStr2Buff() 757 buffSize = strlen(buffer); in writeStr2Buff() 958 buffSize = strlen(tempBuffer); in writePDFGrammarPage() 1517 if (strlen(PCLmPageContent->mediaSizeName)) { in StartPage()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/ |
D | dictionary_structure_with_buffer_policy_factory.cpp | 147 const int dictDirPathBufSize = strlen(headerFilePath) + 1 /* terminator */; in newPolicyForV4Dict() 202 const int dictNameBufSize = strlen(dictDirPath) + 1 /* terminator */; in getHeaderFilePathInDictDir()
|
/packages/modules/StatsD/statsd/tests/storage/ |
D | StorageManager_test.cpp | 39 trainInfo.experimentIds.assign(expIds, expIds + strlen(expIds)); in TEST() 65 trainInfo.experimentIds.assign(expIds, expIds + strlen(expIds)); in TEST()
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_tls_frontend.cpp | 43 bssl::UniquePtr<BIO> bio(BIO_new_mem_buf(certs, strlen(certs))); in stringToX509Certs() 49 bssl::UniquePtr<BIO> bio(BIO_new_mem_buf(key, strlen(key))); in stringToRSAPrivateKey()
|
/packages/modules/NeuralNetworks/common/include/ |
D | TokenHasher.h | 43 bool updateFromString(const char* s) { return update(s, strlen(s)); } in updateFromString()
|
/packages/modules/adb/sysdeps/win32/ |
D | errno.cpp | 70 const size_t custom_msg_len = strlen(custom_msg); in adb_strerror()
|
/packages/apps/Nfc/nci/jni/ |
D | RouteDataSet.cpp | 256 actualWritten = fwrite(routesXml, sizeof(char), strlen(routesXml), fh); in saveToFile() 257 retval = actualWritten == strlen(routesXml); in saveToFile()
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/header/ |
D | header_read_write_utils_test.cpp | 37 EXPECT_EQ(strlen(str) , vector.size()); in TEST()
|