/kernel/liteos_a/testsuites/unittest/libc/time/clock/full/ |
H A D | clock_test_009.cpp | 46 struct timespec res, tp, oldtp; in ClockTest() local 51 ret = clock_getres(clk, &res); in ClockTest() 53 ICUNIT_ASSERT_EQUAL(res.tv_sec, CLOCK_RES_SEC, res.tv_sec); in ClockTest() 54 ICUNIT_ASSERT_EQUAL(res.tv_nsec, CLOCK_RES_NSEC, res.tv_nsec); in ClockTest() 61 tp.tv_sec = 5 * res.tv_sec; // 5, times the number of seconds. in ClockTest() 62 tp.tv_nsec = res.tv_nsec; in ClockTest()
|
/third_party/curl/tests/libtest/ |
H A D | lib1947.c | 39 CURLcode res = CURLE_OK; in test() local 52 res = curl_easy_perform(curl); in test() 53 if(res) { in test() 55 curl_easy_strerror(res)); in test() 72 res = curl_easy_perform(curl); in test() 73 if(res) { in test() 75 curl_easy_strerror(res)); in test() 91 return (int)res; in test()
|
H A D | lib1565.c | 49 int res = 0; in run_thread() local 85 test_failure = res; in run_thread() 97 int res = 0; in test() local 113 res = pthread_create(&tid, NULL, run_thread, NULL); in test() 114 if(!res) in test() 118 __FILE__, __LINE__, res); in test() 129 res = message->data.result; in test() 130 if(res) in test() 138 res = TEST_ERR_MAJOR_BAD; in test() 156 if(res) { in test() [all...] |
/third_party/curl/docs/examples/ |
H A D | ftpgetinfo.c | 47 CURLcode res; in main() local 66 res = curl_easy_perform(curl); in main() 68 if(CURLE_OK == res) { in main() 70 res = curl_easy_getinfo(curl, CURLINFO_FILETIME, &filetime); in main() 71 if((CURLE_OK == res) && (filetime >= 0)) { in main() 75 res = curl_easy_getinfo(curl, CURLINFO_CONTENT_LENGTH_DOWNLOAD_T, in main() 77 if((CURLE_OK == res) && (filesize>0)) in main() 83 fprintf(stderr, "curl told us %d\n", res); in main()
|
/third_party/jerryscript/targets/esp8266/user/ |
H A D | jerry_run.c | 38 jerry_value_t res = jerry_eval ((jerry_char_t *) source_p, in js_eval() local 41 if (jerry_value_is_error (res)) { in js_eval() 42 jerry_release_value (res); in js_eval() 46 jerry_release_value (res); in js_eval() 75 jerry_value_t res = jerry_call_function (sysloop_func, in js_loop() local 87 if (jerry_value_is_error (res)) { in js_loop() 88 jerry_release_value (res); in js_loop() 92 jerry_release_value (res); in js_loop()
|
/third_party/node/test/parallel/ |
H A D | test-async-hooks-execution-async-resource-await.js | 22 async function handler(req, res) { 26 res.setHeader('content-type', 'application/json'); 27 res.end(JSON.stringify({ state })); 30 const server = createServer(function(req, res) { 31 handler(req, res); 35 get(`http://localhost:${server.address().port}/${n}`, common.mustCall(function(res) { 36 res.setEncoding('utf8'); 39 res.on('data', function(chunk) { 43 res.on('end', common.mustCall(function() {
|
/third_party/node/test/pummel/ |
H A D | test-https-large-response.js | 40 const server = https.createServer(options, common.mustCall(function(req, res) { 42 res.writeHead(200, { 'content-type': 'text/plain' }); 43 res.end(body); 50 }, common.mustCall(function(res) { 55 res.on('data', function(d) { 58 res.pause(); 60 res.resume(); 64 res.on('end', common.mustCall(function(d) {
|
/third_party/musl/libc-test/src/functionalext/supplement/manual/network/ |
H A D | gethostbyname2_r.c | 29 struct hostent h, *res = NULL; in gethostbyname2_r_0100() local 34 int ret = gethostbyname2_r(name, AF_INET, &h, buf, sizeof(buf), &res, &err); in gethostbyname2_r_0100() 46 struct hostent h, *res = NULL; in gethostbyname2_r_0200() local 51 int ret = gethostbyname2_r(name, AF_INET6, &h, buf, sizeof(buf), &res, &err); in gethostbyname2_r_0200() 63 struct hostent h, *res = NULL; in gethostbyname2_r_0300() local 67 int ret = gethostbyname2_r(name, AF_INET, &h, buf, sizeof(buf), &res, &err); in gethostbyname2_r_0300() 78 struct hostent h, *res = NULL; in gethostbyname2_r_0400() local 82 int ret = gethostbyname2_r(name, 0, &h, buf, sizeof(buf), &res, &err); in gethostbyname2_r_0400()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/ |
H A D | wpas-dbus-new-getall.py | 37 res = if_obj.Get("fi.w1.wpa_supplicant1.Interface", 'BSSs', 39 if len(res) > 0: 40 bss_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0]) 44 print("GetAll(fi.w1.wpa_supplicant1.BSS, %s):" % (res[0])) 47 res = if_obj.Get("fi.w1.wpa_supplicant1.Interface", 'Networks', 49 if len(res) > 0: 50 net_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0]) 54 print("GetAll(fi.w1.wpa_supplicant1.Network, %s):" % (res[0]))
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/ |
H A D | wpas-dbus-new-getall.py | 37 res = if_obj.Get("fi.w1.wpa_supplicant1.Interface", 'BSSs', 39 if len(res) > 0: 40 bss_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0]) 44 print("GetAll(fi.w1.wpa_supplicant1.BSS, %s):" % (res[0])) 47 res = if_obj.Get("fi.w1.wpa_supplicant1.Interface", 'Networks', 49 if len(res) > 0: 50 net_obj = bus.get_object("fi.w1.wpa_supplicant1", res[0]) 54 print("GetAll(fi.w1.wpa_supplicant1.Network, %s):" % (res[0]))
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | nfs4proc.c | 710 struct nfs4_sequence_res *res, int cache_reply, in nfs4_init_sequence() 717 res->sr_slot = NULL; in nfs4_init_sequence() 720 static void nfs40_sequence_free_slot(struct nfs4_sequence_res *res) in nfs40_sequence_free_slot() argument 722 struct nfs4_slot *slot = res->sr_slot; in nfs40_sequence_free_slot() 731 res->sr_slot = NULL; in nfs40_sequence_free_slot() 735 struct nfs4_sequence_res *res) in nfs40_sequence_done() 737 if (res->sr_slot != NULL) in nfs40_sequence_done() 738 nfs40_sequence_free_slot(res); in nfs40_sequence_done() 783 static void nfs41_sequence_free_slot(struct nfs4_sequence_res *res) in nfs41_sequence_free_slot() argument 785 nfs41_release_slot(res in nfs41_sequence_free_slot() 709 nfs4_init_sequence(struct nfs4_sequence_args *args, struct nfs4_sequence_res *res, int cache_reply, int privileged) nfs4_init_sequence() argument 734 nfs40_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res) nfs40_sequence_done() argument 809 nfs41_sequence_process(struct rpc_task *task, struct nfs4_sequence_res *res) nfs41_sequence_process() argument 947 nfs41_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res) nfs41_sequence_done() argument 958 nfs4_sequence_process(struct rpc_task *task, struct nfs4_sequence_res *res) nfs4_sequence_process() argument 967 nfs4_sequence_free_slot(struct nfs4_sequence_res *res) nfs4_sequence_free_slot() argument 977 nfs4_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res) nfs4_sequence_done() argument 1011 nfs4_sequence_process(struct rpc_task *task, struct nfs4_sequence_res *res) nfs4_sequence_process() argument 1016 nfs4_sequence_free_slot(struct nfs4_sequence_res *res) nfs4_sequence_free_slot() argument 1022 nfs4_sequence_done(struct rpc_task *task, struct nfs4_sequence_res *res) nfs4_sequence_done() argument 1031 nfs41_sequence_res_init(struct nfs4_sequence_res *res) nfs41_sequence_res_init() argument 1039 nfs4_sequence_attach_slot(struct nfs4_sequence_args *args, struct nfs4_sequence_res *res, struct nfs4_slot *slot) nfs4_sequence_attach_slot() argument 1051 nfs4_setup_sequence(struct nfs_client *client, struct nfs4_sequence_args *args, struct nfs4_sequence_res *res, struct rpc_task *task) nfs4_setup_sequence() argument 1140 nfs4_do_call_sync(struct rpc_clnt *clnt, struct nfs_server *server, struct rpc_message *msg, struct nfs4_sequence_args *args, struct nfs4_sequence_res *res, unsigned short task_flags) nfs4_do_call_sync() argument 1164 nfs4_call_sync_sequence(struct rpc_clnt *clnt, struct nfs_server *server, struct rpc_message *msg, struct nfs4_sequence_args *args, struct nfs4_sequence_res *res) nfs4_call_sync_sequence() argument 1178 nfs4_call_sync(struct rpc_clnt *clnt, struct nfs_server *server, struct rpc_message *msg, struct nfs4_sequence_args *args, struct nfs4_sequence_res *res, int cache_reply) nfs4_call_sync() argument 1301 u32 res = 0; nfs4_map_atomic_open_share() local 3232 struct nfs4_state *res; nfs4_do_open() local 3295 _nfs4_do_setattr(struct inode *inode, struct nfs_setattrargs *arg, struct nfs_setattrres *res, const struct cred *cred, struct nfs_open_context *ctx) _nfs4_do_setattr() argument 3368 struct nfs_setattrres res = { nfs4_do_setattr() local 3521 struct nfs_closeres res; global() member 3524 struct nfs4_layoutreturn_res res; global() member 3844 struct nfs4_server_caps_res res = {}; _nfs4_server_capabilities() local 4080 struct nfs4_lookup_res res = { _nfs4_lookup_root() local 4304 struct nfs4_getattr_res res = { _nfs4_proc_getattr() local 4417 struct nfs4_lookup_res res = { _nfs4_proc_lookup() local 4539 struct nfs4_lookupp_res res = { _nfs4_proc_lookupp() local 4589 struct nfs4_accessres res = { _nfs4_proc_access() local 4663 struct nfs4_readlink_res res; _nfs4_proc_readlink() local 4729 struct nfs_removeres res = { _nfs4_proc_remove() local 4797 struct nfs_removeres *res = msg->rpc_resp; nfs4_proc_unlink_setup() local 4822 struct nfs_removeres *res = &data->res; nfs4_proc_unlink_done() local 4841 struct nfs_renameres *res = msg->rpc_resp; nfs4_proc_rename_setup() local 4866 struct nfs_renameres *res = &data->res; nfs4_proc_rename_done() local 4903 struct nfs4_link_res res = { _nfs4_proc_link() local 4952 struct nfs4_create_res res; global() member 5119 struct nfs4_readdir_res res; _nfs4_proc_readdir() local 5150 nfs4_proc_readdir(struct nfs_readdir_arg *arg, struct nfs_readdir_res *res) nfs4_proc_readdir() argument 5234 struct nfs4_statfs_res res = { _nfs4_proc_statfs() local 5268 struct nfs4_fsinfo_res res = { _nfs4_do_fsinfo() local 5321 struct nfs4_pathconf_res res = { _nfs4_proc_pathconf() local 5672 _nfs4_proc_commit(struct file *dst, struct nfs_commitargs *args, struct nfs_commitres *res) _nfs4_proc_commit() argument 5688 nfs4_proc_commit(struct file *dst, __u64 offset, __u32 count, struct nfs_commitres *res) nfs4_proc_commit() argument 5940 struct nfs_getaclres res = { __nfs4_get_acl_uncached() local 6060 struct nfs_setaclres res; __nfs4_proc_set_acl() local 6140 struct nfs4_getattr_res res = { _nfs4_get_security_label() local 6196 struct nfs_setattrres res = { _nfs4_do_set_security_label() local 6428 nfs4_proc_setclientid(struct nfs_client *clp, u32 program, unsigned short port, const struct cred *cred, struct nfs4_setclientid_res *res) nfs4_proc_setclientid() argument 6524 struct nfs4_delegreturnres res; global() member 6530 struct nfs4_layoutreturn_res res; global() member 6755 struct nfs_lockt_res res = { _nfs4_proc_getlk() local 6842 struct nfs_locku_res res; global() member 7064 struct nfs_lock_res res; global() member 7631 struct nfs_release_lockowner_res res; global() member 7989 struct nfs4_fs_locations_res res = { _nfs4_proc_fs_locations() local 8062 struct nfs4_fs_locations_res res = { _nfs40_proc_get_locations() local 8117 struct nfs4_fs_locations_res res = { _nfs41_proc_get_locations() local 8219 struct nfs4_fsid_present_res res = { _nfs40_proc_fsid_present() local 8262 struct nfs4_fsid_present_res res = { _nfs41_proc_fsid_present() local 8344 struct nfs4_secinfo_res res = { _nfs4_proc_secinfo() local 8451 struct nfs41_bind_conn_to_session_res *res = task->tk_msg.rpc_resp; nfs4_bind_one_conn_to_session_done() local 8491 struct nfs41_bind_conn_to_session_res res; nfs4_proc_bind_one_conn_to_session() local 8699 struct nfs41_exchange_id_res res; global() member 9031 struct nfs4_get_lease_time_res *res; global() member 9080 struct nfs4_get_lease_time_res res = { nfs4_proc_get_lease_time() local 9155 nfs4_verify_fore_channel_attrs(struct nfs41_create_session_args *args, struct nfs41_create_session_res *res) nfs4_verify_fore_channel_attrs() argument 9178 nfs4_verify_back_channel_attrs(struct nfs41_create_session_args *args, struct nfs41_create_session_res *res) nfs4_verify_back_channel_attrs() argument 9200 nfs4_verify_channel_attrs(struct nfs41_create_session_args *args, struct nfs41_create_session_res *res) nfs4_verify_channel_attrs() argument 9211 nfs4_update_session(struct nfs4_session *session, struct nfs41_create_session_res *res) nfs4_update_session() argument 9235 struct nfs41_create_session_res res; _nfs4_proc_create_session() local 9347 struct nfs4_sequence_res res; global() member 9400 struct nfs4_sequence_res *res; nfs41_sequence_prepare() local 9496 struct nfs41_reclaim_complete_res res; global() member 9540 struct nfs4_sequence_res *res = &calldata->res.seq_res; nfs4_reclaim_complete_done() local 9920 struct nfs4_getdeviceinfo_res res = { _nfs4_proc_getdeviceinfo() local 10072 struct nfs4_secinfo_res res = { _nfs41_proc_secinfo_no_name() local 10227 struct nfs41_test_stateid_res res; _nfs41_test_stateid() local 10298 struct nfs41_free_stateid_res res; global() member [all...] |
/kernel/linux/linux-5.10/drivers/firmware/google/ |
H A D | framebuffer-coreboot.c | 31 struct resource res; in framebuffer_probe() local 52 memset(&res, 0, sizeof(res)); in framebuffer_probe() 53 res.flags = IORESOURCE_MEM | IORESOURCE_BUSY; in framebuffer_probe() 54 res.name = "Coreboot Framebuffer"; in framebuffer_probe() 55 res.start = fb->physical_address; in framebuffer_probe() 57 res.end = res.start + length - 1; in framebuffer_probe() 58 if (res.end <= res in framebuffer_probe() [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | sysfb_simplefb.c | 64 struct resource res; in create_simplefb() local 100 memset(&res, 0, sizeof(res)); in create_simplefb() 101 res.flags = IORESOURCE_MEM | IORESOURCE_BUSY; in create_simplefb() 102 res.name = simplefb_resname; in create_simplefb() 103 res.start = base; in create_simplefb() 104 res.end = res.start + length - 1; in create_simplefb() 105 if (res.end <= res in create_simplefb() [all...] |
/kernel/linux/linux-5.10/fs/hfsplus/ |
H A D | part_tbl.c | 97 int res; in hfs_parse_new_pmap() local 113 res = hfsplus_submit_bio(sb, in hfs_parse_new_pmap() 117 if (res) in hfs_parse_new_pmap() 118 return res; in hfs_parse_new_pmap() 133 int res; in hfs_part_find() local 139 res = hfsplus_submit_bio(sb, *part_start + HFS_PMAP_BLK, in hfs_part_find() 141 if (res) in hfs_part_find() 146 res = hfs_parse_old_pmap(sb, data, part_start, part_size); in hfs_part_find() 149 res = hfs_parse_new_pmap(sb, buf, data, part_start, part_size); in hfs_part_find() 152 res in hfs_part_find() [all...] |
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | rom.c | 26 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_enable_rom() local 30 if (!res->flags) in pci_enable_rom() 34 if (res->flags & IORESOURCE_ROM_SHADOW) in pci_enable_rom() 42 pcibios_resource_to_bus(pdev->bus, ®ion, res); in pci_enable_rom() 60 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_disable_rom() local 63 if (res->flags & IORESOURCE_ROM_SHADOW) in pci_disable_rom() 138 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_map_rom() local 143 if (res->parent == NULL && pci_assign_resource(pdev, PCI_ROM_RESOURCE)) in pci_map_rom() 174 if (!(res->flags & IORESOURCE_ROM_ENABLE)) in pci_map_rom() 189 struct resource *res in pci_unmap_rom() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | a4000t.c | 37 struct resource *res; in amiga_a4000t_scsi_probe() local 42 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in amiga_a4000t_scsi_probe() 43 if (!res) in amiga_a4000t_scsi_probe() 46 if (!request_mem_region(res->start, resource_size(res), in amiga_a4000t_scsi_probe() 57 scsi_addr = res->start + A4000T_SCSI_OFFSET; in amiga_a4000t_scsi_probe() 94 release_mem_region(res->start, resource_size(res)); in amiga_a4000t_scsi_probe() 102 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in amiga_a4000t_scsi_remove() local 108 release_mem_region(res in amiga_a4000t_scsi_remove() [all...] |
/kernel/linux/linux-6.6/fs/hfsplus/ |
H A D | part_tbl.c | 97 int res; in hfs_parse_new_pmap() local 113 res = hfsplus_submit_bio(sb, in hfs_parse_new_pmap() 116 if (res) in hfs_parse_new_pmap() 117 return res; in hfs_parse_new_pmap() 132 int res; in hfs_part_find() local 138 res = hfsplus_submit_bio(sb, *part_start + HFS_PMAP_BLK, in hfs_part_find() 140 if (res) in hfs_part_find() 145 res = hfs_parse_old_pmap(sb, data, part_start, part_size); in hfs_part_find() 148 res = hfs_parse_new_pmap(sb, buf, data, part_start, part_size); in hfs_part_find() 151 res in hfs_part_find() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | apple-gmux.h | 103 struct resource *res; in apple_gmux_detect() local 120 res = pnp_get_resource(pnp_dev, IORESOURCE_IO, 0); in apple_gmux_detect() 121 if (res && resource_size(res) >= GMUX_MIN_IO_LEN) { in apple_gmux_detect() 126 ver_major = inb(res->start + GMUX_PORT_VERSION_MAJOR); in apple_gmux_detect() 127 ver_minor = inb(res->start + GMUX_PORT_VERSION_MINOR); in apple_gmux_detect() 128 ver_release = inb(res->start + GMUX_PORT_VERSION_RELEASE); in apple_gmux_detect() 130 if (apple_gmux_is_indexed(res->start)) in apple_gmux_detect() 136 res = pnp_get_resource(pnp_dev, IORESOURCE_MEM, 0); in apple_gmux_detect() 137 if (res in apple_gmux_detect() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/ |
H A D | sysfb_simplefb.c | 97 struct resource res; in sysfb_create_simplefb() local 134 memset(&res, 0, sizeof(res)); in sysfb_create_simplefb() 135 res.flags = IORESOURCE_MEM; in sysfb_create_simplefb() 136 res.name = simplefb_resname; in sysfb_create_simplefb() 137 res.start = base; in sysfb_create_simplefb() 138 res.end = res.start + length - 1; in sysfb_create_simplefb() 139 if (res.end <= res in sysfb_create_simplefb() [all...] |
/kernel/linux/linux-6.6/drivers/firmware/google/ |
H A D | framebuffer-coreboot.c | 31 struct resource res; in framebuffer_probe() local 52 memset(&res, 0, sizeof(res)); in framebuffer_probe() 53 res.flags = IORESOURCE_MEM | IORESOURCE_BUSY; in framebuffer_probe() 54 res.name = "Coreboot Framebuffer"; in framebuffer_probe() 55 res.start = fb->physical_address; in framebuffer_probe() 57 res.end = res.start + length - 1; in framebuffer_probe() 58 if (res.end <= res in framebuffer_probe() [all...] |
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | rom.c | 26 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_enable_rom() local 30 if (!res->flags) in pci_enable_rom() 34 if (res->flags & IORESOURCE_ROM_SHADOW) in pci_enable_rom() 42 pcibios_resource_to_bus(pdev->bus, ®ion, res); in pci_enable_rom() 60 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_disable_rom() local 63 if (res->flags & IORESOURCE_ROM_SHADOW) in pci_disable_rom() 138 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_map_rom() local 143 if (res->parent == NULL && pci_assign_resource(pdev, PCI_ROM_RESOURCE)) in pci_map_rom() 174 if (!(res->flags & IORESOURCE_ROM_ENABLE)) in pci_map_rom() 189 struct resource *res in pci_unmap_rom() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | a4000t.c | 37 struct resource *res; in amiga_a4000t_scsi_probe() local 42 res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in amiga_a4000t_scsi_probe() 43 if (!res) in amiga_a4000t_scsi_probe() 46 if (!request_mem_region(res->start, resource_size(res), in amiga_a4000t_scsi_probe() 57 scsi_addr = res->start + A4000T_SCSI_OFFSET; in amiga_a4000t_scsi_probe() 94 release_mem_region(res->start, resource_size(res)); in amiga_a4000t_scsi_probe() 102 struct resource *res = platform_get_resource(pdev, IORESOURCE_MEM, 0); in amiga_a4000t_scsi_remove() local 108 release_mem_region(res in amiga_a4000t_scsi_remove() [all...] |
/third_party/jerryscript/tests/unit-ext/module/ |
H A D | jerry-module-test.c | 202 jerry_value_t res; in main() local 215 res = jerry_set_property (js_global, js_property_name, js_function); in main() 216 TEST_ASSERT (!jerry_value_is_error (res)); in main() 217 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res)); in main() 218 jerry_release_value (res); in main() 224 res = jerry_set_property (js_global, js_property_name, js_function); in main() 225 TEST_ASSERT (!jerry_value_is_error (res)); in main() 226 TEST_ASSERT (jerry_value_is_boolean (res) && jerry_get_boolean_value (res)); in main() [all...] |
/third_party/musl/libc-test/src/regression/ |
H A D | pthread_cancel-sem_wait.c | 53 void *res; in main() local 63 TESTR(r, pthread_join(td, &res), "joining canceled thread after uncontended sem_wait"); in main() 64 TESTC(res == PTHREAD_CANCELED, "canceled thread exit status after uncontended sem_wait"); in main() 73 TESTR(r, pthread_join(td, &res), "joining canceled thread after blocking sem_wait"); in main() 74 TESTC(res == PTHREAD_CANCELED, "canceled thread exit status after blocking sem_wait"); in main() 83 TESTR(r, pthread_join(td, &res), "joining canceled thread after uncontended sem_timedwait"); in main() 84 TESTC(res == PTHREAD_CANCELED, "canceled thread exit status after uncontended sem_timedwait"); in main() 93 TESTR(r, pthread_join(td, &res), "joining canceled thread after blocking sem_timedwait"); in main() 94 TESTC(res == PTHREAD_CANCELED, "canceled thread exit status after blocking sem_timedwait"); in main() 103 TESTR(r, pthread_join(td, &res), "joinin in main() [all...] |
/kernel/linux/linux-5.10/drivers/md/bcache/ |
H A D | util.h | 290 int bch_strtoint_h(const char *cp, int *res); 291 int bch_strtouint_h(const char *cp, unsigned int *res); 292 int bch_strtoll_h(const char *cp, long long *res); 293 int bch_strtoull_h(const char *cp, unsigned long long *res); 295 static inline int bch_strtol_h(const char *cp, long *res) in bch_strtol_h() argument 298 return bch_strtoint_h(cp, (int *) res); in bch_strtol_h() 300 return bch_strtoll_h(cp, (long long *) res); in bch_strtol_h() 304 static inline int bch_strtoul_h(const char *cp, long *res) in bch_strtoul_h() argument 307 return bch_strtouint_h(cp, (unsigned int *) res); in bch_strtoul_h() 309 return bch_strtoull_h(cp, (unsigned long long *) res); in bch_strtoul_h() [all...] |