Searched defs:string (Results 1 - 17 of 17) sorted by relevance

/httpd/server/
H A Dutil_expr_parse.y45 %token T_EXPR_STRING "string expression"
58 %token T_STR_BEGIN "start of string"
59 %token T_STR_END "end of string"
72 %token T_OP_STR_EQ "string equal"
73 %token T_OP_STR_NE "string not equal"
74 %token T_OP_STR_LT "string less than"
75 %token T_OP_STR_LE "string less or equal"
76 %token T_OP_STR_GT "string greater than"
77 %token T_OP_STR_GE "string greater or equal"
78 %token T_OP_CONCAT "string concatenatio
154 string : string strpart { $$ = ap_expr_make(op_Concat, $1, $2, ctx); } label
[all...]
H A Dutil_md5.c60 * Take the MD5 hash of the string argument.
75 AP_DECLARE(char *) ap_md5(apr_pool_t *p, const unsigned char *string) argument
77 return ap_md5_binary(p, string, (int) strlen((char *)string));
H A Dutil_pcre.c187 AP_DECLARE(int) ap_regexec(const ap_regex_t *preg, const char *string, argument
191 return ap_regexec_len(preg, string, strlen(string), nmatch, pmatch,
H A Dcore.c830 /* check for string registered via ap_custom_response() first */
836 /* check for string specified via ErrorDocument */
942 /* if failed, set it to the NULL string to indicate error */
1231 const char *string; member in struct:sll
1249 current->string = word;
1274 current->string = word;
1283 current->string = s;
1290 current->string = s++;
1298 current->string = word;
1308 memcpy(cp, result->string, resul
1521 ap_custom_response(request_rec *r, int status, const char *string) argument
[all...]
H A Dutil.c18 * util.c: string utility things
102 * Examine a field value (such as a media-/content-type) string and return
137 * on hosts that do not have a time zone string in struct tm,
327 /* second string ended, a match */
371 * input should be the string with the $-expressions, source should be the
372 * string that was matched against.
374 * It returns the substituted string, or NULL if a vbuf is used.
375 * On errors, returns the orig string.
443 /* Now actually fill in the string */
977 /* If a "get string" functio
2317 ap_pbase64encode(apr_pool_t *p, char *string) argument
2409 ap_append_pid(apr_pool_t *p, const char *string, const char *delim) argument
[all...]
/httpd/modules/session/
H A Dmod_session_cookie.c200 * Sanity check a given string that it exists, is not empty,
203 static const char *check_string(cmd_parms * cmd, const char *string) argument
205 if (!string || !*string || ap_strchr_c(string, '=') || ap_strchr_c(string, '&')) {
H A Dmod_session_dbd.c530 * Sanity check a given string that it exists, is not empty,
533 static const char *check_string(cmd_parms * cmd, const char *string) argument
535 if (APR_SUCCESS != ap_cookie_check_string(string)) {
/httpd/support/
H A Dhtdigest.c130 char string[3 * MAX_STRING_LEN]; /* this includes room for 2 * ':' + '\0' */ local
150 apr_snprintf(string, sizeof(string), "%s:%s:%s", user, realm, pw);
156 apr_md5_update(&context, (unsigned char *) string, strlen(string));
/httpd/modules/mappers/
H A Dmod_imagemap.c283 /* See if string has a "quoted part", and if so set *quoted_part to
285 * trailing quote, and set *string to point at the first character
288 * Otherwise set *quoted_part to NULL, and leave *string alone.
290 static void read_quoted(char **string, char **quoted_part) argument
292 char *strp = *string;
298 strp++; /* go along string until non-whitespace */
309 *strp = '\0'; /* end the string with a NUL */
312 *string = strp;
345 * because it hammers the passed in value, which can be a string
392 end the base URL string a
[all...]
H A Dmod_negotiation.c359 * This is quite easy. If the supplied string doesn't match the above
363 static float atoq(const char *string) argument
365 if (!string || !*string) {
369 while (apr_isspace(*string)) {
370 ++string;
376 if (*string != '.' && *string++ != '0') {
380 if (*string == '.') {
386 if (*++string >
[all...]
H A Dmod_rewrite.c298 char *input; /* Input string of RewriteCond */
299 char *pattern; /* the RegExp pattern string */
315 char *pattern; /* the RegExp pattern string */
317 char *output; /* the Substitution string */
385 const char *string; member in struct:result_list
503 * the scheme supports a query string or not.
753 * the current URI string
760 /* don't touch, unless it's a scheme for which a query string makes sense.
770 r->args = NULL; /* Discard query string */
771 rewritelog((r, 2, NULL, "discarding query string"));
[all...]
/httpd/modules/aaa/
H A Dmod_auth_form.c193 * Sanity check a given string that it exists, is not empty,
196 static const char *check_string(cmd_parms * cmd, const char *string) argument
198 if (!string || !*string || ap_strchr_c(string, '=') || ap_strchr_c(string, '&')) {
/httpd/modules/filters/
H A Dmod_deflate.c192 static void putLong(unsigned char *string, unsigned long x) argument
194 string[0] = (unsigned char)(x & 0xff);
195 string[1] = (unsigned char)((x & 0xff00) >> 8);
196 string[2] = (unsigned char)((x & 0xff0000) >> 16);
197 string[3] = (unsigned char)((x & 0xff000000) >> 24);
200 /* Inputs a string and returns a long.
202 static unsigned long getLong(unsigned char *string) argument
204 return ((unsigned long)string[0])
205 | (((unsigned long)string[1]) << 8)
206 | (((unsigned long)string[
[all...]
H A Dmod_include.c62 /* sll used for string expansion */
66 const char *string; member in struct:result_item
490 * decodes a string containing html entities or numeric character references.
491 * 's' is overwritten with the decoded string.
530 /* Do a fast scan through the string until we find anything
741 * string from ctx->pool. The return value is always the parsed string)
788 current->string = in;
817 current->string = (p[1] == '$') ? ++p : p;
856 /* empty name results in a copy of '$' in the output string */
964 re_check(include_ctx_t *ctx, const char *string, const char *rexp) argument
[all...]
/httpd/modules/lua/
H A Dmod_lua.c19 #include <string.h>
237 static const char* ap_lua_interpolate_string(apr_pool_t* pool, const char* string, const char** values) argument
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 */
[all...]
H A Dlua_request.c145 lua_pushstring(L, value); /* [string, 1, array, table<s,t>, table<s,s>] */
154 lua_pushstring(L, value); /* [string, #, array, table<s,t>, table<s,s>] */
166 lua_pushstring(L, value); /* [string, table<s,s>, table<s,t>] */
194 lua_pushlstring(L, value, len); /* [string, 1, array, table<s,t>, table<s,s>] */
204 lua_pushlstring(L, value, len); /* [string, #, array, table<s,t>, table<s,s>] */
216 lua_pushlstring(L, value, len); /* [string, table<s,s>, table<s,t>] */
318 return 2; /* [table<string, string>, table<string, array<string>>] */
1749 const char *string; local
2394 const char *string; local
[all...]
/httpd/modules/ssl/
H A Dssl_engine_kernel.c1080 * adding the string "xxj31ZMTZzkVA" as the password in the user file.
2314 * string in wire format -- a sequence of length-prefixed strings -- indicating
2352 * them together into a single string, where each protocol name is prefixed
2353 * by its length. First, calculate how long that string will be. */
2356 const char *string = APR_ARRAY_IDX(protos, i, const char*); local
2357 unsigned int length = strlen(string);
2363 length, string);
2378 /* Now we can build the string. Copy each protocol name string into the
2379 * larger string, prefixe
2383 const char *string = APR_ARRAY_IDX(protos, i, const char*); local
[all...]

Completed in 85 milliseconds