Lines Matching refs:line

159 parseLine(const char *line);
165 chomp(char *line);
168 addOfficialTaggedStandards(char *line, int32_t lineLen);
235 /* preset then read command line options */
242 "error in command line argument \"%s\"\n",
334 char line[MAX_LINE_SIZE];
355 uprv_strcpy(line + lineSize, lastLine);
365 if (isspace((int)*line)) {
368 } else if (line[0] == '{') {
369 if (!standardTagsUsed && line[lineSize - 1] != '}') {
373 addOfficialTaggedStandards(line, lineSize);
377 parseLine(line);
384 /* Was the last line consumed */
386 uprv_strcpy(line, lastLine);
401 chomp(char *line) {
402 char *s = line;
403 char *lastNonSpace = line;
415 if (lastNonSpace++ > line) {
419 return (int32_t)(s - line);
423 parseLine(const char *line) {
429 /* while(line[pos]!=0 && isspace(line[pos])) {
434 /* is there nothing on this line? */
435 if(line[pos]==0) {
441 while(line[pos]!=0 && !isspace((int)line[pos])) {
448 converter=allocString(&stringBlock, line+start, length);
460 while(line[pos]!=0 && isspace((int)line[pos])) {
464 /* is there no more alias name on this line? */
465 if(line[pos]==0) {
471 while(line[pos]!=0 && line[pos]!='{' && !isspace((int)line[pos])) {
484 alias=allocString(&stringBlock, line+start, length);
493 while (line[pos] && isspace((int)line[pos])) {
498 if (line[pos] == '{') {
502 while (line[pos] && line[pos] != '}' && !isspace((int)line[pos])) {
509 uint16_t tag = getTagNumber(line + start, (uint16_t)(limit - start));
510 addAlias(alias, tag, cnv, (UBool)(line[limit-1] == '*'));
513 while (line[pos] && isspace((int)line[pos])) {
516 } while (line[pos] && line[pos] != '}');
518 if (line[pos] == '}') {
586 addOfficialTaggedStandards(char *line, int32_t lineLen) {
597 tag = strchr(line, '{');
700 fprintf(stderr, "warning(line %d): alias %s contains a \""UCNV_OPTION_SEP_STRING"\". Options are parsed at run-time and do not need to be in the alias table.\n",
705 fprintf(stderr, "warning(line %d): alias %s contains an \""UCNV_VALUE_SEP_STRING"\". Options are parsed at run-time and do not need to be in the alias table.\n",