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

/PHP_TRUNK/ext/date/lib/
H A Dtimelib_structs.h170 int position; member in struct:timelib_error_message
/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
72 position = (int32_t)Z_LVAL_P( zposition );
73 position_p = &position;
110 ZVAL_LONG(zposition, position);
121 /* {{{ proto double NumberFormatter::parseCurrency( string $str, string $&currency[, int $&position] )
123 /* {{{ proto double numfmt_parse_currency( NumberFormatter $nf, string $str, string $&currency[, int $&position] )
137 int32_t position = 0; local
161 position
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dphp_mbregex.c1388 Get search start position */
1395 /* {{{ proto bool mb_ereg_search_setpos(int position)
1396 Set search start position */
1399 zend_long position; local
1401 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &position) == FAILURE) {
1405 if (position < 0 || (!Z_ISUNDEF(MBREX(search_str)) && Z_TYPE(MBREX(search_str)) == IS_STRING && (size_t)position >= Z_STRLEN(MBREX(search_str)))) {
1411 MBREX(search_pos) = position;
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c132 int position = 0; local
150 position++;
157 param->paramno = position;
1582 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(). */
1622 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/phar/
H A Dphar_internal.h268 /* position in the manifest */
471 /* stream position proxy, allows multiple open streams referring to the same fp */
472 zend_off_t position; member in struct:_phar_entry_data
570 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int follow_links);
H A Dphar_object.c158 zend_off_t position; local
206 position = 0;
210 got = php_stream_read(fp, buf, MIN(8192, info->uncompressed_filesize - position));
213 position += got;
214 if (position == (zend_off_t) info->uncompressed_filesize) {
H A Dutil.c120 int phar_seek_efp(phar_entry_info *entry, zend_off_t offset, int whence, zend_off_t position, int follow_links) /* {{{ */ argument
148 temp = eoffset + position + offset;
440 (*ret)->position = 0;
489 (*ret)->position = 0;
615 ret->position = ret->zero = 0;
/PHP_TRUNK/ext/reflection/
H A Dphp_reflection.c2137 int position; local
2239 position= (int)Z_LVAL_P(parameter);
2240 if (position < 0 || (uint32_t)position >= fptr->common.num_args) {
2256 position= -1;
2262 position= i;
2272 position= i;
2278 if (position == -1) {
2293 if (arg_info[position].name) {
2295 ZVAL_STRING(&name, ((zend_internal_arg_info*)arg_info)[position]
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_encoding.c2625 xmlAttrPtr position = get_attribute(trav->properties,"position"); local
2629 if (position != NULL && position->children && position->children->content) {
2630 char* tmp = strrchr((char*)position->children->content, '[');
2632 tmp = (char*)position->children->content;
2653 /* Increment position */
/PHP_TRUNK/ext/spl/
H A Dspl_array.c719 php_error_docref(NULL, E_NOTICE, "%sArray was modified outside object and internal position is no longer valid", msg_prefix);
939 spl_array_rewind(intern); /* because deletion might invalidate position */
1012 php_error_docref(NULL, E_NOTICE, "Array was modified outside object and internal position is no longer valid");
1100 php_error_docref(NULL, E_NOTICE, "ArrayIterator::next(): Array was modified outside object and internal position is no longer valid");
1380 /* {{{ proto void ArrayIterator::seek(int $position)
1381 Seek to position. */
1384 zend_long opos, position; local
1390 if (zend_parse_parameters(ZEND_NUM_ARGS(), "l", &position) == FAILURE) {
1399 opos = position;
1401 if (position >
[all...]
/PHP_TRUNK/ext/sqlite3/
H A Dsqlite3.c1043 size_t position; member in struct:__anon228
1058 if (sqlite3_stream->position + count >= sqlite3_stream->size) {
1059 count = sqlite3_stream->size - sqlite3_stream->position;
1063 if (sqlite3_blob_read(sqlite3_stream->blob, buf, count, sqlite3_stream->position) != SQLITE_OK) {
1066 sqlite3_stream->position += count;
1098 if (sqlite3_stream->position < (size_t)(-offset)) {
1099 sqlite3_stream->position = 0;
1103 sqlite3_stream->position = sqlite3_stream->position + offset;
1104 *newoffs = sqlite3_stream->position;
[all...]
/PHP_TRUNK/ext/standard/
H A Dphp_fopen_wrapper.c68 zend_off_t position; member in struct:php_stream_input
83 if (!SG(post_read) && SG(read_post_bytes) < (int64_t)(input->position + count)) {
93 php_stream_seek(input->body, input->position, SEEK_SET);
99 input->position += read;
127 *newoffset = (input->body)->position;
H A Dstreamsfuncs.c413 zend_off_t position; local
415 position = php_stream_tell(stream);
416 if (position >= 0 && desiredpos > position) {
418 seek_res = php_stream_seek(stream, desiredpos - position, SEEK_CUR);
419 } else if (desiredpos < position) {
420 /* desired position before position or error on tell */
426 "Failed to seek to position %pd in the stream", desiredpos);
461 php_error_docref(NULL, E_WARNING, "Failed to seek to position " ZEND_LONG_FM
[all...]
/PHP_TRUNK/main/
H A Dphp_streams.h216 zend_off_t position; /* of underlying stream */ member in struct:_php_stream
/PHP_TRUNK/main/streams/
H A Dcast.c77 static PHP_FPOS_T stream_cookie_seeker(void *cookie, zend_off_t position, int whence) argument
80 return (PHP_FPOS_T)php_stream_seek((php_stream *)cookie, position, whence);
107 static int stream_cookie_seeker(void *cookie, __off64_t *position, int whence) argument
110 *position = php_stream_seek((php_stream *)cookie, (zend_off_t)*position, whence);
112 if (*position == -1) {
118 static int stream_cookie_seeker(void *cookie, zend_off_t position, int whence) argument
121 return php_stream_seek((php_stream *)cookie, position, whence);
202 stream->ops->seek(stream, stream->position, SEEK_SET, &dummy);
244 /* If the stream position i
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_frame.c171 HashPosition position; local
195 zend_hash_internal_pointer_reset_ex(Z_ARRVAL(zbacktrace), &position); local
196 tmp = zend_hash_get_current_data_ex(Z_ARRVAL(zbacktrace), &position);
200 zend_hash_move_forward_ex(Z_ARRVAL(zbacktrace), &position); local
202 if (!(tmp = zend_hash_get_current_data_ex(Z_ARRVAL(zbacktrace), &position))) {
H A Dphpdbg_watch.c249 HashPosition position; local
260 zend_hash_get_current_key_zval_ex(ht, &key, &position);

Completed in 46 milliseconds