/external/tensorflow/tensorflow/core/framework/ |
D | op_def_util.cc | 443 const OpDef::AttrDef& new_attr) { in MoreRestrictive() argument 445 if (!new_attr.has_allowed_values()) return false; in MoreRestrictive() 451 new_attr.allowed_values().list().type())) { in MoreRestrictive() 455 new_attr.allowed_values().list().s())) { in MoreRestrictive() 472 const OpDef::AttrDef& new_attr) { in HigherMinimum() argument 474 if (!new_attr.has_minimum()) return false; in HigherMinimum() 479 return new_attr.minimum() > old_attr.minimum(); in HigherMinimum() 541 const OpDef::AttrDef* new_attr = in ComputeArgSignature() local 543 const auto& type_list = new_attr->default_value().list().type(); in ComputeArgSignature() 567 const OpDef::AttrDef* new_attr = in ComputeArgSignature() local [all …]
|
D | op_gen_lib.cc | 349 void MergeAttr(ApiDef::Attr* base_attr, const ApiDef::Attr& new_attr) { in MergeAttr() argument 350 if (!new_attr.rename_to().empty()) { in MergeAttr() 351 base_attr->set_rename_to(new_attr.rename_to()); in MergeAttr() 353 if (new_attr.has_default_value()) { in MergeAttr() 354 *base_attr->mutable_default_value() = new_attr.default_value(); in MergeAttr() 356 if (!new_attr.description().empty()) { in MergeAttr() 357 base_attr->set_description(new_attr.description()); in MergeAttr() 432 for (const auto& new_attr : new_api_def.attr()) { in MergeApiDefs() local 436 if (base_attr->name() == new_attr.name()) { in MergeApiDefs() 437 MergeAttr(base_attr, new_attr); in MergeApiDefs() [all …]
|
/external/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()
|
/external/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()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_setdetachstate/ |
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 | 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 | 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()
|
/external/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 | 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 | 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 | 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()
|
/external/python/cpython2/Lib/lib2to3/fixes/ |
D | fix_renames.py | 24 for old_attr, new_attr in replace.items(): 25 LOOKUP[(module, old_attr)] = new_attr 69 new_attr = unicode(LOOKUP[(mod_name.value, attr_name.value)]) 70 attr_name.replace(Name(new_attr, prefix=attr_name.prefix))
|
/external/python/cpython3/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))
|
/external/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()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | debug_stripper.cc | 48 protobuf::Map<string, AttrValue> new_attr; in Optimize() local 50 new_attr.insert({"T", node.attr().at("T")}); in Optimize() 52 node.mutable_attr()->swap(new_attr); in Optimize()
|
/external/python/cpython3/Lib/test/ |
D | ann_module2.py | 16 f().new_attr: object = object() 23 c.new_attr: int = 10
|
/external/boringssl/src/crypto/x509/ |
D | x509_att.c | 122 X509_ATTRIBUTE *new_attr = NULL; in STACK_OF() local 136 if ((new_attr = X509_ATTRIBUTE_dup(attr)) == NULL) in STACK_OF() 138 if (!sk_X509_ATTRIBUTE_push(sk, new_attr)) in STACK_OF() 146 if (new_attr != NULL) in STACK_OF() 147 X509_ATTRIBUTE_free(new_attr); in STACK_OF()
|
/external/protobuf/python/ |
D | stubout.py | 42 def SmartSet(self, obj, attr_name, new_attr): argument 94 setattr(orig_obj, attr_name, new_attr)
|