/PHP-7.1/ext/shmop/ |
H A D | shmop.c | 58 ZEND_ARG_INFO(0, start) 231 zend_long start, count; in PHP_FUNCTION() local 237 if (zend_parse_parameters(ZEND_NUM_ARGS(), "rll", &shmid, &start, &count) == FAILURE) { in PHP_FUNCTION() 245 if (start < 0 || start > shmop->size) { in PHP_FUNCTION() 250 if (count < 0 || start > (INT_MAX - count) || start + count > shmop->size) { in PHP_FUNCTION() 255 startaddr = shmop->addr + start; in PHP_FUNCTION() 256 bytes = count ? count : shmop->size - start; in PHP_FUNCTION()
|
/PHP-7.1/ext/standard/tests/file/windows_mb_path/ |
H A D | recursive_it.phpt | 27 $start = substr($dir, 0, strpos($dir, DIRECTORY_SEPARATOR, strlen(dirname(__FILE__))+1)); 30 $start, 50 rmdir($start); 51 var_dump(file_exists($start));
|
/PHP-7.1/ext/date/tests/ |
H A D | bug74639.phpt | 6 $start = new DateTime('2017-05-22 09:00:00'); 8 $interval = $start->diff($end); 10 $period = new DatePeriod($start, $interval, $end);
|
H A D | date_diff1.phpt | 7 $start = new DateTime('2010-10-04 02:18:48 EDT'); 9 $int = $start->diff($end); 10 var_dump($start);
|
H A D | bug52113.phpt | 7 $start = new DateTime('2003-01-02 08:00:00'); 9 $diff = $start->diff($end); 10 $p = new DatePeriod($start, $diff, 2); 16 $p = new DatePeriod($start, $diff_un, 2); 31 $p = new DatePeriod($start, $diff_un, 2); 123 ["start"]=> 211 ["start"]=>
|
/PHP-7.1/ext/zip/lib/ |
H A D | zip_source_filep.c | 75 zip_uint64_t start; /* start offset of data to read */ member 91 zip_source_filep(zip_t *za, FILE *file, zip_uint64_t start, zip_int64_t len) in zip_source_filep() argument 96 return zip_source_filep_create(file, start, len, &za->error); in zip_source_filep() 101 zip_source_filep_create(FILE *file, zip_uint64_t start, zip_int64_t length, zip_error_t *error) in zip_source_filep_create() argument 108 return _zip_source_file_or_p(NULL, file, start, length, NULL, error); in zip_source_filep_create() 137 ctx->start = start; in _zip_source_file_or_p() 138 ctx->end = (len < 0 ? 0 : start+(zip_uint64_t)len); in _zip_source_file_or_p() 287 if (ctx->start > 0) { in read_file() 288 if (_zip_fseek_u(ctx->f, ctx->start, SEEK_SET, &ctx->error) < 0) { in read_file() 292 ctx->current = ctx->start; in read_file() [all …]
|
H A D | zip_source_win32a.c | 55 zip_source_win32a(zip_t *za, const char *fname, zip_uint64_t start, zip_int64_t len) in zip_source_win32a() argument 60 return zip_source_win32a_create(fname, start, len, &za->error); in zip_source_win32a() 65 zip_source_win32a_create(const char *fname, zip_uint64_t start, zip_int64_t length, zip_error_t *er… in zip_source_win32a_create() argument 72 …return _zip_source_win32_handle_or_name(fname, INVALID_HANDLE_VALUE, start, length, 1, NULL, &win3… in zip_source_win32a_create()
|
H A D | mkstemp.c | 65 char *start, *trv; in _zip_mkstemp() 111 for (start = trv + 1;; --trv) { in _zip_mkstemp() 134 for (trv = start;;) { in _zip_mkstemp()
|
H A D | zip_source_win32w.c | 55 zip_source_win32w(zip_t *za, const wchar_t *fname, zip_uint64_t start, zip_int64_t len) in zip_source_win32w() argument 60 return zip_source_win32w_create(fname, start, len, &za->error); in zip_source_win32w() 65 zip_source_win32w_create(const wchar_t *fname, zip_uint64_t start, zip_int64_t length, zip_error_t … in zip_source_win32w_create() argument 72 …return _zip_source_win32_handle_or_name(fname, INVALID_HANDLE_VALUE, start, length, 1, NULL, &win3… in zip_source_win32w_create()
|
/PHP-7.1/ext/standard/tests/strings/ |
H A D | strcspn_error.phpt | 5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) 26 $start = 2; 31 var_dump( strcspn($str,$mask,$start,$len, $extra_arg) );
|
H A D | strspn_error.phpt | 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) 26 $start = 2; 31 var_dump( strspn($str,$mask,$start,$len, $extra_arg) );
|
H A D | strcspn_variation6.phpt | 2 Test strcspn() function : usage variations - with heredoc strings, varying mask & default start and… 5 /* Prototype : proto int strcspn(string str, string mask [,int start [,int len]]) 7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) 13 * Testing strcspn() : with heredoc string, varying mask and default start and len arguments 84 var_dump( strcspn($str,$mask) ); // with default start and len value
|
H A D | strcspn_variation10.phpt | 2 Test strcspn() function : usage variations - with varying mask & default start and len args 5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) 13 * Testing strcspn() : with varying mask and default start and len arguments 16 echo "*** Testing strcspn() : with different mask strings and default start and len arguments ***\n… 67 *** Testing strcspn() : with different mask strings and default start and len arguments ***
|
H A D | strspn_variation10.phpt | 2 Test strspn() function : usage variations - with varying mask & default start and len args 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) 13 * Testing strspn() : with varying mask and default start and len arguments 16 echo "*** Testing strspn() : with different mask strings and default start and len arguments ***\n"; 69 *** Testing strspn() : with different mask strings and default start and len arguments ***
|
H A D | strspn_variation6.phpt | 2 Test strspn() function : usage variations - with heredoc strings, varying mask & default start and … 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) 13 * Testing strspn() : with heredoc string, varying mask and default start and len arguments 86 var_dump( strspn($str,$mask) ); // with default start and len value
|
/PHP-7.1/ext/hash/ |
H A D | bench.php | 80 $start = microtime(true); variable 84 $time[$algo] += microtime(true)-$start;
|
/PHP-7.1/Zend/tests/generators/ |
H A D | xrange.phpt | 6 function xrange($start, $end, $step = 1) { 7 for ($i = $start; $i <= $end; $i += $step) {
|
/PHP-7.1/ext/mbstring/oniguruma/ |
H A D | regenc.c | 56 UChar* p = ONIGENC_LEFT_ADJUST_CHAR_HEAD(enc, start, s); in onigenc_get_right_adjust_char_head() 65 const UChar* start, const UChar* s, const UChar** prev) in onigenc_get_right_adjust_char_head_with_prev() argument 67 UChar* p = ONIGENC_LEFT_ADJUST_CHAR_HEAD(enc, start, s); in onigenc_get_right_adjust_char_head_with_prev() 82 if (s <= start) in onigenc_get_prev_char_head() 85 return ONIGENC_LEFT_ADJUST_CHAR_HEAD(enc, start, s - 1); in onigenc_get_prev_char_head() 92 if (s <= start) in onigenc_step_back() 95 s = ONIGENC_LEFT_ADJUST_CHAR_HEAD(enc, start, s - 1); in onigenc_step_back() 151 UChar* start = (UChar* )s; in onigenc_str_bytelen_null() local 159 if (len == 1) return (int )(p - start); in onigenc_str_bytelen_null() 166 if (len == 1) return (int )(p - start); in onigenc_str_bytelen_null() [all …]
|
/PHP-7.1/ext/mbstring/tests/ |
H A D | mb_substr_error2.phpt | 10 /* Prototype : string mb_substr(string $str, int $start [, int $length [, string $encoding]]) 22 $start = 1; 26 var_dump( mb_substr($str, $start, $length, $encoding));
|
/PHP-7.1/ext/curl/tests/ |
H A D | bug45161.phpt | 24 $i = $start = $end = 100000.00; 33 $start = memory_get_usage() + 1024; 39 if ($start < memory_get_usage()) {
|
/PHP-7.1/ext/phar/ |
H A D | shortarc.php | 221 $start = 4 + $s[1]; 226 $len = unpack('V', substr($m, $start, 4)); 227 $start += 4; 229 $savepath = substr($m, $start, $len[1]); 230 $start += $len[1]; 234 … $ret['m'][$savepath] = array_values(unpack('Va/Vb/Vc/Vd/Ve/Vf', substr($m, $start, 24))); 239 $start += 24 + $ret['m'][$savepath][5];
|
/PHP-7.1/ext/standard/ |
H A D | url_scanner_ex.re | 347 smart_str_appendl(&ctx->result, start, YYCURSOR - start); 459 smart_str_appendl(&ctx->tag, start, YYCURSOR - start); 480 smart_str_appendl(&ctx->arg, start, YYCURSOR - start); 502 char *start; 524 start = YYCURSOR; 531 start = YYCURSOR; 541 start = YYCURSOR; 550 start = YYCURSOR; 557 start = YYCURSOR; 890 if (!start) { [all …]
|
/PHP-7.1/ext/mbstring/oniguruma/enc/ |
H A D | euc_tw.c | 86 euctw_left_adjust_char_head(const UChar* start, const UChar* s) in euctw_left_adjust_char_head() argument 94 if (s <= start) return (UChar* )s; in euctw_left_adjust_char_head() 97 while (!euctw_islead(*p) && p > start) p--; in euctw_left_adjust_char_head()
|
/PHP-7.1/ext/mysqli/ |
H A D | mysqli_embedded.c | 35 zend_long start; in PHP_FUNCTION() local 45 if (zend_parse_parameters(ZEND_NUM_ARGS(), "laa", &start, &args, &grps) == FAILURE) { in PHP_FUNCTION() 49 if (!start) { in PHP_FUNCTION()
|
/PHP-7.1/ext/dom/tests/ |
H A D | bug46335.phpt | 9 $start = 30; 18 $matched = $node->splitText($start); 27 $matched = $node->splitText($start);
|