Lines Matching refs:textlen
530 int textlen; /* property string length */ in doAddProperties() local
532 textlen = strlen(str) + 1; in doAddProperties()
534 textlen += strlen(PICO_PITCH_OPEN_TAG) + 5; in doAddProperties()
535 textlen += strlen(PICO_PITCH_CLOSE_TAG); in doAddProperties()
539 textlen += strlen(PICO_SPEED_OPEN_TAG) + 5; in doAddProperties()
540 textlen += strlen(PICO_SPEED_CLOSE_TAG); in doAddProperties()
545 textlen += strlen(PICO_VOLUME_OPEN_TAG) + 5; in doAddProperties()
546 textlen += strlen(PICO_VOLUME_CLOSE_TAG); in doAddProperties()
551 data = (char *) malloc( textlen ); /* allocate string */ in doAddProperties()
555 memset(data, 0, textlen); /* clear it */ in doAddProperties()
603 static int get_tok(const char * str , int pos, int textlen, int *tokstart, int *toklen) in get_tok() argument
608 while ((pos<textlen) && (strchr(seps,str[pos]) != NULL)) { in get_tok()
611 if (pos == textlen) { in get_tok()
617 while ((pos<textlen) && (strchr(seps,str[pos]) == NULL)) { in get_tok()
635 static int get_sub_tok(const char * str , int pos, int textlen, int *tokstart, int *toklen) { in get_sub_tok() argument
639 if (pos == textlen) { in get_sub_tok()
646 while ((pos < textlen) && (strchr(seps, str[pos]) != NULL)) { in get_sub_tok()
649 if (pos == textlen) { in get_sub_tok()
656 while ((pos < textlen) && (strchr(seps, str[pos]) == NULL)) { in get_sub_tok()
659 if (pos == textlen) { in get_sub_tok()
681 int textlen; /* input string length */ in doCamelCase() local
696 textlen = strlen(str) + 1; in doCamelCase()
700 while (get_tok(str, pos, textlen, &tokstart, &toklen)) { in doCamelCase()
725 while (get_tok (str, pos, textlen, &tokstart, &toklen)) { in doCamelCase()