Searched defs:toks (Results 1 - 7 of 7) sorted by relevance

/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Ddsparse.c50 char *p, *line, *token, **toks; local
59 if (( toks = (char **)NSLDAPI_CALLOC( 1, sizeof( char * ))) == NULL ) {
67 if (( toks = (char **)NSLDAPI_REALLOC( toks, ( tokcnt + 2 ) *
69 NSLDAPI_FREE( (char *)toks );
73 toks[ tokcnt ] = token;
74 toks[ ++tokcnt ] = NULL;
77 if ( tokcnt == 1 && strcasecmp( toks[ 0 ], "END" ) == 0 ) {
79 ldap_free_strarray( toks );
80 toks
[all...]
H A Dsrchpref.c115 char **toks; local
120 if ( ldap_next_line_tokens( &buf, &buflen, &toks ) != 2 ||
121 strcasecmp( toks[ 0 ], "version" ) != 0 ) {
122 ldap_free_strarray( toks );
125 version = atoi( toks[ 1 ] );
126 ldap_free_strarray( toks );
249 char **toks; local
259 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
260 ldap_free_strarray( toks );
266 ldap_free_strarray( toks );
[all...]
H A Ddisptmpl.c158 char **toks; local
163 if ( ldap_next_line_tokens( &buf, &buflen, &toks ) != 2 ||
164 strcasecmp( toks[ 0 ], "version" ) != 0 ) {
165 ldap_free_strarray( toks );
168 version = atoi( toks[ 1 ] );
169 ldap_free_strarray( toks );
470 char **toks, *itemopts; local
479 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) {
480 ldap_free_strarray( toks );
486 ldap_free_strarray( toks );
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dmanpath.c211 const char *const toks[] = { "manpath", "output", "_whatdb" }; local
235 for (tok = 0; tok < sizeof(toks)/sizeof(toks[0]); tok++) {
236 toklen = strlen(toks[tok]);
239 strncmp(cp, toks[tok], toklen) == 0) {
278 const char *const toks[] = { local
285 for (tok = 0; tok < sizeof(toks)/sizeof(toks[0]); tok++) {
286 len = strlen(toks[tok]);
287 if ( ! strncmp(cp, toks[to
[all...]
H A Dmain.c969 const char *toks[7]; local
971 toks[0] = "stop";
972 toks[1] = "all";
973 toks[2] = "warning";
974 toks[3] = "error";
975 toks[4] = "unsupp";
976 toks[5] = "fatal";
977 toks[6] = NULL;
981 switch (getsubopt(&arg, UNCONST(toks), &v)) {
/illumos-gate/usr/src/cmd/cpc/common/
H A Dstrtoset.c84 static char **toks; variable
87 static char **attrlist; /* array of ptrs to toks in attrlistp */
417 toks = (char **)emalloc(ntoks * sizeof (char *));
424 toks[i] = NULL;
430 toks[x] = (char *)emalloc(TOK_SIZE);
431 (void) snprintf(toks[x], TOK_SIZE, "pic%d", i);
439 toks[x] = (char *)emalloc(TOK_SIZE);
440 (void) snprintf(toks[x], TOK_SIZE, "nouser%d", i);
448 toks[x] = (char *)emalloc(TOK_SIZE);
449 (void) snprintf(toks[
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dcmds.c1883 int i, toks[9], toknum, match = 1; local
1888 toks[i] = 0;
1921 toks[toknum = *cp2 - '1']++;
1980 } else if (toks[toknum = *cp2 - '1']) {
2003 if (toks[toknum = *cp2 - '1']) {
2067 } else if (toks[toknum = *cp2 - '1']) {

Completed in 72 milliseconds