/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()
|
D | lib_wprint.c | 1015 if (strlen(page.filename) > 0) { in _job_thread() 1907 size_t useragent_len = strlen(USERAGENT_PREFIX) + strlen(jq->job_params.docCategory) + 1; in wprintStartJob() 2054 if (jq && jq->is_dir && !(jq->last_page_seen) && (((strlen(filename) < MAX_PATHNAME_LENGTH)) || in wprintPage() 2066 if ((strlen(filename) == 0) || strchr(filename, '/')) { in wprintPage()
|
/packages/services/BuiltInPrintService/jni/ipphelper/ |
D | ipphelper.c | 320 strlen(IPP_PRNT_STATE_NONE)) == 0) { in get_PrinterStateReason() 334 strlen(IPP_PRNT_STATE_SPOOL_FULL)) == 0) { in get_PrinterStateReason() 348 strlen(IPP_PRNT_STATE_MARKER_SUPPLY_LOW)) == 0) { in get_PrinterStateReason() 351 strlen(IPP_PRNT_STATE_TONER_LOW)) == 0) { in get_PrinterStateReason() 354 strlen(IPP_PRNT_STATE_OTHER_WARN)) == 0) { in get_PrinterStateReason() 359 strlen(IPP_PRNT_STATE_MEDIA_NEEDED)) == 0) { in get_PrinterStateReason() 362 strlen(IPP_PRNT_STATE_MEDIA_EMPTY)) == 0) { in get_PrinterStateReason() 365 strlen(IPP_PRNT_STATE_TONER_EMPTY)) == 0) { in get_PrinterStateReason() 369 strlen(IPP_PRNT_STATE_MARKER_SUPPLY_EMPTY)) == 0) { in get_PrinterStateReason() 372 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() 429 if ((job_params->useragent != NULL) && (strlen(job_params->useragent) > 0)) { in _validate_job() 459 strlen(ippErrorString(IPP_OK))) == 0) { in _validate_job() 492 if ((job_params->useragent != NULL) && (strlen(job_params->useragent) > 0)) { in _start_job()
|
/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 | 901 n = strlen(bp) + 1; /* for the \0 */ in getanswer() 941 n = strlen(tbuf) + 1; /* for the \0 */ in getanswer() 992 nn = strlen(bp) + 1; /* for the \0 */ in getanswer() 1931 n = strlen(name); in res_querydomainN() 1942 n = strlen(name); in res_querydomainN() 1943 d = strlen(domain); in res_querydomainN()
|
D | hostent.h | 67 size_t _len = strlen(src) + 1; \
|
D | DnsProxyListener.cpp | 262 if (!*input || *endPtr || (endPtr - input) != static_cast<ptrdiff_t>(strlen(input)) || in simpleStrtoul() 600 success &= sendLenAndData(c, strlen(hp->h_name)+1, hp->h_name); in sendhostent() 606 success &= sendLenAndData(c, strlen(hp->h_aliases[i])+1, hp->h_aliases[i]); in sendhostent() 652 if (!sendLenAndData(c, ai->ai_canonname ? strlen(ai->ai_canonname) + 1 : 0, ai->ai_canonname)) { in sendaddrinfo()
|
/packages/apps/Bluetooth/jni/ |
D | com_android_bluetooth_sdp.cpp | 247 record.mas.hdr.service_name_length = strlen(service_name); in sdpCreateMapMasRecordNative() 286 record.mns.hdr.service_name_length = strlen(service_name); in sdpCreateMapMnsRecordNative() 321 record.pce.hdr.service_name_length = strlen(service_name); in sdpCreatePbapPceRecordNative() 355 record.pse.hdr.service_name_length = strlen(service_name); in sdpCreatePbapPseRecordNative() 393 record.ops.hdr.service_name_length = strlen(service_name); in sdpCreateOppOpsRecordNative() 441 record.mas.hdr.service_name_length = strlen(service_name); in sdpCreateSapsRecordNative()
|
/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/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genPCLm.cpp | 230 sint32 strSize = strlen(str); in writeStr2OutBuff() 620 strLength = strlen(str); in injectImageTransform() 749 buffSize = strlen(buffer) + strlen(str); in writeStr2Buff() 754 buffSize = strlen(buffer); in writeStr2Buff() 758 buffSize = strlen(buffer); in writeStr2Buff() 959 buffSize = strlen(tempBuffer); in writePDFGrammarPage() 1518 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/DnsResolver/tests/dns_responder/ |
D | dns_tls_frontend.cpp | 42 bssl::UniquePtr<BIO> bio(BIO_new_mem_buf(certs, strlen(certs))); in stringToX509Certs() 48 bssl::UniquePtr<BIO> bio(BIO_new_mem_buf(key, strlen(key))); in stringToRSAPrivateKey()
|
/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()
|
/packages/apps/Test/connectivity/sl4n/ |
D | main.cpp | 96 int result = write(comm_fd, str, strlen(str)+1); in SockTest()
|
/packages/services/BuiltInPrintService/jni/plugins/ |
D | plugin_pdf.c | 85 if (pathname && strlen(pathname)) { in _print_page()
|
D | lib_pclm.c | 43 strlen(SupportedMediaSizes[i].PCL6Name)); in _get_pclm_media_size_name()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_dict_buffers.cpp | 75 const int dictNameBufSize = strlen(dictDirPath) + 1 /* terminator */; in flushHeaderAndDictBuffers()
|
/packages/inputmethods/LatinIME/native/dicttoolkit/tests/utils/ |
D | arguments_parser_test.cpp | 75 const size_t length = strlen(mutableCommandLine); in initArgv()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_dict_buffers.cpp | 91 const int dictNameBufSize = strlen(dictDirPath) + 1 /* terminator */; in flushHeaderAndDictBuffers()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/ |
D | valuetest.cpp | 665 w.SetString(s, (SizeType)strlen(s), allocator); in TEST() 1240 Value name(name1, (SizeType)strlen(name1), allocator); in TEST() 1247 Value name(name2, (SizeType)strlen(name2), allocator); in TEST() 1296 const rapidjson::SizeType len = (rapidjson::SizeType)strlen(str); in TestShortStringOptimization()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/ |
D | tutorial.md | 216 The correct length of the value `"a\u0000b"` is 3. But `strlen()` returns 1. 218 `GetStringLength()` can also improve performance, as user may often need to call `strlen()` for all… 367 …ngth parameter. And it assumes the input is null-terminated and calls a `strlen()`-like function t…
|