Home
last modified time | relevance | path

Searched refs:substr (Results 1 – 25 of 68) sorted by relevance

123

/titanic_44/usr/src/cmd/dtrace/test/tst/common/funcs/
H A Dtst.substr.d.out4 if (substr("foobarbazbop", 3) ne "barbazbop") {
6 substr("foobarbazbop", 3));
12 if (substr("foobarbazbop", 300) ne "") {
14 substr("foobarbazbop", 300));
20 if (substr("foobarbazbop", -10) ne "obarbazbop") {
22 substr("foobarbazbop", -10));
28 if (substr("foobarbazbop", 0) ne "foobarbazbop") {
30 substr("foobarbazbop", 0));
36 if (substr("foobarbazbop", 1) ne "oobarbazbop") {
38 substr("foobarbazbop", 1));
[all …]
H A Dtst.index.d33 string substr; member
43 command[i].substr = "barbaz";
47 command[i].substr = "foo";
51 command[i].substr = "foo";
55 command[i].substr = "barbazzy";
59 command[i].substr = "foobar";
63 command[i].substr = "foobarbaz";
67 command[i].substr = "foobar";
71 command[i].substr = "";
75 command[i].substr = "";
[all …]
H A Dtst.substrminate.d45 @[substr((i & 1) ? "Bryan is smart" : "he's not a dummy", 0,
/titanic_44/usr/src/lib/libsqlite/test/
H A Dfunc.test64 # Check out the substr() function
67 execsql {SELECT substr(t1,1,2) FROM tbl1 ORDER BY t1}
70 execsql {SELECT substr(t1,2,1) FROM tbl1 ORDER BY t1}
73 execsql {SELECT substr(t1,3,3) FROM tbl1 ORDER BY t1}
76 execsql {SELECT substr(t1,-1,1) FROM tbl1 ORDER BY t1}
79 execsql {SELECT substr(t1,-1,2) FROM tbl1 ORDER BY t1}
82 execsql {SELECT substr(t1,-2,1) FROM tbl1 ORDER BY t1}
85 execsql {SELECT substr(t1,-2,2) FROM tbl1 ORDER BY t1}
88 execsql {SELECT substr(t1,-4,2) FROM tbl1 ORDER BY t1}
91 execsql {SELECT t1 FROM tbl1 ORDER BY substr(t1,2,20)}
[all …]
H A Dsort.test119 SELECT v FROM t1 ORDER BY substr(v,2,999);
124 SELECT v FROM t1 ORDER BY substr(v,2,999)+0.0;
129 SELECT v FROM t1 ORDER BY substr(v,2,999) DESC;
134 SELECT v FROM t1 ORDER BY substr(v,2,999)+0.0 DESC;
214 SELECT substr(v,2,99) FROM t1 ORDER BY 1;
219 # SELECT substr(v,2,99)+0.0 FROM t1 ORDER BY 1;
/titanic_44/usr/src/uts/common/os/
H A Dprivs.awk114 privs[npriv] = tolower(substr(priv, 6));
123 pdef[npriv] = "#define\t" priv substr("\t\t\t\t\t", 1, tabs)
135 sets[nset] = toupper(substr($2, 6, 1)) tolower(substr($2, 7));
144 sdef[nset] = "#define\t" $2 substr("\t\t\t\t\t", 1, tabs)
169 print "#" substr($0, 9) > pnamesfile
/titanic_44/usr/src/uts/intel/io/vgatext/
H A Dbdf_to_c.awk58 printf "0x%s, ", substr($0,c*2+1,2);
61 s = s pats[substr($0,c+1,1)];
62 s = substr(s, 1, bitswide);
/titanic_44/usr/src/cmd/dtrace/test/tst/common/safety/
H A Dtst.substr.d41 trace(substr((char *)rand(), rand() ^ vtimestamp));
47 trace(substr((char *)rand(), -rand() ^ vtimestamp));
/titanic_44/usr/src/lib/libpcp/common/
H A Dpcp_utils.c135 char *devname, *substr, *t; in get_glvc_svc_name() local
142 substr = strstr(devname, GLVC); in get_glvc_svc_name()
144 if (!((substr != NULL) && (strcmp(substr, GLVC) == 0))) { in get_glvc_svc_name()
/titanic_44/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dutil.c441 prom_strstr(char *string, char *substr) in prom_strstr() argument
445 if (substr == NULL || *substr == '\0') in prom_strstr()
449 subp = substr; in prom_strstr()
460 subp = substr; in prom_strstr()
/titanic_44/usr/src/lib/libmail/inc/
H A Dlibmail.h69 extern int substr(char *string1, char *string2);
88 extern int substr();
/titanic_44/usr/src/cmd/sendmail/cf/feature/
H A Ddelay_checks.m419 lower(substr(_ARG_,0,1)), `f', `define(`_SPAM_FRIEND_', 1) define(`_SPAM_FH_', 1)',
20 lower(substr(_ARG_,0,1)), `h', `define(`_SPAM_HATER_', 1) define(`_SPAM_FH_', 1)',
H A Dnouucp.m423 substr(_ARG_,0,1), `r', `define(`_NO_UUCP_', `r')',
24 substr(_ARG_,0,1), `n', `define(`_NO_UUCP_', `n')',
H A Daccess_db.m433 define(`_NARG_', `substr(_ARG_, 0, _ABP_) -T'_ATMPF_` substr(_ARG_, _ABP_)')
H A Dmsp.m427 `substr(confRUN_AS_USER,0,index(confRUN_AS_USER,`:'))')')')
45 `define(`_b_', index(STATUS_FILE, `sendmail.st'))ifelse(_b_, `-1', `STATUS_FILE', `substr(STATUS_FI…
/titanic_44/usr/src/cmd/mail/
H A Dgoback.c83 if ((i = substr(line, "remote from")) != -1) {
101 } else if ((i = substr(line, "forwarded by")) == -1) {
111 } else if ((i = substr(line, "forwarded by")) > -1) {
/titanic_44/usr/src/lib/libeti/menu/common/
H A Dpattern.c40 substr(MENU *m, char *s1, char *s2) in substr() function
101 if (substr(m, Pattern(m), Name(IthItem(m, i)))) { in _match()
/titanic_44/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmkkey.awk71 printf("\t{ %d, KEY_F(%d) },\n", strcount, substr($1, 6, 2));
/titanic_44/usr/src/cmd/dtrace/test/tst/common/version/
H A Dtst.1.0.d40 int substr; variable
/titanic_44/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmkkey.awk70 printf("\t{ %d, KEY_F(%d) },\n", strcount, substr($1, 6, 2));
/titanic_44/usr/src/cmd/sendmail/cf/m4/
H A Dcfhead.m484 …1',`$2')')`'define(`_I_',`eval(_IDX_ >= 0)')`'ifelse(_I_,`1',`substr(`$1',0,_IDX_)`'substr(`$1',ev…
90 define(`_AP_',`ifelse(`$3',`',`$2',`_AP_(`$1',$1(`$2',substr(`$3',0,1)),substr(`$3',1))')')
96 define(`MODIFY_MAILER_FLAGS',`define(`_hd_',`substr(`$2',0,1)')define(`_tl_',`substr(`$2',1)')`'ife…
/titanic_44/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_status_gen.awk56 $3, $2, substr($2,11)) | "sort" ;
/titanic_44/usr/src/lib/fm/topo/libtopo/common/
H A Dpkg.c117 read_thru(topo_mod_t *mp, FILE *fp, const char *substr) in read_thru() argument
123 if (substr == NULL) in read_thru()
125 else if (strstr(tmpbuf, substr) != NULL) { in read_thru()
/titanic_44/usr/src/cmd/acct/lib/
H A Dsubstr.c38 char *substr(as, aresult, origin, len) in substr() function
/titanic_44/usr/src/lib/libmail/common/
H A Dsubstr.c41 substr(char *string1, char *string2) in substr() function

123