Home
last modified time | relevance | path

Searched refs:SUCCESS (Results 1 – 25 of 203) sorted by relevance

123456789

/third_party/musl/libc-test/src/functionalext/supplement/network/
Daccept4.c29 const int SUCCESS = 0; variable
264 EXPECT_EQ("accept4_0100", SUCCESS, ret); in accept4_0100()
266 EXPECT_EQ("accept4_0100", SUCCESS, ret); in accept4_0100()
268 EXPECT_EQ("accept4_0100", SUCCESS, ret); in accept4_0100()
270 EXPECT_EQ("accept4_0100", SUCCESS, ret); in accept4_0100()
272 EXPECT_EQ("accept4_0100", SUCCESS, ret); in accept4_0100()
274 EXPECT_EQ("accept4_0100", SUCCESS, ret); in accept4_0100()
287 EXPECT_EQ("accept4_0200", SUCCESS, ret); in accept4_0200()
289 EXPECT_EQ("accept4_0200", SUCCESS, ret); in accept4_0200()
291 EXPECT_EQ("accept4_0200", SUCCESS, ret); in accept4_0200()
[all …]
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
Drmdir.c20 const int SUCCESS = 0; variable
33 EXPECT_EQ("rmdir_0100", ret, SUCCESS); in rmdir_0100()
35 EXPECT_EQ("rmdir_0100", rm, SUCCESS); in rmdir_0100()
39 EXPECT_EQ("rmdir_0100", ret, SUCCESS); in rmdir_0100()
41 EXPECT_EQ("rmdir_0100", rm, SUCCESS); in rmdir_0100()
59 EXPECT_EQ("rmdir_0200", rm, SUCCESS); in rmdir_0200()
Daccess.c22 const int SUCCESS = 0; variable
37 EXPECT_EQ("access_0100", isExist, SUCCESS); in access_0100()
58 EXPECT_EQ("access_0200", isExist, SUCCESS); in access_0200()
105 EXPECT_EQ("access_0500", isRead, SUCCESS); in access_0500()
124 EXPECT_EQ("access_0600", isWrite, SUCCESS); in access_0600()
144 EXPECT_EQ("access_0700", isExecute, SUCCESS); in access_0700()
Dfaccessat.c23 const int SUCCESS = 0; variable
38 EXPECT_EQ("faccessat_0100", isExist, SUCCESS); in faccessat_0100()
71 EXPECT_EQ("faccessat_0300", isRead, SUCCESS); in faccessat_0300()
88 EXPECT_EQ("faccessat_0400", isWrite, SUCCESS); in faccessat_0400()
108 EXPECT_EQ("faccessat_0500", isExecute, SUCCESS); in faccessat_0500()
142 EXPECT_EQ("faccessat_0700", isExecute, SUCCESS); in faccessat_0700()
195 EXPECT_EQ("faccessat_1000", isExecute, SUCCESS); in faccessat_1000()
Dftruncate.c20 const int SUCCESS = 0; variable
38 EXPECT_EQ("ftruncate_0100", freturn, SUCCESS); in ftruncate_0100()
60 EXPECT_EQ("ftruncate_0200", freturn, SUCCESS); in ftruncate_0200()
81 EXPECT_EQ("ftruncate_0300", freturn, SUCCESS); in ftruncate_0300()
/third_party/jsframework/runtime/main/extend/systemplugin/napi/
Dohos_userIAM_userAuth.js20 const SUCCESS = 0
48 args[len - 1].call(this, SUCCESS);
51 resolve(SUCCESS);
70 return SUCCESS;
86 return SUCCESS;
137 SUCCESS : 0, property
150 SUCCESS : 0, property
222 SUCCESS : 12500000, property
/third_party/musl/libc-test/src/functionalext/supplement/mman/
Dmmap.c24 const int SUCCESS = 0; variable
53 EXPECT_EQ("mmap_0100", back, SUCCESS); in mmap_0100()
57 EXPECT_EQ("mmap_0100", mm, SUCCESS); in mmap_0100()
91 EXPECT_EQ("mmap_0200", back, SUCCESS); in mmap_0200()
95 EXPECT_EQ("mmap_0200", mm, SUCCESS); in mmap_0200()
116 EXPECT_EQ("mmap_0300", mm, SUCCESS); in mmap_0300()
145 EXPECT_EQ("mmap_0400", back, SUCCESS); in mmap_0400()
148 EXPECT_EQ("mmap_0400", mm, SUCCESS); in mmap_0400()
183 EXPECT_EQ("mmap_0500", back, SUCCESS); in mmap_0500()
186 EXPECT_EQ("mmap_0500", mm, SUCCESS); in mmap_0500()
[all …]
Dmprotect.c20 const int SUCCESS = 0; variable
33 EXPECT_EQ("mprotect_0100", ret, SUCCESS); in mprotect_0100()
46 EXPECT_EQ("mprotect_0200", ret, SUCCESS); in mprotect_0200()
59 EXPECT_EQ("mprotect_0300", ret, SUCCESS); in mprotect_0300()
72 EXPECT_EQ("mprotect_0400", ret, SUCCESS); in mprotect_0400()
85 EXPECT_EQ("mprotect_0500", ret, SUCCESS); in mprotect_0500()
/third_party/musl/libc-test/src/functionalext/supplement/time/
Dclock_nanosleep.c20 const int SUCCESS = 0; variable
36 EXPECT_EQ("clock_nanosleep_0100", ret, SUCCESS); in clock_nanosleep_0100()
51 EXPECT_EQ("clock_nanosleep_0200", ret, SUCCESS); in clock_nanosleep_0200()
66 EXPECT_EQ("clock_nanosleep_0300", ret, SUCCESS); in clock_nanosleep_0300()
81 EXPECT_EQ("clock_nanosleep_0400", ret, SUCCESS); in clock_nanosleep_0400()
97 EXPECT_EQ("clock_nanosleep_0500", ret, SUCCESS); in clock_nanosleep_0500()
128 EXPECT_EQ("clock_nanosleep_time64_0100", ret, SUCCESS); in clock_nanosleep_time64_0100()
Dgettimeofday.c22 const int SUCCESS = 0; variable
41 EXPECT_EQ("gettimeofday_0100", returnflag, SUCCESS); in gettimeofday_0100()
54 EXPECT_EQ("gettimeofday_0200", returnflag, SUCCESS); in gettimeofday_0200()
72 EXPECT_EQ("gettimeofday_time64_0100", returnflag, SUCCESS); in gettimeofday_time64_0100()
/third_party/jsframework/runtime/main/extend/systemplugin/ohos/
DuserIAMuserAuth.js19 SUCCESS: 0, property
64 SUCCESS: 0, property
79 return Result.SUCCESS;
101 if (checkAuthParam(authType, secureLevel) != Result.SUCCESS) {
108 "tipCode": AuthenticationResult.SUCCESS,
117 return handleCallback(callback, AuthenticationResult.SUCCESS);
124 if (result != Result.SUCCESS) {
137 return Result.SUCCESS;
/third_party/node/deps/v8/src/json/
Djson-stringifier.cc34 enum Result { UNCHANGED, SUCCESS, EXCEPTION }; enumerator
234 if (result == SUCCESS) return builder_.Finish(); in Stringify()
402 return SUCCESS; in StackPush()
565 return SUCCESS; in Serialize_()
569 return SUCCESS; in Serialize_()
573 return SUCCESS; in Serialize_()
590 return SUCCESS; in Serialize_()
634 return SUCCESS; in SerializeJSPrimitiveWrapper()
642 return SUCCESS; in SerializeSmi()
648 return SUCCESS; in SerializeDouble()
[all …]
/third_party/ltp/testcases/kernel/fs/fs-bench/
Drandom-access.c12 #define SUCCESS 1 macro
60 printf("Success:\t%d\nFail:\t%d\n", openlog[SUCCESS], openlog[FAIL]); in main()
76 openlog[SUCCESS]++; in open_read_close()
80 printf("Opened\t %d\nUnopend:\t%d\n", openlog[SUCCESS], in open_read_close()
87 printf("Opened\t %d\nUnopend:\t%d\n", openlog[SUCCESS], in open_read_close()
/third_party/musl/libc-test/src/functionalext/supplement/thread/
Dpthread_attr_init.c19 const int SUCCESS = 0; variable
37 EXPECT_EQ("pthread_attr_init_0100", back, SUCCESS); in pthread_attr_init_0100()
53 EXPECT_EQ("pthread_attr_init_0200", back, SUCCESS); in pthread_attr_init_0200()
54 EXPECT_EQ("pthread_attr_init_0200", result, SUCCESS); in pthread_attr_init_0200()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_vendor_test.c20 enum { INIT, CONFIRM, SUCCESS, FAILURE } state; enumerator
31 case SUCCESS: in eap_vendor_test_state_txt()
125 eap_vendor_test_state(data, SUCCESS); in eap_vendor_test_process()
136 return data->state == SUCCESS; in eap_vendor_test_isDone()
146 if (data->state != SUCCESS) in eap_vendor_test_getKey()
164 return data->state == SUCCESS; in eap_vendor_test_isSuccess()
Deap_server_tls.c22 enum { START, CONTINUE, SUCCESS, FAILURE } state; enumerator
36 case SUCCESS: in eap_tls_state_txt()
206 eap_tls_state(data, SUCCESS); in eap_tls_buildReq()
259 if (data->state == SUCCESS && wpabuf_len(data->ssl.tls_in) == 0) { in eap_tls_process_msg()
341 eap_tls_state(data, SUCCESS); in eap_tls_process()
351 return data->state == SUCCESS || data->state == FAILURE; in eap_tls_isDone()
364 if (data->state != SUCCESS) in eap_tls_getKey()
399 if (data->state != SUCCESS) in eap_tls_get_emsk()
436 return data->state == SUCCESS; in eap_tls_isSuccess()
444 if (data->state != SUCCESS) in eap_tls_get_session_id()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_vendor_test.c20 enum { INIT, CONFIRM, SUCCESS, FAILURE } state; enumerator
31 case SUCCESS: in eap_vendor_test_state_txt()
125 eap_vendor_test_state(data, SUCCESS); in eap_vendor_test_process()
136 return data->state == SUCCESS; in eap_vendor_test_isDone()
146 if (data->state != SUCCESS) in eap_vendor_test_getKey()
164 return data->state == SUCCESS; in eap_vendor_test_isSuccess()
Deap_server_tls.c22 enum { START, CONTINUE, SUCCESS, FAILURE } state; enumerator
36 case SUCCESS: in eap_tls_state_txt()
207 eap_tls_state(data, SUCCESS); in eap_tls_buildReq()
260 if (data->state == SUCCESS && wpabuf_len(data->ssl.tls_in) == 0) { in eap_tls_process_msg()
309 eap_tls_state(data, SUCCESS); in eap_tls_process()
319 return data->state == SUCCESS || data->state == FAILURE; in eap_tls_isDone()
332 if (data->state != SUCCESS) in eap_tls_getKey()
367 if (data->state != SUCCESS) in eap_tls_get_emsk()
404 return data->state == SUCCESS; in eap_tls_isSuccess()
412 if (data->state != SUCCESS) in eap_tls_get_session_id()
/third_party/musl/libc-test/src/functionalext/supplement/stat/
Dmkdir.c20 const int SUCCESS = 0; variable
33 EXPECT_EQ("mkdir_0100", ret, SUCCESS); in mkdir_0100()
38 EXPECT_EQ("mkdir_0100", ret, SUCCESS); in mkdir_0100()
58 EXPECT_EQ("mkdir_0200", retcreate, SUCCESS); in mkdir_0200()
Dfstatat.c22 const int SUCCESS = 0; variable
40 EXPECT_EQ("fstatat_0100", ret, SUCCESS); in fstatat_0100()
67 EXPECT_EQ("fstatat_0200", ret, SUCCESS); in fstatat_0200()
96 EXPECT_EQ("fstatat_0300", ret, SUCCESS); in fstatat_0300()
119 EXPECT_EQ("fstatat_0100", ret, SUCCESS); in fstatat_time64_0100()
/third_party/musl/libc-test/src/functionalext/supplement/stdio/
Dfsetpos.c19 const int SUCCESS = 0; variable
41 EXPECT_EQ("fsetpos_0100", result, SUCCESS); in fsetpos_0100()
66 EXPECT_EQ("fsetpos_0200", data, SUCCESS); in fsetpos_0200()
92 EXPECT_EQ("fsetpos_0300", data, SUCCESS); in fsetpos_0300()
118 EXPECT_NE("fsetpos_0400", data, SUCCESS); in fsetpos_0400()
/third_party/protobuf/php/ext/google/protobuf/
Dprotobuf.c173 return SUCCESS; in PHP_RINIT_FUNCTION()
193 return SUCCESS; in PHP_RSHUTDOWN_FUNCTION()
208 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s", &name, &size) != SUCCESS) { in PHP_FUNCTION()
237 PBPHP_ASSERT(ret == SUCCESS); in ObjCache_Delete()
330 return SUCCESS; in PHP_INI_END()
334 return SUCCESS; in PHP_MSHUTDOWN_FUNCTION()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Dfallocate.c20 const int SUCCESS = 0; variable
37 EXPECT_EQ("fallocate_0100", ret, SUCCESS); in fallocate_0100()
56 EXPECT_EQ("fallocate_0200", ret, SUCCESS); in fallocate_0200()
76 EXPECT_EQ("fallocate_0300", ret, SUCCESS); in fallocate_0300()
/third_party/musl/libc-test/src/functionalext/supplement/legacy/
Dfutimes.c23 const int SUCCESS = 0; variable
43 EXPECT_EQ("futimes_0100", ret, SUCCESS); in futimes_0100()
57 EXPECT_EQ("futimes_0200", ret, SUCCESS); in futimes_0200()
91 EXPECT_EQ("futimes_time64_0100", ret, SUCCESS); in futimes_time64_0100()
/third_party/python/Modules/_sha3/kcp/
DKeccakHash.c28 if (result != SUCCESS) in Keccak_HashInitialize()
32 return SUCCESS; in Keccak_HashInitialize()
43 if (ret == SUCCESS) { in Keccak_HashUpdate()
69 if (ret == SUCCESS) in Keccak_HashFinal()

123456789