Lines Matching defs:delim
97 static char **splitarray(const char *buffer, const char *buffend, char delim);
98 static int joinarray(char * const * argv, char *buffer, char delim);
99 static char *getfield(char **res, size_t reslen, char **buffer, char delim);
1641 * static char ** splitarray(const char *buffer, const char *buffend, char delim)
1645 * Split a delim separated astring. Not allowed
1660 splitarray(const char *buffer, const char *buffend, char delim) {
1668 else if (buffend > buffer && *buffer == delim)
1670 else if (buffend > buffer && *(buffend - 1) == delim)
1676 if (*q == delim) {
1677 if (q > buffer && (*(q - 1) == delim)) {
1696 for (q = p ; *q != delim && q != buffend ; q++)
1742 * int joinarray(char * const *argv, char *buffer, char delim)
1758 joinarray(char * const *argv, char *buffer, char delim) {
1767 sep[0] = delim;
1781 * static char * getfield(char **res, size_t reslen, char **ptr, char delim)
1799 getfield(char **res, size_t reslen, char **ptr, char delim) {
1807 q = strchr(*ptr, delim);