Home
last modified time | relevance | path

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

12345678910>>...50

/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dtparm.c128 tparm(char *string, in tparm() argument
153 while (*string) { in tparm()
154 if (*string != '%') in tparm()
155 *(bufptr++) = *string; in tparm()
157 string++; in tparm()
158 switch (*string) { in tparm()
160 string++; /* Escape to inner loop */ in tparm()
162 while (*string) { in tparm()
163 switch (*string) { in tparm()
170 format[len] = *string; in tparm()
[all …]
H A Dtputs.c73 tputs(const char *string, int affcnt, int (*putout)(int)) in tputs() argument
75 (void) __m_tputs(string, affcnt, putout); in tputs()
85 __m_tputs(const char *string, int affcnt, int (*putout)(int)) argument
93 for (len = 0; *string; ++string) {
95 if (*string == '$' && string[1] == '<' &&
96 (isdigit(string[2]) || string[2] == '.') &&
97 (mark = strchr(string, '>'))) {
98 number = atoi(string + 2) * 10;
99 if ((string = strchr(string, '.')) != NULL)
100 number += *++string - '0';
[all …]
/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dtparm.c122 tparm(const char *string, ...) in tparm() argument
124 tparm(string, p1, p2, p3, p4, p5, p6, p7, p8, p9) in tparm()
125 const char *string; in tparm()
148 va_start(vparm, string);
167 string, parm[0],
173 while (*string) {
174 if (*string != '%')
175 *(bufptr++) = *string;
177 string++;
178 switch (*string) {
[all …]
H A Dtputs.c75 tputs(string, affcnt, putout) in tputs() argument
76 const char *string; in tputs()
84 __m_trace("tputs(%p = \"%s\", %d, %p)", string, string, affcnt, putout);
90 for (len = 0; *string; ++string){
92 if (*string == '$'
93 && string[1] == '<'
94 && (isdigit(string[2]) || string[2] == '.')
95 && (mark = strchr(string, '>'))){
96 number = atoi(string+2) * 10;
97 if ((string = strchr(string, '.')) != (char *) 0)
[all …]
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/conf/
H A DSUNW,Netra-CP2300.RTM.conf30 PROP State string r 0 "connected"
31 PROP SlotType string r 0 "pci"
32 PROP Label string r 0 "CPU"
33 PROP devfs-path string r 0 "/pci@1f,0"
34 PROP PdevProbePath string r 0 ""
35 PROP bus-addr string r 0 "1,1"
37 PROP FRUType string r 0 "bridge/fhs"
38 PROP State string r 0 "configured"
39 PROP Condition string r 0 "unknown"
40 PROP AdminLock string rw 0 "disabled"
[all …]
H A DSUNW,Netra-CP2300.conf30 PROP State string r 0 "connected"
31 PROP SlotType string r 0 "pci"
32 PROP Label string r 0 "CPU"
33 PROP bus-addr string r 0 "1,1"
34 PROP devfs-path string r 0 "/pci@1f,0"
35 PROP PdevProbePath string r 0 "/pci@1f,0"
37 PROP FRUType string r 0 "bridge/fhs"
38 PROP State string r 0 "configured"
39 PROP Condition string r 0 "unknown"
40 PROP AdminLock string rw 0 "disabled"
[all …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/usr/src/lib/libmail/inc/
H A Ds_string.h41 typedef struct string { struct
45 } string; typedef
68 extern string *s_append(string *to, char *from);
69 extern string *s_array(char *, size_t len);
70 extern string *s_copy(char *);
71 extern void s_free(string*);
72 extern int s_grow(string *sp, int c);
73 extern string *s_new(void);
74 extern string *s_parse(string *from, string *to);
75 extern char *s_read_line(FILE *fp, string *to);
[all …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/usr/src/cmd/file/
H A Dmagic29 # (4) value to match (numeric or string)
30 # (5) string to be printed
32 # Numeric values may be decimal, octal, or hex. Also note that the last string
40 #0 string \177ELF ELF
72 257 string ustar USTAR tar archive
75 0 string 070701 ASCII cpio archive
77 0 string 070702 ASCII cpio archive - CRC header
79 0 string 070707 ASCII cpio archive - CHR (-c) header
84 0 string <ar> System V Release 1 ar archive
85 0 string !<arch> current ar archive
[all …]
/titanic_41/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 …]
/titanic_41/usr/src/cmd/basename/
H A Dbasename.c43 char *string; in main() local
84 string = argv[1]; in main()
87 if (*string == '\0') { in main()
93 p = string + strlen(string) - 1; in main()
94 while (p >= string && *p == '/') in main()
97 if (*string == '\0') { in main()
103 if ((p = strrchr(string, '/')) != NULL) in main()
104 string = p + 1; in main()
107 (void) puts(string); in main()
117 if (strcmp(string, suffix) != 0) { in main()
[all …]
/titanic_41/usr/src/cmd/sgs/error/common/
H A Derrorsubr.c101 position(char *string, char ch) in position() argument
104 if (string) in position()
105 for (i = 1; *string; string++, i++) { in position()
106 if (*string == ch) in position()
115 substitute(char *string, char chold, char chnew) in substitute() argument
117 char *cp = string; in substitute()
127 return (string); in substitute()
131 lastchar(char *string) in lastchar() argument
135 if (string == NULL) in lastchar()
137 length = strlen(string); in lastchar()
[all …]
/titanic_41/usr/src/lib/pam_modules/authtok_check/
H A Drules.c127 Pluralise(register char *string) /* returns a pointer to a plural */ in Pluralise() argument
132 length = strlen(string); in Pluralise()
133 (void) strlcpy(area, string, PATH_MAX); in Pluralise()
135 if (!Suffix(string, "ch") || in Pluralise()
136 !Suffix(string, "ex") || in Pluralise()
137 !Suffix(string, "ix") || in Pluralise()
138 !Suffix(string, "sh") || in Pluralise()
139 !Suffix(string, "ss")) { in Pluralise()
142 } else if (length > 2 && string[length - 1] == 'y') { in Pluralise()
143 if (strchr("aeiou", string[length - 2])) { in Pluralise()
[all …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/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 …]
/titanic_41/usr/src/cmd/dirname/
H A Ddirname.c40 char *string; in main() local
68 string = argv[1]; in main()
70 if (*string == '\0') { in main()
76 p = string + strlen(string) - 1; in main()
77 while (p >= string && *p == '/') in main()
80 if (*string == '\0') { in main()
87 while (p >= string && *p != '/') in main()
90 if (*string == '\0') { in main()
97 while (p >= string && *p == '/') in main()
100 if (*string == '\0') { in main()
[all …]
/titanic_41/usr/src/uts/common/rpcsvc/
H A Dautofs_prot.x83 string map<AUTOFS_MAXPATHLEN>; /* context or map name */
84 string path<AUTOFS_MAXPATHLEN>; /* mountpoint */
85 string name<AUTOFS_MAXCOMPONENTLEN>; /* entry we're looking for */
86 string subdir<AUTOFS_MAXPATHLEN>; /* subdir within map */
87 string opts<AUTOFS_MAXOPTSLEN>;
96 string dir<AUTOFS_MAXPATHLEN>; /* original name */
97 string link<AUTOFS_MAXPATHLEN>; /* link (new) name */
111 string path<AUTOFS_MAXPATHLEN>; /* autofs mountpoint */
112 string opts<AUTOFS_MAXOPTSLEN>; /* default mount options */
113 string map<AUTOFS_MAXPATHLEN>; /* name of map */
[all …]
/titanic_41/usr/src/lib/libtecla/common/
H A Dpathutil.c152 char *_pn_append_to_path(PathName *path, const char *string, int slen, in _pn_append_to_path() argument
160 if(!path || !string) { in _pn_append_to_path()
171 if(slen < 0 || slen > strlen(string)) in _pn_append_to_path()
172 slen = strlen(string); in _pn_append_to_path()
185 is_escape = !is_escape && string[i] == '\\'; in _pn_append_to_path()
187 path->name[pathlen++] = string[i]; in _pn_append_to_path()
197 memcpy(path->name + pathlen, string, slen); in _pn_append_to_path()
222 char *_pn_prepend_to_path(PathName *path, const char *string, int slen, in _pn_prepend_to_path() argument
231 if(!path || !string) { in _pn_prepend_to_path()
242 if(slen < 0 || slen > strlen(string)) in _pn_prepend_to_path()
[all …]
/titanic_41/usr/src/lib/libc/port/locale/
H A Dfnmatch.c77 fnmatch(pattern, string, flags) in fnmatch() argument
78 const char *pattern, *string; in fnmatch()
84 return (fnmatch1(pattern, string, string, flags, initial, initial,
89 fnmatch1(const char *pattern, const char *string, const char *stringstart, in fnmatch1() argument
102 sclen = mbrtowc_l(&sc, string, MB_LEN_MAX, &strmbs, loc); in fnmatch1()
104 sc = (unsigned char)*string; in fnmatch1()
121 (string == stringstart || in fnmatch1()
122 ((flags & FNM_PATHNAME) && *(string - 1) == '/'))) in fnmatch1()
124 string += sclen; in fnmatch1()
133 (string == stringstart || in fnmatch1()
[all …]
/titanic_41/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 …]
/titanic_41/usr/src/lib/libmail/common/
H A Ds_string.c45 string s[STRALLOC];
51 static string *freed = NULL;
52 static string *s_alloc(void);
53 static void s_simplegrow(string *, size_t);
56 s_free(string *sp) in s_free()
65 static string *
80 string *
83 string *sp; in s_new()
88 freed = (string *)(freed->ptr); in s_new()
105 s_simplegrow(string *sp, size_t incr) in s_simplegrow()
[all …]

12345678910>>...50