Searched defs:mem (Results 1 - 18 of 18) sorted by relevance

/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...]
/PHP_TRUNK/ext/mbstring/oniguruma/
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.c5755 { OP_MEMORY_START_PUSH, "mem-start-push", ARG_MEMNUM },
5756 { OP_MEMORY_START, "mem-start", ARG_MEMNUM },
5757 { OP_MEMORY_END_PUSH, "mem-end-push", ARG_MEMNUM },
5758 { OP_MEMORY_END_PUSH_REC, "mem-end-push-rec", ARG_MEMNUM },
5759 { OP_MEMORY_END, "mem-end", ARG_MEMNUM },
5760 { OP_MEMORY_END_REC, "mem-end-rec", ARG_MEMNUM },
5853 MemNumType mem; local
5878 mem = *((MemNumType* )bp);
5880 fprintf(f, ":%d", mem);
6005 mem
[all...]
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::__anon25
/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/sapi/phpdbg/
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);
H A Dphpdbg.c106 pg->sigsafe_mem.mem = NULL;
831 char mem[PHPDBG_SIGSAFE_MEM_SIZE + 1]; local
833 phpdbg_set_sigsafe_mem(mem);
908 char mem[PHPDBG_SIGSAFE_MEM_SIZE + 1]; local
911 if ((newlen = recv(PHPDBG_G(io)[PHPDBG_STDIN].fd, mem, PHPDBG_SIGSAFE_MEM_SIZE, MSG_PEEK)) == (size_t) -1) {
915 switch (mem[off + i]) {
921 phpdbg_set_sigsafe_mem(mem);
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
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/ext/zip/lib/
H A Dzip_memdup.c42 _zip_memdup(const void *mem, size_t len, struct zip_error *error) argument
55 memcpy(ret, mem, len);
/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/
H A Drun-tests.php1392 $memcheck_filename = $temp_dir . DIRECTORY_SEPARATOR . $main_file_name . 'mem';
1423 'mem' => $memcheck_filename,
2612 if (isset($temp_filenames['mem']) && file_exists($temp_filenames['mem'])) {
2613 $url = str_replace($temp_target, $temp_urlbase, $temp_filenames['mem']);
2614 $mem = "<a href='$url'>leaks</a>"; variable
2616 $mem = "&nbsp;"; variable
2625 "<td>$mem</td>" .
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.h166 void *mem; /* shared memory area used by script structures */ member in struct:_zend_persistent_script
241 void *mem; member in struct:_zend_accel_globals
H A DZendAccelerator.c899 signed char *mem = (signed char*)persistent_script->mem; local
904 if (mem < (signed char*)persistent_script) {
905 checksum = zend_adler32(checksum, mem, (signed char*)persistent_script - mem);
906 size -= (signed char*)persistent_script - mem;
907 mem += (signed char*)persistent_script - mem;
910 zend_adler32(checksum, mem, persistent_script_check_block_size);
911 mem
[all...]
/PHP_TRUNK/ext/sysvshm/
H A Dphp_sysvshm.h47 char mem; member in struct:__anon57
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c17118 ** into a single structure named "mem". This is to keep the
17163 } mem; variable in typeref:struct:__anon9
17175 mem.nAlloc[i]++;
17176 mem.nCurrent[i]++;
17177 if( mem.nCurrent[i]>mem.mxCurrent[i] ){
17178 mem.mxCurrent[i] = mem.nCurrent[i];
17181 mem.nCurrent[i]--;
17182 assert( mem
102630 int mem = ++pParse->nMem; local
102791 int mem = ++pParse->nMem; local
[all...]

Completed in 168 milliseconds