Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 25 of 103) sorted by path

12345

/php-src/TSRM/
H A Dtsrm_win32.c398 static shm_pair *shm_get(key_t key, void *addr) in shm_get() argument
407 if (!addr && ptr->descriptor->shm_perm.key == key) { in shm_get()
409 } else if (ptr->addr == addr) { in shm_get()
726 shm->addr = shm->descriptor + sizeof(shm->descriptor); in shmat()
731 return shm->addr; in shmat()
H A Dtsrm_win32.h52 void *addr; member
/php-src/Zend/
H A Dzend_alloc.c415 static void zend_mm_munmap(void *addr, size_t size) in zend_mm_munmap() argument
418 if (VirtualFree(addr, 0, MEM_RELEASE) == 0) { in zend_mm_munmap()
435 addr = mbi.AllocationBase; in zend_mm_munmap()
437 if (VirtualFree(addr, 0, MEM_RELEASE) == 0) { in zend_mm_munmap()
444 if (munmap(addr, size) != 0) { in zend_mm_munmap()
468 ZEND_ASSERT(ptr == addr); in zend_mm_mmap_fixed()
485 } else if (ptr != addr) { in zend_mm_mmap_fixed()
793 zend_mm_munmap(addr, size);
828 void *ptr = mremap(addr, old_size, new_size, 0);
833 ZEND_ASSERT(ptr == addr);
[all …]
H A Dzend_alloc.h40 void *addr; member
H A Dzend_call_stack.c128 void *addr; in zend_call_stack_get_linux_pthread() local
140 error = pthread_attr_getstack(&attr, &addr, &max_size); in zend_call_stack_get_linux_pthread()
154 addr = (int8_t*)addr + guard_size; in zend_call_stack_get_linux_pthread()
159 stack->base = (int8_t*)addr + max_size; in zend_call_stack_get_linux_pthread()
275 void *addr; in zend_call_stack_get_freebsd_pthread() local
288 error = pthread_attr_getstack(&attr, &addr, &max_size); in zend_call_stack_get_freebsd_pthread()
293 stack->base = (int8_t*)addr + max_size; in zend_call_stack_get_freebsd_pthread()
567 void *addr; in zend_call_stack_get_netbsd_pthread() local
575 error = pthread_attr_getstack(&attr, &addr, &max_size); in zend_call_stack_get_netbsd_pthread()
585 addr = (char *)addr + guard_size; in zend_call_stack_get_netbsd_pthread()
[all …]
/php-src/ext/curl/tests/
H A Dcurl_basic_008.phpt9 $addr = "www.".uniqid().".".uniqid();
10 if (gethostbyname($addr) != $addr) {
H A Dcurl_basic_010.phpt9 $addr = "www.".uniqid().".".uniqid();
10 if (gethostbyname($addr) != $addr) {
/php-src/ext/exif/
H A Dexif.c1387 static char* exif_char_dump(char * addr, int len, int offset) in exif_char_dump() argument
1400 c = *((unsigned char *)addr++); in exif_char_dump()
/php-src/ext/ffi/
H A Dffi.c159 void *addr; member
2977 void *addr; in ZEND_METHOD() local
3039 if (!addr) { in ZEND_METHOD()
3043 sym->addr = addr; in ZEND_METHOD()
3049 if (!addr) { in ZEND_METHOD()
3053 sym->addr = addr; in ZEND_METHOD()
3264 void *addr; in zend_ffi_load() local
3369 if (!addr) { in zend_ffi_load()
3380 sym->addr = addr; in zend_ffi_load()
3386 if (!addr) { in zend_ffi_load()
[all …]
H A Dffi.stub.php40 public static function addr(FFI\CData $ptr): FFI\CData {} function in FFI
H A Dffi_arginfo.h133 ZEND_METHOD(FFI, addr);
168 ZEND_ME(FFI, addr, arginfo_class_FFI_addr, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
/php-src/ext/ffi/tests/
H A D036.phpt25 var_dump(foo(FFI::addr($int)));
H A D037.phpt18 var_dump(foo(FFI::addr($int)));
H A D040.phpt22 $p = FFI::addr($x);
38 $p = FFI::addr($y[0]);
H A D045.phpt11 var_dump(FFI::isNull(FFI::addr($i)));
H A Daddr_in_lval.phpt2 Assignment to CDATA though FFI::addr() trick
18 FFI::addr($container->getBar())[0] = $f->cast("char*", $data); // directly write it
H A Daddr_to_owned.phpt14 $structPtr = \FFI::addr($ffi->new('Foo'));
H A Dgh8433.phpt12 FFI::addr($x)[0] = function() use ($ffi) {
H A Dlist.phpt25 $node = FFI::addr(self::$ffi->new("dlist", false));
44 $node = FFI::addr(self::$ffi->new("dlist", false));
H A Dnested_addr.phpt2 FFI Cannot nest FFI::addr() calls
16 $structPtrPtr = \FFI::addr(\FFI::addr($struct));
19 Fatal error: Uncaught FFI\Exception: FFI::addr() cannot create a reference to a temporary pointer i…
21 #0 %s(%d): FFI::addr(Object(FFI\CData:struct <anonymous>*))
/php-src/ext/fileinfo/tests/
H A Dmagic34751 #>4 addr x %.178s
H A Dmagic私はガラスを食べられます34751 #>4 addr x %.178s
/php-src/ext/ftp/
H A Dftp.c1633 my_accept(ftpbuf_t *ftp, php_socket_t s, struct sockaddr *addr, socklen_t *addrlen) in my_accept() argument
1651 return accept(s, addr, addrlen); in my_accept()
1661 php_sockaddr_storage addr; in ftp_getdata() local
1712 php_any_addr(sa->sa_family, &addr, 0); in ftp_getdata()
1713 size = php_sockaddr_size(&addr); in ftp_getdata()
1715 if (bind(fd, (struct sockaddr*) &addr, size) != 0) { in ftp_getdata()
1720 if (getsockname(fd, (struct sockaddr*) &addr, &size) != 0) { in ftp_getdata()
1763 ipbox.s[2] = ((struct sockaddr_in*) &addr)->sin_port; in ftp_getdata()
1792 php_sockaddr_storage addr; in data_accept() local
1805 size = sizeof(addr); in data_accept()
[all …]
/php-src/ext/opcache/
H A DZendAccelerator.c3064 void *addr = mmap(NULL, s, PROT_READ | PROT_WRITE, MAP_SHARED | MAP_ANON, -1, 0); in accel_move_code_to_huge_pages()
3065 if (addr != MAP_FAILED) { in accel_move_code_to_huge_pages()
3066 if (sysctl(mib, 4, addr, &s, NULL, 0) == 0) { in accel_move_code_to_huge_pages()
3067 uintptr_t start = (uintptr_t)addr; in accel_move_code_to_huge_pages()
3090 munmap(addr, s); in accel_move_code_to_huge_pages()
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_x86.lua2251 local addr = params[2]
2252 if addr then
2253 local a = parseoperand(addr)

Completed in 258 milliseconds

12345