Home
last modified time | relevance | path

Searched refs:state (Results 101 – 125 of 154) sorted by path

1234567

/PHP-5.5/ext/spl/internal/
H A Drecursivefilteriterator.inc25 * this does not transport any state or control information of your accept()
H A Dregexiterator.inc66 * @warning never call this twice for the same state
/PHP-5.5/ext/spl/
H A Dspl_iterators.c100 RecursiveIteratorState state; member
218 switch (object->iterators[object->level].state) { in spl_recursive_it_move_forward_ex()
245 object->iterators[object->level].state = RS_NEXT; in spl_recursive_it_move_forward_ex()
278 object->iterators[object->level].state = RS_NEXT; in spl_recursive_it_move_forward_ex()
292 object->iterators[object->level].state = RS_CHILD; in spl_recursive_it_move_forward_ex()
294 object->iterators[object->level].state = RS_NEXT; in spl_recursive_it_move_forward_ex()
328 object->iterators[object->level].state = RS_SELF; in spl_recursive_it_move_forward_ex()
330 object->iterators[object->level].state = RS_NEXT; in spl_recursive_it_move_forward_ex()
337 object->iterators[object->level].state = RS_START; in spl_recursive_it_move_forward_ex()
391 object->iterators[0].state = RS_START; in spl_recursive_it_rewind_ex()
[all …]
/PHP-5.5/ext/spl/tests/
H A Diterator_031.phpt93 The object is in an invalid state as the parent constructor was not called
H A Diterator_041.phpt9 public $state;
11 static function fail($state, $method)
13 if (self::$fail == $state)
15 throw new Exception("State $state: $method()");
21 $this->state = MyArrayIterator::$fail;
H A Diterator_041a.phpt9 public $state;
11 static function fail($state, $method)
13 if (self::$fail == $state)
15 throw new Exception("State $state: $method()");
21 $this->state = MyArrayIterator::$fail;
H A Diterator_041b.phpt9 public $state;
11 static function fail($state, $method)
13 if (self::$fail == $state)
15 throw new Exception("State $state: $method()");
21 $this->state = MyArrayIterator::$fail;
H A Diterator_047.phpt10 static function fail($state, $method)
12 if (self::$fail == $state)
14 throw new Exception("State $state: $method()");
/PHP-5.5/ext/sqlite3/libsqlite/
H A Dsqlite3.c48624 int state = pPager->eState;
48625 assert( state==PAGER_OPEN || state==PAGER_READER );
48626 if( state==PAGER_OPEN ){
48636 if( rc==SQLITE_OK && state==PAGER_READER ){
48638 }else if( state==PAGER_OPEN ){
48641 assert( state==pPager->eState );
127716 u8 state = 0; /* Current state, using numbers defined in header comment */
127787 if( *zSql==0 ) return state==1;
127868 state = trans[state][token];
127871 return state==1;
/PHP-5.5/ext/standard/
H A Dbasic_functions.h193 php_uint32 state[MT_N+1]; /* state vector + 1 extra to not violate ANSI C */ member
H A Ddns.c367 struct __res_state state; in PHP_FUNCTION() local
368 struct __res_state *handle = &state; in PHP_FUNCTION()
405 memset(&state, 0, sizeof(state)); in PHP_FUNCTION()
777 struct __res_state state; in PHP_FUNCTION() local
778 struct __res_state *handle = &state; in PHP_FUNCTION()
898 memset(&state, 0, sizeof(state)); in PHP_FUNCTION()
1011 struct __res_state state; in PHP_FUNCTION() local
1012 struct __res_state *handle = &state; in PHP_FUNCTION()
1033 memset(&state, 0, sizeof(state)); in PHP_FUNCTION()
H A Dfile.c2099 int state = 0; in php_fgetcsv() local
2108 switch (state) { in php_fgetcsv()
2163 state = 0; in php_fgetcsv()
2175 switch (state) { in php_fgetcsv()
2178 state = 0; in php_fgetcsv()
2192 state = 0; in php_fgetcsv()
2196 state = 2; in php_fgetcsv()
2198 state = 1; in php_fgetcsv()
2206 switch (state) { in php_fgetcsv()
H A Dfilters.c175 int state; member
190 inst->state = 0; in php_strip_tags_filter_ctor()
1950 php_chunked_filter_state state; member
1963 switch (data->state) { in php_dechunk()
1975 data->state = CHUNK_ERROR; in php_dechunk()
1981 data->state = CHUNK_SIZE; in php_dechunk()
2013 data->state = CHUNK_BODY; in php_dechunk()
2017 data->state = CHUNK_ERROR; in php_dechunk()
2037 data->state=CHUNK_BODY; in php_dechunk()
2055 data->state = CHUNK_ERROR; in php_dechunk()
[all …]
H A Dphp_string.h136 PHPAPI size_t php_strip_tags(char *rbuf, int len, int *state, char *allow, int allow_len);
H A Drand.c153 static inline void php_mt_initialize(php_uint32 seed, php_uint32 *state) in php_mt_initialize() argument
160 register php_uint32 *s = state; in php_mt_initialize()
161 register php_uint32 *r = state; in php_mt_initialize()
179 register php_uint32 *state = BG(state); in php_mt_reload() local
180 register php_uint32 *p = state; in php_mt_reload()
187 *p = twist(p[M-N], p[0], state[0]); in php_mt_reload()
189 BG(next) = state; in php_mt_reload()
198 php_mt_initialize(seed, BG(state)); in php_mt_srand()
H A Dsha1.c170 context->state[0] = 0x67452301; in PHP_SHA1Init()
171 context->state[1] = 0xefcdab89; in PHP_SHA1Init()
172 context->state[2] = 0x98badcfe; in PHP_SHA1Init()
261 php_uint32 state[5]; in SHA1Transform()
264 php_uint32 a = state[0], b = state[1], c = state[2];
265 php_uint32 d = state[3], e = state[4], x[16], tmp;
357 state[0] += a;
358 state[1] += b;
359 state[2] += c;
360 state[3] += d;
[all …]
H A Dsha1.h28 php_uint32 state[5]; /* state (ABCD) */ member
H A Dstring.c1432 int state; local
1436 state = 0;
1455 state = 0;
1465 state = 1;
1468 state = 0;
1474 state = 1;
1481 state = 1;
4560 state=1;
4653 state = 1;
4791 state = 3;
[all …]
H A Durl_scanner_ex.c248 #define STATE ctx->state
H A Durl_scanner_ex.h52 int state; member
H A Durl_scanner_ex.re184 #define STATE ctx->state
352 …scdebug(("stopped in state %d at pos %d (%d:%c) %d\n", STATE, YYCURSOR - ctx->buf.c, *YYCURSOR, *Y…
/PHP-5.5/ext/standard/tests/array/
H A Dbug35022.phpt5 $state = array("one" => 1, "two" => 2, "three" => 3);
6 function foo( &$state ) {
7 $contentDict = end( $state );
8 for ( $contentDict = end( $state ); $contentDict !== false; $contentDict = prev( $state ) ) {
9 echo key($state) . " => " . current($state) . "\n";
12 foo($state);
13 reset($state);
14 var_dump( key($state), current($state) );
H A Dcompact.phpt7 $state = "CA";
10 $location_vars = array("c\u0327ity", "state");
19 ["state"]=>
/PHP-5.5/ext/sybase_ct/
H A Dphp_sybase_ct.c414 zval *msgnumber, *severity, *state, *line, *text, *retval = NULL; in _call_message_handler() local
429 MAKE_STD_ZVAL(state); in _call_message_handler()
430 ZVAL_LONG(state, srvmsg->state); in _call_message_handler()
431 args[2] = &state; in _call_message_handler()
459 zval_ptr_dtor(&state); in _call_message_handler()
/PHP-5.5/ext/sybase_ct/tests/
H A Dbug22403.phpt56 *** Caught Sybase Server Message #201 [Severity 16, state 2] at line 0
61 *** Caught Sybase Server Message #257 [Severity 16, state 1] at line 0
66 *** Caught Sybase Server Message #2812 [Severity 16, state %d] at line 1

Completed in 438 milliseconds

1234567