Home
last modified time | relevance | path

Searched refs:src_str (Results 1 – 15 of 15) sorted by relevance

/external/mesa3d/src/gallium/drivers/r300/compiler/tests/
Drc_test_helpers.c137 const char * src_str) in init_rc_normal_src() argument
146 if (!regex_helper(regex_str, src_str, matches, REGEX_SRC_MATCHES)) { in init_rc_normal_src()
152 tokens.Negate.String = src_str + matches[1].rm_so; in init_rc_normal_src()
154 tokens.Abs.String = src_str + matches[2].rm_so; in init_rc_normal_src()
156 tokens.File.String = src_str + matches[3].rm_so; in init_rc_normal_src()
158 tokens.Index.String = src_str + matches[4].rm_so; in init_rc_normal_src()
160 tokens.Swizzle.String = src_str + matches[5].rm_so; in init_rc_normal_src()
417 char * src_str; in parse_rc_normal_instruction() local
423 src_str = malloc(sizeof(char) * in parse_rc_normal_instruction()
425 strncpy(src_str, tokens.Srcs[j].String, in parse_rc_normal_instruction()
[all …]
Drc_test_helpers.h42 const char * src_str);
/external/selinux/libsepol/cil/src/
Dcil_internal.h554 char *src_str; member
568 char *src_str; member
596 char *src_str; member
625 char *src_str; member
636 char *src_str; member
647 char *src_str; member
Dandroid.c494 key = namettrans->src_str; in cil_attrib_nametypetransition()
496 namettrans->src_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_nametypetransition()
524 key = type_rule->src_str; in cil_attrib_type_rule()
526 type_rule->src_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_type_rule()
551 key = avrule->src_str; in cil_attrib_avrule()
554 avrule->src_str = __cil_attrib_get_versname(key, args->num); in cil_attrib_avrule()
Dcil_copy_ast.c576 new->src_str = orig->src_str; in cil_copy_roleallow()
716 new->src_str = orig->src_str; in cil_copy_roletransition()
733 new->src_str = orig->src_str; in cil_copy_nametypetransition()
752 new->src_str = orig->src_str; in cil_copy_rangetransition()
824 new->src_str = orig->src_str; in cil_copy_avrule()
873 new->src_str = orig->src_str; in cil_copy_type_rule()
Dcil_tree.c831 cil_log(CIL_INFO, " %s", roletrans->src_str); in cil_tree_print_node()
861 cil_log(CIL_INFO, " %s", roleallow->src_str); in cil_tree_print_node()
1104 cil_log(CIL_INFO, " %s", nametypetrans->src_str); in cil_tree_print_node()
1136 cil_log(CIL_INFO, " %s", rangetrans->src_str); in cil_tree_print_node()
1182 cil_log(CIL_INFO, " %s", rule->src_str); in cil_tree_print_node()
1214 cil_log(CIL_INFO, " %s", rule->src_str); in cil_tree_print_node()
Dcil.c2093 (*nametypetrans)->src_str = NULL; in cil_nametypetransition_init()
2109 (*rangetrans)->src_str = NULL; in cil_rangetransition_init()
2165 (*avrule)->src_str = NULL; in cil_avrule_init()
2189 (*type_rule)->src_str = NULL; in cil_type_rule_init()
2203 (*role_trans)->src_str = NULL; in cil_roletransition_init()
2217 (*roleallow)->src_str = NULL; in cil_roleallow_init()
Dcil_write_ast.c733 src = ntrans->src_str; in cil_write_nametypetransition()
767 src = avrule->src_str; in cil_write_avrule_x()
813 src = avrule->src_str; in cil_write_avrule_orig()
858 src = typerule->src_str; in cil_write_type_rule()
Dcil_resolve_ast.c327 rc = cil_resolve_name(current, rule->src_str, CIL_SYM_TYPES, args, &src_datum); in cil_resolve_avrule()
383 rc = cil_resolve_name(current, rule->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_type_rule()
632 rc = cil_resolve_name(current, nametypetrans->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_nametypetransition()
688 rc = cil_resolve_name(current, rangetrans->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_rangetransition()
1067 rc = cil_resolve_name(current, roletrans->src_str, CIL_SYM_ROLES, extra_args, &src_datum); in cil_resolve_roletransition()
1111 rc = cil_resolve_name(current, roleallow->src_str, CIL_SYM_ROLES, extra_args, &src_datum); in cil_resolve_roleallow()
Dcil_build_ast.c1796 roletrans->src_str = parse_current->next->data; in cil_gen_roletransition()
1844 roleallow->src_str = parse_current->next->data; in cil_gen_roleallow()
2016 rule->src_str = parse_current->next->data; in cil_gen_avrule()
2175 rule->src_str = parse_current->next->data; in cil_gen_avrulex()
2226 rule->src_str = parse_current->next->data; in cil_gen_type_rule()
3335 nametypetrans->src_str = s1; in cil_gen_typetransition()
3349 rule->src_str = s1; in cil_gen_typetransition()
3409 rangetrans->src_str = parse_current->next->data; in cil_gen_rangetransition()
Dcil_binary.c1028 cil_rule->src_str, cil_rule->tgt_str, cil_rule->obj_str, cil_rule->result_str); in __cil_insert_type_rule()
1061 cil_rule->src_str, cil_rule->tgt_str, cil_rule->obj_str, cil_rule->result_str); in __cil_insert_type_rule()
1163 trans.src_str = typetrans->src_str; in __cil_typetransition_to_avtab()
4783 target.src_str = NULL; in cil_check_type_bounds()
/external/protobuf/src/google/protobuf/stubs/
Dstructurally_valid.cc557 char* UTF8CoerceToStructurallyValid(const StringPiece& src_str, in UTF8CoerceToStructurallyValid() argument
560 const char* isrc = src_str.data(); in UTF8CoerceToStructurallyValid()
561 const int len = src_str.length(); in UTF8CoerceToStructurallyValid()
562 int n = UTF8SpnStructurallyValid(src_str); in UTF8CoerceToStructurallyValid()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c579 CuAssertStrEquals(tc, ((struct cil_type_rule *)test_ast_node->data)->src_str, test_copy->src_str); in test_cil_copy_type_rule()
613 CuAssertStrEquals(tc, ((struct cil_avrule *)test_ast_node->data)->src_str, test_copy->src_str); in test_cil_copy_avrule()
Dtest_cil_build_ast.c75 test_avrule->src_str = cil_strdup(test_current->next->data); in test_cil_parse_to_list()
106 test_avrule->src_str = cil_strdup(test_current->next->data); in test_cil_parse_to_list_currnull_neg()
137 test_avrule->src_str = cil_strdup(test_current->next->data); in test_cil_parse_to_list_listnull_neg()
7873 …CuAssertStrEquals(tc, ((struct cil_roleallow*)test_ast_node->data)->src_str, test_current->next->d… in test_cil_gen_roleallow()
8156 …CuAssertStrEquals(tc, ((struct cil_avrule*)test_ast_node->data)->src_str, test_current->next->data… in test_cil_gen_avrule()
8491 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->src_str, test_tree->root->cl_h… in test_cil_gen_type_rule_transition()
8639 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->src_str, test_tree->root->cl_h… in test_cil_gen_type_rule_change()
8787 …CuAssertStrEquals(tc, ((struct cil_type_rule*)test_ast_node->data)->src_str, test_tree->root->cl_h… in test_cil_gen_type_rule_member()
/external/v8/src/
Dobjects-inl.h6040 String* src_str = String::cast(src); in BOOL_ACCESSORS() local
6041 if (!StringShape(src_str).IsExternal()) return true; in BOOL_ACCESSORS()
6042 if (src_str->IsOneByteRepresentation()) { in BOOL_ACCESSORS()
6044 } else if (src_str->IsTwoByteRepresentation()) { in BOOL_ACCESSORS()