/PHP-7.4/ext/gd/ |
H A D | gd.c | 1765 int e, st; in PHP_FUNCTION() local 1780 st = ST; in PHP_FUNCTION() 1781 if (st < 0) { in PHP_FUNCTION() 1782 st %= 360; in PHP_FUNCTION() 1785 gdImageFilledArc(im, cx, cy, w, h, st, e, col, style); in PHP_FUNCTION() 3345 int e, st; in PHP_FUNCTION() local 3360 st = ST; in PHP_FUNCTION() 3361 if (st < 0) { in PHP_FUNCTION() 3362 st %= 360; in PHP_FUNCTION() 3365 gdImageArc(im, cx, cy, w, h, st, e, col); in PHP_FUNCTION()
|
/PHP-7.4/ext/date/ |
H A D | php_date.c | 53 int st = snprintf(s, len, "%lld", i); \ 54 s[st] = '\0'; \ 4649 static int date_period_initialize(timelib_time **st, timelib_time **et, timelib_rel_time **d, zend_… in date_period_initialize() argument 4663 *st = b; in date_period_initialize()
|
/PHP-7.4/ext/zip/ |
H A D | php_zip.c | 1484 zend_stat_t st; local 1487 if (VCWD_STAT(resolved_path, &st) == 0 && st.st_size == 0) {
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 457 - struct stat st; 459 + zend_stat_t st; 481 - if (stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) { 485 + if (php_sys_stat(fn, &st) == 0 && S_ISDIR(st.st_mode)) { 508 - if (stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) { 510 + if (zend_stat(mfn, &st) == -1 || !S_ISREG(st.st_mode)) { 731 - if (st.st_size < 8 || st.st_size > maxoff_t()) { 733 + if (st.sb.st_size < 8 || st.sb.st_size > maxoff_t()) { 1028 if (st) 1029 memcpy(&b->st, st, sizeof(b->st)); [all …]
|
/PHP-7.4/ext/date/lib/ |
H A D | parse_date.re | 483 …", 2) || !timelib_strncasecmp(*ptr, "rd", 2) ||!timelib_strncasecmp(*ptr, "st", 2) || !timelib_str… 907 daysuf = "st" | "nd" | "rd" | "th";
|
/PHP-7.4/TSRM/ |
H A D | tsrm_win32.c | 816 SYSTEMTIME st; in win32_utime() local 817 GetSystemTime(&st); in win32_utime() 818 SystemTimeToFileTime(&st, &mtime); in win32_utime()
|
/PHP-7.4/ext/imap/ |
H A D | php_imap.c | 1345 STRING st; in PHP_FUNCTION() local 1378 INIT (&st, mail_string, (void *) ZSTR_VAL(message), ZSTR_LEN(message)); in PHP_FUNCTION() 1380 …(folder), (flags ? ZSTR_VAL(flags) : NIL), (internal_date ? ZSTR_VAL(internal_date) : NIL), &st)) { in PHP_FUNCTION()
|
/PHP-7.4/ext/opcache/ |
H A D | ZendAccelerator.c | 914 SYSTEMTIME st; in zend_get_file_handle_timestamp_win() local 916 st.wYear = 1970; in zend_get_file_handle_timestamp_win() 917 st.wMonth = 1; in zend_get_file_handle_timestamp_win() 918 st.wDay = 1; in zend_get_file_handle_timestamp_win() 919 st.wHour = 0; in zend_get_file_handle_timestamp_win() 920 st.wMinute = 0; in zend_get_file_handle_timestamp_win() 921 st.wSecond = 0; in zend_get_file_handle_timestamp_win() 922 st.wMilliseconds = 0; in zend_get_file_handle_timestamp_win() 924 SystemTimeToFileTime (&st, &utc_base_ft); in zend_get_file_handle_timestamp_win()
|
/PHP-7.4/sapi/cgi/ |
H A D | cgi_main.c | 1228 zend_stat_t st; local 1282 if (zend_stat(pt, &st) == 0 && S_ISREG(st.st_mode)) {
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_main.c | 1064 struct stat st; in init_request_info() local 1117 if (stat(pt, &st) == 0 && S_ISREG(st.st_mode)) { in init_request_info()
|
/PHP-7.4/main/streams/ |
H A D | plain_wrapper.c | 58 # define PLAIN_WRAP_BUF_SIZE(st) (((st) > UINT_MAX) ? UINT_MAX : (unsigned int)(st)) argument 60 # define PLAIN_WRAP_BUF_SIZE(st) (st) argument
|
/PHP-7.4/Zend/ |
H A D | zend_virtual_cwd.c | 511 zend_stat_t st; in tsrm_realpath_r() local 899 if (save && php_sys_lstat(path, &st) < 0) { in tsrm_realpath_r() 911 if (save && S_ISLNK(st.st_mode)) { in tsrm_realpath_r() 943 directory = S_ISDIR(st.st_mode); in tsrm_realpath_r()
|
/PHP-7.4/sapi/litespeed/ |
H A D | lsapilib.c | 852 struct stat st; in readSecret() local 859 if ( fstat( fd, &st ) == -1 ) in readSecret() 873 if ( st.st_mode & 0077 ) in readSecret()
|
/PHP-7.4/ |
H A D | run-tests.php | 2797 $st = $steps / 2; 2799 for ($ofs1 = $idx1 + 1; $ofs1 < $cnt1 && $st-- > 0; $ofs1++) { 2800 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $ofs1, $idx2, $cnt1, $cnt2, $st); 2808 $st = $steps; 2810 for ($ofs2 = $idx2 + 1; $ofs2 < $cnt2 && $st-- > 0; $ofs2++) { 2811 $eq = @count_array_diff($ar1, $ar2, $is_reg, $w, $idx1, $ofs2, $cnt1, $cnt2, $st);
|
/PHP-7.4/ext/soap/ |
H A D | php_sdl.c | 1551 struct stat st; in get_sdl_from_cache() local 1558 if (fstat(f, &st) != 0) { in get_sdl_from_cache() 1562 buf = in = emalloc(st.st_size); in get_sdl_from_cache() 1563 if (read(f, in, st.st_size) != st.st_size) { in get_sdl_from_cache()
|
/PHP-7.4/ext/pdo_mysql/tests/ |
H A D | bug76815.phpt | 21 $st = $pdo->prepare('CALL tst2()'); 23 $st->execute(); 27 unset($st);
|
H A D | bug63185.phpt | 25 $st = $pdo->query('CALL test_procedure_error_at_second()'); 26 var_dump($st->fetchAll()); 28 var_dump($st->nextRowset()); 32 unset($st); 35 $st = $pdo->query('CALL test_procedure_error_at_second()'); 36 var_dump($st->fetchAll()); 38 var_dump($st->nextRowset()); 42 var_dump($st->fetchAll());
|
/PHP-7.4/build/ |
H A D | libtool.m4 | 3096 # If the export-symbols file already is a .def file (1st line 5470 # If the export-symbols file already is a .def file (1st line
|
/PHP-7.4/ext/fileinfo/libmagic/ |
H A D | file.h | 155 zend_stat_t st; member
|
H A D | funcs.c | 205 file_buffer(struct magic_set *ms, php_stream *stream, zend_stat_t *st, in file_buffer() argument 230 buffer_init(&b, fd, st, buf, nb); in file_buffer() 231 ms->mode = b.st.st_mode; in file_buffer()
|
/PHP-7.4/ext/snmp/ |
H A D | snmp.c | 710 if (st & SNMP_CMD_WALK) { in php_snmp_internal() 720 if (st & SNMP_CMD_GET) { in php_snmp_internal() 788 st |= SNMP_CMD_GET; in php_snmp_internal() 789 st ^= SNMP_CMD_WALK; in php_snmp_internal() 805 } else if (st & SNMP_ORIGINAL_NAMES_AS_KEYS && st & SNMP_CMD_GET) { in php_snmp_internal() 820 } else if (st & SNMP_USE_SUFFIX_AS_KEYS && st & SNMP_CMD_WALK) { in php_snmp_internal() 940 if (st & SNMP_CMD_SET) { in php_snmp_parse_oid() 955 if (st & SNMP_CMD_SET) { in php_snmp_parse_oid() 982 if (st & SNMP_CMD_SET) { in php_snmp_parse_oid() 1037 if (st & SNMP_CMD_WALK) { in php_snmp_parse_oid() [all …]
|
/PHP-7.4/ext/exif/ |
H A D | exif.c | 4422 zend_stat_t st; in exif_read_from_impl() local 4432 if (VCWD_STAT(stream->orig_path, &st) >= 0) { in exif_read_from_impl() 4434 if ((st.st_mode & S_IFMT) != S_IFREG) { in exif_read_from_impl() 4447 ImageInfo->FileDateTime = st.st_mtime; in exif_read_from_impl() 4448 ImageInfo->FileSize = st.st_size; in exif_read_from_impl()
|
/PHP-7.4/ext/sodium/ |
H A D | libsodium.c | 3392 volatile size_t st; in PHP_FUNCTION() local 3424 st = 1U; in PHP_FUNCTION() 3429 k -= st; in PHP_FUNCTION() 3430 st = (size_t) (~(((( (((uint64_t) k) >> 48) | (((uint64_t) k) >> 32) | in PHP_FUNCTION() 3432 i += st; in PHP_FUNCTION()
|
/PHP-7.4/sapi/fpm/tests/ |
H A D | socket-uds-numeric-ugid-nonroot.phpt | 40 $st = stat($tester->getListen('{{ADDR:UDS}}')); 41 if ($st) { 42 $pw = posix_getpwuid($st['uid']); 43 $gr = posix_getgrgid($st['gid']); 46 echo "{$st['uid']}/{$user},{$st['gid']}/{$group}\n";
|
H A D | socket-uds-numeric-ugid.phpt | 35 $st = stat($tester->getListen('{{ADDR:UDS}}')); 36 if ($st) { 37 $pw = posix_getpwuid($st['uid']); 38 $gr = posix_getgrgid($st['gid']); 41 echo "{$st['uid']}/{$user},{$st['gid']}/{$group}\n";
|