| /PHP_5_5/ext/ereg/regex/ |
| H A D | split.c | 20 register char **fp = fields; local 44 *fp++ = p; 68 *fp++ = p; 72 if (trimtrail && **(fp-1) == '\0') 112 *fp++ = p;
|
| /PHP_5_5/ext/ |
| H A D | ext_skel_win32.php | 38 $fp = fopen("$skel/skeleton.dsp", "rb"); variable 39 if ($fp) { 40 $dsp_file = fread($fp, filesize("$skel/skeleton.dsp")); 41 fclose($fp); 45 $fp = fopen("$extname/$extname.dsp", "wb"); variable 46 if ($fp) { 47 fwrite($fp, $dsp_file); 48 fclose($fp); 52 $fp = fopen("$extname/$extname.php", "rb"); variable 53 if ($fp) { 58 $fp = fopen("$extname/$extname.php", "wb"); variable [all...] |
| /PHP_5_5/ext/phar/ |
| H A D | shortarc.php | 115 $fp = fopen(__FILE__, 'rb'); variable 116 fseek($fp, self::LEN); 117 $L = unpack('V', $a = (binary)fread($fp, 4)); 125 $last = (binary)fread($fp, $read); 183 file_put_contents($temp . '/' . $path, self::extractFile($path, $file, $fp)); 245 static function extractFile($path, $entry, $fp) 252 $data .= @fread($fp, $c); 256 $data .= @fread($fp, 8192);
|
| /PHP_5_5/ext/tokenizer/ |
| H A D | tokenizer.php | 7 $fp = fopen('php://stdin', 'r'); variable 8 while (!feof($fp)) { 9 $content .= fread($fp, 4096); 11 fclose($fp);
|
| /PHP_5_5/ext/zip/examples/ |
| H A D | fopen.php | 7 $fp = fopen('zip://' . dirname(__FILE__) . '/test.zip#test', 'r'); variable 8 if (!$fp) { 11 while (!feof($fp)) { 12 $contents .= fread($fp, 2); 16 fclose($fp); 23 $fp = $z->getStream('test'); variable 25 var_dump($fp); 26 if(!$fp) exit("\n"); 27 while (!feof($fp)) { 28 $contents .= fread($fp, [all...] |
| /PHP_5_5/ext/zip/lib/ |
| H A D | zip_fdopen.c | 46 FILE *fp; 56 if ((fp=fdopen(fd, "rb")) == NULL) { 63 return _zip_open(NULL, fp, flags, ZIP_AFL_RDONLY, zep); 44 FILE *fp; local
|
| H A D | zip_filerange_crc.c | 47 _zip_filerange_crc(FILE *fp, off_t start, off_t len, uLong *crcp, 55 if (fseeko(fp, start, SEEK_SET) != 0) { 62 if ((n=fread(buf, 1, n, fp)) <= 0) { 45 _zip_filerange_crc(FILE *fp, off_t start, off_t len, uLong *crcp, struct zip_error *errp) argument
|
| H A D | zip_dirent.c | 129 _zip_cdir_write(struct zip_cdir *cd, FILE *fp, struct zip_error *error) 133 cd->offset = ftello(fp); 136 if (_zip_dirent_write(cd->entry+i, fp, 0, error) != 0) 140 cd->size = ftello(fp) - cd->offset; 142 /* clearerr(fp); */ 143 fwrite(EOCD_MAGIC, 1, 4, fp); 144 _zip_write4(0, fp); 145 _zip_write2((unsigned short)cd->nentry, fp); 146 _zip_write2((unsigned short)cd->nentry, fp); 147 _zip_write4(cd->size, fp); 124 _zip_cdir_write(struct zip_cdir *cd, FILE *fp, struct zip_error *error) argument 220 _zip_dirent_read(struct zip_dirent *zde, FILE *fp, unsigned char **bufp, zip_uint32_t *leftp, int local, struct zip_error *error) argument 425 _zip_dirent_write(struct zip_dirent *zde, FILE *fp, int localp, struct zip_error *error) argument 528 _zip_readfpstr(FILE *fp, unsigned int len, int nulp, struct zip_error *error) argument 585 _zip_write2(unsigned short i, FILE *fp) argument 596 _zip_write4(unsigned int i, FILE *fp) argument [all...] |
| H A D | zip_open.c | 65 FILE *fp; 82 if ((fp=fopen(fn, "rb")) == NULL) { 87 return _zip_open(fn, fp, flags, 0, zep); 94 _zip_open(const char *fn, FILE *fp, int flags, int aflags, int *zep) 101 if (fseeko(fp, 0, SEEK_END) < 0) { 105 len = ftello(fp); 110 fclose(fp); 112 za->zp = fp; 116 cdir = _zip_find_central_dir(fp, flags, zep, len); 118 fclose(fp); 63 FILE *fp; local 91 _zip_open(const char *fn, FILE *fp, int flags, int aflags, int *zep) argument 169 _zip_readcdir(FILE *fp, off_t buf_offset, unsigned char *buf, unsigned char *eocd, int buflen, int flags, struct zip_error *error) argument 299 _zip_checkcons(FILE *fp, struct zip_cdir *cd, struct zip_error *error) argument 511 _zip_find_central_dir(FILE *fp, int flags, int *zep, off_t len) argument [all...] |
| /PHP_5_5/pear/ |
| H A D | fetch.php | 66 $fp = fopen($argv[1], "r", false, $ctx); variable 67 if (is_resource($fp) && file_put_contents($argv[2], $fp)) {
|
| /PHP_5_5/ext/fileinfo/libmagic/ |
| H A D | apptype.c | 52 FILE *fp; local 68 if ((fp = fopen(path, "wb")) == NULL) { 72 if (fwrite(buf, 1, nb, fp) != nb) { 75 (void)fclose(fp); 78 (void)fclose(fp);
|
| /PHP_5_5/ext/mbstring/libmbfl/tests/conv_encoding.tests/ |
| H A D | gen_exp.c | 381 FILE *fp; local 400 fp = fopen(cp932_txt, "r"); 401 if (!fp) { 408 while (fgets(buf, sizeof(buf), fp)) {
|
| /PHP_5_5/ext/mbstring/oniguruma/enc/ |
| H A D | mktable.c | 1106 static int exec(FILE* fp, ENC_INFO* einfo) argument 1114 fprintf(fp, "static const unsigned short Enc%s_CtypeTable[256] = {\n", 1134 if (c % NCOL == 0) fputs(" ", fp); 1135 fprintf(fp, "0x%04x", val); 1136 if (c != 255) fputs(",", fp); 1138 fputs("\n", fp); 1140 fputs(" ", fp); 1142 fprintf(fp, "};\n"); 1149 FILE* fp = stdout; local 1158 exec(fp, [all...] |
| /PHP_5_5/Zend/ |
| H A D | zend_stream.h | 68 FILE *fp; member in union:_zend_file_handle::__anon26
|
| /PHP_5_5/ext/dba/ |
| H A D | dba_cdb.c | 78 file = info->fp; 90 file = info->fp; 228 int cdb_file_lseek(php_stream *fp, off_t offset, int whence TSRMLS_DC) { argument 229 php_stream_seek(fp, offset, whence); 230 return php_stream_tell(fp);
|
| /PHP_5_5/ext/dba/libcdb/ |
| H A D | cdb.h | 31 php_stream *fp; member in struct:cdb 44 void cdb_init(struct cdb *, php_stream *fp TSRMLS_DC);
|
| H A D | cdb_make.h | 54 php_stream * fp; member in struct:cdb_make
|
| /PHP_5_5/ext/dba/libflatfile/ |
| H A D | flatfile.h | 32 php_stream *fp; member in struct:__anon56
|
| /PHP_5_5/ext/dba/libinifile/ |
| H A D | inifile.c | 82 inifile * inifile_alloc(php_stream *fp, int readonly, int persistent TSRMLS_DC) argument 87 if (!php_stream_truncate_supported(fp)) { 95 dba->fp = fp; 172 while ((fline = php_stream_gets(dba->fp, NULL, 0)) != NULL) { 184 ln->pos = php_stream_tell(dba->fp); 204 ln->pos = php_stream_tell(dba->fp); 252 php_stream_seek(dba->fp, dba->next.pos, SEEK_SET); 256 php_stream_rewind(dba->fp); 269 dba->next.pos = php_stream_tell(dba->fp); 388 php_stream *fp; local [all...] |
| H A D | inifile.h | 42 php_stream *fp; member in struct:__anon60 63 inifile * inifile_alloc(php_stream *fp, int readonly, int persistent TSRMLS_DC);
|
| /PHP_5_5/ext/standard/ |
| H A D | exec.c | 62 FILE *fp; local 77 fp = VCWD_POPEN(cmd, "rb"); 79 fp = VCWD_POPEN(cmd, "r"); 81 if (!fp) { 86 stream = php_stream_fopen_from_pipe(fp, "rb");
|
| /PHP_5_5/sapi/webjames/ |
| H A D | webjames.c | 169 FILE *fp=NULL; local
|
| /PHP_5_5/main/ |
| H A D | php_open_temporary_file.c | 306 FILE *fp; local 313 fp = fdopen(fd, "r+b"); 314 if (fp == NULL) { 318 return fp;
|
| /PHP_5_5/ext/opcache/ |
| H A D | zend_accelerator_blacklist.c | 186 FILE *fp; local 190 if ((fp = fopen(filename, "r")) == NULL) { 200 while (fgets(buf, MAXPATHLEN, fp) != NULL) { 249 fclose(fp);
|
| H A D | shared_alloc_win32.c | 131 FILE *fp = fopen(mmap_base_file, "r"); local 135 if (!fp) { 141 if (!fscanf(fp, "%p", &wanted_mapping_base)) { 145 fclose(fp); 148 fclose(fp); 303 FILE *fp = fopen(mmap_base_file, "w"); local 305 if (!fp) { 311 fprintf(fp, "%p\n", mapping_base); 312 fclose(fp);
|