Home
last modified time | relevance | path

Searched refs:obj_str (Results 1 – 16 of 16) sorted by relevance

/third_party/mindspore/mindspore/common/
D_register_for_tensor.py25 def register(self, obj_str, obj): argument
26 if isinstance(obj_str, str):
27 self[obj_str] = obj
29 def get(self, obj_str): argument
31 if not isinstance(obj_str, str):
36 new_args.append(obj_str)
41 obj = self[obj_str]
Dtensor.py2031 obj_str = args[-1]
2032 if obj_str == "shape":
2033 fn = getattr(args[0].asnumpy(), obj_str)
2036 fn = getattr(args[0].asnumpy(), obj_str)
2039 fn = getattr(args[0].asnumpy(), obj_str)
2042 obj_str = "__r" + obj_str[2:]
2043 fn = getattr(args[1].asnumpy(), obj_str)
/third_party/skia/tools/
Dmerge_static_libs.py38 obj_str = proc.communicate()[0]
39 current_objects = obj_str.rstrip().split('\n')
/third_party/flutter/skia/tools/
Dmerge_static_libs.py34 obj_str = proc.communicate()[0]
35 current_objects = obj_str.rstrip().split('\n')
/third_party/selinux/libsepol/cil/src/
Dcil_internal.h574 char *obj_str; member
588 char *obj_str; member
629 char *obj_str; member
645 char *obj_str; member
656 char *obj_str; member
Dcil_copy_ast.c710 new->obj_str = orig->obj_str; in cil_copy_roletransition()
727 new->obj_str = orig->obj_str; in cil_copy_nametypetransition()
746 new->obj_str = orig->obj_str; in cil_copy_rangetransition()
803 new->obj_str = orig->obj_str; in cil_copy_fill_permissionx()
867 new->obj_str = orig->obj_str; in cil_copy_type_rule()
Dcil_write_ast.c307 fprintf(out, "%s ", datum_or_str(DATUM(permx->obj), permx->obj_str)); in write_permx()
816 fprintf(out, "%s ", datum_or_str(DATUM(permx->obj), permx->obj_str)); in cil_write_ast_node()
1101 fprintf(out, "%s ", datum_or_str(DATUM(roletrans->obj), roletrans->obj_str)); in cil_write_ast_node()
1159 fprintf(out, "%s ", datum_or_str(DATUM(rule->obj), rule->obj_str)); in cil_write_ast_node()
1169 fprintf(out, "%s ", datum_or_str(DATUM(rule->obj), rule->obj_str)); in cil_write_ast_node()
1180 fprintf(out, "%s ", datum_or_str(DATUM(rule->obj), rule->obj_str)); in cil_write_ast_node()
Dcil.c2377 (*nametypetrans)->obj_str = NULL; in cil_nametypetransition_init()
2393 (*rangetrans)->obj_str = NULL; in cil_rangetransition_init()
2458 (*permx)->obj_str = NULL; in cil_permissionx_init()
2473 (*type_rule)->obj_str = NULL; in cil_type_rule_init()
2487 (*role_trans)->obj_str = NULL; in cil_roletransition_init()
Dcil_resolve_ast.c299 rc = cil_resolve_name(current, permx->obj_str, CIL_SYM_CLASSES, extra_args, &obj_datum); in cil_resolve_permissionx()
395 rc = cil_resolve_name(current, rule->obj_str, CIL_SYM_CLASSES, extra_args, &obj_datum); in cil_resolve_type_rule()
646 rc = cil_resolve_name(current, nametypetrans->obj_str, CIL_SYM_CLASSES, extra_args, &obj_datum); in cil_resolve_nametypetransition()
702 rc = cil_resolve_name(current, rangetrans->obj_str, CIL_SYM_CLASSES, extra_args, &obj_datum); in cil_resolve_rangetransition()
1082 rc = cil_resolve_name(current, roletrans->obj_str, CIL_SYM_CLASSES, extra_args, &obj_datum); in cil_resolve_roletransition()
Dcil_build_ast.c1896 roletrans->obj_str = parse_current->next->next->next->data; in cil_gen_roletransition()
2168 permx->obj_str = parse_current->next->data; in cil_fill_permissionx()
2320 rule->obj_str = parse_current->next->next->next->data; in cil_gen_type_rule()
3372 nametypetrans->obj_str = s3; in cil_gen_typetransition()
3386 rule->obj_str = s3; in cil_gen_typetransition()
3446 rangetrans->obj_str = parse_current->next->next->next->data; in cil_gen_rangetransition()
Dcil_binary.c1015 cil_rule->src_str, cil_rule->tgt_str, cil_rule->obj_str, cil_rule->result_str); in __cil_insert_type_rule()
1048 cil_rule->src_str, cil_rule->tgt_str, cil_rule->obj_str, cil_rule->result_str); in __cil_insert_type_rule()
1147 trans.obj_str = typetrans->obj_str; in __cil_typetransition_to_avtab()
/third_party/gstreamer/gstreamer/gst/
Dgstinfo.c1181 const gchar ** file, const gchar ** message_str, gchar ** obj_str, in _gst_debug_log_preamble() argument
1205 *obj_str = gst_debug_print_object (object); in _gst_debug_log_preamble()
1207 *obj_str = (gchar *) ""; in _gst_debug_log_preamble()
1238 gchar *ret, *obj_str = NULL; in gst_debug_log_get_line() local
1245 _gst_debug_log_preamble (message, object, &file, &message_str, &obj_str, in gst_debug_log_get_line()
1251 (category), file, line, function, obj_str, message_str); in gst_debug_log_get_line()
1254 g_free (obj_str); in gst_debug_log_get_line()
/third_party/python/Python/
Dceval.c6246 const char *obj_str; in format_exc_check_arg() local
6251 obj_str = PyUnicode_AsUTF8(obj); in format_exc_check_arg()
6252 if (!obj_str) in format_exc_check_arg()
6255 _PyErr_Format(tstate, exc, format_str, obj_str); in format_exc_check_arg()
/third_party/gn/src/gn/
Dninja_c_binary_target_writer_unittest.cc418 std::string obj_str = obj_out.str(); in TEST_F() local
419 EXPECT_EQ(std::string(obj_expected), obj_str); in TEST_F()
/third_party/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c581 CuAssertStrEquals(tc, ((struct cil_type_rule *)test_ast_node->data)->obj_str, test_copy->obj_str); in test_cil_copy_type_rule()
Dtest_cil_build_ast.c8493 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->obj_str, test_tree->root->cl_h… in test_cil_gen_type_rule_transition()
8641 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->obj_str, test_tree->root->cl_h… in test_cil_gen_type_rule_change()
8789 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->obj_str, test_tree->root->cl_h… in test_cil_gen_type_rule_member()