Lines Matching refs:ret

549     ssize_t    ret;  in nxt_conf_vldt_ticket_key_element()  local
559 ret = nxt_base64_decode(NULL, key.start, key.length); in nxt_conf_vldt_ticket_key_element()
560 if (ret == NXT_ERROR) { in nxt_conf_vldt_ticket_key_element()
565 if (ret != 48 && ret != 80) { in nxt_conf_vldt_ticket_key_element()
568 ret, &key); in nxt_conf_vldt_ticket_key_element()
1211 nxt_int_t ret; in nxt_conf_validate() local
1213 ret = nxt_conf_vldt_type(vldt, NULL, vldt->conf, NXT_CONF_VLDT_OBJECT); in nxt_conf_validate()
1214 if (ret != NXT_OK) { in nxt_conf_validate()
1215 return ret; in nxt_conf_validate()
1365 nxt_int_t ret; in nxt_conf_vldt_mtypes() local
1377 ret = nxt_conf_vldt_object_iterator(vldt, value, in nxt_conf_vldt_mtypes()
1384 return ret; in nxt_conf_vldt_mtypes()
1392 nxt_int_t ret; in nxt_conf_vldt_mtypes_type() local
1395 ret = nxt_conf_vldt_type(vldt, name, value, in nxt_conf_vldt_mtypes_type()
1397 if (ret != NXT_OK) { in nxt_conf_vldt_mtypes_type()
1398 return ret; in nxt_conf_vldt_mtypes_type()
1460 nxt_int_t ret; in nxt_conf_vldt_listener() local
1470 ret = nxt_conf_vldt_type(vldt, name, value, NXT_CONF_VLDT_OBJECT); in nxt_conf_vldt_listener()
1471 if (ret != NXT_OK) { in nxt_conf_vldt_listener()
1472 return ret; in nxt_conf_vldt_listener()
1531 nxt_int_t ret; in nxt_conf_vldt_pass() local
1538 ret = nxt_http_pass_segments(vldt->pool, &pass, segments, 3); in nxt_conf_vldt_pass()
1540 if (ret != NXT_OK) { in nxt_conf_vldt_pass()
1541 if (ret == NXT_DECLINED) { in nxt_conf_vldt_pass()
1884 nxt_int_t ret; in nxt_conf_vldt_routes_member() local
1886 ret = nxt_conf_vldt_type(vldt, name, value, NXT_CONF_VLDT_ARRAY); in nxt_conf_vldt_routes_member()
1888 if (ret != NXT_OK) { in nxt_conf_vldt_routes_member()
1889 return ret; in nxt_conf_vldt_routes_member()
1912 nxt_int_t ret; in nxt_conf_vldt_match_patterns() local
1917 ret = nxt_conf_vldt_array_iterator(vldt, value, in nxt_conf_vldt_match_patterns()
1922 ret = nxt_conf_vldt_match_pattern(vldt, value); in nxt_conf_vldt_match_patterns()
1927 return ret; in nxt_conf_vldt_match_patterns()
2051 nxt_int_t ret; in nxt_conf_vldt_match_encoded_patterns() local
2056 ret = nxt_conf_vldt_array_iterator(vldt, value, in nxt_conf_vldt_match_encoded_patterns()
2061 ret = nxt_conf_vldt_match_encoded_pattern(vldt, value); in nxt_conf_vldt_match_encoded_patterns()
2066 return ret; in nxt_conf_vldt_match_encoded_patterns()
2075 nxt_int_t ret; in nxt_conf_vldt_match_encoded_pattern() local
2083 ret = nxt_conf_vldt_match_pattern(vldt, value); in nxt_conf_vldt_match_encoded_pattern()
2084 if (nxt_slow_path(ret != NXT_OK)) { in nxt_conf_vldt_match_encoded_pattern()
2085 return ret; in nxt_conf_vldt_match_encoded_pattern()
2188 nxt_int_t ret; in nxt_conf_vldt_match_patterns_sets() local
2193 ret = nxt_conf_vldt_array_iterator(vldt, value, in nxt_conf_vldt_match_patterns_sets()
2198 ret = nxt_conf_vldt_match_patterns_set(vldt, value); in nxt_conf_vldt_match_patterns_sets()
2203 return ret; in nxt_conf_vldt_match_patterns_sets()
2288 nxt_int_t ret; in nxt_conf_vldt_object_conf_commands() local
2301 ret = nxt_conf_vldt_type(vldt, &name, member, NXT_CONF_VLDT_STRING); in nxt_conf_vldt_object_conf_commands()
2302 if (ret != NXT_OK) { in nxt_conf_vldt_object_conf_commands()
2303 return ret; in nxt_conf_vldt_object_conf_commands()
2374 nxt_int_t ret; in nxt_conf_vldt_app() local
2395 ret = nxt_conf_vldt_type(vldt, name, value, NXT_CONF_VLDT_OBJECT); in nxt_conf_vldt_app()
2397 if (ret != NXT_OK) { in nxt_conf_vldt_app()
2398 return ret; in nxt_conf_vldt_app()
2408 ret = nxt_conf_vldt_type(vldt, &type_str, type_value, NXT_CONF_VLDT_STRING); in nxt_conf_vldt_app()
2410 if (ret != NXT_OK) { in nxt_conf_vldt_app()
2411 return ret; in nxt_conf_vldt_app()
2435 nxt_int_t ret; in nxt_conf_vldt_object() local
2499 ret = nxt_conf_vldt_var(vldt, &name, &var); in nxt_conf_vldt_object()
2500 if (ret != NXT_OK) { in nxt_conf_vldt_object()
2501 return ret; in nxt_conf_vldt_object()
2508 ret = nxt_conf_vldt_type(vldt, &name, member, vals->type); in nxt_conf_vldt_object()
2509 if (ret != NXT_OK) { in nxt_conf_vldt_object()
2510 return ret; in nxt_conf_vldt_object()
2514 ret = vals->validator(vldt, member, vals->u.members); in nxt_conf_vldt_object()
2516 if (ret != NXT_OK) { in nxt_conf_vldt_object()
2517 return ret; in nxt_conf_vldt_object()
2560 nxt_int_t ret; in nxt_conf_vldt_processes() local
2579 ret = nxt_conf_vldt_object(vldt, value, data); in nxt_conf_vldt_processes()
2580 if (ret != NXT_OK) { in nxt_conf_vldt_processes()
2581 return ret; in nxt_conf_vldt_processes()
2588 ret = nxt_conf_map_object(vldt->pool, value, in nxt_conf_vldt_processes()
2592 if (ret != NXT_OK) { in nxt_conf_vldt_processes()
2593 return ret; in nxt_conf_vldt_processes()
2640 nxt_int_t ret; in nxt_conf_vldt_object_iterator() local
2655 ret = validator(vldt, &name, member); in nxt_conf_vldt_object_iterator()
2657 if (ret != NXT_OK) { in nxt_conf_vldt_object_iterator()
2658 return ret; in nxt_conf_vldt_object_iterator()
2669 nxt_int_t ret; in nxt_conf_vldt_array_iterator() local
2682 ret = validator(vldt, element); in nxt_conf_vldt_array_iterator()
2684 if (ret != NXT_OK) { in nxt_conf_vldt_array_iterator()
2685 return ret; in nxt_conf_vldt_array_iterator()
2741 nxt_int_t ret; in nxt_conf_vldt_targets() local
2753 ret = nxt_conf_vldt_object_iterator(vldt, value, &nxt_conf_vldt_target); in nxt_conf_vldt_targets()
2757 return ret; in nxt_conf_vldt_targets()
2830 nxt_int_t ret; in nxt_conf_vldt_clone_procmap() local
2837 ret = nxt_conf_map_object(vldt->pool, value, in nxt_conf_vldt_clone_procmap()
2841 if (ret != NXT_OK) { in nxt_conf_vldt_clone_procmap()
2842 return ret; in nxt_conf_vldt_clone_procmap()
2867 nxt_int_t ret; in nxt_conf_vldt_clone_uidmap() local
2874 ret = nxt_conf_vldt_object(vldt, value, in nxt_conf_vldt_clone_uidmap()
2876 if (nxt_slow_path(ret != NXT_OK)) { in nxt_conf_vldt_clone_uidmap()
2877 return ret; in nxt_conf_vldt_clone_uidmap()
2887 nxt_int_t ret; in nxt_conf_vldt_clone_gidmap() local
2894 ret = nxt_conf_vldt_object(vldt, value, in nxt_conf_vldt_clone_gidmap()
2896 if (nxt_slow_path(ret != NXT_OK)) { in nxt_conf_vldt_clone_gidmap()
2897 return ret; in nxt_conf_vldt_clone_gidmap()
3011 nxt_int_t ret; in nxt_conf_vldt_upstream() local
3016 ret = nxt_conf_vldt_type(vldt, name, value, NXT_CONF_VLDT_OBJECT); in nxt_conf_vldt_upstream()
3018 if (ret != NXT_OK) { in nxt_conf_vldt_upstream()
3019 return ret; in nxt_conf_vldt_upstream()
3022 ret = nxt_conf_vldt_object(vldt, value, nxt_conf_vldt_upstream_members); in nxt_conf_vldt_upstream()
3024 if (ret != NXT_OK) { in nxt_conf_vldt_upstream()
3025 return ret; in nxt_conf_vldt_upstream()
3042 nxt_int_t ret; in nxt_conf_vldt_server() local
3045 ret = nxt_conf_vldt_type(vldt, name, value, NXT_CONF_VLDT_OBJECT); in nxt_conf_vldt_server()
3047 if (ret != NXT_OK) { in nxt_conf_vldt_server()
3048 return ret; in nxt_conf_vldt_server()