Searched defs:bytes (Results 1 - 14 of 14) sorted by relevance

/PHP_5_6/ext/standard/
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 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 Dfile.c563 php_error_docref(NULL TSRMLS_CC, E_WARNING, "content truncated from %ld to %d bytes", len, INT_MAX);
578 Write/Create a file with contents data and return the number of bytes written */
638 php_error_docref(NULL TSRMLS_CC, E_WARNING, "content truncated from %lu to %ld bytes", (unsigned long) len, LONG_MAX);
656 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));
679 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to write %d bytes to %s", Z_STRLEN_PP(tmp), filename);
681 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));
699 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Only %ld of %d bytes written, possibly out of free disk space", numbytes, Z_STRLEN(out));
1092 long bytes = 0; local
1100 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|ls", &fd, &bytes, &allowed_tags, &allowed_tags_len) == FAILURE) {
1107 if (bytes <
[all...]
/PHP_5_6/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_6/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_6/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_6/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_6/ext/mbstring/oniguruma/
H A Dregcomp.c282 add_bytes(regex_t* reg, UChar* bytes, int len) argument
284 BBUF_ADD(reg, bytes, len);
/PHP_5_6/ext/hash/
H A Dhash.c641 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Supplied salt is too long, max of INT_MAX - 4 bytes: %d supplied", salt_len);
925 /* {{{ proto string mhash_keygen_s2k(int hash, string input_password, string salt, int bytes)
930 int bytes; local
939 bytes = (int)l_bytes;
940 if (bytes <= 0){
964 int times = bytes / block_size;
965 if (bytes % block_size != 0) times++;
985 RETVAL_STRINGL(key, bytes, 1);
986 memset(key, 0, bytes);
1214 ZEND_ARG_INFO(0, bytes)
[all...]
/PHP_5_6/ext/simplexml/
H A Dsimplexml.c1385 int bytes; local
1386 bytes = xmlSaveFile(filename, (xmlDocPtr) sxe->document->ptr);
1387 if (bytes == -1) {
/PHP_5_6/main/
H A Drfc1867.c238 * Returns number of bytes added to buffer.
254 /* read the required number of bytes */
275 /* eof if we are out of bytes, or if we hit the final boundary */
609 static int multipart_buffer_read(multipart_buffer *self, char *buf, int bytes, int *end TSRMLS_DC) argument
615 if (bytes > self->bytes_in_buffer) {
629 /* maximum number of bytes we are reading */
630 len = max < bytes-1 ? max : bytes-1;
713 sapi_module.sapi_error(E_WARNING, "POST Content-Length of %ld bytes exceeds the limit of %ld bytes", S
[all...]
/PHP_5_6/ext/dom/
H A Ddocument.c1693 int file_len = 0, bytes, format, saveempty = 0; local
1718 bytes = xmlSaveFormatFileEnc(file, docp, NULL, format);
1722 if (bytes == -1) {
1725 RETURN_LONG(bytes);
2210 int file_len, bytes, format; local
2232 bytes = htmlSaveFileFormat(file, docp, encoding, format);
2234 if (bytes == -1) {
2237 RETURN_LONG(bytes);
H A Dnode.c1919 int bytes; local
1921 bytes = xmlOutputBufferClose(buf);
1923 RETURN_LONG(bytes);
/PHP_5_6/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 TSRMLS_CC)) > 0);
90 if (bytes <
[all...]

Completed in 50 milliseconds