Searched refs:tokenp (Results 1 – 3 of 3) sorted by relevance
| /netbsd/src/external/bsd/libarchive/dist/libarchive/ |
| D | archive_getdate.c | 60 struct token *tokenp; /* Pointer to next token. */ member 103 if (gds->tokenp[0].token == tUNUMBER in timephrase() 104 && gds->tokenp[1].token == ':' in timephrase() 105 && gds->tokenp[2].token == tUNUMBER in timephrase() 106 && gds->tokenp[3].token == ':' in timephrase() 107 && gds->tokenp[4].token == tUNUMBER) { in timephrase() 110 gds->Hour = gds->tokenp[0].value; in timephrase() 111 gds->Minutes = gds->tokenp[2].value; in timephrase() 112 gds->Seconds = gds->tokenp[4].value; in timephrase() 113 gds->tokenp += 5; in timephrase() [all …]
|
| /netbsd/src/lib/libc/rpc/ |
| D | getnetconfig.c | 528 char *tokenp; /* for processing tokens */ in parse_ncp() local 542 if ((tokenp = strtok_r(NULL, "\t ", &lasts)) == NULL) in parse_ncp() 544 if (strcmp(tokenp, NC_TPI_COTS_ORD_S) == 0) in parse_ncp() 546 else if (strcmp(tokenp, NC_TPI_COTS_S) == 0) in parse_ncp() 548 else if (strcmp(tokenp, NC_TPI_CLTS_S) == 0) in parse_ncp() 550 else if (strcmp(tokenp, NC_TPI_RAW_S) == 0) in parse_ncp() 556 if ((tokenp = strtok_r(NULL, "\t ", &lasts)) == NULL) in parse_ncp() 558 for (ncp->nc_flag = NC_NOFLAG; *tokenp != '\0'; tokenp++) { in parse_ncp() 559 switch (*tokenp) { in parse_ncp() 581 if ((tokenp = strtok_r(NULL, "\t ", &lasts)) == NULL) in parse_ncp() [all …]
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/ |
| D | linespec.c | 434 linespec_lexer_lex_number (linespec_parser *parser, linespec_token *tokenp) in linespec_lexer_lex_number() argument 436 tokenp->type = LSTOKEN_NUMBER; in linespec_lexer_lex_number() 437 LS_TOKEN_STOKEN (*tokenp).length = 0; in linespec_lexer_lex_number() 438 LS_TOKEN_STOKEN (*tokenp).ptr = PARSER_STREAM (parser); in linespec_lexer_lex_number() 443 ++LS_TOKEN_STOKEN (*tokenp).length; in linespec_lexer_lex_number() 449 ++LS_TOKEN_STOKEN (*tokenp).length; in linespec_lexer_lex_number() 460 PARSER_STREAM (parser) = LS_TOKEN_STOKEN (*tokenp).ptr; in linespec_lexer_lex_number()
|