Searched refs:mem (Results 1 - 25 of 26) sorted by relevance

12

/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc.h411 void XMLRPC_Free(void* mem);
H A Dxmlrpc.c1609 * Make a duplicate (non reference) of an XMLRPC_VALUE with newly allocated mem.
2971 * void XMLRPC_Free(void* mem)
2975 * mem memory to free
2983 void XMLRPC_Free(void* mem) { argument
2984 my_free(mem);
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_shm.c22 void *mem; local
24 mem = mmap(0, size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, -1, 0);
27 if (mem == MAP_FAILED) {
33 if (!mem) {
38 memset(mem, 0, size);
40 return mem;
44 int fpm_shm_free(void *mem, size_t size) /* {{{ */ argument
46 if (!mem) {
47 zlog(ZLOG_ERROR, "mem is NULL");
51 if (munmap(mem, siz
[all...]
H A Dfpm_shm.h9 int fpm_shm_free(void *mem, size_t size);
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_topal.c794 boxlist = (boxptr) (*cinfo->mem->alloc_small)
1599 table = (int *) (*cinfo->mem->alloc_small)
1707 cquantize->fserrors = (FSERRPTR) (*cinfo->mem->alloc_large)
1839 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE,
1861 cquantize->histogram = (hist3d) (*cinfo->mem->alloc_small)
1865 cquantize->histogram[i] = (hist2d) (*cinfo->mem->alloc_large)
1898 cquantize->sv_colormap = (*cinfo->mem->alloc_sarray)
1918 cquantize->fserrors = (FSERRPTR) (*cinfo->mem->alloc_large)
H A Dgd_jpeg.c717 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_PERMANENT, sizeof (my_source_mgr));
719 src->buffer = (unsigned char *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_PERMANENT, INPUT_BUF_SIZE * sizeof (unsigned char));
757 dest->buffer = (unsigned char *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, OUTPUT_BUF_SIZE * sizeof (unsigned char));
840 cinfo->dest = (struct jpeg_destination_mgr *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_PERMANENT, sizeof (my_destination_mgr));
/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dregexec.c587 stk->u.mem.num = (mnum);\
588 stk->u.mem.pstr = (s);\
589 stk->u.mem.start = mem_start_stk[mnum];\
590 stk->u.mem.end = mem_end_stk[mnum];\
599 stk->u.mem.num = (mnum);\
600 stk->u.mem.pstr = (s);\
601 stk->u.mem.start = mem_start_stk[mnum];\
602 stk->u.mem.end = mem_end_stk[mnum];\
610 stk->u.mem.num = (mnum);\
620 && k->u.mem
1078 mem_is_in_memp(int mem, int num, UChar* memp) argument
1248 MemNumType mem; local
[all...]
H A Dregint.h718 } mem; member in union:_OnigStackType::__anon242
H A Dtestc.c34 static void xx(char* pattern, char* str, int from, int to, int mem, int not) argument
75 if (pmatch[mem].rm_so == from && pmatch[mem].rm_eo == to) {
81 from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo);
129 if (region->beg[mem] == from && region->end[mem] == to) {
135 from, to, region->beg[mem], region->end[mem]);
149 static void x3(char* pattern, char* str, int from, int to, int mem) argument
[all...]
H A Dtestu.c58 static void xx(char* pattern, char* str, int from, int to, int mem, int not) argument
103 if (pmatch[mem].rm_so == from && pmatch[mem].rm_eo == to) {
109 from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo);
175 if (region->beg[mem] == from && region->end[mem] == to) {
181 from, to, region->beg[mem], region->end[mem]);
195 static void x3(char* pattern, char* str, int from, int to, int mem) argument
[all...]
H A Dregcomp.c5722 { OP_MEMORY_START_PUSH, "mem-start-push", ARG_MEMNUM },
5723 { OP_MEMORY_START, "mem-start", ARG_MEMNUM },
5724 { OP_MEMORY_END_PUSH, "mem-end-push", ARG_MEMNUM },
5725 { OP_MEMORY_END_PUSH_REC, "mem-end-push-rec", ARG_MEMNUM },
5726 { OP_MEMORY_END, "mem-end", ARG_MEMNUM },
5727 { OP_MEMORY_END_REC, "mem-end-rec", ARG_MEMNUM },
5820 MemNumType mem; local
5845 mem = *((MemNumType* )bp);
5847 fprintf(f, ":%d", mem);
5972 mem
[all...]
/PHP_TRUNK/ext/mbstring/oniguruma/win32/
H A Dtestc.c34 static void xx(char* pattern, char* str, int from, int to, int mem, int not) argument
75 if (pmatch[mem].rm_so == from && pmatch[mem].rm_eo == to) {
81 from, to, pmatch[mem].rm_so, pmatch[mem].rm_eo);
129 if (region->beg[mem] == from && region->end[mem] == to) {
135 from, to, region->beg[mem], region->end[mem]);
149 static void x3(char* pattern, char* str, int from, int to, int mem) argument
[all...]
/PHP_TRUNK/ext/zip/lib/
H A Dzip_memdup.c43 _zip_memdup(const void *mem, size_t len, struct zip_error *error)
56 memcpy(ret, mem, len);
42 _zip_memdup(const void *mem, size_t len, struct zip_error *error) argument
/PHP_TRUNK/ext/sysvshm/
H A Dphp_sysvshm.h44 char mem; member in struct:__anon272
H A Dsysvshm.c306 shm_data = &shm_var->mem;
379 memcpy(&(shm_var->mem), data, len);
/PHP_TRUNK/
H A Drun-tests.php1391 $memcheck_filename = $temp_dir . DIRECTORY_SEPARATOR . $main_file_name . 'mem';
1422 'mem' => $memcheck_filename,
2611 if (isset($temp_filenames['mem']) && file_exists($temp_filenames['mem'])) {
2612 $url = str_replace($temp_target, $temp_urlbase, $temp_filenames['mem']);
2613 $mem = "<a href='$url'>leaks</a>"; variable
2615 $mem = "&nbsp;"; variable
2624 "<td>$mem</td>" .
/PHP_TRUNK/ext/dom/
H A Ddocument.c1605 xmlChar *mem; local
1640 mem = (xmlChar*) xmlBufferContent(buf);
1641 if (!mem) {
1645 RETVAL_STRING((char *) mem);
1653 xmlDocDumpFormatMemory(docp, &mem, &size, format);
1660 RETVAL_STRINGL((char *) mem, size);
1661 xmlFree(mem);
2120 xmlChar *mem = NULL; local
2166 mem = (xmlChar*) xmlBufferContent(buf);
2167 if (!mem) {
[all...]
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c893 signed char *mem = (signed char*)persistent_script->mem; local
898 if (mem < (signed char*)persistent_script) {
899 checksum = zend_adler32(checksum, mem, (signed char*)persistent_script - mem);
900 size -= (signed char*)persistent_script - mem;
901 mem += (signed char*)persistent_script - mem;
904 zend_adler32(checksum, mem, persistent_script_check_block_size);
905 mem
[all...]
H A DZendAccelerator.h165 void *mem; /* shared memory area used by script structures */ member in struct:_zend_persistent_script
238 void *mem; member in struct:_zend_accel_globals
H A Dzend_persist.c85 Bucket *d = (Bucket*)ZCG(mem);
88 ZCG(mem) = (void*)(h + ht->nTableSize);
122 Bucket *d = (Bucket*)ZCG(mem);
125 ZCG(mem) = (void*)(h + ht->nTableSize);
718 script->mem = ZCG(mem);
726 script->arena_mem = ZCG(arena_mem) = ZCG(mem);
727 ZCG(mem) = (void*)((char*)ZCG(mem) + script->arena_size);
H A Dzend_persist_calc.c339 new_persistent_script->mem = NULL;
H A Dzend_shared_alloc.c344 retval = ZCG(mem);
345 ZCG(mem) = (void*)(((char*)ZCG(mem)) + ZEND_ALIGNED_SIZE(size));
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg.c102 pg->sigsafe_mem.mem = NULL;
822 char mem[PHPDBG_SIGSAFE_MEM_SIZE + 1]; local
824 phpdbg_set_sigsafe_mem(mem);
899 char mem[PHPDBG_SIGSAFE_MEM_SIZE + 1]; local
902 if ((newlen = recv(PHPDBG_G(io)[PHPDBG_STDIN].fd, mem, PHPDBG_SIGSAFE_MEM_SIZE, MSG_PEEK)) == (size_t) -1) {
906 switch (mem[off + i]) {
912 phpdbg_set_sigsafe_mem(mem);
H A Dphpdbg_sigsafe.c13 return PHPDBG_G(sigsafe_mem).mem;
31 phpdbg_signal_safe_mem *mem = &PHPDBG_G(sigsafe_mem); local
32 mem->mem = buffer;
33 mem->allocated = 0;
35 mem->storage.chunk_alloc = zend_mm_mem_alloc;
36 mem->storage.chunk_free = zend_mm_mem_free;
38 mem->heap = zend_mm_startup_ex(&mem->storage);
40 mem
[all...]
H A Dphpdbg_sigsafe.h12 char *mem; member in struct:__anon306
23 void phpdbg_set_sigsafe_mem(char *mem);

Completed in 84 milliseconds

12