Lines Matching defs:string
19 #include <string.h>
237 static const char* ap_lua_interpolate_string(apr_pool_t* pool, const char* string, const char** values)
242 srclen = strlen(string);
246 if (string[x] == '$' && x != srclen-1 && string[x+1] >= '0' && string[x+1] <= '9') {
247 int v = *(string+x+1) - '0';
249 stringBetween = apr_pstrndup(pool, string+y, x-y);
260 stringBetween = apr_pstrndup(pool, string+y, x-y);
263 /* If no replacement was made, just return the original string */
265 return string;