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

/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/mbstring/oniguruma/
H A Dregcomp.c282 add_bytes(regex_t* reg, UChar* bytes, int len) argument
284 BBUF_ADD(reg, bytes, len);
/PHP_TRUNK/ext/pcre/pcrelib/
H A Dpcre_jit_compile.c3154 static SLJIT_INLINE void add_prefix_byte(pcre_uint8 byte, pcre_uint8 *bytes) argument
3156 pcre_uint8 len = bytes[0];
3164 bytes[0] = 1;
3165 bytes[1] = byte;
3170 if (bytes[i] == byte)
3175 bytes[0] = 255;
3180 bytes[len] = byte;
3181 bytes[0] = len;
3184 static int scan_prefix(compiler_common *common, pcre_uchar *cc, pcre_uint32 *chars, pcre_uint8 *bytes, int max_chars) argument
3266 max_chars = scan_prefix(common, cc + len, chars, bytes, max_char
3522 pcre_uint8 bytes[MAX_N_CHARS * MAX_N_BYTES]; local
[all...]
/PHP_TRUNK/ext/shmop/
H A Dshmop.c233 int bytes; local
253 bytes = count ? count : shmop->size - start;
255 return_string = zend_string_init(startaddr, bytes, 0);
/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/hash/
H A Dhash.c633 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Supplied salt is too long, max of INT_MAX - 4 bytes: %zd supplied", salt_len);
917 /* {{{ proto string mhash_keygen_s2k(int hash, string input_password, string salt, int bytes)
922 int bytes; local
931 bytes = (int)l_bytes;
932 if (bytes <= 0){
956 int times = bytes / block_size;
957 if (bytes % block_size != 0) times++;
977 RETVAL_STRINGL(key, bytes);
978 ZEND_SECURE_ZERO(key, bytes);
1202 ZEND_ARG_INFO(0, bytes)
[all...]
/PHP_TRUNK/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_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.c561 php_error_docref(NULL TSRMLS_CC, E_WARNING, "maxlen truncated from %pd to %d bytes", maxlen, INT_MAX);
575 Write/Create a file with contents data and return the number of bytes written */
636 php_error_docref(NULL TSRMLS_CC, E_WARNING, "content truncated from %zu to " ZEND_LONG_FMT " bytes", len, ZEND_LONG_MAX);
654 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Only %pl of %zd bytes written, possibly out of free disk space", numbytes, Z_STRLEN_P(data));
671 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Failed to write %zd bytes to %s", str->len, filename);
689 php_error_docref(NULL TSRMLS_CC, E_WARNING, "Only %pd of %zd bytes written, possibly out of free disk space", numbytes, Z_STRLEN(out));
1094 zend_long bytes = 0; local
1103 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "r|lS", &fd, &bytes, &allowed) == FAILURE) {
1110 if (bytes <= 0) {
1115 len = (size_t) bytes;
[all...]
/PHP_TRUNK/ext/simplexml/
H A Dsimplexml.c1361 int bytes; local
1362 bytes = xmlSaveFile(filename, (xmlDocPtr) sxe->document->ptr);
1363 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 TSRMLS_DC) argument
620 if (bytes > self->bytes_in_buffer) {
634 /* maximum number of bytes we are reading */
635 len = max < bytes-1 ? max : bytes-1;
717 sapi_module.sapi_error(E_WARNING, "POST Content-Length of " ZEND_LONG_FMT " bytes exceeds the limit of " ZEND_LONG_FMT " bytes", S
[all...]
/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 TSRMLS_CC)) > 0);
90 if (bytes <
[all...]
/PHP_TRUNK/Zend/
H A Dzend_alloc.c40 * elements. The result is aligned to 8 bytes.
266 zend_mm_page_map free_map; /* 512 bits or 64 bytes */
271 char bytes[ZEND_MM_PAGE_SIZE]; member in struct:_zend_mm_page
279 char bytes[ZEND_MM_PAGE_SIZE * 8]; member in struct:_zend_mm_bin
973 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);
975 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);
987 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);
989 zend_mm_safe_error(heap, "Out of memory (allocated %zu) (tried to allocate %zu bytes)", hea
[all...]

Completed in 58 milliseconds