Searched refs:tokenp (Results 1 – 2 of 2) sorted by relevance
59 struct token *tokenp; /* Pointer to next token. */ member102 if (gds->tokenp[0].token == tUNUMBER in timephrase()103 && gds->tokenp[1].token == ':' in timephrase()104 && gds->tokenp[2].token == tUNUMBER in timephrase()105 && gds->tokenp[3].token == ':' in timephrase()106 && gds->tokenp[4].token == tUNUMBER) { in timephrase()109 gds->Hour = gds->tokenp[0].value; in timephrase()110 gds->Minutes = gds->tokenp[2].value; in timephrase()111 gds->Seconds = gds->tokenp[4].value; in timephrase()112 gds->tokenp += 5; in timephrase()[all …]
559 char *tokenp; /* for processing tokens */ in parse_ncp() local571 if ((tokenp = strtok_r(NULL, "\t ", &lasts)) == NULL) { in parse_ncp()574 if (strcmp(tokenp, NC_TPI_COTS_ORD_S) == 0) in parse_ncp()576 else if (strcmp(tokenp, NC_TPI_COTS_S) == 0) in parse_ncp()578 else if (strcmp(tokenp, NC_TPI_CLTS_S) == 0) in parse_ncp()580 else if (strcmp(tokenp, NC_TPI_RAW_S) == 0) in parse_ncp()586 if ((tokenp = strtok_r(NULL, "\t ", &lasts)) == NULL) { in parse_ncp()589 for (ncp->nc_flag = NC_NOFLAG; *tokenp != '\0'; in parse_ncp()590 tokenp++) { in parse_ncp()591 switch (*tokenp) { in parse_ncp()[all …]