/titanic_50/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | srchpref.c | 115 char **toks; in ldap_init_searchprefs_buf() local 120 if ( ldap_next_line_tokens( &buf, &buflen, &toks ) != 2 || in ldap_init_searchprefs_buf() 121 strcasecmp( toks[ 0 ], "version" ) != 0 ) { in ldap_init_searchprefs_buf() 122 ldap_free_strarray( toks ); in ldap_init_searchprefs_buf() 125 version = atoi( toks[ 1 ] ); in ldap_init_searchprefs_buf() 126 ldap_free_strarray( toks ); in ldap_init_searchprefs_buf() 249 char **toks; in read_next_searchobj() local 259 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { in read_next_searchobj() 260 ldap_free_strarray( toks ); in read_next_searchobj() 266 ldap_free_strarray( toks ); in read_next_searchobj() [all …]
|
H A D | disptmpl.c | 158 char **toks; in ldap_init_templates_buf() local 163 if ( ldap_next_line_tokens( &buf, &buflen, &toks ) != 2 || in ldap_init_templates_buf() 164 strcasecmp( toks[ 0 ], "version" ) != 0 ) { in ldap_init_templates_buf() 165 ldap_free_strarray( toks ); in ldap_init_templates_buf() 168 version = atoi( toks[ 1 ] ); in ldap_init_templates_buf() 169 ldap_free_strarray( toks ); in ldap_init_templates_buf() 470 char **toks, *itemopts; in read_next_tmpl() local 479 if (( tokcnt = ldap_next_line_tokens( bufp, blenp, &toks )) != 1 ) { in read_next_tmpl() 480 ldap_free_strarray( toks ); in read_next_tmpl() 486 ldap_free_strarray( toks ); in read_next_tmpl() [all …]
|
H A D | dsparse.c | 50 char *p, *line, *token, **toks; in ldap_next_line_tokens() local 59 if (( toks = (char **)NSLDAPI_CALLOC( 1, sizeof( char * ))) == NULL ) { in ldap_next_line_tokens() 67 if (( toks = (char **)NSLDAPI_REALLOC( toks, ( tokcnt + 2 ) * in ldap_next_line_tokens() 69 NSLDAPI_FREE( (char *)toks ); in ldap_next_line_tokens() 73 toks[ tokcnt ] = token; in ldap_next_line_tokens() 74 toks[ ++tokcnt ] = NULL; in ldap_next_line_tokens() 77 if ( tokcnt == 1 && strcasecmp( toks[ 0 ], "END" ) == 0 ) { in ldap_next_line_tokens() 79 ldap_free_strarray( toks ); in ldap_next_line_tokens() 80 toks = NULL; in ldap_next_line_tokens() 86 if ( toks != NULL ) { in ldap_next_line_tokens() [all …]
|
/titanic_50/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 …]
|
/titanic_50/usr/src/cmd/mandoc/ |
H A D | term_ascii.c | 63 const char *toks[5]; in ascii_init() local 105 toks[0] = "indent"; in ascii_init() 106 toks[1] = "width"; in ascii_init() 107 toks[2] = "mdoc"; in ascii_init() 108 toks[3] = "synopsis"; in ascii_init() 109 toks[4] = NULL; in ascii_init() 112 switch (getsubopt(&outopts, UNCONST(toks), &v)) { in ascii_init()
|
H A D | html.c | 135 const char *toks[5]; in html_alloc() local 138 toks[0] = "style"; in html_alloc() 139 toks[1] = "man"; in html_alloc() 140 toks[2] = "includes"; in html_alloc() 141 toks[3] = "fragment"; in html_alloc() 142 toks[4] = NULL; in html_alloc() 150 switch (getsubopt(&outopts, UNCONST(toks), &v)) { in html_alloc()
|
H A D | main.c | 881 const char *toks[7]; in woptions() local 883 toks[0] = "stop"; in woptions() 884 toks[1] = "all"; in woptions() 885 toks[2] = "warning"; in woptions() 886 toks[3] = "error"; in woptions() 887 toks[4] = "unsupp"; in woptions() 888 toks[5] = "fatal"; in woptions() 889 toks[6] = NULL; in woptions() 893 switch (getsubopt(&arg, UNCONST(toks), &v)) { in woptions()
|
H A D | term_ps.c | 537 const char *toks[2]; in pspdf_alloc() local 558 toks[0] = "paper"; in pspdf_alloc() 559 toks[1] = NULL; in pspdf_alloc() 564 switch (getsubopt(&outopts, UNCONST(toks), &v)) { in pspdf_alloc()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | cmds.c | 1883 int i, toks[9], toknum, match = 1; in domap() local 1888 toks[i] = 0; in domap() 1921 toks[toknum = *cp2 - '1']++; in domap() 1980 } else if (toks[toknum = *cp2 - '1']) { in domap() 2003 if (toks[toknum = *cp2 - '1']) { in domap() 2067 } else if (toks[toknum = *cp2 - '1']) { in domap()
|
/titanic_50/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
|