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

/osnet-11/usr/src/lib/libldap4/common/
H A Ddsparse.c62 char *p, *line, *token, **toks; local
72 if (( toks = (char **)calloc( (size_t) 1, sizeof( char * ))) == NULL ) {
80 if (( toks = (char **)realloc( toks, ( tokcnt + 2 ) *
82 free( (char *)toks );
86 toks[ tokcnt ] = token;
87 toks[ ++tokcnt ] = NULL;
90 if ( tokcnt == 1 && strcasecmp( toks[ 0 ], "END" ) == 0 ) {
92 free_strarray( toks );
93 toks
[all...]
H A Dsrchpref.c123 char **toks; local
128 if ( next_line_tokens( &buf, &buflen, &toks ) != 2 ||
129 strcasecmp( toks[ 0 ], "version" ) != 0 ) {
130 free_strarray( toks );
133 version = atoi( toks[ 1 ] );
134 free_strarray( toks );
254 char **toks; local
264 if (( tokcnt = next_line_tokens( bufp, blenp, &toks )) != 1 ) {
265 free_strarray( toks );
271 free_strarray( toks );
[all...]
H A Ddisptmpl.c178 char **toks; local
183 if ( next_line_tokens( &buf, &buflen, &toks ) != 2 ||
184 strcasecmp( toks[ 0 ], "version" ) != 0 ) {
185 free_strarray( toks );
188 version = atoi( toks[ 1 ] );
189 free_strarray( toks );
484 char **toks, *itemopts; local
495 if (( tokcnt = next_line_tokens( bufp, blenp, &toks )) != 1 ) {
496 free_strarray( toks );
502 free_strarray( toks );
[all...]
/osnet-11/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...]

Completed in 27 milliseconds