/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_net_container_012.cpp | 63 int value = atoi(array[1] + strlen("limit: ")); in ItNetContainer012() 66 int usedCount = atoi(array[2] + strlen("count: ")); in ItNetContainer012() 103 value = atoi(array[1] + strlen("limit: ")); in ItNetContainer012()
|
H A D | It_net_container_011.cpp | 59 int value = atoi(array[1] + strlen("limit: ")); in ItNetContainer011() 62 int usedCount = atoi(array[2] + strlen("count: ")); in ItNetContainer011() 98 value = atoi(array[1] + strlen("limit: ")); in ItNetContainer011()
|
H A D | It_pid_container_033.cpp | 65 int value = atoi(array[1] + strlen("limit: ")); in ItPidContainer033() 68 int usedCount = atoi(array[2] + strlen("count: ")); in ItPidContainer033() 105 value = atoi(array[1] + strlen("limit: ")); in ItPidContainer033()
|
H A D | It_pid_container_032.cpp | 61 int value = atoi(array[1] + strlen("limit: ")); in ItPidContainer032() 64 int usedCount = atoi(array[2] + strlen("count: ")); in ItPidContainer032() 100 value = atoi(array[1] + strlen("limit: ")); in ItPidContainer032()
|
H A D | It_time_container_006.cpp | 69 int value = atoi(array[1] + strlen("limit: ")); in ItTimeContainer006() 72 int usedCount = atoi(array[2] + strlen("count: ")); in ItTimeContainer006() 109 value = atoi(array[1] + strlen("limit: ")); in ItTimeContainer006()
|
H A D | It_user_container_007.cpp | 63 int value = atoi(array[1] + strlen("limit: ")); in ItUserContainer007() 66 int usedCount = atoi(array[2] + strlen("count: ")); in ItUserContainer007() 103 value = atoi(array[1] + strlen("limit: ")); in ItUserContainer007()
|
H A D | It_user_container_006.cpp | 59 int value = atoi(array[1] + strlen("limit: ")); in ItUserContainer006() 62 int usedCount = atoi(array[2] + strlen("count: ")); in ItUserContainer006() 98 value = atoi(array[1] + strlen("limit: ")); in ItUserContainer006()
|
H A D | It_uts_container_008.cpp | 63 int value = atoi(array[1] + strlen("limit: ")); in ItUtsContainer008() 66 int usedCount = atoi(array[2] + strlen("count: ")); in ItUtsContainer008() 103 value = atoi(array[1] + strlen("limit: ")); in ItUtsContainer008()
|
H A D | It_uts_container_007.cpp | 59 int value = atoi(array[1] + strlen("limit: ")); in ItUtsContainer007() 62 int usedCount = atoi(array[2] + strlen("count: ")); in ItUtsContainer007() 98 value = atoi(array[1] + strlen("limit: ")); in ItUtsContainer007()
|
/kernel/liteos_a/testsuites/unittest/libc/posix/mqueue/full/ |
H A D | It_posix_queue_043.cpp | 51 ret = mq_send(mqueue, msgptr, strlen(msgptr), MQ_PRIO_MAX - 1); in Testcase() 55 ICUNIT_GOTO_EQUAL(ret, strlen(msgptr), ret, EXIT1); in Testcase() 58 ret = strncmp(msgptr, msgrcd, strlen(msgptr)); in Testcase()
|
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()
|