Searched refs:ch (Results 1 – 14 of 14) sorted by relevance
/unit/src/ |
H A D | nxt_file_name.c | 23 u_char ch, *p; in nxt_file_name_create() local 37 ch = *fmt++; in nxt_file_name_create() 39 if (ch != '%') { in nxt_file_name_create() 49 ch = *fmt++; in nxt_file_name_create() 51 switch (ch) { in nxt_file_name_create() 81 ch = *fmt++; in nxt_file_name_create() 126 ch = *fmt++; in nxt_file_name_create() 128 if (ch != '%') { in nxt_file_name_create() 138 ch = *fmt++; in nxt_file_name_create() 140 switch (ch) { in nxt_file_name_create() [all …]
|
H A D | nxt_http_parse.c | 212 ch = *p; in nxt_http_parse_request_line() 219 if (ch == '_' || ch == '-') { in nxt_http_parse_request_line() 243 ch = *p; in nxt_http_parse_request_line() 488 ch = *p; in nxt_http_parse_unusual_target() 641 ch = *p; in nxt_http_parse_field_value() 643 if (ch != ' ' && ch != '\t') { in nxt_http_parse_field_value() 671 ch = *p; in nxt_http_parse_field_value() 673 if (nxt_fast_path(ch == '\r' || ch == '\n')) { in nxt_http_parse_field_value() 1046 if (ch >= '0' && ch <= '9') { in nxt_http_parse_complex_target() 1062 if (ch >= '0' && ch <= '9') { in nxt_http_parse_complex_target() [all …]
|
H A D | nxt_string.c | 530 ch = *src++; in nxt_decode_uri() 547 *dst++ = ch; in nxt_decode_uri() 565 ch = *src++; in nxt_decode_uri_plus() 567 switch (ch) { in nxt_decode_uri_plus() 588 *dst++ = ch; in nxt_decode_uri_plus() 662 if (nxt_uri_escape[ch >> 5] & (1U << (ch & 0x1f))) { in nxt_encode_complex_uri() 681 ch = *src++; in nxt_encode_complex_uri() 683 if (nxt_uri_escape[ch >> 5] & (1U << (ch & 0x1f))) { in nxt_encode_complex_uri() 698 *dst++ = ch; in nxt_encode_complex_uri() 714 ch = *src; in nxt_is_complex_uri_encoded() [all …]
|
H A D | nxt_fastcgi_record_parse.c | 23 u_char ch; in nxt_fastcgi_record_parse() local 98 ch = *fp->pos++; in nxt_fastcgi_record_parse() 100 nxt_thread_log_debug("fastcgi record byte: %02Xd", ch); in nxt_fastcgi_record_parse() 105 if (nxt_fast_path(ch == 1)) { in nxt_fastcgi_record_parse() 114 switch (ch) { in nxt_fastcgi_record_parse() 118 fp->type = ch; in nxt_fastcgi_record_parse() 128 if (nxt_fast_path(ch == 0)) { in nxt_fastcgi_record_parse() 137 if (nxt_fast_path(ch == 1)) { in nxt_fastcgi_record_parse() 146 fp->length = ch << 8; in nxt_fastcgi_record_parse() 151 fp->length |= ch; in nxt_fastcgi_record_parse() [all …]
|
H A D | nxt_timer.c | 130 nxt_timer_change_t *ch; in nxt_timer_change() local 153 ch->change = change; in nxt_timer_change() 154 ch->time = time; in nxt_timer_change() 155 ch->timer = timer; in nxt_timer_change() 170 ch = timers->changes; in nxt_timer_changes_commit() 171 end = ch + timers->nchanges; in nxt_timer_changes_commit() 173 add = ch; in nxt_timer_changes_commit() 176 while (ch < end) { in nxt_timer_changes_commit() 177 timer = ch->timer; in nxt_timer_changes_commit() 179 switch (ch->change) { in nxt_timer_changes_commit() [all …]
|
H A D | nxt_http_chunk_parse.c | 31 u_char c, ch; in nxt_http_chunk_parse() local 79 ch = *hcp->pos++; in nxt_http_chunk_parse() 86 c = ch - '0'; in nxt_http_chunk_parse() 93 c = (ch | 0x20) - 'a'; in nxt_http_chunk_parse() 104 c = ch - '0'; in nxt_http_chunk_parse() 107 c = (ch | 0x20) - 'a'; in nxt_http_chunk_parse() 112 } else if (nxt_fast_path(ch == '\r')) { in nxt_http_chunk_parse() 129 if (nxt_fast_path(ch == '\n')) { in nxt_http_chunk_parse() 144 if (nxt_fast_path(ch == '\r')) { in nxt_http_chunk_parse() 152 if (nxt_fast_path(ch == '\n')) { in nxt_http_chunk_parse()
|
H A D | nxt_conf.c | 1892 if (nxt_fast_path((ch >= '0' && ch <= '9') in nxt_conf_json_parse_string() 1893 || (ch >= 'A' && ch <= 'F') in nxt_conf_json_parse_string() 1894 || (ch >= 'a' && ch <= 'f'))) in nxt_conf_json_parse_string() 2073 ch = *s; in nxt_conf_json_parse_number() 2120 if (ch == 'e' || ch == 'E') { in nxt_conf_json_parse_number() 2127 if (ch == '-' || ch == '+') { in nxt_conf_json_parse_number() 2516 u_char ch; in nxt_conf_json_escape_length() local 2524 if (ch == '\\' || ch == '"') { in nxt_conf_json_escape_length() 2553 u_char ch; in nxt_conf_json_escape() local 2560 if (ch == '\\' || ch == '"') { in nxt_conf_json_escape() [all …]
|
H A D | nxt_time_parse.c | 313 u_char c, ch; in nxt_term_parse() local 346 ch = *p++; in nxt_term_parse() 350 if (ch == ' ') { in nxt_term_parse() 360 c = ch - '0'; in nxt_term_parse() 375 switch (ch) { in nxt_term_parse()
|
H A D | nxt_var.c | 334 u_char *p, *end, ch, c; in nxt_var_next_part() local 366 ch = *p; in nxt_var_next_part() 368 c = (u_char) (ch | 0x20); in nxt_var_next_part() 369 if ((c < 'a' || c > 'z') && ch != '_') { in nxt_var_next_part() 371 if (bracket && ch != '}') { in nxt_var_next_part()
|
H A D | nxt_http_request.c | 109 u_char *h, ch; in nxt_http_validate_host() local 128 ch = h[i]; in nxt_http_validate_host() 130 if (ch > ']') { in nxt_http_validate_host() 135 switch (ch) { in nxt_http_validate_host() 172 if (ch >= 'A' && ch <= 'Z') { in nxt_http_validate_host()
|
H A D | nxt_http_static.c | 754 u_char ch, *p, *end; in nxt_http_static_extract_extension() local 761 ch = *p; in nxt_http_static_extract_extension() 763 switch (ch) { in nxt_http_static_extract_extension()
|
H A D | nxt_main_process.c | 368 u_char *start, *p, ch; in nxt_main_start_process_handler() local 474 ch = app_conf->type.start[type_len]; in nxt_main_start_process_handler() 476 if (ch == ' ' || nxt_isdigit(ch)) { in nxt_main_start_process_handler()
|
H A D | nxt_unit.c | 1911 u_char ch; in nxt_unit_field_hash() local 1919 ch = *p; in nxt_unit_field_hash() 1920 hash = (hash << 4) + hash + nxt_lowcase(ch); in nxt_unit_field_hash()
|
/unit/go/ |
H A D | response.go | 21 ch chan int member 44 if r.ch == nil { 45 r.ch = make(chan int, 2) 48 wait_shm_ack(r.ch)
|