Home
last modified time | relevance | path

Searched refs:strlen (Results 476 - 500 of 8882) sorted by relevance

1...<<11121314151617181920>>...356

/third_party/curl/tests/libtest/
H A Dlib547.c50 if(size * nmemb > strlen(UPLOADTHIS)) { in readcallback()
53 return strlen(UPLOADTHIS); in readcallback()
111 test_setopt(curl, CURLOPT_POSTFIELDSIZE, (long)strlen(UPLOADTHIS)); in test()
H A Dlib1591.c41 if(consumed == strlen(data)) { in read_callback()
45 if(amount > strlen(data)-consumed) { in read_callback()
46 amount = strlen(data); in read_callback()
/third_party/ffmpeg/libavutil/tests/
H A Dbase64.c67 if (strlen(encoded)) { in test_encode_decode()
70 end = encoded + strlen(encoded) - 1; in test_encode_decode()
102 error_count += test_encode_decode(tests[i].data, strlen(tests[i].data), tests[i].encoded_ref); in main()
/third_party/curl/src/
H A Dtool_xattr.c97 err = fsetxattr(fd, attr, value, strlen(value), 0, 0); in xattr()
99 err = fsetxattr(fd, attr, value, strlen(value), 0); in xattr()
103 attr, value, strlen(value)); in xattr()
/third_party/libuv/src/unix/
H A Dos390-proctitle.c51 size += strlen(argv[i]) + 1; in uv_setup_args()
63 size = strlen(argv[i]) + 1; in uv_setup_args()
118 len = strlen(process_title); in uv_get_process_title()
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
H A Dcommon.h49 if (basepath[strlen(basepath) - 1] == '/' \
55 pathlen = strlen(fullpath); \
71 start = strlen(basepath); \
/third_party/ltp/lib/
H A Dtst_resource.c86 size_t len = strlen(path) + strlen(filename) + 2; in file_copy()
122 char buf[strlen(ltproot) + 64]; in tst_resource_copy()
/third_party/ltp/testcases/kernel/syscalls/msync/
H A Dmsync02.c98 else if (memcmp(addr + 100, write_buf, strlen(write_buf)) != 0) in main()
142 if (write(fildes, write_buf, strlen(write_buf)) != (long)strlen(write_buf)) in setup()
/third_party/ltp/testcases/kernel/security/smack/
H A Dsmack_set_socket_labels.c86 rc = fsetxattr(sock, anin, avin, strlen(avin) + 1, 0); in set_socket_labels()
92 rc = fsetxattr(sock, anout, avout, strlen(avout) + 1, 0); in set_socket_labels()
98 rc = fsetxattr(sock, annot, avnot, strlen(avnot) + 1, 0); in set_socket_labels()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
H A Dftell.c36 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in ftell_0100()
67 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in ftell_0200()
98 size_t ret = fwrite(wrstring, sizeof(char), strlen(wrstring), fptr); in ftell_0300()
H A Dfwrite.c34 int result = fwrite(buf, sizeof(char), strlen(buf), fptr); in fwrite_0100()
35 EXPECT_TRUE("fwrite_0100", result == strlen(buf)); in fwrite_0100()
52 int result = fwrite(buf, 0, strlen(buf), fptr); in fwrite_0200()
/third_party/node/deps/openssl/openssl/crypto/
H A Do_fopen.c42 int sz, len_0 = (int)strlen(filename) + 1; in openssl_fopen()
68 MultiByteToWideChar(CP_UTF8, 0, mode, strlen(mode) + 1, in openssl_fopen()
90 if ((newname = OPENSSL_malloc(strlen(filename) + 1)) == NULL) { in openssl_fopen()
/third_party/node/deps/uv/src/unix/
H A Dos390-proctitle.c51 size += strlen(argv[i]) + 1; in uv_setup_args()
63 size = strlen(argv[i]) + 1; in uv_setup_args()
118 len = strlen(process_title); in uv_get_process_title()
/third_party/pcre2/pcre2/src/
H A Dpcre2_config.c159 strlen(v) : PRIV(strcpy_c8)((PCRE2_UCHAR *)where, v))); in pcre2_config()
208 strlen(v) : PRIV(strcpy_c8)((PCRE2_UCHAR *)where, v))); in pcre2_config()
245 strlen(v) : PRIV(strcpy_c8)((PCRE2_UCHAR *)where, v))); in pcre2_config()
/third_party/openssl/crypto/
H A Do_fopen.c42 int sz, len_0 = (int)strlen(filename) + 1; in openssl_fopen()
68 MultiByteToWideChar(CP_UTF8, 0, mode, strlen(mode) + 1, in openssl_fopen()
90 if ((newname = OPENSSL_malloc(strlen(filename) + 1)) == NULL) { in openssl_fopen()
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Ddigest_auth_example.c52 response = MHD_create_response_from_buffer(strlen (DENIED), in ahc_echo()
70 response = MHD_create_response_from_buffer(strlen (DENIED), in ahc_echo()
82 response = MHD_create_response_from_buffer(strlen(PAGE), PAGE, in ahc_echo()
/third_party/toybox/kconfig/
H A Dutil.c71 gs.len = strlen(s) + 1; in str_assign()
87 size_t l = strlen(gs->s) + strlen(s) + 1; in str_append()
/third_party/skia/gm/
H A Dpdf_never_embed.cpp27 const int count = font.countText(text, strlen(text), SkTextEncoding::kUTF8); in excercise_draw_pos_text()
30 font.textToGlyphs(text, strlen(text), SkTextEncoding::kUTF8, rec.glyphs, count); in excercise_draw_pos_text()
64 canvas->drawSimpleText(text, strlen(text), SkTextEncoding::kUTF8, 30, 700, font, p); in DEF_SIMPLE_GM_CAN_FAIL()
/foundation/arkui/ace_engine_lite/frameworks/src/core/router/
H A Djs_page_state_machine.cpp93 size_t uriLen = strlen(uri); in GenerateJsPagePath()
103 len = strlen(jsPageSpecific.jsIndexFilePath); in GenerateJsPagePath()
109 len = strlen(JS_INDEX_FILE_PATH); in GenerateJsPagePath()
113 len += strlen(sourceFileSuffix); in GenerateJsPagePath()
161 if ((appRootPath_ == nullptr) || (strlen(appRootPath_) == 0)) { in Init()
200 if (strlen(uri_) == 0) { in BindUri()
243 size_t pathLength = strlen(fullPath); in CheckJSSourceFile()
305 jerry_value_t evalResult = appContext_->Eval(pageFilePath, strlen(pageFilePath), false); in EvalPage()
403 if ((name == nullptr) || (strlen(name) == 0)) { in InvokePageLifeCycleCallback()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/verify/
H A Dverify_manager_host_impl.cpp76 suffix = path.substr(strlen(DATA_STORAGE_EL1_BASE)); in GetDataDir()
83 suffix = path.substr(strlen(DATA_STORAGE_EL1_DATABASE)); in GetDataDir()
90 suffix = path.substr(strlen(DATA_STORAGE_EL2_BASE)); in GetDataDir()
97 suffix = path.substr(strlen(DATA_STORAGE_EL2_DATABASE)); in GetDataDir()
104 suffix = path.substr(strlen(DATA_STORAGE_EL3_BASE)); in GetDataDir()
111 suffix = path.substr(strlen(DATA_STORAGE_EL3_DATABASE)); in GetDataDir()
118 suffix = path.substr(strlen(DATA_STORAGE_EL4_BASE)); in GetDataDir()
125 suffix = path.substr(strlen(DATA_STORAGE_EL4_DATABASE)); in GetDataDir()
255 auto suffix = path.substr(strlen(DATA_STORAGE_BUNDLE)); in GetRealPath()
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/download/
H A Ddownloader.cpp378 char* p1 = p + strlen(str) - 1; in StringTrim()
397 if (!strncmp(key, "Content-Type", strlen("Content-Type"))) { in RxHeaderData()
404 if (!strncmp(key, "Content-Length", strlen("Content-Length")) || in RxHeaderData()
405 !strncmp(key, "content-length", strlen("content-length"))) { in RxHeaderData()
412 if (!strncmp(key, "Transfer-Encoding", strlen("Transfer-Encoding")) || in RxHeaderData()
413 !strncmp(key, "transfer-encoding", strlen("transfer-encoding"))) { in RxHeaderData()
417 if (!strncmp(transEncode, "chunked", strlen("chunked"))) { in RxHeaderData()
422 if (!strncmp(key, "Content-Range", strlen("Content-Range")) || in RxHeaderData()
423 !strncmp(key, "content-range", strlen("content-range"))) { in RxHeaderData()
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/proxy/src/
H A Dclient_trans_proxy_file_common.c45 if ((strlen(filePath) == 0) || (strlen(filePath) > (MAX_FILE_PATH_NAME_LEN - 1))) { in IsPathValid()
46 TRANS_LOGE(TRANS_FILE, "filePathSize is wrong. filePathSize=%{public}d", (int32_t)strlen(filePath)); in IsPathValid()
50 if (filePath[strlen(filePath) - 1] == PATH_SEPARATOR) { in IsPathValid()
69 int32_t pathLength = (int32_t)(strlen(absPath)); in GetAndCheckRealPath()
83 int32_t len = (int32_t)(strlen(destFile)); in CheckDestFilePathValid()
172 size_t pathLength = strlen(path); in TransGetFileName()
205 size_t fileNameLength = strlen(destFile[i]); in FileListToBuffer()
222 uint32_t fileNameSize = strlen(destFile[index]); in FileListToBuffer()
/kernel/linux/linux-5.10/tools/testing/selftests/cgroup/
H A Dcgroup_util.c60 size_t len = strlen(root) + strlen(name) + 2; in cg_name()
70 size_t len = strlen(root) + strlen(name) + 10; in cg_name_indexed()
80 size_t len = strlen(cgroup) + strlen(control) + 2; in cg_control()
111 size = strlen(expected) + 1; in cg_read_strcmp()
159 return atol(ptr + strlen(key)); in cg_read_key_long()
181 ssize_t len = strlen(buf); in cg_write()
/kernel/linux/linux-5.10/lib/
H A Dstring.c143 size_t ret = strlen(src); in strlcpy()
357 size_t dsize = strlen(dest); in strlcat()
358 size_t len = strlen(src); in strlcat()
546 size = strlen(s); in strim()
561 * strlen - Find the length of a string
564 size_t strlen(const char *s) in strlen() function
572 EXPORT_SYMBOL(strlen); variable
1004 l2 = strlen(s2); in strstr()
1007 l1 = strlen(s1); in strstr()
1030 l2 = strlen(s in strnstr()
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dprofile.c64 if (!strncmp(str, sleepstr, strlen(sleepstr))) { in profile_setup()
68 if (str[strlen(sleepstr)] == ',') in profile_setup()
69 str += strlen(sleepstr) + 1; in profile_setup()
77 } else if (!strncmp(str, schedstr, strlen(schedstr))) { in profile_setup()
79 if (str[strlen(schedstr)] == ',') in profile_setup()
80 str += strlen(schedstr) + 1; in profile_setup()
85 } else if (!strncmp(str, kvmstr, strlen(kvmstr))) { in profile_setup()
87 if (str[strlen(kvmstr)] == ',') in profile_setup()
88 str += strlen(kvmstr) + 1; in profile_setup()

Completed in 12 milliseconds

1...<<11121314151617181920>>...356