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

/PHP_5_5/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;
106 ZVAL_LONG(zposition, position);
117 /* {{{ proto double NumberFormatter::parseCurrency( string $str, string $&currency[, int $&position] )
119 /* {{{ proto double numfmt_parse_currency( NumberFormatter $nf, string $str, string $&currency[, int $&position] )
133 int32_t position = 0; local
156 position
[all...]
/PHP_5_5/ext/date/lib/
H A Dtimelib_structs.h176 int position; member in struct:timelib_error_message
/PHP_5_5/ext/standard/
H A Dphp_fopen_wrapper.c74 off_t *position = (off_t*)stream->abstract; local
79 read_bytes = SG(request_info).raw_post_data_length - *position;
86 memcpy(buf, SG(request_info).raw_post_data + *position, read_bytes);
101 *position += read_bytes;
H A Dstreamsfuncs.c421 off_t position; local
423 position = php_stream_tell(stream);
424 if (position >= 0 && desiredpos > position) {
426 seek_res = php_stream_seek(stream, desiredpos - position, SEEK_CUR);
427 } else if (desiredpos < position) {
428 /* desired position before position or error on tell */
434 "Failed to seek to position %ld in the stream", desiredpos);
467 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to seek to position
[all...]
/PHP_5_5/main/
H A Dphp_streams.h214 off_t position; /* of underlying stream */ member in struct:_php_stream
/PHP_5_5/ext/phar/
H A Dphar_internal.h281 /* position in the manifest */
484 /* stream position proxy, allows multiple open streams referring to the same fp */
485 off_t position; member in struct:_phar_entry_data
659 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_links TSRMLS_DC);
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) {
H A Dutil.c124 int phar_seek_efp(phar_entry_info *entry, off_t offset, int whence, off_t position, int follow_links TSRMLS_DC) /* {{{ */ argument
152 temp = eoffset + position + offset;
662 (*ret)->position = 0;
711 (*ret)->position = 0;
837 ret->position = ret->zero = 0;
/PHP_5_5/ext/pdo/
H A Dpdo_stmt.c132 int position = 0; local
152 position++;
160 param->paramno = position;
1620 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(). */
1660 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_5_5/ext/soap/
H A Dphp_encoding.c2720 xmlAttrPtr position = get_attribute(trav->properties,"position"); local
2723 if (position != NULL && position->children && position->children->content) {
2724 char* tmp = strrchr((char*)position->children->content, '[');
2726 tmp = (char*)position->children->content;
2749 /* Increment position */
/PHP_5_5/ext/spl/
H A Dspl_array.c671 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "%sArray was modified outside object and internal position is no longer valid", msg_prefix);
886 spl_array_rewind(intern TSRMLS_CC); /* because deletion might invalidate position */
955 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "Array was modified outside object and internal position is no longer valid");
1055 php_error_docref(NULL TSRMLS_CC, E_NOTICE, "ArrayIterator::next(): Array was modified outside object and internal position is no longer valid");
1333 /* {{{ proto void ArrayIterator::seek(int $position)
1334 Seek to position. */
1337 long opos, position; local
1343 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &position) == FAILURE) {
1352 opos = position;
1354 if (position >
[all...]
/PHP_5_5/ext/reflection/
H A Dphp_reflection.c2148 int position; local
2250 position= Z_LVAL_PP(parameter);
2251 if (position < 0 || (zend_uint)position >= fptr->common.num_args) {
2267 position= -1;
2271 position= i;
2275 if (position == -1) {
2291 if (arg_info[position].name) {
2292 ZVAL_STRINGL(name, arg_info[position].name, arg_info[position]
[all...]
/PHP_5_5/ext/sqlite3/
H A Dsqlite3.c1075 size_t position; member in struct:__anon25
1090 if (sqlite3_stream->position + count >= sqlite3_stream->size) {
1091 count = sqlite3_stream->size - sqlite3_stream->position;
1095 if (sqlite3_blob_read(sqlite3_stream->blob, buf, count, sqlite3_stream->position) != SQLITE_OK) {
1098 sqlite3_stream->position += count;
1130 if (sqlite3_stream->position < (size_t)(-offset)) {
1131 sqlite3_stream->position = 0;
1135 sqlite3_stream->position = sqlite3_stream->position + offset;
1136 *newoffs = sqlite3_stream->position;
[all...]
/PHP_5_5/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_5_5/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...]

Completed in 46 milliseconds