Home
last modified time | relevance | path

Searched refs:string (Results 1 – 25 of 1159) sorted by relevance

12345678910>>...47

/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/
H A Dt.null04 $5 = null string
9 $1 = null string
10 $5 = null string
16 $5 = null string
21 $5 = null string
26 $5 = null string
31 $5 = null string
36 $5 = null string
41 $5 = null string
46 $5 = null string
[all …]
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtparm.c126 tparm(char *string, in tparm() argument
151 while (*string) { in tparm()
152 if (*string != '%') in tparm()
153 *(bufptr++) = *string; in tparm()
155 string++; in tparm()
156 switch (*string) { in tparm()
158 string++; /* Escape to inner loop */ in tparm()
160 while (*string) { in tparm()
161 switch (*string) { in tparm()
168 format[len] = *string; in tparm()
[all …]
H A Dtputs.c71 tputs(const char *string, int affcnt, int (*putout)(int)) in tputs() argument
73 (void) __m_tputs(string, affcnt, putout); in tputs()
83 __m_tputs(const char *string, int affcnt, int (*putout)(int)) argument
91 for (len = 0; *string; ++string) {
93 if (*string == '$' && string[1] == '<' &&
94 (isdigit(string[2]) || string[2] == '.') &&
95 (mark = strchr(string, '>'))) {
96 number = atoi(string + 2) * 10;
97 if ((string = strchr(string, '.')) != NULL)
98 number += *++string - '0';
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtparm.c120 tparm(const char *string, ...) in tparm() argument
122 tparm(string, p1, p2, p3, p4, p5, p6, p7, p8, p9) in tparm()
123 const char *string; in tparm()
146 va_start(vparm, string);
165 string, parm[0],
171 while (*string) {
172 if (*string != '%')
173 *(bufptr++) = *string;
175 string++;
176 switch (*string) {
[all …]
H A Dtputs.c73 tputs(string, affcnt, putout) in tputs() argument
74 const char *string; in tputs()
82 __m_trace("tputs(%p = \"%s\", %d, %p)", string, string, affcnt, putout);
88 for (len = 0; *string; ++string){
90 if (*string == '$'
91 && string[1] == '<'
92 && (isdigit(string[2]) || string[2] == '.')
93 && (mark = strchr(string, '>'))){
94 number = atoi(string+2) * 10;
95 if ((string = strchr(string, '.')) != (char *) 0)
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dtparm.c324 tparam_internal(const char *string, int *dataptr) in tparam_internal() argument
345 if (string == NULL) in tparam_internal()
348 if ((len2 = grub_strlen(string)) > len_fmt) { in tparam_internal()
375 for (cp = string; (cp - string) < (int) len2;) { in tparam_internal()
485 while (*string) { in tparam_internal()
487 if (*string == '$' && *(string + 1) == '<') { in tparam_internal()
488 while( *string && *string != '>') in tparam_internal()
489 string++; in tparam_internal()
490 if ( *string == '>' ) string++; in tparam_internal()
491 } else if ( *string == '%') { in tparam_internal()
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_rpc_adm.x59 string rmi_name<>;
60 string rmi_desc<>;
61 string rmi_vers<>;
73 string rri_fmri<>;
74 string rri_uuid<>;
75 string rri_case<>;
91 string rsi_name<>;
128 struct fmd_rpc_modstat FMD_ADM_MODCSTAT(string) = 2;
129 struct fmd_rpc_modstat FMD_ADM_MODDSTAT(string) = 3;
131 int FMD_ADM_MODLOAD(string) = 5;
[all …]
/illumos-gate/usr/src/lib/libmail/inc/
H A Ds_string.h40 typedef struct string { struct
44 } string; typedef
69 extern string *s_append(string *to, char *from);
70 extern string *s_array(char *, size_t len);
71 extern string *s_copy(char *);
72 extern void s_free(string *);
73 extern int s_grow(string *sp, int c);
74 extern string *s_new(void);
75 extern string *s_parse(string *from, string *to);
76 extern char *s_read_line(FILE *fp, string *to);
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/daktari/frudata/
H A Dlibpiclfrudata.conf44 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a0:fru"
47 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a2:fru"
50 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a4:fru"
53 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a6:fru"
56 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a8:fru"
59 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,aa:fru"
62 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,ac:fru"
65 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,ae:fru"
70 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@1,a0:fru"
73 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@1,a2:fru"
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/silverstone/frudata/
H A Dlibpiclfrudata.conf44 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a0:fru"
47 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a2:fru"
50 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a4:fru"
53 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a6:fru"
56 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a8:fru"
59 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,aa:fru"
62 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,ac:fru"
65 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,ae:fru"
70 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@1,a0:fru"
73 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@1,a2:fru"
[all …]
/illumos-gate/usr/src/cmd/file/
H A Dmagic30 # (4) value to match (numeric or string)
31 # (5) string to be printed
33 # Numeric values may be decimal, octal, or hex. Also note that the last string
41 #0 string \177ELF ELF
73 257 string ustar USTAR tar archive
76 0 string 070701 ASCII cpio archive
78 0 string 070702 ASCII cpio archive - CRC header
80 0 string 070707 ASCII cpio archive - CHR (-c) header
85 0 string <ar> System V Release 1 ar archive
86 0 string !<arch> current ar archive
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/boston/frudata/
H A Dlibpiclfrudata.conf35 PROP FRUDevicePath string r 0 "/devices/i2c@1f,520000/motherboard-fru-prom@0,aa:motherboard-fru-pro…
39 PROP FRUDevicePath string r 0 "/devices/i2c@1f,520000/cpu-fru-prom@0,b8:cpu-fru-prom"
42 PROP FRUDevicePath string r 0 "/devices/i2c@1f,520000/dimm-spd@0,b0:dimm-spd"
45 PROP FRUDevicePath string r 0 "/devices/i2c@1f,520000/dimm-spd@0,b2:dimm-spd"
48 PROP FRUDevicePath string r 0 "/devices/i2c@1f,520000/dimm-spd@0,b4:dimm-spd"
51 PROP FRUDevicePath string r 0 "/devices/i2c@1f,520000/dimm-spd@0,b6:dimm-spd"
56 PROP FRUDevicePath string r 0 "/devices/i2c@1f,520000/cpu-fru-prom@0,c8:cpu-fru-prom"
59 PROP FRUDevicePath string r 0 "/devices/i2c@1f,520000/dimm-spd@0,c0:dimm-spd"
62 PROP FRUDevicePath string r 0 "/devices/i2c@1f,520000/dimm-spd@0,c2:dimm-spd"
65 PROP FRUDevicePath string r 0 "/devices/i2c@1f,520000/dimm-spd@0,c4:dimm-spd"
[all …]
/illumos-gate/usr/src/test/libc-tests/tests/stdio/
H A Dfmemopentest.c39 char string[] = "fmemopen test string!"; in simpletest() local
44 s1 = fmemopen(string, strlen(string) + 1, "r"); in simpletest()
60 if (ftell(s2) != strlen(string) + 1) { in simpletest()
73 if (len != strlen(string) + 1) { in simpletest()
75 len, strlen(string) + 1); in simpletest()
86 char string[] = "hello\0 test number 2"; in updatetest() local
91 s1 = fmemopen(string, 19, "a+"); in updatetest()
108 if (strncmp(string, buffer, len)) { in updatetest()
113 if (strcmp(string, "hello world")) { in updatetest()
118 if (strcmp(string + strlen(string) + 1, "number 2")) { in updatetest()
[all …]
/illumos-gate/usr/src/lib/pam_modules/authtok_check/
H A Drules.c125 Pluralise(register char *string) /* returns a pointer to a plural */ in Pluralise() argument
130 length = strlen(string); in Pluralise()
131 (void) strlcpy(area, string, PATH_MAX); in Pluralise()
133 if (!Suffix(string, "ch") || in Pluralise()
134 !Suffix(string, "ex") || in Pluralise()
135 !Suffix(string, "ix") || in Pluralise()
136 !Suffix(string, "sh") || in Pluralise()
137 !Suffix(string, "ss")) { in Pluralise()
140 } else if (length > 2 && string[length - 1] == 'y') { in Pluralise()
141 if (strchr("aeiou", string[length - 2])) { in Pluralise()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/cherrystone/frudata/
H A Dlibpiclfrudata.conf44 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a0:fru"
47 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a2:fru"
50 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a4:fru"
53 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a6:fru"
56 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a8:fru"
59 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,aa:fru"
62 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,ac:fru"
65 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,ae:fru"
70 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@1,a0:fru"
73 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@1,a2:fru"
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/sebring/frudata/
H A Dlibpiclfrudata.conf44 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a0:fru"
47 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a2:fru"
50 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a4:fru"
53 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a6:fru"
56 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,a8:fru"
59 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,aa:fru"
62 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,ac:fru"
65 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@0,ae:fru"
70 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@1,a0:fru"
73 PROP FRUDevicePath string r 0 "/devices/pci@9,700000/ebus@1/i2c@1,2e/fru@1,a2:fru"
[all …]
/illumos-gate/usr/src/cmd/basename/
H A Dbasename.c41 char *string; in main() local
82 string = argv[1]; in main()
85 if (*string == '\0') { in main()
91 p = string + strlen(string) - 1; in main()
92 while (p >= string && *p == '/') in main()
95 if (*string == '\0') { in main()
101 if ((p = strrchr(string, '/')) != NULL) in main()
102 string = p + 1; in main()
105 (void) puts(string); in main()
115 if (strcmp(string, suffix) != 0) { in main()
[all …]
/illumos-gate/usr/src/cmd/sgs/error/common/
H A Derrorsubr.c101 position(char *string, char ch) in position() argument
105 if (string) { in position()
106 for (i = 1; *string; string++, i++) { in position()
107 if (*string == ch) in position()
117 substitute(char *string, char chold, char chnew) in substitute() argument
119 char *cp = string; in substitute()
130 return (string); in substitute()
134 lastchar(char *string) in lastchar() argument
138 if (string == NULL) in lastchar()
140 length = strlen(string); in lastchar()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/chalupa/frudata/
H A Dlibpiclfrudata.conf34 PROP FRUDevicePath string r 0 "/devices/pci@1e,600000/isa@7/i2c@0,320/motherboard-fru-prom@0,a2:mot…
37 PROP FRUDevicePath string r 0 "/devices/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom@0,be:cpu-fru-pro…
40 PROP FRUDevicePath string r 0 "/devices/pci@1e,600000/isa@7/i2c@0,320/temperature@0,30:die_temp"
43 PROP FRUDevicePath string r 0 "/devices/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b6:dimm-spd"
46 PROP FRUDevicePath string r 0 "/devices/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,b8:dimm-spd"
49 PROP FRUDevicePath string r 0 "/devices/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,ba:dimm-spd"
52 PROP FRUDevicePath string r 0 "/devices/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,bc:dimm-spd"
55 PROP FRUDevicePath string r 0 "/devices/pci@1e,600000/isa@7/i2c@0,320/cpu-fru-prom@0,ce:cpu-fru-pro…
58 PROP FRUDevicePath string r 0 "/devices/pci@1e,600000/isa@7/i2c@0,320/temperature@0,64:die_temp"
61 PROP FRUDevicePath string r 0 "/devices/pci@1e,600000/isa@7/i2c@0,320/dimm-spd@0,c6:dimm-spd"
[all …]
/illumos-gate/usr/src/cmd/sgs/elfedit/modules/common/
H A Dstr.msg51 than string table section (%#llx), and will be \
54 to add string: %s\n"
55 @ MSG_DEBUG_LONGSTR "[%d: %s][%d]: ELF warning: new string is longer \
61 @ MSG_ERR_STRNOTFND "[%d: %s]: String table does not contain string: %s\n"
63 of string table: %s\n"
65 string table to non-NULL value: %s\n"
85 Normally, only string table sections (section type SHT_STRTAB)\n\
89 string table. This can be used to examine sections that are\n\
90 known to be in string table format even though they are not\n\
94 Zero to the end of the string table. The count argument\n\
[all …]
/illumos-gate/usr/src/uts/common/rpcsvc/
H A Dautofs_prot.x81 string map<AUTOFS_MAXPATHLEN>; /* context or map name */
82 string path<AUTOFS_MAXPATHLEN>; /* mountpoint */
83 string name<AUTOFS_MAXCOMPONENTLEN>; /* entry we're looking for */
84 string subdir<AUTOFS_MAXPATHLEN>; /* subdir within map */
85 string opts<AUTOFS_MAXOPTSLEN>;
94 string dir<AUTOFS_MAXPATHLEN>; /* original name */
95 string link<AUTOFS_MAXPATHLEN>; /* link (new) name */
109 string path<AUTOFS_MAXPATHLEN>; /* autofs mountpoint */
110 string opts<AUTOFS_MAXOPTSLEN>; /* default mount options */
111 string map<AUTOFS_MAXPATHLEN>; /* name of map */
[all …]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dpathutil.c150 char *_pn_append_to_path(PathName *path, const char *string, int slen, in _pn_append_to_path() argument
158 if(!path || !string) { in _pn_append_to_path()
169 if(slen < 0 || slen > strlen(string)) in _pn_append_to_path()
170 slen = strlen(string); in _pn_append_to_path()
183 is_escape = !is_escape && string[i] == '\\'; in _pn_append_to_path()
185 path->name[pathlen++] = string[i]; in _pn_append_to_path()
195 memcpy(path->name + pathlen, string, slen); in _pn_append_to_path()
220 char *_pn_prepend_to_path(PathName *path, const char *string, int slen, in _pn_prepend_to_path() argument
229 if(!path || !string) { in _pn_prepend_to_path()
240 if(slen < 0 || slen > strlen(string)) in _pn_prepend_to_path()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/boston/frudr/
H A DSB-tables.info52 PROP Class string r 0 "cdrom"
73 PROP Class string r 0 "voltage-sensor"
75 PROP Label string r 0 "V_+1V0"
78 PROP Class string r 0 "voltage-sensor"
80 PROP Label string r 0 "V_+1V2"
83 PROP Class string r 0 "voltage-sensor"
85 PROP Label string r 0 "V_+1V5"
88 PROP Class string r 0 "voltage-sensor"
90 PROP Label string r 0 "V_+1V8"
93 PROP Class string r 0 "voltage-sensor"
[all …]
/illumos-gate/usr/src/lib/libmail/common/
H A Ds_string.c43 string s[STRALLOC];
49 static string *freed = NULL;
50 static string *s_alloc(void);
51 static void s_simplegrow(string *, size_t);
54 s_free(string *sp) in s_free()
63 static string *
78 string *
81 string *sp; in s_new()
86 freed = (string *)(freed->ptr); in s_new()
103 s_simplegrow(string *sp, size_t incr) in s_simplegrow()
[all …]
/illumos-gate/usr/src/cmd/dirname/
H A Ddirname.c38 char *string; in main() local
66 string = argv[1]; in main()
68 if (*string == '\0') { in main()
74 p = string + strlen(string) - 1; in main()
75 while (p >= string && *p == '/') in main()
78 if (*string == '\0') { in main()
85 while (p >= string && *p != '/') in main()
88 if (*string == '\0') { in main()
95 while (p >= string && *p == '/') in main()
98 if (*string == '\0') { in main()
[all …]

12345678910>>...47