Home
last modified time | relevance | path

Searched refs:state (Results 1 – 25 of 222) sorted by last modified time

123456789

/php-src/ext/odbc/
H A Dphp_odbc.c749 SQLCHAR state[6]; in odbc_bindcols() local
752 memset(state, '\0', 6); in odbc_bindcols()
754 …if (SQL_SUCCESS == SQLGetDiagRec(SQL_HANDLE_STMT, result->stmt, 1, state, &err, errtxt, 128, NULL)… in odbc_bindcols()
756 state[5] = '\0'; in odbc_bindcols()
757 …ref(NULL, E_WARNING, "SQLColAttribute can't handle SQL_DESC_OCTET_LENGTH: [%s] %s", state, errtxt); in odbc_bindcols()
1212 char state[6]; /* Not used */ in PHP_FUNCTION() local
1218 result->stmt, (SQLCHAR *) state, &error, (SQLCHAR *) errormsg, in PHP_FUNCTION()
1220 if (!strncmp(state,"S1015",5)) { in PHP_FUNCTION()
1229 php_error_docref(NULL, E_WARNING, "SQL error: %s, SQL state %s", errormsg, state); in PHP_FUNCTION()
/php-src/ext/random/
H A Dengine_user.c24 static php_random_result generate(void *state) in generate() argument
26 php_random_status_state_user *s = state; in generate()
68 static zend_long range(void *state, zend_long min, zend_long max) in range() argument
72 .state = state, in range()
H A Dengine_xoshiro256starstar.c69 s0 ^= state->state[0]; in jump()
70 s1 ^= state->state[1]; in jump()
79 state->state[0] = s0; in jump()
80 state->state[1] = s1; in jump()
81 state->state[2] = s2; in jump()
82 state->state[3] = s3; in jump()
87 state->state[0] = s0; in php_random_xoshiro256starstar_seed256()
88 state->state[1] = s1; in php_random_xoshiro256starstar_seed256()
89 state->state[2] = s2; in php_random_xoshiro256starstar_seed256()
90 state->state[3] = s3; in php_random_xoshiro256starstar_seed256()
[all …]
H A Dengine_combinedlcg.c40 state->state[0] = seed & 0xffffffffU; in php_random_combinedlcg_seed64()
41 state->state[1] = seed >> 32; in php_random_combinedlcg_seed64()
44 static php_random_result generate(void *state) in generate() argument
46 php_random_status_state_combinedlcg *s = state; in generate()
54 z = s->state[0] - s->state[1]; in generate()
69 .state = state, in range()
73 static bool serialize(void *state, HashTable *data) in serialize() argument
75 php_random_status_state_combinedlcg *s = state; in serialize()
86 static bool unserialize(void *state, HashTable *data) in unserialize() argument
88 php_random_status_state_combinedlcg *s = state; in unserialize()
[all …]
H A Dengine_mt19937.c105 uint32_t *p = state->state; in mt19937_reload()
114 *p = twist(p[M-N], p[0], state->state[0]); in mt19937_reload()
122 *p = twist_php(p[M-N], p[0], state->state[0]); in mt19937_reload()
125 state->count = 0; in mt19937_reload()
136 state->state[0] = seed; in php_random_mt19937_seed32()
138 prev_state = state->state[i - 1]; in php_random_mt19937_seed32()
141 state->count = i; in php_random_mt19937_seed32()
143 mt19937_reload(state); in php_random_mt19937_seed32()
155 s1 = s->state[s->count++]; in generate()
170 .state = state, in range()
[all …]
H A Dengine_secure.c28 static php_random_result generate(void *state) in generate() argument
40 static zend_long range(void *state, zend_long min, zend_long max) in range() argument
H A Dengine_pcgoneseq128xslrr64.c32 s->state = php_random_uint128_add( in step()
40 s->state = php_random_uint128_constant(0ULL, 0ULL); in php_random_pcgoneseq128xslrr64_seed128()
42 s->state = php_random_uint128_add(s->state, seed); in php_random_pcgoneseq128xslrr64_seed128()
46 static php_random_result generate(void *state) in generate() argument
62 .state = state, in range()
66 static bool serialize(void *state, HashTable *data) in serialize() argument
72 u = php_random_uint128_hi(s->state); in serialize()
76 u = php_random_uint128_lo(s->state); in serialize()
135state->state = php_random_uint128_add(php_random_uint128_multiply(acc_mult, state->state), acc_plu… in php_random_pcgoneseq128xslrr64_advance()
143 php_random_status_state_pcgoneseq128xslrr64 *state = engine.state; in PHP_METHOD() local
[all …]
/php-src/ext/mbstring/
H A Dmbstring.c2597 state = 0; in mb_trim_string()
4269 int state = 0; in _php_mbstr_parse_mail_headers() local
4297 if (state == 0 || state == 1) { in _php_mbstr_parse_mail_headers()
4301 state = 2; in _php_mbstr_parse_mail_headers()
4328 state = 4; in _php_mbstr_parse_mail_headers()
4331 state = 5; in _php_mbstr_parse_mail_headers()
4337 if (state == 1 || state == 3) { in _php_mbstr_parse_mail_headers()
4349 state = 1; in _php_mbstr_parse_mail_headers()
4388 state = 3; in _php_mbstr_parse_mail_headers()
4408 state = 3; in _php_mbstr_parse_mail_headers()
[all …]
/php-src/ext/dom/lexbor/lexbor/selectors/
H A Dselectors.h100 lxb_selectors_state_cb_f state; member
H A Dselectors.c402 selectors->state = lxb_selectors_state_find; in lxb_selectors_state_run()
408 entry = selectors->state(selectors, entry); in lxb_selectors_state_run()
777 selectors->state = lxb_selectors_state_find; in lxb_selectors_state_pseudo_class_function()
876 selectors->state = lxb_selectors_state_find; in lxb_selectors_state_after_find_has()
936 selectors->state = lxb_selectors_state_find; in lxb_selectors_state_after_find_has()
945 selectors->state = lxb_selectors_state_find; in lxb_selectors_state_after_find_has()
968 selectors->state = lxb_selectors_state_find; in lxb_selectors_state_after_find()
1014 selectors->state = lxb_selectors_state_find; in lxb_selectors_state_after_find()
1021 selectors->state = lxb_selectors_state_find; in lxb_selectors_state_after_find()
1080 selectors->state = lxb_selectors_state_find; in lxb_selectors_state_after_nth_child()
[all …]
/php-src/ext/dom/lexbor/lexbor/html/tokenizer/
H A Dstate.c861 tkz->state = in lxb_html_tokenizer_state_before_attribute_value()
868 tkz->state = in lxb_html_tokenizer_state_before_attribute_value()
917 tkz->state = in lxb_html_tokenizer_state_attribute_value_double_quoted()
1011 tkz->state = in lxb_html_tokenizer_state_attribute_value_single_quoted()
1261 tkz->state = tkz->state_return; in lxb_html_tokenizer_state_cr()
1785 tkz->state = tkz->state_return; in _lxb_html_tokenizer_state_char_ref()
1843 tkz->state = tkz->state_return; in lxb_html_tokenizer_state_char_ref_named()
1909 tkz->state = tkz->state_return; in lxb_html_tokenizer_state_char_ref_ambiguous_ampersand()
1957 tkz->state = tkz->state_return; in lxb_html_tokenizer_state_char_ref_hexademical_start()
1979 tkz->state = tkz->state_return; in lxb_html_tokenizer_state_char_ref_decimal_start()
[all …]
H A Dstate_comment.c100 tkz->state = lxb_html_tokenizer_state_data_before; in lxb_html_tokenizer_state_comment_start()
111 tkz->state = lxb_html_tokenizer_state_comment; in lxb_html_tokenizer_state_comment_start()
127 tkz->state = lxb_html_tokenizer_state_comment_end; in lxb_html_tokenizer_state_comment_start_dash()
160 tkz->state = lxb_html_tokenizer_state_comment; in lxb_html_tokenizer_state_comment_start_dash()
282 tkz->state = lxb_html_tokenizer_state_comment; in lxb_html_tokenizer_state_comment_less_than_sign()
302 tkz->state = lxb_html_tokenizer_state_comment; in lxb_html_tokenizer_state_comment_less_than_sign_bang()
318 tkz->state = in lxb_html_tokenizer_state_comment_less_than_sign_bang_dash()
356 tkz->state = lxb_html_tokenizer_state_comment_end; in lxb_html_tokenizer_state_comment_less_than_sign_bang_dash_dash()
390 tkz->state = lxb_html_tokenizer_state_comment; in lxb_html_tokenizer_state_comment_end_dash()
442 tkz->state = lxb_html_tokenizer_state_comment; in lxb_html_tokenizer_state_comment_end()
[all …]
H A Dstate_script.c163 tkz->state = in lxb_html_tokenizer_state_script_data()
476 tkz->state = in lxb_html_tokenizer_state_script_data_escaped()
565 tkz->state = in lxb_html_tokenizer_state_script_data_escaped_dash()
623 tkz->state = in lxb_html_tokenizer_state_script_data_escaped_dash_dash()
849 tkz->state = in lxb_html_tokenizer_state_script_data_double_escape_start()
897 tkz->state = in lxb_html_tokenizer_state_script_data_double_escaped()
906 tkz->state = in lxb_html_tokenizer_state_script_data_double_escaped()
986 tkz->state = in lxb_html_tokenizer_state_script_data_double_escaped_dash()
995 tkz->state = in lxb_html_tokenizer_state_script_data_double_escaped_dash()
1053 tkz->state = in lxb_html_tokenizer_state_script_data_double_escaped_dash_dash()
[all …]
H A Dstate_doctype.c630 tkz->state = in lxb_html_tokenizer_state_doctype_after_public_keyword()
640 tkz->state = in lxb_html_tokenizer_state_doctype_after_public_keyword()
650 tkz->state = in lxb_html_tokenizer_state_doctype_after_public_keyword()
719 tkz->state = in lxb_html_tokenizer_state_doctype_before_public_identifier()
726 tkz->state = in lxb_html_tokenizer_state_doctype_before_public_identifier()
1023 tkz->state = in lxb_html_tokenizer_state_doctype_after_public_identifier()
1043 tkz->state = in lxb_html_tokenizer_state_doctype_after_public_identifier()
1055 tkz->state = in lxb_html_tokenizer_state_doctype_after_public_identifier()
1123 tkz->state = in lxb_html_tokenizer_state_doctype_between_public_and_system_identifiers()
1132 tkz->state = in lxb_html_tokenizer_state_doctype_between_public_and_system_identifiers()
[all …]
H A Dstate_rawtext.c53 tkz->state = lxb_html_tokenizer_state_rawtext; in lxb_html_tokenizer_state_rawtext_before()
75 tkz->state = lxb_html_tokenizer_state_rawtext_less_than_sign; in lxb_html_tokenizer_state_rawtext()
84 tkz->state = lxb_html_tokenizer_state_cr; in lxb_html_tokenizer_state_rawtext()
151 tkz->state = lxb_html_tokenizer_state_rawtext_end_tag_open; in lxb_html_tokenizer_state_rawtext_less_than_sign()
156 tkz->state = lxb_html_tokenizer_state_rawtext; in lxb_html_tokenizer_state_rawtext_less_than_sign()
173 tkz->state = lxb_html_tokenizer_state_rawtext_end_tag_name; in lxb_html_tokenizer_state_rawtext_end_tag_open()
176 tkz->state = lxb_html_tokenizer_state_rawtext; in lxb_html_tokenizer_state_rawtext_end_tag_open()
216 tkz->state = lxb_html_tokenizer_state_before_attribute_name; in lxb_html_tokenizer_state_rawtext_end_tag_name()
229 tkz->state = lxb_html_tokenizer_state_self_closing_start_tag; in lxb_html_tokenizer_state_rawtext_end_tag_name()
242 tkz->state = lxb_html_tokenizer_state_data_before; in lxb_html_tokenizer_state_rawtext_end_tag_name()
[all …]
H A Dstate_rcdata.c53 tkz->state = lxb_html_tokenizer_state_rcdata; in lxb_html_tokenizer_state_rcdata_before()
75 tkz->state = lxb_html_tokenizer_state_rcdata_less_than_sign; in lxb_html_tokenizer_state_rcdata()
83 tkz->state = lxb_html_tokenizer_state_char_ref; in lxb_html_tokenizer_state_rcdata()
93 tkz->state = lxb_html_tokenizer_state_cr; in lxb_html_tokenizer_state_rcdata()
160 tkz->state = lxb_html_tokenizer_state_rcdata_end_tag_open; in lxb_html_tokenizer_state_rcdata_less_than_sign()
165 tkz->state = lxb_html_tokenizer_state_rcdata; in lxb_html_tokenizer_state_rcdata_less_than_sign()
182 tkz->state = lxb_html_tokenizer_state_rcdata_end_tag_name; in lxb_html_tokenizer_state_rcdata_end_tag_open()
185 tkz->state = lxb_html_tokenizer_state_rcdata; in lxb_html_tokenizer_state_rcdata_end_tag_open()
225 tkz->state = lxb_html_tokenizer_state_before_attribute_name; in lxb_html_tokenizer_state_rcdata_end_tag_name()
251 tkz->state = lxb_html_tokenizer_state_data_before; in lxb_html_tokenizer_state_rcdata_end_tag_name()
[all …]
/php-src/ext/dom/lexbor/lexbor/html/
H A Dtokenizer.c101 tkz->state = lxb_html_tokenizer_state_data_before; in lxb_html_tokenizer_init()
141 tkz_to->state = lxb_html_tokenizer_state_data_before; in lxb_html_tokenizer_inherit()
203 tkz->state = lxb_html_tokenizer_state_data_before; in lxb_html_tokenizer_clean()
319 const lxb_char_t *new_data = tkz->state(tkz, data, end); in lxb_html_tokenizer_chunk()
356 while (tkz->state(tkz, data, end) < end) { in lxb_html_tokenizer_end()
409 tkz->state = lxb_html_tokenizer_state_data_before; in lxb_html_tokenizer_set_state_by_tag()
418 tkz->state = lxb_html_tokenizer_state_rcdata_before; in lxb_html_tokenizer_set_state_by_tag()
428 tkz->state = lxb_html_tokenizer_state_rawtext_before; in lxb_html_tokenizer_set_state_by_tag()
446 tkz->state = lxb_html_tokenizer_state_data_before; in lxb_html_tokenizer_set_state_by_tag()
486 lxb_html_tokenizer_state_f state) in lxb_html_tokenizer_state_set_noi() argument
[all …]
H A Dtokenizer.h35 lxb_html_tokenizer_state_f state; member
223 lxb_html_tokenizer_state_f state) in lxb_html_tokenizer_state_set() argument
225 tkz->state = state; in lxb_html_tokenizer_state_set()
321 lxb_html_tokenizer_state_f state);
H A Dparser.c58 parser->state = LXB_HTML_PARSER_STATE_BEGIN; in lxb_html_parser_init()
72 parser->state = LXB_HTML_PARSER_STATE_BEGIN; in lxb_html_parser_clean()
193 parser->state = LXB_HTML_PARSER_STATE_ERROR; in lxb_html_parse_fragment_chunk_begin()
269 parser->state = LXB_HTML_PARSER_STATE_ERROR; in lxb_html_parse_fragment_chunk_begin()
290 parser->state = LXB_HTML_PARSER_STATE_ERROR; in lxb_html_parse_fragment_chunk_process()
319 parser->state = LXB_HTML_PARSER_STATE_END; in lxb_html_parse_fragment_chunk_end()
357 parser->state = LXB_HTML_PARSER_STATE_PROCESS; in lxb_html_parse_chunk_prepare()
368 parser->state = LXB_HTML_PARSER_STATE_ERROR; in lxb_html_parse_chunk_prepare()
385 parser->state = LXB_HTML_PARSER_STATE_ERROR; in lxb_html_parse_chunk_begin()
411 parser->state = LXB_HTML_PARSER_STATE_ERROR; in lxb_html_parse_chunk_process()
[all …]
H A Dparser.h38 lxb_html_parser_state_t state; member
128 return parser->state; in lxb_html_parser_state()
/php-src/ext/dom/lexbor/lexbor/css/
H A Dbase.h77 lxb_css_parser_state_f state; member
/php-src/ext/dom/lexbor/lexbor/core/
H A Davl.c459 int state = 0; in lexbor_avl_foreach() local
479 state = 2; in lexbor_avl_foreach()
482 state = parent->left == node; in lexbor_avl_foreach()
490 if (state == 2) { in lexbor_avl_foreach()
507 if (state) { in lexbor_avl_foreach()
/php-src/ext/readline/
H A Dreadline_cli.c428 if (!(*state % 2)) { in cli_completion_generator_ht()
430 (*state)++; in cli_completion_generator_ht()
445 (*state)++; in cli_completion_generator_ht()
449 static char *cli_completion_generator_var(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_var() argument
454 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, symbol_table, NULL); in cli_completion_generator_var()
464 static char *cli_completion_generator_ini(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_ini() argument
468 tmp = retval = cli_completion_generator_ht(text + 1, textlen - 1, state, EG(ini_directives), NULL); in cli_completion_generator_ini()
481 char *retval = cli_completion_generator_ht(text, textlen, state, ht, (void**)&func); in cli_completion_generator_func()
490 static char *cli_completion_generator_class(const char *text, size_t textlen, int *state) /* {{{ */ in cli_completion_generator_class() argument
493 char *retval = cli_completion_generator_ht(text, textlen, state, EG(class_table), (void**)&ce); in cli_completion_generator_class()
[all …]
/php-src/Zend/Optimizer/
H A Dzend_inference.c297 iterator->state = 1; in zend_scc_next()
303 iterator->state = 2; in zend_scc_next()
309 iterator->state = 3; in zend_scc_next()
316 iterator->state = 4; in zend_scc_next()
322 iterator->state = 5; in zend_scc_next()
328 iterator->state = 8; in zend_scc_next()
335 iterator->state = 6; in zend_scc_next()
341 iterator->state = 7; in zend_scc_next()
347 iterator->state = 8; in zend_scc_next()
359 iterator->state = 9; in zend_scc_next()
[all …]
/php-src/ext/dom/
H A Dconfig.w3224 …r.c state_comment.c state_doctype.c state_rawtext.c state_rcdata.c state_script.c state.c", "dom");

Completed in 106 milliseconds

123456789