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

/PHP_5_4/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_5_4/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_5_4/ext/standard/
H A Dcrypt_sha256.c84 /* This array contains the bytes used to pad the buffer to the next
110 /* Process LEN bytes of BUFFER, accumulating context into CTX.
128 number of bytes. Do a double word increment. */
134 /* Process all bytes in the buffer with 64 bytes in each round of
225 /* Process the remaining bytes in the internal buffer and the usual
231 /* Take yet unprocessed bytes into account. */
232 uint32_t bytes = ctx->buflen; local
236 /* Now count remaining bytes. */
237 ctx->total[0] += bytes;
[all...]
H A Dcrypt_sha512.c86 /* This array contains the bytes used to pad the buffer to the next
135 /* Process LEN bytes of BUFFER, accumulating context into CTX.
152 number of bytes. Do a double word increment. */
158 /* Process all bytes in the buffer with 128 bytes in each round of
252 /* Process the remaining bytes in the internal buffer and the usual
258 /* Take yet unprocessed bytes into account. */
259 uint64_t bytes = ctx->buflen; local
263 /* Now count remaining bytes. */
264 ctx->total[0] += bytes;
[all...]
H A Dfile.c554 php_error_docref(NULL TSRMLS_CC, E_WARNING, "content truncated from %ld to %d bytes", len, INT_MAX);
569 Write/Create a file with contents data and return the number of bytes written */
629 php_error_docref(NULL TSRMLS_CC, E_WARNING, "content truncated from %lu to %ld bytes", (unsigned long) len, LONG_MAX);
647 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Only %ld of %d bytes written, possibly out of free disk space", numbytes, Z_STRLEN_P(data));
670 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to write %d bytes to %s", Z_STRLEN_PP(tmp), filename);
672 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Only %d of %d bytes written, possibly out of free disk space", bytes_written, Z_STRLEN_PP(tmp));
690 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Only %ld of %d bytes written, possibly out of free disk space", numbytes, Z_STRLEN(out));
1081 long bytes = 0; local
1089 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|ls", &fd, &bytes, &allowed_tags, &allowed_tags_len) == FAILURE) {
1096 if (bytes <
[all...]
/PHP_5_4/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_5_4/ext/mbstring/oniguruma/
H A Dregcomp.c260 add_bytes(regex_t* reg, UChar* bytes, int len) argument
262 BBUF_ADD(reg, bytes, len);
H A Dregint.h450 /* bytes buffer */
481 #define BBUF_WRITE(buf,pos,bytes,n) do{\
484 xmemcpy((buf)->p + (pos), (bytes), (n));\
495 #define BBUF_ADD(buf,bytes,n) BBUF_WRITE((buf),(buf)->used,(bytes),(n))
518 #define BBUF_INSERT(buf,pos,bytes,n) do {\
520 BBUF_WRITE(buf,pos,bytes,n);\
524 xmemcpy((buf)->p + (pos), (bytes), (n));\
/PHP_5_4/ext/shmop/
H A Dshmop.c245 int bytes; local
265 bytes = count ? count : shmop->size - start;
267 return_string = emalloc(bytes+1);
268 memcpy(return_string, startaddr, bytes);
269 return_string[bytes] = 0;
271 RETURN_STRINGL(return_string, bytes, 0);
/PHP_5_4/main/
H A Drfc1867.c233 * Returns number of bytes added to buffer.
249 /* read the required number of bytes */
270 /* eof if we are out of bytes, or if we hit the final boundary */
604 static int multipart_buffer_read(multipart_buffer *self, char *buf, int bytes, int *end TSRMLS_DC) argument
610 if (bytes > self->bytes_in_buffer) {
624 /* maximum number of bytes we are reading */
625 len = max < bytes-1 ? max : bytes-1;
707 sapi_module.sapi_error(E_WARNING, "POST Content-Length of %ld bytes exceeds the limit of %ld bytes", S
[all...]
/PHP_5_4/ext/dom/
H A Dnode.c1916 int bytes; local
1918 bytes = xmlOutputBufferClose(buf);
1920 RETURN_LONG(bytes);
H A Ddocument.c1754 int file_len = 0, bytes, format, saveempty = 0; local
1779 bytes = xmlSaveFormatFileEnc(file, docp, NULL, format);
1783 if (bytes == -1) {
1786 RETURN_LONG(bytes);
2263 int file_len, bytes, format; local
2285 bytes = htmlSaveFileFormat(file, docp, encoding, format);
2287 if (bytes == -1) {
2290 RETURN_LONG(bytes);
/PHP_5_4/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_5_4/ext/hash/
H A Dhash.c748 /* {{{ proto string mhash_keygen_s2k(int hash, string input_password, string salt, int bytes)
753 int bytes; local
762 bytes = (int)l_bytes;
763 if (bytes <= 0){
787 int times = bytes / block_size;
788 if (bytes % block_size != 0) times++;
808 RETVAL_STRINGL(key, bytes, 1);
809 memset(key, 0, bytes);
1020 ZEND_ARG_INFO(0, bytes)
/PHP_5_4/ext/imap/
H A Dphp_imap.c3327 if (body->size.bytes) {
3328 add_property_long(return_value, "bytes", body->size.bytes);
3647 if (zend_hash_find(Z_ARRVAL_PP(data), "bytes", sizeof("bytes"), (void **) &pvalue)== SUCCESS) {
3649 bod->size.bytes = Z_LVAL_PP(pvalue);
3760 if (zend_hash_find(Z_ARRVAL_PP(data), "bytes", sizeof("bytes"), (void **) &pvalue)== SUCCESS) {
3762 bod->size.bytes = Z_LVAL_PP(pvalue);
4358 * add 2 bytes fo
[all...]
/PHP_5_4/sapi/webjames/
H A Dwebjames.c48 int bytes; local
49 bytes = webjames_writebuffer(WG(conn),str,str_length);
50 if (bytes<0) {
55 return bytes;
57 str += bytes;
58 str_length -= bytes;
59 totalbytes += bytes;
71 int bytes; local
72 bytes = webjames_writebuffer(WG(conn), header, len);
73 if (bytes<
[all...]
/PHP_5_4/ext/simplexml/
H A Dsimplexml.c1385 int bytes; local
1386 bytes = xmlSaveFile(filename, (xmlDocPtr) sxe->document->ptr);
1387 if (bytes == -1) {

Completed in 48 milliseconds