Lines Matching refs:i

21     int i = 0;  in http_auth_scheme_get()  local
22 while (NULL != http_auth_schemes[i].name in http_auth_scheme_get()
23 && 0 != strcmp(http_auth_schemes[i].name, name->ptr)) { in http_auth_scheme_get()
24 ++i; in http_auth_scheme_get()
26 return (NULL != http_auth_schemes[i].name) ? http_auth_schemes+i : NULL; in http_auth_scheme_get()
31 unsigned int i = 0; in http_auth_scheme_set() local
32 while (NULL != http_auth_schemes[i].name) ++i; in http_auth_scheme_set()
34 force_assert(i<(sizeof(http_auth_schemes)/sizeof(http_auth_scheme_t))-1); in http_auth_scheme_set()
35 memcpy(http_auth_schemes+i, scheme, sizeof(http_auth_scheme_t)); in http_auth_scheme_set()
43 int i = 0; in http_auth_backend_get() local
44 while (NULL != http_auth_backends[i].name in http_auth_backend_get()
45 && 0 != strcmp(http_auth_backends[i].name, name->ptr)) { in http_auth_backend_get()
46 ++i; in http_auth_backend_get()
48 return (NULL != http_auth_backends[i].name) ? http_auth_backends+i : NULL; in http_auth_backend_get()
53 unsigned int i = 0; in http_auth_backend_set() local
54 while (NULL != http_auth_backends[i].name) ++i; in http_auth_backend_set()
56 force_assert(i<(sizeof(http_auth_backends)/sizeof(http_auth_backend_t))-1); in http_auth_backend_set()
57 memcpy(http_auth_backends+i, backend, sizeof(http_auth_backend_t)); in http_auth_backend_set()
87 for (size_t i = 0, used = a->used; i < used; ++i) { in http_auth_array_contains() local
88 if (buffer_eq_slen(&((data_string *)a->data[i])->value, k, klen)) in http_auth_array_contains()