Searched defs:size (Results 1 - 25 of 141) sorted by relevance

123456

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dqueue.h39 int size, sorted, item_deleted; member in struct:__anon495
H A Dsimplestring.h54 int size; /* size of allocated buffer */ member in struct:_simplestring
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_shm.c20 void *fpm_shm_alloc(size_t size) /* {{{ */ argument
24 mem = mmap(0, size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, -1, 0);
28 zlog(ZLOG_SYSERROR, "unable to allocate %zu bytes in shared memory: %s", size, strerror(errno));
34 zlog(ZLOG_SYSERROR, "unable to allocate %zu bytes in shared memory", size);
38 memset(mem, 0, size);
39 fpm_shm_size += size;
44 int fpm_shm_free(void *mem, size_t size) /* {{{ */ argument
51 if (munmap(mem, size) == -1) {
56 if (fpm_shm_size - size > 0) {
57 fpm_shm_size -= size;
[all...]
H A Dfpm_str.h8 static inline char *str_purify_filename(char *dst, char *src, size_t size) /* {{{ */ argument
13 end = dst + size - 1;
/PHP_TRUNK/ext/fileinfo/libmagic/
H A Dtar.h58 char size[12]; member in struct:record::header
/PHP_TRUNK/ext/gd/
H A Dgdcache.h6 * reached a given size.
28 * a specified maximum size. After the maximum size is reached then
68 int size; member in struct:gdCache_head_s
78 int size,
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_io.c122 int gdPutBuf (const void *buf, int size, gdIOCtx * ctx) argument
125 return (ctx->putBuf) (ctx, buf, size);
129 int gdGetBuf (void *buf, int size, gdIOCtx * ctx) argument
131 return (ctx->getBuf) (ctx, buf, size);
H A Dgd_io_file.c77 static int filePutbuf (gdIOCtx * ctx, const void *buf, int size) argument
82 return fwrite(buf, 1, size, fctx->f);
86 static int fileGetbuf (gdIOCtx * ctx, void *buf, int size) argument
91 return fread(buf, 1, size, fctx->f);
H A Dgd_io_ss.c45 static int sinkPutbuf (gdIOCtx * ctx, const void *buf, int size);
79 static int sourceGetbuf (gdIOCtx * ctx, void *buf, int size) argument
86 res = ((lctx->src->source) (lctx->src->context, buf, size));
116 static int sinkPutbuf (gdIOCtx * ctx, const void *buf, int size) argument
123 res = (lctx->snk->sink) (lctx->snk->context, buf, size);
H A Dgd_wbmp.c179 gdImagePtr gdImageCreateFromWBMPPtr (int size, void *data) argument
182 gdIOCtx *in = gdNewDynamicCtxEx(size, data, 0);
201 void * gdImageWBMPPtr (gdImagePtr im, int *size, int fg) argument
206 rv = gdDPExtractData(out, size);
H A Dgdcache.c15 * reached a given size.
37 * a specified maximum size. After the maximum size is reached then
58 int size,
67 head->size = size;
122 if (i < head->size)
57 gdCacheCreate( int size, gdCacheTestFn_t gdCacheTest, gdCacheFetchFn_t gdCacheFetch, gdCacheReleaseFn_t gdCacheRelease) argument
H A Dgdcache.h6 * reached a given size.
28 * a specified maximum size. After the maximum size is reached then
67 int size; member in struct:gdCache_head_s
77 int size,
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregposerr.c73 size_t size)
93 if (buf != NULL && size > 0) {
94 strncpy(buf, s, size - 1);
95 buf[size - 1] = '\0';
72 regerror(int posix_ecode, const regex_t* reg ARG_UNUSED, char* buf, size_t size) argument
/PHP_TRUNK/ext/sockets/
H A Dsendrecvmsg.h27 socklen_t size; /* size of native structure */ member in struct:__anon5
28 socklen_t var_el_size; /* size of repeatable component */
/PHP_TRUNK/ext/zip/lib/
H A Dzip_file_get_offset.c59 zip_int32_t size;
69 if ((size=_zip_dirent_size(za->zp, ZIP_EF_LOCAL, error)) < 0)
72 if (offset+(zip_uint32_t)size > ZIP_OFF_MAX) {
77 return offset + (zip_uint32_t)size;
57 zip_int32_t size; local
H A Dzip_source_crc.c2 zip_source_crc.c -- pass-through source that calculates CRC32 and size
46 zip_uint64_t size;
74 ctx->size = 0;
96 ctx->size = 0;
121 if ((st.valid & ZIP_STAT_SIZE) && st.size != ctx->size) {
130 ctx->size += (zip_uint64_t)n;
147 st->size = ctx->size;
149 st->comp_size = ctx->size;
45 zip_uint64_t size; member in struct:crc_context
[all...]
/PHP_TRUNK/Zend/
H A Dzend_dynamic_array.c31 ZEND_API int zend_dynamic_array_init(dynamic_array *da, unsigned int element_size, unsigned int size) argument
34 da->allocated = size;
36 da->array = (char *) emalloc(size*element_size);
H A Dzend_stack.c33 ZEND_API int zend_stack_push(zend_stack *stack, const void *element, int size) argument
42 stack->elements[stack->top] = (void *) emalloc(size);
43 memcpy(stack->elements[stack->top], element, size);
H A Dzend_static_allocator.c31 inline static char *block_allocate(Block *block, zend_uint size) argument
34 if ((block->pos += size) >= block->end) {
53 char *static_allocator_allocate(StaticAllocator *sa, zend_uint size) argument
57 retval = block_allocate(&sa->Blocks[sa->current_block], size);
63 block_init(&sa->Blocks[sa->current_block], (size > ALLOCATOR_BLOCK_SIZE) ? size : ALLOCATOR_BLOCK_SIZE);
64 retval = block_allocate(&sa->Blocks[sa->current_block], size);
H A Dzend_string.c43 size_t size = 1024 * 1024; local
46 CG(interned_strings_start) = valloc(size);
48 CG(interned_strings_start) = malloc(size);
53 CG(interned_strings_end) = CG(interned_strings_start) + size;
158 if ((CG(interned_strings).nTableSize << 1) > 0) { /* Let's double the table size */
/PHP_TRUNK/ext/dba/libflatfile/
H A Dflatfile.c108 size_t size = key_datum.dsize; local
133 if (size == num && !memcmp(buf, key, size)) {
170 size_t size = key_datum.dsize; local
186 if (size == num) {
187 if (!memcmp(buf, key, size)) {
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_blacklist.h35 int size; member in struct:_zend_blacklist
/PHP_TRUNK/ext/shmop/
H A Dphp_shmop.h48 int size; member in struct:php_shmop
/PHP_TRUNK/win32/
H A Dsockets.c35 int size = sizeof(address); local
58 if(getsockname(sock[0], (struct sockaddr *)&address, &size) != 0) {
76 redirect = accept(sock[0],(struct sockaddr*)&address, &size);
H A Dwinutil.c80 PHPAPI int php_win32_get_random_bytes(unsigned char *buf, size_t size) { /* {{{ */ argument
118 ret = CryptGenRandom(hCryptProv, size, buf);

Completed in 11 milliseconds

123456