Lines Matching refs:a_separators

179 pkgstrNumTokens(char *a_string, char *a_separators)  in pkgstrNumTokens()  argument
194 p = pkgstrGetToken((char *)NULL, a_string, index, a_separators); in pkgstrNumTokens()
333 char *a_separators) in pkgstrExpandTokens() argument
353 p = pkgstrGetToken((char *)NULL, a_string, i, a_separators); in pkgstrExpandTokens()
406 pkgstrGetToken(char *r_sep, char *a_string, int a_index, char *a_separators) in pkgstrGetToken() argument
416 assert(a_separators != (char *)NULL); in pkgstrGetToken()
417 assert(*a_separators != '\0'); in pkgstrGetToken()
436 while (q = strtok_r((char *)NULL, a_separators, &lasts)) { in pkgstrGetToken()
442 x = strpbrk(a_string, a_separators); in pkgstrGetToken()
519 char *a_separators, char *a_buf, int a_bufLen) in pkgstrGetToken_r() argument
529 assert(a_separators != (char *)NULL); in pkgstrGetToken_r()
530 assert(*a_separators != '\0'); in pkgstrGetToken_r()
555 while (q = strtok_r((char *)NULL, a_separators, &lasts)) { in pkgstrGetToken_r()
560 x = strpbrk(a_string, a_separators); in pkgstrGetToken_r()
676 pkgstrContainsToken(char *a_string, char *a_token, char *a_separators) in pkgstrContainsToken() argument
684 assert(a_separators != (char *)NULL); in pkgstrContainsToken()
685 assert(*a_separators != '\0'); in pkgstrContainsToken()
717 while ((current = strtok_r((char *)NULL, a_separators, &lasts)) != in pkgstrContainsToken()
763 pkgstrRemoveToken(char **r_string, char *a_token, char *a_separators, in pkgstrRemoveToken() argument
777 assert(a_separators != (char *)NULL); in pkgstrRemoveToken()
778 assert(*a_separators != '\0'); in pkgstrRemoveToken()
799 if (!pkgstrContainsToken(a_string, a_token, a_separators)) { in pkgstrRemoveToken()
818 p = pkgstrGetToken(&sep, a_string, i, a_separators); in pkgstrRemoveToken()