Searched defs:position (Results 1 - 21 of 21) sorted by relevance

/PHP_TRUNK/ext/phar/
H A Dphar_internal.h265 /* position in the manifest */
468 /* stream position proxy, allows multiple open streams referring to the same fp */
469 off_t position; member in struct:_phar_entry_data
575 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_links TSRMLS_DC);
H A Dutil.c120 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_links TSRMLS_DC) /* {{{ */ argument
148 temp = eoffset + position + offset;
440 (*ret)->position = 0;
489 (*ret)->position = 0;
615 ret->position = ret->zero = 0;
H A Dphar_object.c177 off_t position; local
225 position = 0;
229 got = php_stream_read(fp, buf, MIN(8192, info->uncompressed_filesize - position));
232 position += got;
233 if (position == (off_t) info->uncompressed_filesize) {
/PHP_TRUNK/main/streams/
H A Dcast.c79 static PHP_FPOS_T stream_cookie_seeker(void *cookie, off_t position, int whence) argument
83 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence);
113 static int stream_cookie_seeker(void *cookie, __off64_t *position, int whence) argument
117 *position = php_stream_seek((php_stream *)cookie, (off_t)*position, whence);
119 if (*position == -1) {
125 static int stream_cookie_seeker(void *cookie, off_t position, int whence) argument
129 return php_stream_seek((php_stream *)cookie, position, whence);
211 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy TSRMLS_CC);
253 /* If the stream position i
[all...]
/PHP_TRUNK/ext/date/lib/
H A Dtimelib_structs.h152 int position; member in struct:timelib_error_message
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c132 int position = 0; local
152 position++;
160 param->paramno = position;
1608 bind an input parameter to the value of a PHP variable. $paramno is the 1-based position of the placeholder in the SQL statement (but can be the parameter name for drivers that support named placeholders). It should be called prior to execute(). */
1648 bind a parameter to a PHP variable. $paramno is the 1-based position of the placeholder in the SQL statement (but can be the parameter name for drivers that support named placeholders). This isn't supported by all drivers. It should be called prior to execute(). */
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c2718 xmlAttrPtr position = get_attribute(trav->properties,"position"); local
2721 if (position != NULL && position->children && position->children->content) {
2722 char* tmp = strrchr((char*)position->children->content, '[');
2724 tmp = (char*)position->children->content;
2747 /* Increment position */
/PHP_TRUNK/main/
H A Dphp_streams.h214 off_t position; /* of underlying stream */ member in struct:_php_stream
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_bp.c96 HashPosition position[2]; local
99 for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], &position[0]);
100 zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], (void**)&table, &position[0]) == SUCCESS;
101 zend_hash_move_forward_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], &position[0])) {
104 for (zend_hash_internal_pointer_reset_ex((*table), &position[1]);
105 zend_hash_get_current_data_ex((*table), (void**)&brake, &position[1]) == SUCCESS;
106 zend_hash_move_forward_ex((*table), &position[1])) {
115 HashPosition position[2]; local
124 for (zend_hash_internal_pointer_reset_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], &position[0]);
125 zend_hash_get_current_data_ex(&PHPDBG_G(bp)[PHPDBG_BREAK_MAP], (void**)&table, &position[
401 HashPosition position; local
966 HashPosition position; local
1090 HashPosition position; local
1329 HashPosition position; local
1355 HashPosition position; local
1370 HashPosition position[2]; local
1399 HashPosition position[2]; local
1421 HashPosition position; local
1449 HashPosition position[3]; local
1488 HashPosition position[2]; local
1518 HashPosition position[2]; local
1547 HashPosition position; local
1623 HashPosition position; local
[all...]
H A Dphpdbg_frame.c169 HashPosition position; local
180 zend_hash_internal_pointer_reset_ex(Z_ARRVAL(zbacktrace), &position); local
181 zend_hash_get_current_data_ex(Z_ARRVAL(zbacktrace), (void**)&tmp, &position); local
185 zend_hash_move_forward_ex(Z_ARRVAL(zbacktrace), &position); local
188 (void**)&tmp, &position) == FAILURE) {
H A Dphpdbg_info.c284 HashPosition position; local
290 for (zend_hash_internal_pointer_reset_ex(EG(class_table), &position);
291 zend_hash_get_current_data_ex(EG(class_table), (void**)&ce, &position) == SUCCESS;
292 zend_hash_move_forward_ex(EG(class_table), &position)) {
303 for (zend_hash_internal_pointer_reset_ex(&classes, &position);
304 zend_hash_get_current_data_ex(&classes, (void**)&ce, &position) == SUCCESS;
305 zend_hash_move_forward_ex(&classes, &position)) {
337 HashPosition position; local
343 for (zend_hash_internal_pointer_reset_ex(EG(function_table), &position);
344 zend_hash_get_current_data_ex(EG(function_table), (void**)&zf, &position)
[all...]
H A Dphpdbg_print.c170 HashPosition position; local
173 for (zend_hash_internal_pointer_reset_ex(&(*ce)->function_table, &position);
174 zend_hash_get_current_data_ex(&(*ce)->function_table, (void**) &method, &position) == SUCCESS;
175 zend_hash_move_forward_ex(&(*ce)->function_table, &position)) {
H A Dphpdbg_watch.c170 HashPosition position; local
174 for (zend_hash_internal_pointer_reset_ex(ht, &position);
175 zend_hash_get_current_data_ex(ht, (void **)&zv, &position) == SUCCESS;
176 zend_hash_move_forward_ex(ht, &position)) {
183 zend_hash_get_current_key_zval_ex(ht, &key, &position);
224 HashPosition position; local
233 for (zend_hash_internal_pointer_reset_ex(ht, &position);
234 zend_hash_get_current_data_ex(ht, (void **)&zv, &position) == SUCCESS;
235 zend_hash_move_forward_ex(ht, &position)) {
236 zend_hash_get_current_key_zval_ex(ht, &key, &position);
331 HashPosition position; local
764 HashPosition position; local
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dphp_mbregex.c1390 Get search start position */
1397 /* {{{ proto bool mb_ereg_search_setpos(int position)
1398 Set search start position */
1401 long position; local
1403 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &position) == FAILURE) {
1407 if (position < 0 || (MBREX(search_str) != NULL && Z_TYPE_P(MBREX(search_str)) == IS_STRING && position >= Z_STRLEN_P(MBREX(search_str)))) {
1413 MBREX(search_pos) = position;
/PHP_TRUNK/ext/spl/
H A Dspl_observer.c633 HashPosition position; local
636 for (zend_hash_internal_pointer_reset_ex(&intern->storage, &position);
637 zend_hash_get_current_data_ex(&intern->storage, (void**) &element, &position) == SUCCESS;
638 zend_hash_move_forward_ex(&intern->storage, &position)) {
650 Rewind to first position */
664 Returns whether current position is valid */
744 Moves position forward */
H A Dspl_array.c680 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "%sArray was modified outside object and internal position is no longer valid", msg_prefix);
895 spl_array_rewind(intern TSRMLS_CC); /* because deletion might invalidate position */
971 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Array was modified outside object and internal position is no longer valid");
1071 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "ArrayIterator::next(): Array was modified outside object and internal position is no longer valid");
1349 /* {{{ proto void ArrayIterator::seek(int $position)
1350 Seek to position. */
1353 long opos, position; local
1359 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &position) == FAILURE) {
1368 opos = position;
1370 if (position >
[all...]
/PHP_TRUNK/ext/standard/
H A Dstreamsfuncs.c423 off_t position; local
425 position = php_stream_tell(stream);
426 if (position >= 0 && desiredpos > position) {
428 seek_res = php_stream_seek(stream, desiredpos - position, SEEK_CUR);
429 } else if (desiredpos < position) {
430 /* desired position before position or error on tell */
436 "Failed to seek to position %ld in the stream", desiredpos);
473 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to position
[all...]
H A Dphp_fopen_wrapper.c68 off_t position; member in struct:php_stream_input
83 if (!SG(post_read) && SG(read_post_bytes) < input->position + count) {
93 php_stream_seek(input->body, input->position, SEEK_SET);
99 input->position += read;
127 *newoffset = (input->body)->position;
/PHP_TRUNK/ext/intl/formatter/
H A Dformatter_parse.c32 /* {{{ proto mixed NumberFormatter::parse( string $str[, int $type, int &$position ])
34 /* {{{ proto mixed numfmt_parse( NumberFormatter $nf, string $str[, int $type, int &$position ])
44 int32_t val32, position = 0; local
71 position = (int32_t)Z_LVAL_P( zposition );
72 position_p = &position;
109 ZVAL_LONG(zposition, position);
120 /* {{{ proto double NumberFormatter::parseCurrency( string $str, string $&currency[, int $&position] )
122 /* {{{ proto double numfmt_parse_currency( NumberFormatter $nf, string $str, string $&currency[, int $&position] )
136 int32_t position = 0; local
159 position
[all...]
/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c1083 size_t position; member in struct:__anon1
1098 if (sqlite3_stream->position + count >= sqlite3_stream->size) {
1099 count = sqlite3_stream->size - sqlite3_stream->position;
1103 if (sqlite3_blob_read(sqlite3_stream->blob, buf, count, sqlite3_stream->position) != SQLITE_OK) {
1106 sqlite3_stream->position += count;
1138 if (sqlite3_stream->position < (size_t)(-offset)) {
1139 sqlite3_stream->position = 0;
1143 sqlite3_stream->position = sqlite3_stream->position + offset;
1144 *newoffs = sqlite3_stream->position;
[all...]
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c2153 int position; local
2255 position= Z_LVAL_PP(parameter);
2256 if (position < 0 || (zend_uint)position >= fptr->common.num_args) {
2272 position= -1;
2276 position= i;
2280 if (position == -1) {
2296 if (arg_info[position].name) {
2297 ZVAL_STRINGL(name, arg_info[position].name, arg_info[position]
[all...]

Completed in 57 milliseconds