/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_destroy/ |
D | 2-1.c | 27 pthread_attr_t new_attr; in main() local 30 if (pthread_attr_init(&new_attr) != 0) { in main() 36 if (pthread_attr_destroy(&new_attr) != 0) { in main() 42 if (pthread_attr_init(&new_attr) != 0) { in main()
|
D | 1-1.c | 37 pthread_attr_t new_attr; in main() local 41 if (pthread_attr_init(&new_attr) != 0) { in main() 47 if (pthread_attr_destroy(&new_attr) != 0) { in main() 54 ret = pthread_create(&new_th, &new_attr, a_thread_func, NULL); in main()
|
D | 3-1.c | 24 pthread_attr_t new_attr; in main() local 27 if (pthread_attr_init(&new_attr) != 0) { in main() 33 if (pthread_attr_destroy(&new_attr) != 0) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getdetachstate/ |
D | 1-2.c | 29 pthread_attr_t new_attr; in main() local 33 if (pthread_attr_init(&new_attr) != 0) { in main() 39 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_DETACHED) != in main() 47 if (pthread_attr_getdetachstate(&new_attr, &detach_state) != 0) { in main()
|
D | 1-1.c | 25 pthread_attr_t new_attr; in main() local 29 if (pthread_attr_init(&new_attr) != 0) { in main() 36 if (pthread_attr_getdetachstate(&new_attr, &detach_state) != 0) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setdetachstate/ |
D | 1-1.c | 36 pthread_attr_t new_attr; in main() local 40 if (pthread_attr_init(&new_attr) != 0) { in main() 46 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_JOINABLE) != in main() 53 if (pthread_attr_getdetachstate(&new_attr, &detach_state) != 0) { in main()
|
D | 1-2.c | 36 pthread_attr_t new_attr; in main() local 40 if (pthread_attr_init(&new_attr) != 0) { in main() 46 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_DETACHED) != in main() 53 if (pthread_attr_getdetachstate(&new_attr, &detach_state) != 0) { in main()
|
D | 2-1.c | 38 pthread_attr_t new_attr; in main() local 42 if (pthread_attr_init(&new_attr) != 0) { in main() 48 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_DETACHED) != in main() 55 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { in main()
|
D | 4-1.c | 26 pthread_attr_t new_attr; in main() local 30 if (pthread_attr_init(&new_attr) != 0) { in main() 37 ret_val = pthread_attr_setdetachstate(&new_attr, invalid_val); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_detach/ |
D | 4-1.c | 46 pthread_attr_t new_attr; in main() local 51 if (pthread_attr_init(&new_attr) != 0) { in main() 57 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_DETACHED) != in main() 64 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { in main()
|
D | 3-1.c | 41 pthread_attr_t new_attr; in main() local 46 if (pthread_attr_init(&new_attr) != 0) { in main() 52 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_JOINABLE) != in main() 59 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { in main()
|
D | 2-1.c | 41 pthread_attr_t new_attr; in main() local 46 if (pthread_attr_init(&new_attr) != 0) { in main() 52 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_JOINABLE) != in main() 59 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { in main()
|
D | 1-1.c | 42 pthread_attr_t new_attr; in main() local 47 if (pthread_attr_init(&new_attr) != 0) { in main() 53 if (pthread_attr_setdetachstate(&new_attr, PTHREAD_CREATE_JOINABLE) != in main() 60 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { in main()
|
/third_party/python/Lib/lib2to3/fixes/ |
D | fix_renames.py | 24 for old_attr, new_attr in list(replace.items()): 25 LOOKUP[(module, old_attr)] = new_attr 69 new_attr = LOOKUP[(mod_name.value, attr_name.value)] 70 attr_name.replace(Name(new_attr, prefix=attr_name.prefix))
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_init/ |
D | 1-1.c | 29 pthread_attr_t new_attr; in main() local 33 if (pthread_attr_init(&new_attr) != 0) { in main() 41 if (pthread_attr_getdetachstate(&new_attr, &detach_state) != 0) { in main()
|
D | 3-1.c | 35 pthread_attr_t new_attr; in main() local 39 if (pthread_attr_init(&new_attr) != 0) { in main() 48 pthread_create(&new_threads[i], &new_attr, a_thread_func, in main()
|
D | 2-1.c | 56 pthread_attr_t new_attr; in main() local 61 if (pthread_attr_init(&new_attr) != 0) { in main() 67 if (pthread_create(&new_th, &new_attr, a_thread_func, NULL) != 0) { in main()
|
D | 4-1.c | 24 pthread_attr_t new_attr; in main() local 28 ret = pthread_attr_init(&new_attr); in main()
|
/third_party/rust/crates/nix/test/ |
D | test_mq.rs | 98 let new_attr = MqAttr::new(0, 20, MSG_SIZE * 2, 100); in test_mq_setattr() localVariable 99 let old_attr = mq_setattr(&mqd, &new_attr).unwrap(); in test_mq_setattr() 107 assert_ne!(new_attr_get, new_attr); in test_mq_setattr() 148 let new_attr = mq_getattr(&mqd); in test_mq_set_nonblocking() localVariable 150 assert_eq!(new_attr.unwrap().flags() & o_nonblock_bits, o_nonblock_bits); in test_mq_set_nonblocking() 152 let new_attr = mq_getattr(&mqd); in test_mq_set_nonblocking() localVariable 153 assert_eq!(new_attr.unwrap().flags() & o_nonblock_bits, 0); in test_mq_set_nonblocking()
|
/third_party/python/Lib/test/ |
D | ann_module2.py | 16 f().new_attr: object = object() 23 c.new_attr: int = 10
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
D | x509_att.c | 77 X509_ATTRIBUTE *new_attr = NULL; in STACK_OF() local 97 if ((new_attr = X509_ATTRIBUTE_dup(attr)) == NULL) in STACK_OF() 99 if (!sk_X509_ATTRIBUTE_push(sk, new_attr)) in STACK_OF() 107 X509_ATTRIBUTE_free(new_attr); in STACK_OF()
|
/third_party/openssl/crypto/x509/ |
D | x509_att.c | 77 X509_ATTRIBUTE *new_attr = NULL; in STACK_OF() local 92 if ((new_attr = X509_ATTRIBUTE_dup(attr)) == NULL) in STACK_OF() 94 if (!sk_X509_ATTRIBUTE_push(sk, new_attr)) in STACK_OF() 102 X509_ATTRIBUTE_free(new_attr); in STACK_OF()
|
/third_party/protobuf/python/ |
D | stubout.py | 45 def SmartSet(self, obj, attr_name, new_attr): argument 97 setattr(orig_obj, attr_name, new_attr)
|
/third_party/python/Lib/test/test_importlib/ |
D | test_lazy.py | 100 module.new_attr = 42 101 self.assertEqual(42, module.new_attr)
|
/third_party/gstreamer/gstplugins_bad/ext/webrtc/ |
D | webrtcsdp.c | 442 GstSDPAttribute new_attr = { 0, }; in _media_replace_direction() local 444 gst_sdp_attribute_set (&new_attr, dir_str, ""); in _media_replace_direction() 445 gst_sdp_media_replace_attribute (media, i, &new_attr); in _media_replace_direction() 568 GstSDPAttribute new_attr = { 0, }; in _media_replace_setup() local 570 gst_sdp_attribute_set (&new_attr, "setup", setup_str); in _media_replace_setup() 571 gst_sdp_media_replace_attribute (media, i, &new_attr); in _media_replace_setup()
|