/PHP-5.5/ext/standard/tests/array/ |
H A D | array_chunk_basic2.phpt | 5 /* Prototype : array array_chunk(array $array, int $size [, bool $preserve_keys]) 7 * Chunks an array into size large chunks. 12 $size = 2; 35 var_dump( array_chunk($input_array, $size, true) ); 36 var_dump( array_chunk($input_array, $size, false) );
|
H A D | array_chunk_basic1.phpt | 5 /* Prototype : array array_chunk(array $array, int $size [, bool $preserve_keys]) 7 * Chunks an array into size large chunks. 12 $size = 2; 36 var_dump( array_chunk($input_array, $size) );
|
H A D | array_map_variation7.phpt | 2 Test array_map() function : usage variations - arrays of different size 11 * Test array_map() by passing array having different size 19 echo "*** Testing array_map() : arrays with diff. size ***\n"; 36 *** Testing array_map() : arrays with diff. size ***
|
/PHP-5.5/ext/dba/ |
H A D | dba_db2.c | 40 gkey.size = keylen 109 if (newlen) *newlen = gval.size; in DBA_FETCH_FUNC() 110 return estrndup(gval.data, gval.size); in DBA_FETCH_FUNC() 120 gval.size = vallen; in DBA_UPDATE_FUNC() 179 if (newlen) *newlen = gkey.size; 180 return estrndup(gkey.data, gkey.size);
|
H A D | dba_db3.c | 49 gkey.data = (char *) key; gkey.size = keylen 132 if (newlen) *newlen = gval.size; in DBA_FETCH_FUNC() 133 new = estrndup(gval.data, gval.size); in DBA_FETCH_FUNC() 146 gval.size = vallen; in DBA_UPDATE_FUNC() 204 nkey = estrndup(gkey.data, gkey.size); in DBA_NEXTKEY_FUNC() 205 if (newlen) *newlen = gkey.size; in DBA_NEXTKEY_FUNC()
|
/PHP-5.5/ext/bcmath/libbcmath/src/ |
H A D | div.c | 48 _one_mult (num, size, digit, result) in _one_mult() argument 50 int size, digit; 57 memset (result, 0, size); 61 memcpy (result, num, size); 65 nptr = (unsigned char *) (num+size-1); 66 rptr = (unsigned char *) (result+size-1); 69 while (size-- > 0)
|
/PHP-5.5/ext/pcre/pcrelib/sljit/ |
H A D | sljitNativeX86_32.c | 70 sljit_si size; in sljit_emit_enter() local 84 size += (args > 0 ? (2 + args * 3) : 0); in sljit_emit_enter() 89 INC_SIZE(size); in sljit_emit_enter() 210 sljit_si size; in sljit_emit_return() local 240 size += 2; in sljit_emit_return() 243 size += 2; in sljit_emit_return() 248 INC_SIZE(size); in sljit_emit_return() 282 sljit_si flags = size & ~0xf; in emit_x86_instruction() 297 size &= 0xf; in emit_x86_instruction() 298 inst_size = size; in emit_x86_instruction() [all …]
|
H A D | sljitNativeX86_64.c | 111 INC_SIZE(size); in sljit_emit_enter() 121 INC_SIZE(size); in sljit_emit_enter() 128 size = args * 3; in sljit_emit_enter() 132 INC_SIZE(size); in sljit_emit_enter() 258 sljit_si i, tmp, size; in sljit_emit_return() local 303 INC_SIZE(size); in sljit_emit_return() 314 INC_SIZE(size); in sljit_emit_return() 355 sljit_si flags = size & ~0xf; in emit_x86_instruction() 372 size &= 0xf; in emit_x86_instruction() 373 inst_size = size; in emit_x86_instruction() [all …]
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_str.h | 8 static inline char *str_purify_filename(char *dst, char *src, size_t size) /* {{{ */ in str_purify_filename() argument 13 end = dst + size - 1; in str_purify_filename()
|
/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd_wireprotocol.c | 47 (buf_size), (packet)->header.size, (packet)->header.size - (buf_size)); \ 291 header->size = uint3korr(buffer); in mysqlnd_read_header() 344 buf[packet->header.size] = '\0'; in php_mysqlnd_greet_read() 451 p - begin - packet->header.size); in php_mysqlnd_greet_read() 664 buf[packet->header.size] = '\0'; in php_mysqlnd_auth_response_read() 929 if (packet->header.size > 1) { in php_mysqlnd_eof_read() 1091 len = packet->header.size - 1; in php_mysqlnd_rset_header_read() 1423 *data_size += header.size; in php_mysqlnd_read_row_ex() 1439 if (!header.size) { in php_mysqlnd_read_row_ex() 1794 packet->header.size = data_size; in php_mysqlnd_rowp_read() [all …]
|
/PHP-5.5/ext/standard/tests/file/ |
H A D | filesize_basic.phpt | 7 * Description: Returns the size of the file in bytes, or FALSE 12 echo "*** Testing size of files and directories with filesize() ***\n"; 34 *** Testing size of files and directories with filesize() ***
|
H A D | stat_variation8-win32.phpt | 31 echo "\n*** Testing stat(): on file by truncating it to given size ***\n"; 55 $affected_members = array(7, 9, 'size', 'mtime'); 59 clearstatcache(true, $filename); // clear previous size value in cache 70 *** Testing stat(): on file by truncating it to given size ***
|
/PHP-5.5/ext/sysvshm/tests/ |
H A D | 002.phpt | 42 Warning: shm_attach(): Segment size must be greater than zero in %s on line %d 45 Warning: shm_attach(): Segment size must be greater than zero in %s on line %d 48 Warning: shm_attach(): Segment size must be greater than zero in %s on line %d 51 Warning: shm_attach(): Segment size must be greater than zero in %s on line %d 56 Warning: shm_attach(): Segment size must be greater than zero in %s on line %d
|
/PHP-5.5/tests/basic/ |
H A D | rfc1867_max_file_uploads_empty_files.phpt | 55 ["size"]=> 68 ["size"]=> 81 ["size"]=> 94 ["size"]=>
|
/PHP-5.5/ext/standard/ |
H A D | crypt_blowfish.c | 387 static int BF_decode(BF_word *dst, const char *src, int size) in BF_decode() argument 390 unsigned char *end = dptr + size; in BF_decode() 417 const unsigned char *end = sptr + size; in BF_encode() 655 char *output, int size, in BF_crypt() argument 675 if (size < 7 + 22 + 31 + 1) { in BF_crypt() 788 if (size < 3) in _crypt_output_magic() 822 char *output, int size) in php_crypt_blowfish_rn() argument 839 _crypt_output_magic(setting, output, size); in php_crypt_blowfish_rn() 840 retval = BF_crypt(key, setting, output, size, 16); in php_crypt_blowfish_rn() 881 _crypt_output_magic(setting, output, size); in php_crypt_blowfish_rn() [all …]
|
/PHP-5.5/ext/phar/ |
H A D | pharzip.h | 137 char size[2]; member 142 char size[2]; /* TSize Short total data size for this block */ member 177 char size[2]; /* size of data 2 bytes */ member
|
/PHP-5.5/ext/zip/tests/ |
H A D | pecl12414.phpt | 16 $file_size=$finfo['size']; 21 echo "ZIP contents size: " . strlen($contents) . "\n"; 23 echo "zip_readfile recorded data does not match unpacked size: " . $zipname . " : " . $filename;
|
/PHP-5.5/ext/imap/tests/ |
H A D | imap_fetch_overview_variation5.phpt | 66 size is %d 79 size is %d 90 size is %d 106 size is %d 117 size is %d 128 size is %d
|
/PHP-5.5/ext/tidy/tests/ |
H A D | 007.phpt | 14 echo "Current Value of 'tab-size': "; 15 var_dump($a->getopt("tab-size")); 23 Current Value of 'tab-size': int(8)
|
/PHP-5.5/ext/gd/libgd/ |
H A D | gd_io.c | 122 int gdPutBuf (const void *buf, int size, gdIOCtx * ctx) in gdPutBuf() argument 125 return (ctx->putBuf) (ctx, buf, size); in gdPutBuf() 129 int gdGetBuf (void *buf, int size, gdIOCtx * ctx) in gdGetBuf() argument 131 return (ctx->getBuf) (ctx, buf, size); in gdGetBuf()
|
H A D | gd_wbmp.c | 179 gdImagePtr gdImageCreateFromWBMPPtr (int size, void *data) in gdImageCreateFromWBMPPtr() argument 182 gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); in gdImageCreateFromWBMPPtr() 201 void * gdImageWBMPPtr (gdImagePtr im, int *size, int fg) in gdImageWBMPPtr() argument 206 rv = gdDPExtractData(out, size); in gdImageWBMPPtr()
|
H A D | gd_gd2.c | 45 int size; member 158 if (gdGetInt(&cidx[i].size, in) != 1) { in _gd2GetHeader() 162 if (cidx[i].offset < 0 || cidx[i].size < 0) { in _gd2GetHeader() 255 gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0); in gdImageCreateFromGd2Ptr() 293 if (chunkIdx[i].size > compMax) { in gdImageCreateFromGd2Ctx() 294 compMax = chunkIdx[i].size; in gdImageCreateFromGd2Ctx() 482 if (chunkIdx[i].size > compMax) { in gdImageCreateFromGd2PartCtx() 483 compMax = chunkIdx[i].size; in gdImageCreateFromGd2PartCtx() 784 chunkIdx[chunkNum++].size = compLen; in _gdImageGd2() 805 gdPutInt(chunkIdx[x].size, out); in _gdImageGd2() [all …]
|
/PHP-5.5/ext/phar/tests/tar/files/ |
H A D | corrupt_tarmaker.php.inc | 52 'size' => strlen($fileOrStream), 62 $stat['size'] = 0; 67 $stat['size'] = 0; 92 sprintf('%11s ',decoct($stat['size'])), 121 if ($stat['size'] % 512) { 122 fwrite($this->tmp, str_repeat("\0", 512 - $stat['size'] % 512)); 164 'size' => 0,
|
/PHP-5.5/ext/xml/tests/ |
H A D | bug32001b.phpt | 78 echo "Chunk size: ".($this->chunk_size ? "$this->chunk_size byte(s)\n": "all data at once\n"); 113 Chunk size: all data at once 125 Chunk size: 1 byte(s) 137 Chunk size: all data at once 149 Chunk size: 1 byte(s) 161 Chunk size: all data at once 173 Chunk size: 1 byte(s)
|
/PHP-5.5/ext/pcre/pcrelib/ |
H A D | pcre_get.c | 336 int stringnumber, char *buffer, int size) in pcre_copy_substring() argument 340 int stringnumber, PCRE_UCHAR16 *buffer, int size) in pcre_copy_substring() 344 int stringnumber, PCRE_UCHAR32 *buffer, int size) in pcre_copy_substring() 352 if (size < yield + 1) return PCRE_ERROR_NOMEMORY; in pcre_copy_substring() 392 char *buffer, int size) in pcre_copy_named_substring() argument 397 PCRE_UCHAR16 *buffer, int size) in pcre_copy_named_substring() 402 PCRE_UCHAR32 *buffer, int size) in pcre_copy_named_substring() 408 return pcre_copy_substring(subject, ovector, stringcount, n, buffer, size); in pcre_copy_named_substring() 454 int size = sizeof(pcre_uchar *); in pcre_get_substring_list() local 460 size += sizeof(pcre_uchar *) + IN_UCHARS(ovector[i+1] - ovector[i] + 1); in pcre_get_substring_list() [all …]
|