/PHP-5.4/ext/gd/libgd/ |
H A D | gdcache.h | 67 int size; member 77 int size,
|
H A D | gdcache.c | 58 int size, in gdCacheCreate() argument 67 head->size = size; in gdCacheCreate() 122 if (i < head->size) in gdCacheGet()
|
H A D | gd_gd2.c | 45 int size; member 150 if (gdGetInt(&cidx[i].size, in) != 1) { in _gd2GetHeader() 242 gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); in gdImageCreateFromGd2Ptr() 280 if (chunkIdx[i].size > compMax) { in gdImageCreateFromGd2Ctx() 281 compMax = chunkIdx[i].size; in gdImageCreateFromGd2Ctx() 393 gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); in gdImageCreateFromGd2PartPtr() 469 if (chunkIdx[i].size > compMax) { in gdImageCreateFromGd2PartCtx() 470 compMax = chunkIdx[i].size; in gdImageCreateFromGd2PartCtx() 771 chunkIdx[chunkNum++].size = compLen; in _gdImageGd2() 792 gdPutInt(chunkIdx[x].size, out); in _gdImageGd2() [all …]
|
/PHP-5.4/Zend/ |
H A D | zend_llist.c | 26 ZEND_API void zend_llist_init(zend_llist *l, size_t size, llist_dtor_func_t dtor, unsigned char per… in zend_llist_init() argument 31 l->size = size; in zend_llist_init() 39 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_add_element() 49 memcpy(tmp->data, element, l->size); in zend_llist_add_element() 57 zend_llist_element *tmp = pemalloc(sizeof(zend_llist_element)+l->size-1, l->persistent); in zend_llist_prepend_element() 67 memcpy(tmp->data, element, l->size); in zend_llist_prepend_element() 164 zend_llist_init(dst, src->size, src->dtor, src->persistent); in zend_llist_copy()
|
H A D | zend_ts_hash.c | 267 …(TsHashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size) in zend_ts_hash_copy() argument 271 zend_hash_copy(TS_HASH(target), TS_HASH(source), pCopyConstructor, tmp, size); in zend_ts_hash_copy() 276 …sh(HashTable *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size) in zend_ts_hash_copy_to_hash() argument 279 zend_hash_copy(target, TS_HASH(source), pCopyConstructor, tmp, size); in zend_ts_hash_copy_to_hash() 283 …arget, TsHashTable *source, copy_ctor_func_t pCopyConstructor, void *tmp, uint size, int overwrite) in zend_ts_hash_merge() argument 287 zend_hash_merge(TS_HASH(target), TS_HASH(source), pCopyConstructor, tmp, size, overwrite); in zend_ts_hash_merge() 292 …ble *target, TsHashTable *source, copy_ctor_func_t pCopyConstructor, uint size, merge_checker_func… in zend_ts_hash_merge_ex() argument 296 zend_hash_merge_ex(TS_HASH(target), TS_HASH(source), pCopyConstructor, size, pMergeSource, pParam); in zend_ts_hash_merge_ex()
|
/PHP-5.4/main/streams/ |
H A D | cast.c | 63 static int stream_cookie_reader(void *cookie, char *buffer, int size) in stream_cookie_reader() argument 68 ret = php_stream_read((php_stream*)cookie, buffer, size); in stream_cookie_reader() 72 static int stream_cookie_writer(void *cookie, const char *buffer, int size) in stream_cookie_writer() argument 76 return php_stream_write((php_stream *)cookie, (char *)buffer, size); in stream_cookie_writer() 96 static ssize_t stream_cookie_reader(void *cookie, char *buffer, size_t size) in stream_cookie_reader() argument 101 ret = php_stream_read(((php_stream *)cookie), buffer, size); in stream_cookie_reader() 105 static ssize_t stream_cookie_writer(void *cookie, const char *buffer, size_t size) in stream_cookie_writer() argument 109 return php_stream_write(((php_stream *)cookie), (char *)buffer, size); in stream_cookie_writer()
|
/PHP-5.4/ext/gd/ |
H A D | gdcache.c | 59 int size, in gdCacheCreate() argument 68 head->size = size; in gdCacheCreate() 118 if (i < head->size) { /* cache still growing - add new elem */ in gdCacheGet()
|
H A D | gdcache.h | 68 int size; member 78 int size,
|
/PHP-5.4/ext/standard/tests/filters/ |
H A D | bug22538.phpt | 11 $size = 65536; 21 $cnt = $size; 25 $cnt = $size - ($str_len + $cnt);
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | ftruncate_error.phpt | 6 Prototype: bool ftruncate ( resource $handle, int $size ); 16 echo "\n Initial file size = ".filesize($filename)."\n"; 25 // check the first size 31 // check the first size 56 // check the first size 63 // check the first size 76 Initial file size = 36
|
H A D | symlink_link_linkinfo_is_link_variation4.phpt | 27 Check size of file and hard link 47 echo "\n-- Check size of hard link and file --\n"; 63 echo "\n-- Check size of hard link and file --\n"; 79 echo "\n-- Check size of hard link and file --\n"; 101 -- Check size of hard link and file -- 108 -- Check size of hard link and file -- 115 -- Check size of hard link and file --
|
H A D | copy_variation11.phpt | 24 var_dump( filesize($file) ); //size of source before copy 27 var_dump( filesize($dir) ); //size of destination before copy 42 var_dump( filesize($file) ); //size of source after copy 43 var_dump( filesize($dir) ); //size of destination after copy
|
/PHP-5.4/tests/output/ |
H A D | bug60768.phpt | 18 printf("Output size: %d, expected %d\n", strlen($storage), 20 + 10 * 10); 23 Output size: 120, expected 120
|
/PHP-5.4/ext/phar/ |
H A D | tar.h | 46 char size[12]; /* length of file in bytes */ member 70 char size[12]; /* length of file in bytes */ member
|
H A D | tar.c | 201 php_uint32 sum1, sum2, size, old; in phar_parse_tarfile() local 256 phar_tar_number(hdr->size, sizeof(hdr->size)); in phar_parse_tarfile() 261 if (size > 511) { in phar_parse_tarfile() 272 if (read != size) { in phar_parse_tarfile() 365 size = ((size+511)&~511) - size; in phar_parse_tarfile() 503 if (size > 511) { in phar_parse_tarfile() 514 if (read == size) { in phar_parse_tarfile() 515 buf[size] = '\0'; in phar_parse_tarfile() 517 if (size > 50) { in phar_parse_tarfile() 535 myphar->alias_len = size; in phar_parse_tarfile() [all …]
|
/PHP-5.4/ext/standard/ |
H A D | md5.c | 187 static const void *body(PHP_MD5_CTX *ctx, const void *data, size_t size) in body() argument 284 } while (size -= 64); in body() 311 if ((ctx->lo = (saved_lo + size) & 0x1fffffff) < saved_lo) { in PHP_MD5Update() 314 ctx->hi += size >> 29; in PHP_MD5Update() 321 if (size < free) { in PHP_MD5Update() 322 memcpy(&ctx->buffer[used], data, size); in PHP_MD5Update() 328 size -= free; in PHP_MD5Update() 332 if (size >= 64) { in PHP_MD5Update() 333 data = body(ctx, data, size & ~(size_t)0x3f); in PHP_MD5Update() 334 size &= 0x3f; in PHP_MD5Update() [all …]
|
/PHP-5.4/ext/standard/tests/array/ |
H A D | array_chunk_error.phpt | 5 /* Prototype : array array_chunk(array input, int size [, bool preserve_keys]) 18 $size = 10; 21 var_dump( array_chunk($input,$size,$preserve_keys, $extra_arg) );
|
/PHP-5.4/ext/intl/doc/ |
H A D | grapheme_api.php | 121 * @param int $size maximum number of units - based on the $extract_type - to return 128 …function grapheme_extract($haystack, $size, $extract_type = GRAPHEME_EXTR_COUNT, $start = 0, &$nex… argument
|
/PHP-5.4/ext/bcmath/libbcmath/src/ |
H A D | output.c | 61 bc_out_long (val, size, space, out_char) in bc_out_long() argument 63 int size, space; 76 while (size > len) 79 size--;
|
/PHP-5.4/ext/intl/grapheme/ |
H A D | grapheme_string.c | 772 grapheme_extract_count_iter(UBreakIterator *bi, int32_t size, unsigned char *pstr, int32_t str_len) in grapheme_extract_count_iter() argument 777 while ( size ) { in grapheme_extract_count_iter() 784 size--; in grapheme_extract_count_iter() 814 …long size; /* maximum number of grapheme clusters, bytes, or characters (based on extract_type) to… in PHP_FUNCTION() local 824 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sl|llz", (char **)&str, &str_len, &size, &ex… in PHP_FUNCTION() 859 if ( size > INT32_MAX || size < 0) { in PHP_FUNCTION() 863 if (size == 0) { in PHP_FUNCTION() 893 if ( -1 != grapheme_ascii_check(pstr, size + 1 < str_len ? size + 1 : str_len ) ) { in PHP_FUNCTION() 894 long nsize = ( size < str_len ? size : str_len ); in PHP_FUNCTION() 931 ret_pos = (*grapheme_extract_iters[extract_type])(bi, size, pstr, str_len); in PHP_FUNCTION()
|
/PHP-5.4/ext/shmop/ |
H A D | README | 16 int shmop_open(int key, string flags, int mode, int size) 27 size - size of the block in bytes 50 shmid - shmid for which to return the size 52 returns the size in bytes of the shm segment
|
/PHP-5.4/ext/dba/ |
H A D | dba_db4.c | 67 gkey.data = (char *) key; gkey.size = keylen 173 if (newlen) *newlen = gval.size; 174 new = estrndup(gval.data, gval.size); 190 gval.size = vallen; 260 nkey = estrndup(gkey.data, gkey.size); 261 if (newlen) *newlen = gkey.size;
|
/PHP-5.4/ext/oci8/tests/ |
H A D | coll_006.phpt | 17 var_dump($coll1->size()); 31 Warning: OCI-Collection::size(): %d is not a valid oci8 collection resource in %s on line %d
|
H A D | coll_002.phpt | 17 var_dump($coll1->size()); 31 Warning: OCI-Collection::size(): %d is not a valid oci8 collection resource in %s on line %d
|
/PHP-5.4/ext/zlib/tests/ |
H A D | bug_34821.phpt | 20 foreach ($b as $size) { 23 } while (++$i < $size);
|