Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 23 of 23) sorted by relevance

/php-src/ext/gd/libgd/
H A Dgd_io_dp.c79 ctx->dp = dp; in gdNewDynamicCtxEx()
102 dp = dctx->dp; in gdDPExtractData()
112 if (dp->data != NULL && dp->freeOK) { in gdDPExtractData()
130 dp = dctx->dp; in gdFreeDynamicCtx()
159 dp = dctx->dp; in dynamicSeek()
171 gdReallocDynamic (dp, dp->realSize * 2); in dynamicSeek()
237 dp = dctx->dp; in dynamicGetbuf()
239 remain = dp->logicalSize - dp->pos; in dynamicGetbuf()
323 if (dp->pos > dp->logicalSize) { in appendDynamic()
324 dp->logicalSize = dp->pos; in appendDynamic()
[all …]
/php-src/win32/
H A Dreaddir.c26 DIR *dp; in opendir() local
78 free(dp); in opendir()
92 return dp; in opendir()
100 if (!dp || dp->finished) in readdir()
104 if (FindNextFileW(dp->handle, &(dp->fileinfo)) == 0) { in readdir()
119 dp->offset++; in readdir()
122 dp->dent.d_off = dp->offset; in readdir()
136 if (!dp) in closedir()
143 if (dp->dirw) in closedir()
145 if (dp) in closedir()
[all …]
H A Dglob.c590 register struct dirent *dp; in glob3() local
627 while ((dp = (*readdirfunc)(dirp))) { in glob3()
632 if (dp->d_name[0] == DOT && *pattern != DOT) in glob3()
635 sc = (uint8_t *) dp->d_name; in glob3()
H A Dioutil.c858 …p_win32_ioutil_stat_t *buf, const wchar_t *pathw, size_t pathw_len, PBY_HANDLE_FILE_INFORMATION dp) in php_win32_ioutil_fstat_int() argument
865 data = !dp ? &d : dp; in php_win32_ioutil_fstat_int()
/php-src/ext/date/tests/
H A DDatePeriod_wrong_arguments.phpt5 $dp = new DatePeriod(new \DateTimeImmutable("2023-01-13 12:29:30"), DateInterval::createFromDateStr…
6 echo get_class($dp) == 'DatePeriod' ? "OK\n" : "FAIL\n";
8 $dp = new DatePeriod(new \DateTimeImmutable("2023-01-13 12:29:30"), DateInterval::createFromDateStr…
9 echo get_class($dp) == 'DatePeriod' ? "OK\n" : "FAIL\n";
11 $dp = new DatePeriod("R4/2012-07-01T00:00:00Z/P7D");
12 echo get_class($dp) == 'DatePeriod' ? "OK\n" : "FAIL\n";
14 $dp = DatePeriod::createFromISO8601String("R4/2012-07-01T00:00:00Z/P7D");
15 echo get_class($dp) == 'DatePeriod' ? "OK\n" : "FAIL\n";
18 $dp = new DatePeriod("2023-01-13 17:24:58", DateInterval::createFromDateString("tomorrow"), 4);
H A Dbug46874.phpt5 $dp = DatePeriod::createFromISO8601String('R5/2008-03-01T13:00:00Z/P1Y2M10DT2H30M');
7 foreach ($dp as $date) {
14 foreach ($dp as $date) {
H A DDatePeriod_modify_readonly_property.phpt5 $dp = new \DatePeriod(
12 $dp->interval = "foo";
18 $foo =& $dp->interval;
H A Dbug52668.phpt9 $dp = new DatePeriod($start, $interval, 1);
10 foreach($dp as $dt) {
14 foreach($dp as $dt) {
H A Ddate_period_exclude_start_and_include_end.phpt10 $dp = new DatePeriod($start, $interval, $end, DatePeriod::EXCLUDE_START_DATE | DatePeriod::INCLUDE_…
11 foreach ($dp as $day) {
H A Dbug44562.phpt8 $dp = new DatePeriod('2D');
22 $dp = new DatePeriod( $begin, $interval, 10 );
23 foreach ( $dp as $d )
H A Dbug53437_var0.phpt5 $dp = new DatePeriod(new DateTime('2010-01-01 UTC'), new DateInterval('P1D'), 2);
8 foreach($dp as $dt) {
12 var_dump($dp);
14 $ser = serialize($dp); // $ser is: O:10:"DatePeriod":0:{}
H A Dbug53437_var1.phpt7 $dp = unserialize($s);
9 var_dump($dp);
H A Dbug80047.phpt27 $dp = new DatePeriod(...$test);
28 foreach ($dp as $date) {}
/php-src/main/
H A Dphp_scandir.c58 struct dirent *dp; in php_scandir() local
68 while ((dp = readdir(dirp))) { in php_scandir()
72 if (selector && (*selector)(dp) == 0) { in php_scandir()
91 dsize = sizeof (struct dirent) + ((strlen(dp->d_name) + 1) * sizeof(char)); in php_scandir()
98 vector[nfiles++] = (struct dirent *) memcpy(newdp, dp, dsize); in php_scandir()
/php-src/ext/standard/html_tables/
H A Dhtml_table_gen.php420 $dp = array(); variable
425 $dp[] = array($matches[1], $matches[2], $matches[3]);
427 $dp[] = array($matches[1], $matches[2]);
431 $origdp = $dp;
433 usort($dp, function($a, $b) { return hexdec($a[1])-hexdec($b[1]); });
436 foreach ($dp as $el) {
442 foreach ($dp as $el) {
520 foreach ($dp as $el) {
/php-src/ext/com_dotnet/
H A Dcom_iterator.c139 DISPPARAMS dp; in php_com_iter_get() local
157 memset(&dp, 0, sizeof(dp)); in php_com_iter_get()
204 &dp, &v, NULL, NULL))) { in php_com_iter_get()
/php-src/ext/standard/tests/strings/
H A Dnumber_format_basic.phpt25 echo "\n-- number_format tests.....with two dp --\n";
59 -- number_format tests.....with two dp --
/php-src/ext/openssl/tests/
H A Dprivate_rsa_1024.key5 AoGBAMcP/dp+fsI9FFYBaVC3mASlUjOwxKWdH3kqGb8N9p4uKRAoEWtp3hNJM7ZX
/php-src/ext/standard/tests/math/
H A Dnumber_format_basic.phpt27 echo "\n number_format tests.....with two dp\n";
69 number_format tests.....with two dp
/php-src/ext/standard/
H A Dmath.c1075 char *dp; in _php_math_number_format_ex() local
1102 dp = strpbrk(ZSTR_VAL(tmpbuf), ".,"); in _php_math_number_format_ex()
1104 dp = NULL; in _php_math_number_format_ex()
1108 if (dp) { in _php_math_number_format_ex()
1109 integral = (dp - ZSTR_VAL(tmpbuf)); in _php_math_number_format_ex()
1144 size_t declen = (dp ? s - dp : 0); in _php_math_number_format_ex()
1152 if (dp) { in _php_math_number_format_ex()
1157 memcpy(t + 1, dp + 1, declen); in _php_math_number_format_ex()
H A Dfile.c1579 char *sp, *dp; in php_copy_file_ctx() local
1585 if ((dp = expand_filepath(dest, NULL)) == NULL) { in php_copy_file_ctx()
1592 !strcmp(sp, dp); in php_copy_file_ctx()
1594 !strcasecmp(sp, dp); in php_copy_file_ctx()
1598 efree(dp); in php_copy_file_ctx()
/php-src/pear/
H A DMakefile.frag8 PEAR_PREFIX = -dp a${program_prefix}
/php-src/sapi/fpm/
H A Dconfig.m4338 int n, dp;
340 dp = 0;
344 n = ioctl(dp, DP_POLL, &dvp)

Completed in 52 milliseconds