/PHP-5.3/sapi/fpm/fpm/ |
H A D | fpm_shm.c | 22 void *mem; in fpm_shm_alloc() local 24 mem = mmap(0, size, PROT_READ | PROT_WRITE, MAP_ANONYMOUS | MAP_SHARED, -1, 0); in fpm_shm_alloc() 27 if (mem == MAP_FAILED) { in fpm_shm_alloc() 33 if (!mem) { in fpm_shm_alloc() 38 memset(mem, 0, size); in fpm_shm_alloc() 40 return mem; in fpm_shm_alloc() 44 int fpm_shm_free(void *mem, size_t size) /* {{{ */ in fpm_shm_free() argument 46 if (!mem) { in fpm_shm_free() 51 if (munmap(mem, size) == -1) { in fpm_shm_free()
|
H A D | fpm_shm.h | 9 int fpm_shm_free(void *mem, size_t size);
|
/PHP-5.3/ext/mbstring/oniguruma/ |
H A D | regexec.c | 327 } mem; member 798 mem_end_stk[stk->u.mem.num] = stk->u.mem.end;\ 805 mem_end_stk[stk->u.mem.num] = stk->u.mem.end;\ 818 mem_end_stk[stk->u.mem.num] = stk->u.mem.end;\ 825 mem_end_stk[stk->u.mem.num] = stk->u.mem.end;\ 2334 pstart = STACK_AT(mem_start_stk[mem])->u.mem.pstr; in match_at() 2339 ? STACK_AT(mem_end_stk[mem])->u.mem.pstr in match_at() 2366 pstart = STACK_AT(mem_start_stk[mem])->u.mem.pstr; in match_at() 2371 ? STACK_AT(mem_end_stk[mem])->u.mem.pstr in match_at() 2403 ? STACK_AT(mem_end_stk[mem])->u.mem.pstr in match_at() [all …]
|
H A D | regcomp.c | 5616 MemNumType mem; in onig_print_compiled_byte_code() local 5641 mem = *((MemNumType* )bp); in onig_print_compiled_byte_code() 5643 fprintf(f, ":%d", mem); in onig_print_compiled_byte_code() 5768 mem = *((MemNumType* )bp); in onig_print_compiled_byte_code() 5770 fprintf(f, ":%d", mem); in onig_print_compiled_byte_code() 5778 GET_MEMNUM_INC(mem, bp); in onig_print_compiled_byte_code() 5780 fprintf(f, "%d", mem); in onig_print_compiled_byte_code() 5797 GET_MEMNUM_INC(mem, bp); in onig_print_compiled_byte_code() 5799 fprintf(f, "%d", mem); in onig_print_compiled_byte_code() 5807 mem = *((MemNumType* )bp); in onig_print_compiled_byte_code() [all …]
|
/PHP-5.3/ext/zip/lib/ |
H A D | zip_memdup.c | 42 _zip_memdup(const void *mem, size_t len, struct zip_error *error) in _zip_memdup() argument 52 memcpy(ret, mem, len); in _zip_memdup()
|
/PHP-5.3/Zend/tests/ |
H A D | bug44069.phpt | 10 // $newstring .= $string; //This uses an expected amount of mem. 11 $newstring = $newstring . $string; //This uses very much mem.
|
H A D | bug29015.phpt | 2 Bug #29015 (Incorrect behavior of member vars(non string ones)-numeric mem vars und others)
|
/PHP-5.3/sapi/milter/ |
H A D | TODO | 1 threaded version still leaks mem, don't know why
|
/PHP-5.3/ext/sysvshm/ |
H A D | php_sysvshm.h | 44 char mem; member
|
H A D | sysvshm.c | 306 shm_data = &shm_var->mem; in PHP_FUNCTION() 379 memcpy(&(shm_var->mem), data, len); in php_put_shm_data()
|
/PHP-5.3/ext/dom/ |
H A D | document.c | 1793 xmlChar *mem; in PHP_FUNCTION() local 1828 mem = (xmlChar*) xmlBufferContent(buf); in PHP_FUNCTION() 1829 if (!mem) { in PHP_FUNCTION() 1833 RETVAL_STRING(mem, 1); in PHP_FUNCTION() 1848 RETVAL_STRINGL(mem, size, 1); in PHP_FUNCTION() 1849 xmlFree(mem); in PHP_FUNCTION() 2292 xmlChar *mem = NULL; in PHP_FUNCTION() local 2324 if (!mem) { in PHP_FUNCTION() 2338 htmlDocDumpMemory(docp, &mem, &size); in PHP_FUNCTION() 2345 if (mem) in PHP_FUNCTION() [all …]
|
/PHP-5.3/ext/gd/libgd/ |
H A D | gd_jpeg.c | 698 (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_PERMANENT, sizeof (my_source_mgr)); in jpeg_gdIOCtx_src() 700 …src->buffer = (unsigned char *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_PERMANENT,… in jpeg_gdIOCtx_src() 738 …dest->buffer = (unsigned char *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JPOOL_IMAGE, OU… in init_destination() 821 …cinfo->dest = (struct jpeg_destination_mgr *) (*cinfo->mem->alloc_small) ((j_common_ptr) cinfo, JP… in jpeg_gdIOCtx_dest()
|
H A D | gd_topal.c | 794 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)
|
/PHP-5.3/sapi/fpm/ |
H A D | config.m4 | 226 if test -r /proc/$$/mem ; then 227 proc_mem_file="mem" 235 AC_MSG_CHECKING([for proc mem file]) 272 AC_DEFINE_UNQUOTED([PROC_MEM_FILE], "$proc_mem_file", [/proc/pid/mem interface])
|
/PHP-5.3/ext/xmlrpc/libxmlrpc/ |
H A D | xmlrpc.h | 411 void XMLRPC_Free(void* mem);
|
H A D | xmlrpc.c | 2976 void XMLRPC_Free(void* mem) { in XMLRPC_Free() argument 2977 my_free(mem); in XMLRPC_Free()
|
/PHP-5.3/ |
H A D | .gitignore | 7 *.mem
|
H A D | run-tests.php | 2571 $mem = "<a href='$url'>leaks</a>"; 2573 $mem = " "; 2582 "<td>$mem</td>" .
|
H A D | NEWS | 6697 mem vars and others). (Dmitry)
|
/PHP-5.3/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_param.phpt | 78 $mem = memory_get_usage(); 83 if (($tmp = (memory_get_usage() - $mem)) > 600)
|
/PHP-5.3/ext/sqlite3/libsqlite/ |
H A D | sqlite3.c | 15005 } mem; variable 15017 mem.nAlloc[i]++; in adjustStats() 15019 if( mem.nCurrent[i]>mem.mxCurrent[i] ){ in adjustStats() 15020 mem.mxCurrent[i] = mem.nCurrent[i]; in adjustStats() 15086 mem.mutex = 0; in sqlite3MemShutdown() 15136 mem.nBacktrace*sizeof(void*) + mem.nTitle; in sqlite3MemMalloc() 15144 if( mem.pLast ){ in sqlite3MemMalloc() 15166 memcpy(z, mem.zTitle, mem.nTitle); in sqlite3MemMalloc() 15338 if( n>=sizeof(mem.zTitle) ) n = sizeof(mem.zTitle)-1; in sqlite3MemdebugSettitle() 15386 i*8, mem.nAlloc[i], mem.nCurrent[i], mem.mxCurrent[i]); in sqlite3MemdebugDump() [all …]
|
/PHP-5.3/ext/pcre/pcrelib/doc/ |
H A D | pcre.txt | 8086 address space instead of allocating memory. We can safely allocate mem- 8127 Especially on embedded sytems, it might be a good idea to release mem- 8130 allocated memory for any stack and another which allows releasing mem- 9187 an array of nmatch structures of type regmatch_t, containing the mem-
|