/php-src/ext/gd/libgd/ |
H A D | gd_io_dp.c | 79 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 D | readdir.c | 26 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 D | glob.c | 590 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 D | ioutil.c | 854 …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 861 data = !dp ? &d : dp; in php_win32_ioutil_fstat_int()
|
/php-src/ext/date/tests/ |
H A D | DatePeriod_wrong_arguments.phpt | 5 $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 D | bug46874.phpt | 5 $dp = DatePeriod::createFromISO8601String('R5/2008-03-01T13:00:00Z/P1Y2M10DT2H30M'); 7 foreach ($dp as $date) { 14 foreach ($dp as $date) {
|
H A D | DatePeriod_modify_readonly_property.phpt | 5 $dp = new \DatePeriod( 12 $dp->interval = "foo"; 18 $foo =& $dp->interval;
|
H A D | bug52668.phpt | 9 $dp = new DatePeriod($start, $interval, 1); 10 foreach($dp as $dt) { 14 foreach($dp as $dt) {
|
H A D | date_period_exclude_start_and_include_end.phpt | 10 $dp = new DatePeriod($start, $interval, $end, DatePeriod::EXCLUDE_START_DATE | DatePeriod::INCLUDE_… 11 foreach ($dp as $day) {
|
H A D | bug44562.phpt | 8 $dp = new DatePeriod('2D'); 22 $dp = new DatePeriod( $begin, $interval, 10 ); 23 foreach ( $dp as $d )
|
H A D | bug53437_var0.phpt | 5 $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 D | bug53437_var1.phpt | 7 $dp = unserialize($s); 9 var_dump($dp);
|
H A D | bug80047.phpt | 27 $dp = new DatePeriod(...$test); 28 foreach ($dp as $date) {}
|
/php-src/main/ |
H A D | php_scandir.c | 58 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 D | html_table_gen.php | 420 $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 D | com_iterator.c | 139 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 D | number_format_basic.phpt | 25 echo "\n-- number_format tests.....with two dp --\n"; 59 -- number_format tests.....with two dp --
|
/php-src/ext/openssl/tests/ |
H A D | private_rsa_1024.key | 5 AoGBAMcP/dp+fsI9FFYBaVC3mASlUjOwxKWdH3kqGb8N9p4uKRAoEWtp3hNJM7ZX
|
/php-src/ext/standard/tests/math/ |
H A D | number_format_basic.phpt | 27 echo "\n number_format tests.....with two dp\n"; 69 number_format tests.....with two dp
|
/php-src/ext/standard/ |
H A D | math.c | 1109 char *dp; in _php_math_number_format_ex() local 1136 dp = strpbrk(ZSTR_VAL(tmpbuf), ".,"); in _php_math_number_format_ex() 1138 dp = NULL; in _php_math_number_format_ex() 1142 if (dp) { in _php_math_number_format_ex() 1143 integral = (dp - ZSTR_VAL(tmpbuf)); in _php_math_number_format_ex() 1178 size_t declen = (dp ? s - dp : 0); in _php_math_number_format_ex() 1186 if (dp) { in _php_math_number_format_ex() 1191 memcpy(t + 1, dp + 1, declen); in _php_math_number_format_ex()
|
H A D | file.c | 1543 char *sp, *dp; in php_copy_file_ctx() local 1549 if ((dp = expand_filepath(dest, NULL)) == NULL) { in php_copy_file_ctx() 1556 !strcmp(sp, dp); in php_copy_file_ctx() 1558 !strcasecmp(sp, dp); in php_copy_file_ctx() 1562 efree(dp); in php_copy_file_ctx()
|
/php-src/pear/ |
H A D | Makefile.frag | 8 PEAR_PREFIX = -dp a${program_prefix}
|