/php-src/TSRM/ |
H A D | tsrm_win32.c | 398 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 D | tsrm_win32.h | 52 void *addr; member
|
/php-src/Zend/ |
H A D | zend_alloc.c | 415 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 D | zend_alloc.h | 40 void *addr; member
|
H A D | zend_call_stack.c | 128 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 D | curl_basic_008.phpt | 9 $addr = "www.".uniqid().".".uniqid(); 10 if (gethostbyname($addr) != $addr) {
|
H A D | curl_basic_010.phpt | 9 $addr = "www.".uniqid().".".uniqid(); 10 if (gethostbyname($addr) != $addr) {
|
/php-src/ext/exif/ |
H A D | exif.c | 1387 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 D | ffi.c | 159 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 D | ffi.stub.php | 40 public static function addr(FFI\CData $ptr): FFI\CData {} function in FFI
|
H A D | ffi_arginfo.h | 133 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 D | 036.phpt | 25 var_dump(foo(FFI::addr($int)));
|
H A D | 037.phpt | 18 var_dump(foo(FFI::addr($int)));
|
H A D | 040.phpt | 22 $p = FFI::addr($x); 38 $p = FFI::addr($y[0]);
|
H A D | 045.phpt | 11 var_dump(FFI::isNull(FFI::addr($i)));
|
H A D | addr_in_lval.phpt | 2 Assignment to CDATA though FFI::addr() trick 18 FFI::addr($container->getBar())[0] = $f->cast("char*", $data); // directly write it
|
H A D | addr_to_owned.phpt | 14 $structPtr = \FFI::addr($ffi->new('Foo'));
|
H A D | gh8433.phpt | 12 FFI::addr($x)[0] = function() use ($ffi) {
|
H A D | list.phpt | 25 $node = FFI::addr(self::$ffi->new("dlist", false)); 44 $node = FFI::addr(self::$ffi->new("dlist", false));
|
H A D | nested_addr.phpt | 2 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 D | magic | 34751 #>4 addr x %.178s
|
H A D | magic私はガラスを食べられます | 34751 #>4 addr x %.178s
|
/php-src/ext/ftp/ |
H A D | ftp.c | 1633 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 D | ZendAccelerator.c | 3064 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 D | dasm_x86.lua | 2251 local addr = params[2] 2252 if addr then 2253 local a = parseoperand(addr)
|