/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | fwprintf.c | 28 int ret = strlen("This is a test!!QAZ@WSX12"); in fwprintf_0100() 41 int ret = strlen("This is a test!"); in fwprintf_0200() 57 int ret = strlen("This is a test!"); in fwprintf_0300()
|
/third_party/musl/libc-test/src/functionalext/supplement/string/string_gtest/ |
H A D | string_memcmp_test.cpp | 21 int result = memcmp(str1, str2, strlen(str1)); in HWTEST_F() 35 int result = memcmp(str1, str2, strlen(str1)); in HWTEST_F() 49 int result = memcmp(str1, str2, strlen(str2)); in HWTEST_F()
|
/third_party/curl/tests/server/ |
H A D | rtspd.c | 252 if((strlen(doc) + strlen(request)) < 200) in ProcessRequest() 325 if(!strncmp(CMD_AUTH_REQUIRED, ptr, strlen(CMD_AUTH_REQUIRED))) { in ProcessRequest() 329 else if(!strncmp(CMD_IDLE, ptr, strlen(CMD_IDLE))) { in ProcessRequest() 334 else if(!strncmp(CMD_STREAM, ptr, strlen(CMD_STREAM))) { in ProcessRequest() 453 req->checkindex += (end - line) + strlen(END_OF_HEADERS); in ProcessRequest() 497 strlen("Transfer-Encoding: chunked"))) { in ProcessRequest() 561 req->reqbuf + req->offset > end + strlen(END_OF_HEADERS) && in ProcessRequest() 562 (!strncmp(req->reqbuf, "GET", strlen("GET")) || in ProcessRequest() 563 !strncmp(req->reqbuf, "HEAD", strlen("HEA in ProcessRequest() [all...] |
/third_party/node/deps/openssl/openssl/apps/ |
H A D | passwd.c | 328 passwd_len = strlen(passwd); in md5crypt() 331 magic_len = strlen(magic); in md5crypt() 340 salt_len = strlen(ascii_salt); in md5crypt() 365 if (strlen(out_buf) > 6 + 8) /* assert "$apr1$..salt.." */ in md5crypt() 460 assert(output == out_buf + strlen(out_buf)); in md5crypt() 476 assert(strlen(out_buf) < sizeof(out_buf)); in md5crypt() 478 ascii2ebcdic(out_buf, out_buf, strlen(out_buf)); in md5crypt() 527 passwd_len = strlen(passwd); in shacrypt() 528 magic_len = strlen(magic); in shacrypt() 573 salt_len = strlen(ascii_sal in shacrypt() [all...] |
/third_party/popt/src/ |
H A D | popthelp.c | 120 size_t n = strlen(s); in stringDisplayWidth() 258 strncpy(le, s, limit); le[limit] = '\0'; le += (slen = strlen(le)); in singleOptionDefaultValue() 302 if (opt->longName) nb += strlen(opt->longName); in singleOptionHelp() 304 if (argDescrip) nb += strlen(argDescrip); in singleOptionHelp() 343 char * le = left + strlen(left); in singleOptionHelp() 352 char * t = malloc((help ? strlen(help) : 0) + in singleOptionHelp() 353 strlen(defs) + sizeof(" ")); in singleOptionHelp() 442 helpLength = strlen(help); in singleOptionHelp() 471 helpLength = strlen(help); in singleOptionHelp() 511 len += strlen(op in maxArgWidth() [all...] |
/third_party/openssl/apps/ |
H A D | passwd.c | 328 passwd_len = strlen(passwd); in md5crypt() 331 magic_len = strlen(magic); in md5crypt() 340 salt_len = strlen(ascii_salt); in md5crypt() 365 if (strlen(out_buf) > 6 + 8) /* assert "$apr1$..salt.." */ in md5crypt() 460 assert(output == out_buf + strlen(out_buf)); in md5crypt() 476 assert(strlen(out_buf) < sizeof(out_buf)); in md5crypt() 478 ascii2ebcdic(out_buf, out_buf, strlen(out_buf)); in md5crypt() 527 passwd_len = strlen(passwd); in shacrypt() 528 magic_len = strlen(magic); in shacrypt() 573 salt_len = strlen(ascii_sal in shacrypt() [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | spreptst.c | 334 destLen = nfs4_cis_prepare(src , (int32_t)strlen(src), dest, destLen, &parseError, &status); in Test_nfs4_cis_prep() 338 destLen = nfs4_cis_prepare( src , (int32_t)strlen(src), dest, destLen, &parseError, &status); in Test_nfs4_cis_prep() 454 srcLen = unescapeData(mixed_prep_data[i], (int32_t)strlen(mixed_prep_data[i]), src, MAX_BUFFER_SIZE, &status); in Test_nfs4_mixed_prep() 480 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); in Test_nfs4_mixed_prep() 507 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); in Test_nfs4_cs_prep() 530 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); in Test_nfs4_cs_prep() 553 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); in Test_nfs4_cs_prep() 578 int32_t srcLen = unescapeData(source, (int32_t)strlen(source), src, MAX_BUFFER_SIZE, &status); in Test_nfs4_cs_prep() 579 int32_t expLen = unescapeData(expected, (int32_t)strlen(expected), exp, MAX_BUFFER_SIZE, &status); in Test_nfs4_cs_prep() 590 log_err("Did not get the expected length for the outputfor case: Case Mapping Turned On. Expected: %i Got: %i\n", strlen(expecte in Test_nfs4_cs_prep() [all...] |
/third_party/musl/libc-test/src/functionalext/supplement/mman/ |
H A D | mmap.c | 44 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0100() 82 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0200() 136 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0400() 173 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0500() 211 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0600() 246 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0700() 280 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0800() 311 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_0900() 345 fwrite(str, sizeof(char), strlen(str), fptr); in mmap_1000() 381 fwrite(str, sizeof(char), strlen(st in mmap_1100() [all...] |
/third_party/python/Modules/clinic/ |
H A D | _localemodule.c.h | 43 if (strlen(locale) != (size_t)locale_length) { in _locale_setlocale() 245 if (strlen(in) != (size_t)in_length) { in _locale_gettext() 292 if (strlen(domain) != (size_t)domain_length) { in _locale_dgettext() 310 if (strlen(in) != (size_t)in_length) { in _locale_dgettext() 357 if (strlen(domain) != (size_t)domain_length) { in _locale_dcgettext() 375 if (strlen(msgid) != (size_t)msgid_length) { in _locale_dcgettext() 420 if (strlen(domain) != (size_t)domain_length) { in _locale_textdomain() 471 if (strlen(domain) != (size_t)domain_length) { in _locale_bindtextdomain() 518 if (strlen(domain) != (size_t)domain_length) { in _locale_bind_textdomain_codeset() 531 if (strlen(codese in _locale_bind_textdomain_codeset() [all...] |
/third_party/ltp/lib/ |
H A D | tst_netdevice.c | 47 if (strlen(ifname) >= IFNAMSIZ) { in tst_netdev_index_by_name() 71 if (strlen(ifname) >= IFNAMSIZ) { in tst_netdev_set_state() 108 {IFLA_IFNAME, ifname2, strlen(ifname2) + 1, NULL}, in tst_create_veth_pair() 116 {IFLA_IFNAME, ifname1, strlen(ifname1) + 1, NULL}, in tst_create_veth_pair() 125 if (strlen(ifname1) >= IFNAMSIZ) { in tst_create_veth_pair() 131 if (strlen(ifname2) >= IFNAMSIZ) { in tst_create_veth_pair() 167 {IFLA_IFNAME, ifname, strlen(ifname) + 1, NULL}, in tst_netdev_add_device() 169 {IFLA_INFO_KIND, devtype, strlen(devtype), NULL}, in tst_netdev_add_device() 175 if (strlen(ifname) >= IFNAMSIZ) { in tst_netdev_add_device() 211 if (strlen(ifnam in tst_netdev_remove_device() [all...] |
/third_party/skia/src/ports/ |
H A D | SkFontMgr_config_parser.cpp | 149 size_t nameLen = strlen(name); 151 size_t valueLen = strlen(value); 199 size_t nameLen = strlen(name); 205 size_t valueLen = strlen(value); 241 size_t len = strlen(tag); 264 size_t nameLen = strlen(name); 265 size_t valueLen = strlen(value); 298 size_t len = strlen(tag); 335 size_t nameLen = strlen(name); 378 size_t len = strlen(ta [all...] |
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
H A D | connection.c | 256 strlen (HTTP_100_CONTINUE)) ); in need_100_continue() 405 char cbuf[10]; /* 10: max strlen of "%x\r\n" */ in try_ready_chunked_body() 482 cblen = strlen (cbuf); in try_ready_chunked_body() 664 if (0 == strlen (connection->version)) 687 off = strlen (code); 697 size += strlen (date); 828 size += strlen ("Connection: close\r\n"); 830 size += strlen ("Connection: Keep-Alive\r\n"); 832 size += strlen ("Transfer-Encoding: chunked\r\n"); 844 size += strlen (po [all...] |
/third_party/libfuse/lib/ |
H A D | mount_util.c | 49 if (strncmp(mnt, _PATH_MOUNTED, strlen(mnt)) == 0 && in mtab_needs_update() 50 _PATH_MOUNTED[strlen(mnt)] == '/') in mtab_needs_update() 300 for (end = copy + strlen(copy) - 1; end > copy && *end == '/'; end --); in fuse_mnt_resolve_path() 329 dst = (char *) malloc(strlen(buf) + 1 + strlen(lastcomp) + 1); in fuse_mnt_resolve_path() 331 unsigned buflen = strlen(buf); in fuse_mnt_resolve_path() 367 len == strlen(mountpoint)) { in fuse_mnt_parse_fuse_fd()
|
/third_party/mesa3d/src/util/ |
H A D | u_debug.c | 51 size_t len = strlen(buf); in _debug_vprintf() 256 unsigned name_len = strlen(name); in str_has_option() 302 namealign = MAX2(namealign, strlen(flags->name)); in debug_get_flags_option() 383 strncat(output, "|", sizeof(output) - strlen(output) - 1); in debug_dump_flags() 386 strncat(output, names->name, sizeof(output) - strlen(output) - 1); in debug_dump_flags() 395 strncat(output, "|", sizeof(output) - strlen(output) - 1); in debug_dump_flags() 400 strncat(output, rest, sizeof(output) - strlen(output) - 1); in debug_dump_flags()
|
/third_party/node/deps/uvwasi/src/ |
H A D | path_resolver.c | 54 cur_len = (next == NULL) ? strlen(cur) : (size_t) (next - cur); in uvwasi__normalize_path() 208 strlen(fd->normalized_path))) { in uvwasi__normalize_absolute_path() 247 fd_path_len = strlen(fd->normalized_path); in uvwasi__normalize_relative_path() 273 norm_len = strlen(normalized); in uvwasi__normalize_relative_path() 315 real_path_len = strlen(fd->real_path); in uvwasi__resolve_path_to_host() 316 fake_path_len = strlen(fd->normalized_path); in uvwasi__resolve_path_to_host() 461 input_len = strlen(req.ptr); in uvwasi__resolve_path()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Option/ |
H A D | Option.cpp | 114 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal() 152 // FIXME: Avoid strlen. in acceptInternal() 153 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal() 164 // FIXME: Avoid strlen. in acceptInternal() 165 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal() 180 // FIXME: Avoid strlen. in acceptInternal() 181 if (ArgSize != strlen(Args.getArgString(Index))) { in acceptInternal() 206 // FIXME: Avoid strlen. in acceptInternal() 207 if (ArgSize != strlen(Args.getArgString(Index))) in acceptInternal() 217 if (ArgSize != strlen(Arg in acceptInternal() [all...] |
/third_party/skia/tools/flags/ |
H A D | CommandLineFlags.cpp | 38 size_t defaultLength = strlen(defaultValue); in SetDefaultStrings() 93 if (SkStrStartsWith(string, '-') && strlen(string) > 1) { in match() 96 if (SkStrStartsWith(string, '-') && strlen(string) > 1) { in match() 110 if (SkStrStartsWith(string, "no") && strlen(string) > 2) { in match() 158 lineBreak = static_cast<int>(strlen(currLine)); in print_indented() 363 size_t testLen = strlen(name); in ShouldSkipImpl() 367 size_t matchLen = strlen(matchName); in ShouldSkipImpl()
|
/third_party/selinux/libsepol/src/ |
H A D | context.c | 26 strlen(context) + 1, NULL); in sepol_check_context() 99 strlen(policydb->p_user_val_to_name[context->user - 1]) + 1; in context_to_string() 101 strlen(policydb->p_role_val_to_name[context->role - 1]) + 1; in context_to_string() 102 scontext_len += strlen(policydb->p_type_val_to_name[context->type - 1]); in context_to_string() 124 strlen(policydb->p_user_val_to_name[context->user - 1]) + 1 + in context_to_string() 125 strlen(policydb->p_role_val_to_name[context->role - 1]) + 1 + in context_to_string() 126 strlen(policydb->p_type_val_to_name[context->type - 1]); in context_to_string()
|
/third_party/selinux/libselinux/src/ |
H A D | get_context_list.c | 139 size_t user_len = strlen(user); in get_context_user() 226 if (SIZE_MAX - user_len < strlen(start) + 2) { in get_context_user() 232 usercon_len = user_len + strlen(start) + 2; in get_context_user() 318 plen = strlen(ptr); in get_failsafe_context() 322 nlen = strlen(user) + 1 + plen + 1; in get_failsafe_context() 430 fname_len = strlen(user_contexts_path) + strlen(user) + 2; in get_ordered_context_list()
|
/third_party/curl/packages/OS400/ |
H A D | os400sys.c | 240 i = strlen(s) + 1; in set_thread_string() 283 nodenamelen - 1, strlen(enodename)); in Curl_getnameinfo_a() 289 servnamelen - 1, strlen(eservname)); in Curl_getnameinfo_a() 313 i = strlen(nodename); in Curl_getaddrinfo_a() 324 i = strlen(servname); in Curl_getaddrinfo_a() 526 i = strlen(host); in Curl_ldap_init_a() 550 i = strlen(dn); in Curl_ldap_simple_bind_s_a() 561 i = strlen(passwd); in Curl_ldap_simple_bind_s_a() 596 i = strlen(base); in Curl_ldap_search_s_a() 608 i = strlen(filte in Curl_ldap_search_s_a() [all...] |
/third_party/libexif/libexif/olympus/ |
H A D | mnote-olympus-entry.c | 545 strncat (v, buf, maxlen - strlen (v)); in mnote_olympus_entry_get_value() 565 strncat (v, buf, maxlen - strlen (v)); in mnote_olympus_entry_get_value() 610 strncat (v, buf, maxlen - strlen (v)); in mnote_olympus_entry_get_value() 614 strncat (v, _("Left to right"), maxlen - strlen (v)); in mnote_olympus_entry_get_value() 617 strncat (v, _("Right to left"), maxlen - strlen (v)); in mnote_olympus_entry_get_value() 620 strncat (v, _("Bottom to top"), maxlen - strlen (v)); in mnote_olympus_entry_get_value() 623 strncat (v, _("Top to bottom"), maxlen - strlen (v)); in mnote_olympus_entry_get_value() 628 strncat (v, buf, maxlen - strlen (v)); in mnote_olympus_entry_get_value() 637 strncat (v, buf, maxlen - strlen (v)); in mnote_olympus_entry_get_value() 645 strncat (v, buf, maxlen - strlen ( in mnote_olympus_entry_get_value() [all...] |
/third_party/googletest/googletest/include/gtest/internal/ |
H A D | gtest-type-util.h | 63 if (s.compare(0, strlen(prefix), prefix) == 0) { in CanonicalizeForStdLibVersioning() 64 std::string::size_type end = s.find("::", strlen(prefix)); in CanonicalizeForStdLibVersioning() 67 s.erase(strlen("std"), end - strlen("std")); in CanonicalizeForStdLibVersioning()
|
/third_party/libuv/src/unix/ |
H A D | proctitle.c | 57 pt.len = strlen(argv[0]); in uv_setup_args() 63 size += strlen(argv[i]) + 1; in uv_setup_args() 79 size = strlen(argv[i]) + 1; in uv_setup_args() 105 len = strlen(title); in uv_set_process_title()
|
/third_party/jerryscript/tests/unit-core/ |
H A D | test-resource-name.cpp | 100 strlen (resource_1), in HWTEST_F() 102 strlen (source_1), in HWTEST_F() 131 strlen (resource_2), in HWTEST_F() 133 strlen (source_2), in HWTEST_F()
|
/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
H A D | memfd_create03.c | 55 ret = write(fd, test_str, strlen(test_str)); in test_write_protect() 60 fd, test_str, strlen(test_str)); in test_write_protect() 66 fd, test_str, strlen(test_str)); in test_write_protect() 72 fd, test_str, strlen(test_str)); in test_write_protect()
|