Searched defs:mem (Results 1 - 15 of 15) 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 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/xmlrpc/libxmlrpc/
H A Dxmlrpc.c1602 * Make a duplicate (non reference) of an XMLRPC_VALUE with newly allocated mem.
2964 * void XMLRPC_Free(void* mem)
2968 * mem memory to free
2976 void XMLRPC_Free(void* mem) { argument
2977 my_free(mem);
/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:__anon279
/PHP_TRUNK/ext/dom/
H A Ddocument.c1800 xmlChar *mem; local
1835 mem = (xmlChar*) xmlBufferContent(buf);
1836 if (!mem) {
1840 RETVAL_STRING(mem, 1);
1848 xmlDocDumpFormatMemory(docp, &mem, &size, format);
1855 RETVAL_STRINGL(mem, size, 1);
1856 xmlFree(mem);
2312 xmlChar *mem = NULL; local
2358 mem = (xmlChar*) xmlBufferContent(buf);
2359 if (!mem) {
[all...]
/PHP_TRUNK/ext/opcache/
H A DZendAccelerator.c905 signed char *mem = (signed char*)persistent_script->mem; local
910 if (mem < (signed char*)persistent_script) {
911 checksum = zend_adler32(checksum, mem, (signed char*)persistent_script - mem);
912 size -= (signed char*)persistent_script - mem;
913 mem += (signed char*)persistent_script - mem;
916 zend_adler32(checksum, mem, persistent_script_check_block_size);
917 mem
[all...]
H A DZendAccelerator.h200 void *mem; /* shared memory area used by script structures */ member in struct:_zend_persistent_script
268 void *mem; member in struct:_zend_accel_globals
/PHP_TRUNK/ext/sqlite3/libsqlite/
H A Dsqlite3.c16462 ** into a single structure named "mem". This is to keep the
16507 } mem; variable in typeref:struct:__anon10
16519 mem.nAlloc[i]++;
16520 mem.nCurrent[i]++;
16521 if( mem.nCurrent[i]>mem.mxCurrent[i] ){
16522 mem.mxCurrent[i] = mem.nCurrent[i];
16525 mem.nCurrent[i]--;
16526 assert( mem
97450 int mem = ++pParse->nMem; local
97611 int mem = ++pParse->nMem; local
[all...]
/PHP_TRUNK/
H A Drun-tests.php1384 $memcheck_filename = $temp_dir . DIRECTORY_SEPARATOR . $main_file_name . 'mem';
1415 'mem' => $memcheck_filename,
2604 if (isset($temp_filenames['mem']) && file_exists($temp_filenames['mem'])) {
2605 $url = str_replace($temp_target, $temp_urlbase, $temp_filenames['mem']);
2606 $mem = "<a href='$url'>leaks</a>"; variable
2608 $mem = "&nbsp;"; variable
2617 "<td>$mem</td>" .

Completed in 170 milliseconds