Searched refs:bytes (Results 1 - 19 of 19) sorted by relevance

/PHP_TRUNK/build/
H A Dshtool483 bytes=`echo '\1' | wc -c | awk '{ printf("%s", $1); }'`
484 if [ ".$bytes" != .3 ]; then
485 bytes=`echo -E '\1' | wc -c | awk '{ printf("%s", $1); }'`
486 if [ ".$bytes" = .3 ]; then
493 bytes=`echo -n 123 2>/dev/null | wc -c | awk '{ printf("%s", $1); }'`
494 if [ ".$bytes" = .3 ]; then
/PHP_TRUNK/ext/standard/
H A Dcrypt_sha512.c80 /* This array contains the bytes used to pad the buffer to the next
129 /* Process LEN bytes of BUFFER, accumulating context into CTX.
146 number of bytes. Do a double word increment. */
152 /* Process all bytes in the buffer with 128 bytes in each round of
246 /* Process the remaining bytes in the internal buffer and the usual
252 /* Take yet unprocessed bytes into account. */
253 uint64_t bytes = ctx->buflen; local
257 /* Now count remaining bytes. */
258 ctx->total[0] += bytes;
[all...]
H A Dcrypt_sha256.c78 /* This array contains the bytes used to pad the buffer to the next
104 /* Process LEN bytes of BUFFER, accumulating context into CTX.
122 number of bytes. Do a double word increment. */
128 /* Process all bytes in the buffer with 64 bytes in each round of
219 /* Process the remaining bytes in the internal buffer and the usual
225 /* Take yet unprocessed bytes into account. */
226 uint32_t bytes = ctx->buflen; local
230 /* Now count remaining bytes. */
231 ctx->total[0] += bytes;
[all...]
H A Dfile.c556 php_error_docref(NULL, E_WARNING, "maxlen truncated from %pd to %d bytes", maxlen, INT_MAX);
570 Write/Create a file with contents data and return the number of bytes written */
631 php_error_docref(NULL, E_WARNING, "content truncated from %zu to " ZEND_LONG_FMT " bytes", len, ZEND_LONG_MAX);
649 php_error_docref(NULL, E_WARNING, "Only %pl of %zd bytes written, possibly out of free disk space", numbytes, Z_STRLEN_P(data));
666 php_error_docref(NULL, E_WARNING, "Failed to write %zd bytes to %s", str->len, filename);
684 php_error_docref(NULL, E_WARNING, "Only %pd of %zd bytes written, possibly out of free disk space", numbytes, Z_STRLEN(out));
1087 zend_long bytes = 0; local
1096 if (zend_parse_parameters(ZEND_NUM_ARGS(), "r|lS", &fd, &bytes, &allowed) == FAILURE) {
1103 if (bytes <= 0) {
1108 len = (size_t) bytes;
[all...]
/PHP_TRUNK/ext/standard/tests/file/
H A Dfile.inc220 if $flag is specified as "byte", then then given size is taken in bytes
221 $flag = specifiy if size has to be treated as no of total bytes or
224 "byte" = take size in terms of bytes
/PHP_TRUNK/ext/mbstring/ucgendat/
H A Ducgendat.c1298 ac_uint4 bytes; local
1355 if ((bytes = sizeof(ac_uint2) * (NUMPROPS + 1)) & 3)
1356 bytes += 4 - (bytes & 3);
1357 nprops = bytes / sizeof(ac_uint2);
1358 bytes += sizeof(ac_uint4) * idx;
1410 fwrite((char *) &bytes, sizeof(ac_uint4), 1, out);
1566 bytes = comps_used * sizeof(_comp_t);
1567 fwrite((char *) &bytes, sizeof(ac_uint4), 1, out);
1644 bytes
[all...]
/PHP_TRUNK/ext/dom/
H A Ddocument.c1559 int bytes, format, saveempty = 0; local
1584 bytes = xmlSaveFormatFileEnc(file, docp, NULL, format);
1588 if (bytes == -1) {
1591 RETURN_LONG(bytes);
2079 int bytes, format; local
2101 bytes = htmlSaveFileFormat(file, docp, encoding, format);
2103 if (bytes == -1) {
2106 RETURN_LONG(bytes);
H A Dnode.c1831 int bytes; local
1833 bytes = xmlOutputBufferClose(buf);
1835 RETURN_LONG(bytes);
/PHP_TRUNK/ext/gd/libgd/
H A Dxbm.c44 int bytes = 0, i; local
80 bytes = (width * height / 8) + 1;
81 if (!bytes) {
95 if (!bytes || !max_bit) {
106 for (i = 0; i < bytes; i++) {
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_jit_compile.c3153 static SLJIT_INLINE void add_prefix_byte(pcre_uint8 byte, pcre_uint8 *bytes) argument
3155 pcre_uint8 len = bytes[0];
3163 bytes[0] = 1;
3164 bytes[1] = byte;
3169 if (bytes[i] == byte)
3174 bytes[0] = 255;
3179 bytes[len] = byte;
3180 bytes[0] = len;
3183 static int scan_prefix(compiler_common *common, pcre_uchar *cc, pcre_uint32 *chars, pcre_uint8 *bytes, int max_chars) argument
3265 max_chars = scan_prefix(common, cc + len, chars, bytes, max_char
3521 pcre_uint8 bytes[MAX_N_CHARS * MAX_N_BYTES]; local
[all...]
/PHP_TRUNK/Zend/
H A Dzend_alloc.c40 * elements. The result is aligned to 8 bytes.
274 zend_mm_page_map free_map; /* 512 bits or 64 bytes */
279 char bytes[ZEND_MM_PAGE_SIZE]; member in struct:_zend_mm_page
287 char bytes[ZEND_MM_PAGE_SIZE * 8]; member in struct:_zend_mm_bin
982 zend_mm_safe_error(heap, "Allowed memory size of %zu bytes exhausted at %s:%d (tried to allocate %zu bytes)", heap->limit, __zend_filename, __zend_lineno, size);
984 zend_mm_safe_error(heap, "Allowed memory size of %zu bytes exhausted (tried to allocate %zu bytes)", heap->limit, ZEND_MM_PAGE_SIZE * pages_count);
996 zend_mm_safe_error(heap, "Out of memory (allocated %zu) at %s:%d (tried to allocate %zu bytes)", heap->real_size, __zend_filename, __zend_lineno, size);
998 zend_mm_safe_error(heap, "Out of memory (allocated %zu) (tried to allocate %zu bytes)", hea
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregcomp.c282 add_bytes(regex_t* reg, UChar* bytes, int len) argument
284 BBUF_ADD(reg, bytes, len);
H A Dregint.h342 /* bytes buffer */
373 #define BBUF_WRITE(buf,pos,bytes,n) do{\
376 xmemcpy((buf)->p + (pos), (bytes), (n));\
387 #define BBUF_ADD(buf,bytes,n) BBUF_WRITE((buf),(buf)->used,(bytes),(n))
410 #define BBUF_INSERT(buf,pos,bytes,n) do {\
412 BBUF_WRITE(buf,pos,bytes,n);\
416 xmemcpy((buf)->p + (pos), (bytes), (n));\
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_io.c52 int bytes = PHPDBG_G(input_buflen), len = 0; local
55 memcpy(buf, PHPDBG_G(input_buffer), bytes);
62 if (bytes <= 0) {
66 for (i = len; i < len + bytes; i++) {
68 if (i != len + bytes - 1) {
69 memmove(buf + i, buf + i + 1, len + bytes - i - 1);
76 PHPDBG_G(input_buflen) = len + bytes - 1 - i;
87 len += bytes;
88 } while ((bytes = phpdbg_mixed_read(PHPDBG_G(io)[PHPDBG_STDIN].fd, buf + len, PHPDBG_MAX_CMD - len, -1)) > 0);
90 if (bytes <
[all...]
/PHP_TRUNK/ext/hash/
H A Dhash.c644 php_error_docref(NULL, E_WARNING, "Supplied salt is too long, max of INT_MAX - 4 bytes: %zd supplied", salt_len);
928 /* {{{ proto string mhash_keygen_s2k(int hash, string input_password, string salt, int bytes)
933 int bytes; local
942 bytes = (int)l_bytes;
943 if (bytes <= 0){
967 int times = bytes / block_size;
968 if (bytes % block_size != 0) times++;
988 RETVAL_STRINGL(key, bytes);
989 ZEND_SECURE_ZERO(key, bytes);
1213 ZEND_ARG_INFO(0, bytes)
[all...]
/PHP_TRUNK/ext/imap/
H A Dphp_imap.c3380 if (body->size.bytes) {
3381 add_property_long(return_value, "bytes", body->size.bytes);
3693 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "bytes", sizeof("bytes") - 1)) != NULL) {
3695 bod->size.bytes = Z_LVAL_P(pvalue);
3797 if ((pvalue = zend_hash_str_find(Z_ARRVAL_P(data), "bytes", sizeof("bytes") - 1)) != NULL) {
3799 bod->size.bytes = Z_LVAL_P(pvalue);
4399 * add 2 bytes fo
[all...]
/PHP_TRUNK/ext/shmop/
H A Dshmop.c233 int bytes; local
255 bytes = count ? count : shmop->size - start;
257 return_string = zend_string_init(startaddr, bytes, 0);
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1362 int bytes; local
1363 bytes = xmlSaveFile(filename, (xmlDocPtr) sxe->document->ptr);
1364 if (bytes == -1) {
/PHP_TRUNK/main/
H A Drfc1867.c243 * Returns number of bytes added to buffer.
259 /* read the required number of bytes */
280 /* eof if we are out of bytes, or if we hit the final boundary */
614 static int multipart_buffer_read(multipart_buffer *self, char *buf, size_t bytes, int *end) argument
620 if (bytes > self->bytes_in_buffer) {
634 /* maximum number of bytes we are reading */
635 len = max < bytes-1 ? max : bytes-1;
718 sapi_module.sapi_error(E_WARNING, "POST Content-Length of " ZEND_LONG_FMT " bytes exceeds the limit of " ZEND_LONG_FMT " bytes", S
[all...]

Completed in 71 milliseconds