/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | srchpref.c | 114 char **toks; in ldap_init_searchprefs_buf() local 119 if ( ldap_next_line_tokens( &buf, &buflen, &toks ) != 2 || in ldap_init_searchprefs_buf() 120 strcasecmp( toks[ 0 ], "version" ) != 0 ) { in ldap_init_searchprefs_buf() 121 ldap_free_strarray( toks ); in ldap_init_searchprefs_buf() 124 version = atoi( toks[ 1 ] ); in ldap_init_searchprefs_buf() 125 ldap_free_strarray( toks ); in ldap_init_searchprefs_buf() 248 char **toks; in read_next_searchobj() local 258 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { in read_next_searchobj() 259 ldap_free_strarray( toks ); in read_next_searchobj() 265 ldap_free_strarray( toks ); in read_next_searchobj() [all …]
|
H A D | disptmpl.c | 155 char **toks; in ldap_init_templates_buf() local 160 if ( ldap_next_line_tokens( &buf, &buflen, &toks ) != 2 || in ldap_init_templates_buf() 161 strcasecmp( toks[ 0 ], "version" ) != 0 ) { in ldap_init_templates_buf() 162 ldap_free_strarray( toks ); in ldap_init_templates_buf() 165 version = atoi( toks[ 1 ] ); in ldap_init_templates_buf() 166 ldap_free_strarray( toks ); in ldap_init_templates_buf() 467 char **toks, *itemopts; in read_next_tmpl() local 476 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { in read_next_tmpl() 477 ldap_free_strarray( toks ); in read_next_tmpl() 483 ldap_free_strarray( toks ); in read_next_tmpl() [all …]
|
H A D | dsparse.c | 47 char *p, *line, *token, **toks; in ldap_next_line_tokens() local 56 if (( toks = (char **)NSLDAPI_CALLOC( 1, sizeof( char * ))) == NULL ) { in ldap_next_line_tokens() 64 if (( toks = (char **)NSLDAPI_REALLOC( toks, ( tokcnt + 2 ) * in ldap_next_line_tokens() 66 NSLDAPI_FREE( (char *)toks ); in ldap_next_line_tokens() 70 toks[ tokcnt ] = token; in ldap_next_line_tokens() 71 toks[ ++tokcnt ] = NULL; in ldap_next_line_tokens() 74 if ( tokcnt == 1 && strcasecmp( toks[ 0 ], "END" ) == 0 ) { in ldap_next_line_tokens() 76 ldap_free_strarray( toks ); in ldap_next_line_tokens() 77 toks = NULL; in ldap_next_line_tokens() 83 if ( toks != NULL ) { in ldap_next_line_tokens() [all …]
|
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | strtoset.c | 84 static char **toks; variable 417 toks = (char **)emalloc(ntoks * sizeof (char *)); in cpc_strtoset() 424 toks[i] = NULL; in cpc_strtoset() 430 toks[x] = (char *)emalloc(TOK_SIZE); in cpc_strtoset() 431 (void) snprintf(toks[x], TOK_SIZE, "pic%d", i); in cpc_strtoset() 439 toks[x] = (char *)emalloc(TOK_SIZE); in cpc_strtoset() 440 (void) snprintf(toks[x], TOK_SIZE, "nouser%d", i); in cpc_strtoset() 448 toks[x] = (char *)emalloc(TOK_SIZE); in cpc_strtoset() 449 (void) snprintf(toks[x], TOK_SIZE, "sys%d", i); in cpc_strtoset() 458 toks[x] = (char *)emalloc(toklen); in cpc_strtoset() [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | manpath.c | 166 const char *const toks[] = { "manpath", "output" }; in manconf_file() local 190 for (tok = 0; tok < sizeof(toks)/sizeof(toks[0]); tok++) { in manconf_file() 191 toklen = strlen(toks[tok]); in manconf_file() 194 strncmp(cp, toks[tok], toklen) == 0) { in manconf_file() 225 const char *const toks[] = { in manconf_output() local 234 const size_t ntoks = sizeof(toks) / sizeof(toks[0]); in manconf_output() 241 len = strlen(toks[tok]); in manconf_output() 242 if (strncmp(cp, toks[tok], len) == 0 && in manconf_output() 254 mandoc_msg(MANDOCERR_BADVAL_MISS, 0, 0, "-O %s=?", toks[tok]); in manconf_output() 258 mandoc_msg(MANDOCERR_BADVAL, 0, 0, "-O %s=%s", toks[tok], cp); in manconf_output() [all …]
|
H A D | main.c | 1161 const char *toks[11]; in woptions() local 1163 toks[0] = "stop"; in woptions() 1164 toks[1] = "all"; in woptions() 1165 toks[2] = "base"; in woptions() 1166 toks[3] = "style"; in woptions() 1167 toks[4] = "warning"; in woptions() 1168 toks[5] = "error"; in woptions() 1169 toks[6] = "unsupp"; in woptions() 1170 toks[7] = "fatal"; in woptions() 1171 toks[8] = "openbsd"; in woptions() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_create/ |
H A D | zfs_create_dryrun.ksh | 85 typeset -a toks 95 echo "$out" | while IFS=$'\t' read -A toks; do 97 case ${toks[0]} in 105 typeset prop=${toks[1]} 106 typeset val=${toks[2]}
|
H A D | zfs_create_verbose.ksh | 46 typeset -a toks 66 echo "$out" | while IFS=$'\t' read -A toks; do 68 case ${toks[0]} in 94 typeset prop=${toks[1]} 95 typeset val=${toks[2]}
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | cmds.c | 1880 int i, toks[9], toknum, match = 1; in domap() local 1885 toks[i] = 0; in domap() 1918 toks[toknum = *cp2 - '1']++; in domap() 1977 } else if (toks[toknum = *cp2 - '1']) { in domap() 2000 if (toks[toknum = *cp2 - '1']) { in domap() 2064 } else if (toks[toknum = *cp2 - '1']) { in domap()
|
/illumos-gate/usr/src/grub/grub-0.97/docs/ |
H A D | texinfo.tex | 4099 % \the<toks register> to achieve this: TeX expands \the<toks> only once, 4100 % simply yielding the contents of <toks register>. (We also do this for
|