/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/ |
H A D | It_posix_queue_176.cpp | 55 ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 1, &ts); in Testcase() 60 ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 1, &ts); in Testcase() 65 ret = mq_timedsend(mqueue, msgptr, strlen(msgptr), MQUEUE_PRIORITY_TEST + 2, &ts); // 2, Mqueue priority. in Testcase()
|
/test/xts/acts/ai_lite/ai_engine_posix/base/src/utils/ |
H A D | aie_client_common.cpp | 55 int len = strlen(str) + 1;
in GetClientInfo() 75 int extendLen = strlen(str) + 1;
in GetSyncAlgorithmInfo() 105 int length = strlen(str) + 1;
in GetDataInfo()
|
/test/xts/device_attest/services/core/attest/ |
H A D | attest_service_active.c | 43 if (strlen(authResult->ticket) == 0 || strlen(authResult->tokenValue) == 0 || strlen(authResult->tokenId) == 0) { in GenActiveMsg()
|
/test/xts/device_attest_lite/services/core/attest/ |
H A D | attest_service_active.c | 43 if (strlen(authResult->ticket) == 0 || strlen(authResult->tokenValue) == 0 || strlen(authResult->tokenId) == 0) { in GenActiveMsg()
|
/test/xts/hats/kernel/syscalls/fileio/setdomainname/ |
H A D | SetDomainNameApiTest.cpp | 53 (void)setdomainname(domainName, strlen(domainName)); in TearDown() 73 int ret = setdomainname(TEST_DOMAIN_NAME, strlen(TEST_DOMAIN_NAME)); in HWTEST_F() 107 int ret = setdomainname(nullptr, strlen(TEST_DOMAIN_NAME)); in HWTEST_F()
|
/third_party/curl/tests/libtest/ |
H A D | lib668.c | 38 size_t len = strlen(pooh->readptr); in read_callback() 82 pooh1.sizeleft = (curl_off_t) strlen(data); in test() 90 curl_mime_data_cb(part, (curl_off_t) strlen(data), in test()
|
H A D | lib547.c | 50 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 D | lib1591.c | 41 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 D | base64.c | 67 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 D | tool_xattr.c | 97 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 D | os390-proctitle.c | 51 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 D | common.h | 49 if (basepath[strlen(basepath) - 1] == '/' \ 55 pathlen = strlen(fullpath); \ 71 start = strlen(basepath); \
|
/third_party/ltp/lib/ |
H A D | tst_resource.c | 86 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 D | msync02.c | 98 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 D | smack_set_socket_labels.c | 86 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 D | ftell.c | 36 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 D | fwrite.c | 34 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 D | o_fopen.c | 42 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 D | os390-proctitle.c | 51 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 D | pcre2_config.c | 159 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 D | o_fopen.c | 42 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 D | digest_auth_example.c | 52 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 D | util.c | 71 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 D | pdf_never_embed.cpp | 27 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()
|
/third_party/protobuf/php/src/Google/Protobuf/Internal/ |
H A D | Message.php | 1449 $output->writeRaw($this->unknown, strlen($this->unknown)); 1466 $output->writeRaw($this->getTypeUrl(), strlen($this->getTypeUrl())); 1489 $output->writeRaw($field_mask, strlen($field_mask)); 1494 $output->writeRaw($duration, strlen($duration)); 1499 $output->writeRaw($timestamp, strlen($timestamp)); 1652 $size += strlen($value); 1682 $size += strlen(strval($value)); 1689 $size += strlen(strval($value)); 1701 $size += strlen(strval($value)); 1705 $size += strlen("Na [all...] |