/illumos-gate/usr/src/test/libc-tests/tests/i18n/ |
H A D | bindtextdomain_test.c | 52 const char *name; in main() member 59 .name = "unbound query", in main() 64 .name = "bind malloc fail", in main() 76 .name = "normal bind", in main() 81 .name = "query after normal bind", in main() 86 .name = "rebind to same", in main() 91 .name = "query after rebind to same", in main() 96 .name = "rebind to new", in main() 101 .name = "query after rebind to new", in main() 106 .name = "rebind malloc fail", in main() [all …]
|
/illumos-gate/usr/src/lib/libresolv2/common/bsd/ |
H A D | setenv.c | 48 static char *findenv(const char *name, int *offset); 55 setenv(const char *name, const char *value, int rewrite) { in setenv() argument 95 malloc((size_t)((int)(c - name) + l_value + 2)))) in setenv() 97 for (c = environ[offset]; (*c = *name++) && *c != '='; ++c); in setenv() 107 unsetenv(const char *name) { in unsetenv() argument 111 while (findenv(name, &offset)) /*%< if set multiple times */ in unsetenv() 127 findenv(const char *name, int *offset) { in findenv() argument 132 if (name == NULL || environ == NULL) in findenv() 134 for (np = name; *np && *np != '='; ++np) in findenv() 136 len = np - name; in findenv() [all …]
|
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/ |
H A D | topo_digraph_xml.c | 216 name); in serialize_nvpair_nvlist() 781 if (xmlStrcmp(cn->name, name) == 0) in get_child_by_name() 793 (char *)attr->name); in dump_xml_node() 797 (char *)cn->name); in dump_xml_node() 909 if (name != NULL) in add_edges() 910 xmlFree(name); in add_edges() 1317 (name != NULL) ? (char *)name : "MISSING!", in deserialize_nvpair() 1321 if (name != NULL) in deserialize_nvpair() 1322 xmlFree(name); in deserialize_nvpair() 1369 if (name != NULL) in deserialize_vertex() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/boston/frudr/ |
H A D | fru_HDD0_data.info | 36 * name:<namepath> -- gives the anchor node 42 * NODE <name> <class> 48 * REFPROP <name> <dstnode> 53 * <name> is the nodename 57 * If "name:" or "_class:" is not specified in the <path>, 58 * the default is "name:" 83 name:/platform/pci@1e,600000/pci@0/pci@2/scsi@0/sd@0,0 88 name:RMCLOMV/hdd0_service 90 name:RMCLOMV/hdd0_ok2rm 100 REFPROP _led_ name:RMCLOMV/hdd0_service [all …]
|
H A D | fru_HDD1_data.info | 36 * name:<namepath> -- gives the anchor node 42 * NODE <name> <class> 48 * REFPROP <name> <dstnode> 53 * <name> is the nodename 57 * If "name:" or "_class:" is not specified in the <path>, 58 * the default is "name:" 83 name:/platform/pci@1e,600000/pci@0/pci@2/scsi@0/sd@1,0 88 name:RMCLOMV/hdd1_service 90 name:RMCLOMV/hdd1_ok2rm 100 REFPROP _led_ name:RMCLOMV/hdd1_service [all …]
|
H A D | fru_HDD2_data.info | 36 * name:<namepath> -- gives the anchor node 42 * NODE <name> <class> 48 * REFPROP <name> <dstnode> 53 * <name> is the nodename 57 * If "name:" or "_class:" is not specified in the <path>, 58 * the default is "name:" 83 name:/platform/pci@1e,600000/pci@0/pci@2/scsi@0/sd@2,0 88 name:RMCLOMV/hdd2_service 90 name:RMCLOMV/hdd2_ok2rm 100 REFPROP _led_ name:RMCLOMV/hdd2_service [all …]
|
H A D | fru_HDD3_data.info | 36 * name:<namepath> -- gives the anchor node 42 * NODE <name> <class> 48 * REFPROP <name> <dstnode> 53 * <name> is the nodename 57 * If "name:" or "_class:" is not specified in the <path>, 58 * the default is "name:" 83 name:/platform/pci@1e,600000/pci@0/pci@2/scsi@0/sd@3,0 88 name:RMCLOMV/hdd3_service 90 name:RMCLOMV/hdd3_ok2rm 100 REFPROP _led_ name:RMCLOMV/hdd3_service [all …]
|
/illumos-gate/usr/src/common/ficl/ |
H A D | loader.c | 108 if (!name) in ficl_term_putimage() 145 if (!name) in ficl_fb_putimage() 250 if (!name) in ficlSetenv() 281 if (!name) in ficlSetenvq() 309 if (!name) in ficlGetenv() 327 char *name; in ficlUnsetenv() local 337 if (!name) in ficlUnsetenv() 411 if (!name) in ficlFindfile() 689 free(name); in pfopen() 690 name = tmp; in pfopen() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | itree.c | 221 newnp->u.name.t = namep->u.name.t; in tname_dup() 222 newnp->u.name.s = namep->u.name.s; in tname_dup() 224 newnp->u.name.it = namep->u.name.it; in tname_dup() 225 newnp->u.name.cp = namep->u.name.cp; in tname_dup() 255 retp->u.name.last->u.name.next = newnp; in tname_dup() 296 if (np1->u.name.s != np2->u.name.s) in tname_dup_to_epname() 328 newnp->u.name.t = npref->u.name.t; in tname_dup_to_epname() 329 newnp->u.name.s = npref->u.name.s; in tname_dup_to_epname() 331 newnp->u.name.it = npref->u.name.it; in tname_dup_to_epname() 332 newnp->u.name.cp = npref->u.name.cp; in tname_dup_to_epname() [all …]
|
H A D | eval.c | 79 if (lhs->u.name.s != rhs->u.name.s) in begins_with() 270 cp = nodep->u.name.last->u.name.cp; in eval_func() 355 cp[0] = lhs->u.name.last->u.name.cp; in eval_func() 362 cp[1] = rhs->u.name.last->u.name.cp; in eval_func() 421 cp = nodep->u.name.last->u.name.cp; in eval_func() 459 cp = nodep->u.name.last->u.name.cp; in eval_func() 496 cp = nodep->u.name.last->u.name.cp; in eval_func() 1077 newnp->u.name.t = npref->u.name.t; in eval_dup() 1078 newnp->u.name.s = npref->u.name.s; in eval_dup() 1145 newnp->u.name.t = npref->u.name.t; in eval_dup() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libdll/ |
H A D | dll_lib.c | 43 dllnames(const char* id, const char* name, Dllnames_t* names) in dllnames() argument 52 if (strneq(name, id, n) && (streq(name + n, "_s") || streq(name + n, "_t"))) in dllnames() 66 if ((s = strrchr(name, '/')) || (s = strrchr(name, '\\'))) in dllnames() 69 s = (char*)name; in dllnames() 85 names->name = b; in dllnames() 96 names->name = (char*)name; in dllnames() 141 (*dllerrorf)(NiL, disc, 2, "%s: library not found", names->name); in dll_lib() 143 errorf("dll", NiL, -1, "dll_lib: %s version %lu library not found", names->name, version); in dll_lib() 172 errorf("dll", NiL, -1, "dll_lib: %s version %lu loaded from %s", names->name, version, lib->path); in dll_lib() 183 dllmeth(const char* id, const char* name, unsigned long version) in dllmeth() argument [all …]
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_rosenberg.c | 48 char *name; in print_holey_warning() local 56 name); in print_holey_warning() 58 free_string(name); in print_holey_warning() 160 snprintf(buf, 256, "%s->%s", name, member->ident->name); in member_initialized() 162 snprintf(buf, 256, "%s.%s", name, member->ident->name); in member_initialized() 181 snprintf(buf, 256, "%s->%s", name, member->ident->name); in member_uninitialized() 183 snprintf(buf, 256, "%s.%s", name, member->ident->name); in member_uninitialized() 195 char *name; in check_members_initialized() local 298 char *name; in alloc_expr_state() local 301 if (!name) in alloc_expr_state() [all …]
|
H A D | smatch_project.c | 77 char name[256]; in register_no_return_funcs() local 81 token = get_tokens_file(name); in register_no_return_funcs() 101 char name[256]; in register_ignored_macros() local 104 strcpy(name, "ignored_macros"); in register_ignored_macros() 108 token = get_tokens_file(name); in register_ignored_macros() 128 char name[256]; in register_skipped_functions() local 137 token = get_tokens_file(name); in register_skipped_functions() 157 char name[256]; in register_silenced_functions() local 166 token = get_tokens_file(name); in register_silenced_functions() 186 char name[256]; in register_no_inline_functions() local [all …]
|
H A D | smatch_integer_overflow.c | 39 char *name; in save_links() local 43 free_string(name); in save_links() 51 return name; in save_links() 58 char *name; in match_divide() local 90 if (!name) in match_divide() 93 free_string(name); in match_divide() 100 char *name; in match_overflow_to_less_than() local 125 if (!name) in match_overflow_to_less_than() 128 free_string(name); in match_overflow_to_less_than() 185 char *name; in can_integer_overflow_expr() local [all …]
|
/illumos-gate/usr/src/lib/libgss/ |
H A D | g_utils.c | 59 char *name, *next; in __gss_read_qop_file() local 102 name = &(buf[0]); in __gss_read_qop_file() 103 while (isspace(*name)) in __gss_read_qop_file() 104 name++; in __gss_read_qop_file() 105 if (*name == '\0') /* blank line */ in __gss_read_qop_file() 120 name = next; in __gss_read_qop_file() 121 while (isspace(*name)) in __gss_read_qop_file() 122 name++; in __gss_read_qop_file() 134 name = next; in __gss_read_qop_file() 135 while (isspace(*name)) in __gss_read_qop_file() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnreaddir.c | 179 FN_composite_name_t *name; in getmapkeys_fn() local 214 name = new_cname("_x500"); in getmapkeys_fn() 216 name = new_cname(map + FNPREFIXLEN + 1); in getmapkeys_fn() 218 if (name == NULL) { in getmapkeys_fn() 243 fn_composite_name_destroy(name); in getmapkeys_fn() 395 FN_compound_name_t *name; in list_ctx() local 403 name = in list_ctx() 405 if (name == NULL) { in list_ctx() 416 fn_compound_name_destroy(name); in list_ctx() 503 entry->name = str; in add_name_to_dirlist() [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/ |
H A D | tazmo.c | 278 name, 0); in disp_fail_parts() 291 if ((name != NULL) && (strstr(name, "sbus"))) { in disp_fail_parts() 433 char *name; in display_pci() local 477 if (name == NULL) { in display_pci() 582 (char *)name); in display_pci() 824 char *name; in walk() local 862 if (name != NULL) in walk() 875 if (name != NULL) { in walk() 949 char name[16]; in disp_envctrl_status() local 1361 char *name; in tazjav_disp_asic_revs() local [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chalupa/frudr/ |
H A D | fru_FT0.info | 32 * name:<namepath> -- gives the anchor node 38 * NODE <name> <class> 44 * REFPROP <name> <dstnode> 49 * <name> is the nodename 53 * If "name:" or "_class:" is not specified in the <path>, 54 * the default is "name:" 61 name:/frutree/chassis/FT0 69 REFPROP _location_parent name:/frutree/chassis/FT0/F0 71 REFPROP _location_parent name:/frutree/chassis/FT0/F0 73 REFPROP _location_parent name:/frutree/chassis/FT0/F0 [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudata/ |
H A D | libpiclfrudata.conf | 33 name:/platform/pci@1e,600000/isa@7/i2c@0,320/chassis-fru-prom 36 name:/platform/pci@1e,600000/isa@7/i2c@0,320/motherboard-fru-prom 39 name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd?UnitAddress=0,b6 42 name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd?UnitAddress=0,b8 45 name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd?UnitAddress=0,ba 48 name:/platform/pci@1e,600000/isa@7/i2c@0,320/dimm-spd?UnitAddress=0,bc 63 name:/platform/pci@1e,600000/isa@7/i2c@0,320/hcm-card-fru-prom 66 name:/platform/pci@1e,600000/isa@7/i2c@0,320/alarm-fru-prom 69 name:/platform/pci@1e,600000/isa@7/i2c@0,320/sas-pci-fru-prom 72 name:/platform/pci@1e,600000/isa@7/i2c@0,320/sas-if-fru-prom [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | getpaths.c | 81 getprinterfile(char *name, char *component) in getprinterfile() argument 85 if (!name) in getprinterfile() 98 getsystemfile(char *name, char *component) in getsystemfile() argument 102 if (!name) in getsystemfile() 105 path = makepath(Lp_A_Systems, name, component, NULL); in getsystemfile() 115 getclassfile(char *name) in getclassfile() argument 119 if (!name) in getclassfile() 122 path = makepath(Lp_A_Classes, name, NULL); in getclassfile() 149 getformfile(char *name, char *component) in getformfile() argument 153 if (!name) in getformfile() [all …]
|
/illumos-gate/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | lpstat.c | 47 char *name; in usage() local 50 name = program; in usage() 52 name++; in usage() 58 name); in usage() 92 char *name = NULL; in lpstat_default_printer() local 103 if (name != NULL) in lpstat_default_printer() 118 char *name = NULL; in lpstat_service_status() local 705 name ? name : "(NULL)"); in printer_query() 709 name ? name : "(NULL)", in printer_query() 1167 if ((name == NULL) || (strcmp(name, form) == 0)) { in report_form() [all …]
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/enchilada/frutree/ |
H A D | system-board.info | 124 name:/frutree/chassis/MB/system-board 224 name:/platform/memory-controller?portid=0 230 name:/platform/memory-controller?portid=1 242 name:/frutree/chassis/MB/system-board/audio-slot 327 name:/frutree/chassis/MB/system-board 378 name:/frutree/chassis/SCSI-BP/HDD0/disk 385 name:/platform/pci@1d,700000/scsi@4/sd@0,0 391 name:/frutree/chassis/SCSI-BP/HDD1/disk 398 name:/platform/pci@1d,700000/scsi@4/sd@1,0 404 name:/frutree/chassis/RM0/cdrom [all …]
|
/illumos-gate/usr/src/contrib/ast/lib/package/ |
H A D | package.mk | 41 * name=value 99 name = 597 if [[ '$(~$(name))' ]] 857 echo ";;;$(PACKAGEGEN)/$(name).ver;$(PACKAGELIB)/$(name).ver" 860 echo ";;;$(PACKAGEGEN)/$(name).req;$(PACKAGELIB)/$(name).req" 1056 else echo $(name) $(version) $(release|version) 1 > $(PACKAGEGEN)/$(name).ver 1096 if name == "ratz" 1257 then echo $(name) $(version) $(release|version) 1 > $(PACKAGEGEN)/$(name).ver 1343 else echo $(name) $(version) $(release|version) 1 > $(PACKAGEGEN)/$(name).ver 1375 if name == "ratz" [all …]
|
/illumos-gate/usr/src/contrib/ast/src/cmd/INIT/ |
H A D | package.mk | 41 * name=value 99 name = 597 if [[ '$(~$(name))' ]] 857 echo ";;;$(PACKAGEGEN)/$(name).ver;$(PACKAGELIB)/$(name).ver" 860 echo ";;;$(PACKAGEGEN)/$(name).req;$(PACKAGELIB)/$(name).req" 1056 else echo $(name) $(version) $(release|version) 1 > $(PACKAGEGEN)/$(name).ver 1096 if name == "ratz" 1257 then echo $(name) $(version) $(release|version) 1 > $(PACKAGEGEN)/$(name).ver 1343 else echo $(name) $(version) $(release|version) 1 > $(PACKAGEGEN)/$(name).ver 1375 if name == "ratz" [all …]
|
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/ |
H A D | javelin.c | 275 name, 0); in disp_fail_parts() 287 if ((name != NULL) && (strstr(name, "sbus"))) { in disp_fail_parts() 427 char *name; in display_pci() local 471 if (name == NULL) { in display_pci() 577 (char *)name); in display_pci() 859 char *name; in walk() local 897 if (name != NULL) in walk() 910 if (name != NULL) { in walk() 916 name, type, model); in walk() 1153 char *name; in tazjav_disp_asic_revs() local [all …]
|