Home
last modified time | relevance | path

Searched refs:type_str (Results 1 – 25 of 28) sorted by relevance

12

/external/toybox/toys/pending/
Dhost.c28 char *type_str;
80 if (!TT.type_str && (toys.optflags & FLAG_a)) TT.type_str = "255"; in host_main()
100 if (!TT.type_str) TT.type_str="12"; in host_main()
101 } else if (!TT.type_str) TT.type_str="1"; in host_main()
103 if (TT.type_str[0]-'0' < 10u) type = atoi(TT.type_str); in host_main()
107 if (rrt[i].name && !strcasecmp(TT.type_str, rrt[i].name)) { in host_main()
112 if (!strcasecmp(TT.type_str, "any")) type = 255; in host_main()
113 if (type < 0) error_exit("Invalid query type: %s", TT.type_str); in host_main()
/external/lldb/examples/darwin/heap_find/
Dheap.py241 type_str = 'free'
243 type_str = 'malloc'
245 type_str = 'free'
247 type_str = 'generic'
249 type_str = 'stack'
251 type_str = 'stack (red zone)'
253 type_str = 'segment'
255 type_str = 'vm_region'
257 type_str = hex(type_flags)
258 return type_str
[all …]
/external/icu/icu4c/source/i18n/
Dgender.cpp160 char type_str[256]; in loadInstance() local
161 u_UCharsToChars(s, type_str, resLen + 1); in loadInstance()
162 if (uprv_strcmp(type_str, gNeutralStr) == 0) { in loadInstance()
165 if (uprv_strcmp(type_str, gMixedNeutralStr) == 0) { in loadInstance()
168 if (uprv_strcmp(type_str, gMailTaintsStr) == 0) { in loadInstance()
/external/lldb/source/Commands/
DCommandObjectMemory.cpp436 std::string type_str(view_as_type_cstr); in DoExecute() local
445 while ((idx = type_str.find (keyword, idx)) != std::string::npos) in DoExecute()
447 if (type_str[idx + keyword_len] == ' ' || type_str[idx + keyword_len] == '\t') in DoExecute()
449 type_str.erase(idx, keyword_len+1); in DoExecute()
458 bool done = type_str.empty(); in DoExecute()
460 idx = type_str.find_first_not_of (" \t"); in DoExecute()
462 type_str.erase (0, idx); in DoExecute()
466 if (type_str.empty()) in DoExecute()
470 switch (type_str[type_str.size()-1]) in DoExecute()
477 type_str.erase(type_str.size()-1); in DoExecute()
[all …]
/external/selinux/libsemanage/src/
Dfcontexts_local.c100 const char *type_str = semanage_fcontext_get_type_str(type); in validate_handler() local
113 str, expr, type_str); in validate_handler()
117 expr, type_str); in validate_handler()
Dfcontexts_file.c23 static const char *type_str(int type) in type_str() function
54 const char *print_str = type_str(type); in fcontext_print()
Dpywrap-test.py233 type_str = semanage.semanage_fcontext_get_type_str(type)
240 print "File Expr: ", expr, " [", type_str, "] Context: ", con_str
/external/boringssl/src/crypto/asn1/
Da_mbstr.c69 static int type_str(unsigned long value, void *arg);
159 if(traverse_string(in, len, inform, type_str, &mask) < 0) { in ASN1_mbstring_ncopy()
306 static int type_str(unsigned long value, void *arg) in type_str() function
/external/libselinux/src/
Dlabel_file.c29 char *type_str; /* type string for diagnostic messages */ member
342 spec_arr[nspec].type_str = strdup(type); in process_line()
553 free(spec->type_str); in closef()
742 if (spec_arr[i].type_str) { in stats()
746 spec_arr[i].type_str, in stats()
/external/skia/src/core/
DSkClipStack.cpp865 SK_COMPILE_ASSERT(0 == kEmpty_Type, type_str); in dump()
866 SK_COMPILE_ASSERT(1 == kRect_Type, type_str); in dump()
867 SK_COMPILE_ASSERT(2 == kRRect_Type, type_str); in dump()
868 SK_COMPILE_ASSERT(3 == kPath_Type, type_str); in dump()
869 SK_COMPILE_ASSERT(SK_ARRAY_COUNT(kTypeStrings) == kTypeCnt, type_str); in dump()
/external/selinux/libselinux/src/
Dlabel_file.c212 spec_arr[nspec].type_str = type; in process_line()
585 free(spec->type_str); in closef()
705 if (spec_arr[i].type_str) { in stats()
709 spec_arr[i].type_str, in stats()
Dlabel_file.h22 char *type_str; /* type string for diagnostic messages */ member
/external/selinux/libsepol/cil/src/
Dcil_internal.h473 char *type_str; member
497 char *type_str; member
646 char *type_str; member
Dcil_tree.c559 } else if (context->type_str != NULL) { in cil_tree_print_context()
560 cil_log(CIL_INFO, " %s", context->type_str); in cil_tree_print_context()
717 } else if (roletype->type_str != NULL) { in cil_tree_print_node()
718 cil_log(CIL_INFO, " %s", roletype->type_str); in cil_tree_print_node()
977 cil_log(CIL_INFO, "TYPEPERMISSIVE: %s\n", typeperm->type_str); in cil_tree_print_node()
Dcil_copy_ast.c488 new->type_str = orig->type_str; in cil_copy_roletype()
570 new->type_str = orig->type_str; in cil_copy_typepermissive()
967 new->type_str = data->type_str; in cil_copy_fill_context()
Dcil_policy.c447 char *type_str = ((struct cil_symtab_datum*)context->type)->name; in cil_context_to_policy() local
450 fprintf(file_arr[file_index], "%s:%s:%s:", user_str, role_str, type_str); in cil_context_to_policy()
1052 char *type_str = ((struct cil_symtab_datum*)roletype->type)->name; in cil_name_to_policy() local
1054 fprintf(file_arr[ALIASES], "role %s types %s\n", role_str, type_str); in cil_name_to_policy()
Dcil.c1761 (*context)->type_str = NULL; in cil_context_init()
1923 (*roletype)->type_str = NULL; in cil_roletype_init()
1987 (*typeperm)->type_str = NULL; in cil_typepermissive_init()
Dcil_resolve_ast.c506 rc = cil_resolve_name(current, typeperm->type_str, CIL_SYM_TYPES, extra_args, &type_datum); in cil_resolve_typepermissive()
919 rc = cil_resolve_name(current, roletype->type_str, CIL_SYM_TYPES, extra_args, &type_datum); in cil_resolve_roletype()
1668 rc = cil_resolve_name(current, context->type_str, CIL_SYM_TYPES, extra_args, &type_datum); in cil_resolve_context()
1670 cil_log(CIL_ERR, "Unable to resolve name: %s\n", context->type_str); in cil_resolve_context()
Dcil_verify.c750 cil_log(CIL_ERR, "Type %s is invalid for role %s\n", ctx->type_str, ctx->role_str); in __cil_verify_context()
Dcil_build_ast.c1557 roletype->type_str = parse_current->next->next->data; in cil_gen_roletype()
2917 typeperm->type_str = parse_current->next->data; in cil_gen_typepermissive()
3728 context->type_str = user_node->next->next->data; in cil_fill_context()
/external/lldb/include/lldb/Symbol/
DType.h320 TypeAndOrName (const char *type_str);
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers.c384 char type_str[] = "a?"; /* ? will be replaced with subtype letter; */ in wpas_dbus_simple_array_property_getter() local
395 type_str[1] = sub_type_str[0]; in wpas_dbus_simple_array_property_getter()
398 type_str, &variant_iter) || in wpas_dbus_simple_array_property_getter()
476 char type_str[] = "aa?"; in wpas_dbus_simple_array_array_property_getter() local
488 type_str[2] = sub_type_str[0]; in wpas_dbus_simple_array_array_property_getter()
492 type_str, &variant_iter) || in wpas_dbus_simple_array_array_property_getter()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c987 CuAssertStrEquals(tc, test_copy->packet_context->type_str, in test_cil_copy_netifcon_nested()
988 ((struct cil_netifcon *)test_ast_node->data)->packet_context->type_str); in test_cil_copy_netifcon_nested()
1023 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->type_str, in test_cil_copy_fill_context()
1024 ((struct cil_context *)test_ast_node->data)->type_str); in test_cil_copy_fill_context()
1059 CuAssertStrEquals(tc, ((struct cil_context *)test_copy->data)->type_str, in test_cil_copy_fill_context_anonrange()
1060 ((struct cil_context *)test_ast_node->data)->type_str); in test_cil_copy_fill_context_anonrange()
/external/valgrind/coregrind/m_demangle/
Dcplus-dem.c2443 string type_str; in demangle_arm_hp_template() local
2469 if (!do_type (work, &args, &type_str)) in demangle_arm_hp_template()
2472 string_appends (&arg, &type_str); in demangle_arm_hp_template()
2473 string_delete (&type_str); in demangle_arm_hp_template()
/external/toybox/generated/
Dglobals.h531 char *type_str; member

12