Searched refs:addr (Results 1 - 25 of 47) sorted by relevance

12

/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dcopy.c39 int addr, end; local
60 addr = sqliteVdbeOp3(v, OP_FileOpen, 0, 0, pFilename->z, pFilename->n);
61 sqliteVdbeDequoteP3(v, addr);
67 addr = sqliteVdbeAddOp(v, OP_FileRead, pTab->nCol, end);
69 sqliteVdbeChangeP3(v, addr, pDelimiter->z, pDelimiter->n);
70 sqliteVdbeDequoteP3(v, addr);
72 sqliteVdbeChangeP3(v, addr, "\t", 1);
90 0, onError, addr);
95 sqliteVdbeAddOp(v, OP_Goto, 0, addr);
H A Ddelete.c64 int end, addr; /* A couple addresses of generated code */ local
172 int addr; local
178 addr = sqliteVdbeAddOp(v, OP_AddImm, 1, 0);
179 sqliteVdbeAddOp(v, OP_Next, iCur, addr);
228 addr = sqliteVdbeAddOp(v, OP_ListRead, 0, end);
245 addr);
261 addr = sqliteVdbeAddOp(v, OP_ListRead, 0, end);
280 addr);
284 sqliteVdbeAddOp(v, OP_Goto, 0, addr);
343 int addr; local
[all...]
H A Dpragma.c208 int addr; local
210 addr = sqliteVdbeAddOpList(v, ArraySize(getCacheSize), getCacheSize);
211 sqliteVdbeChangeP1(v, addr+5, MAX_PAGES);
218 addr = sqliteVdbeAddOp(v, OP_Integer, 0, 0);
219 sqliteVdbeAddOp(v, OP_Ge, 0, addr+3);
296 int addr = sqliteVdbeAddOpList(v, ArraySize(getSync), getSync); local
297 sqliteVdbeChangeP2(v, addr+3, addr+10);
299 int addr; local
305 addr
566 int i, j, addr; local
[all...]
H A Dvdbe.h93 void sqliteVdbeChangeP1(Vdbe*, int addr, int P1);
94 void sqliteVdbeChangeP2(Vdbe*, int addr, int P2);
95 void sqliteVdbeChangeP3(Vdbe*, int addr, const char *zP1, int N);
96 void sqliteVdbeDequoteP3(Vdbe*, int addr);
H A Dvdbeaux.c112 int addr = sqliteVdbeAddOp(p, op, p1, p2); local
113 sqliteVdbeChangeP3(p, addr, zP3, p3type);
114 return addr;
121 int addr; local
125 addr = p->nOp;
132 return addr;
202 int addr; local
216 addr = p->nOp;
222 VdbeOp *pOut = &p->aOp[i+addr];
225 pOut->p2 = p2<0 ? addr
245 sqliteVdbeChangeP1(Vdbe *p, int addr, int val) argument
256 sqliteVdbeChangeP2(Vdbe *p, int addr, int val) argument
281 sqliteVdbeChangeP3(Vdbe *p, int addr, const char *zP3, int n) argument
315 sqliteVdbeDequoteP3(Vdbe *p, int addr) argument
338 sqliteVdbeCompressSpace(Vdbe *p, int addr) argument
384 sqliteVdbeGetOp(Vdbe *p, int addr) argument
[all...]
/PHP_5_3/main/
H A Dalloca.c106 static char *addr = NULL; /* Address of first `dummy', once known. */ local
109 if (addr == NULL)
111 addr = ADDRESS_FUNCTION (dummy);
118 if (ADDRESS_FUNCTION (dummy) > addr)
H A Dnetwork.c301 const struct sockaddr *addr,
317 if ((n = connect(sockfd, addr, addrlen)) != 0) {
390 return (connect(sockfd, addr, addrlen) == 0) ? 0 : -1;
499 PHPAPI int php_network_parse_network_address_with_port(const char *addr, long addrlen, struct sockaddr *sa, socklen_t *sl TSRMLS_DC) argument
513 if (*addr == '[') {
514 colon = memchr(addr + 1, ']', addrlen-1);
519 addr++;
521 colon = memchr(addr, ':', addrlen);
528 tmp = estrndup(addr, colon - addr);
300 php_network_connect_socket(php_socket_t sockfd, const struct sockaddr *addr, socklen_t addrlen, int asynchronous, struct timeval *timeout, char **error_string, int *error_code) argument
586 php_network_populate_name_from_sockaddr( struct sockaddr *sa, socklen_t sl, char **textaddr, long *textaddrlen, struct sockaddr **addr, socklen_t *addrlen TSRMLS_DC) argument
654 php_network_get_peer_name(php_socket_t sock, char **textaddr, long *textaddrlen, struct sockaddr **addr, socklen_t *addrlen TSRMLS_DC) argument
674 php_network_get_sock_name(php_socket_t sock, char **textaddr, long *textaddrlen, struct sockaddr **addr, socklen_t *addrlen TSRMLS_DC) argument
705 php_network_accept_incoming(php_socket_t srvsock, char **textaddr, long *textaddrlen, struct sockaddr **addr, socklen_t *addrlen, struct timeval *timeout, char **error_string, int *error_code TSRMLS_DC) argument
930 php_any_addr(int family, php_sockaddr_storage *addr, unsigned short port) argument
957 php_sockaddr_size(php_sockaddr_storage *addr) argument
[all...]
H A Dphp_network.h229 const struct sockaddr *addr,
236 #define php_connect_nonb(sock, addr, addrlen, timeout) \
237 php_network_connect_socket((sock), (addr), (addrlen), 0, (timeout), NULL, NULL)
245 struct sockaddr **addr,
254 struct sockaddr **addr,
260 struct sockaddr **addr,
264 PHPAPI void php_any_addr(int family, php_sockaddr_storage *addr, unsigned short port);
265 PHPAPI int php_sockaddr_size(php_sockaddr_storage *addr);
291 struct sockaddr **addr,
295 PHPAPI int php_network_parse_network_address_with_port(const char *addr,
[all...]
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_trace.c11 int fpm_trace_get_strz(char *buf, size_t sz, long addr) /* {{{ */ argument
17 if (0 > fpm_trace_get_long(addr, &l)) {
23 for (addr = l; ; addr += SIZEOF_LONG) {
24 if (0 > fpm_trace_get_long(addr, &l)) {
H A Dfpm_trace.h13 int fpm_trace_get_long(long addr, long *data);
14 int fpm_trace_get_strz(char *buf, size_t sz, long addr);
H A Dfpm_trace_mach.c83 int fpm_trace_get_long(long addr, long *data) /* {{{ */ argument
85 size_t offset = ((uintptr_t) (addr) % fpm_pagesize);
86 vm_offset_t base = (uintptr_t) (addr) - offset;
H A Dfpm_trace_pread.c58 int fpm_trace_get_long(long addr, long *data) /* {{{ */ argument
60 if (sizeof(*data) != pread(mem_file, (void *) data, sizeof(*data), (uintptr_t) addr)) {
H A Dfpm_trace_ptrace.c57 int fpm_trace_get_long(long addr, long *data) /* {{{ */ argument
62 .piod_offs = (void *) addr,
73 *data = ptrace(PTRACE_PEEKDATA, traced_pid, (void *) addr, 0);
H A Dfpm_sockets.h25 enum fpm_address_domain fpm_sockets_domain_from_address(char *addr);
H A Dfpm_sockets.c42 static int fpm_sockets_resolve_af_inet(char *node, char *service, struct sockaddr_in *addr) /* {{{ */ argument
59 *addr = *(struct sockaddr_in *) res->ai_addr;
260 char *addr = NULL; local
266 addr = dup_address;
279 if (addr) {
280 sa_in.sin_addr.s_addr = inet_addr(addr);
282 if (0 > fpm_sockets_resolve_af_inet(addr, NULL, &sa_in)) {
285 zlog(ZLOG_NOTICE, "address '%s' resolved as %u.%u.%u.%u", addr, IPQUAD(&sa_in.sin_addr));
/PHP_5_3/TSRM/
H A Dtsrm_win32.c72 UnmapViewOfFile(ptr->addr);
412 static shm_pair *shm_get(int key, void *addr) argument
422 if (!addr && ptr->descriptor->shm_perm.key == key) {
424 } else if (ptr->addr == addr) {
666 shm->addr = MapViewOfFileEx(shm->segment, FILE_MAP_ALL_ACCESS, 0, 0, 0, NULL);
668 return shm->addr;
683 return UnmapViewOfFile(shm->addr) ? 0 : -1;
H A Dtsrm_win32.h54 void *addr; member in struct:__anon7
/PHP_5_3/ext/shmop/
H A Dphp_shmop.h47 char *addr; member in struct:php_shmop
H A Dshmop.c130 shmdt(shmop->addr);
221 shmop->addr = shmat(shmop->shmid, 0, shmop->shmatflg);
222 if (shmop->addr == (char*) -1) {
264 startaddr = shmop->addr + start;
339 memcpy(shmop->addr + offset, data, writesize);
/PHP_5_3/ext/sockets/
H A Dsockets.c164 ZEND_ARG_INFO(1, addr)
170 ZEND_ARG_INFO(1, addr)
182 ZEND_ARG_INFO(0, addr)
192 ZEND_ARG_INFO(0, addr)
224 ZEND_ARG_INFO(0, addr)
532 /* Sets addr by hostname, or by ip in string form (AF_INET6) */
579 /* Sets addr by hostname, or by ip in string form (AF_INET) */
1079 /* {{{ proto bool socket_getsockname(resource socket, string &addr[, int &port])
1083 zval *arg1, *addr, *port = NULL; local
1096 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rz|z", &arg1, &addr,
1289 char *addr; local
1387 char *addr; local
1664 char *buf, *addr; local
[all...]
/PHP_5_3/ext/standard/
H A Dflock_compat.c178 register unsigned long acc = 0, addr = 0; local
207 addr = addr << 8 | acc;
218 addr <<= 8 * (3 - dots) ;
223 ap->s_addr = htonl(addr);
H A Ddns.c155 char *addr; local
159 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &addr, &addr_len) == FAILURE) {
163 hostname = php_gethostbyaddr(addr);
184 struct in_addr addr; local
190 } else if (inet_pton(AF_INET, ip, &addr)) {
191 hp = gethostbyaddr((char *) &addr, sizeof(addr), AF_INET);
196 addr.s_addr = inet_addr(ip);
198 if (addr.s_addr == -1) {
202 hp = gethostbyaddr((char *) &addr, sizeo
219 char *addr; local
[all...]
/PHP_5_3/main/streams/
H A Dphp_stream_transport.h85 void **addr, socklen_t *addrlen,
93 void **addr, socklen_t *addrlen
104 long flags, void **addr, socklen_t *addrlen,
110 long flags, void *addr, socklen_t addrlen TSRMLS_DC);
147 struct sockaddr *addr; member in struct:_php_stream_xport_param::__anon267
156 struct sockaddr *addr; member in struct:_php_stream_xport_param::__anon268
H A Dtransports.c286 void **addr, socklen_t *addrlen,
298 param.want_addr = addr ? 1 : 0;
306 if (addr) {
307 *addr = param.outputs.addr;
325 void **addr, socklen_t *addrlen
334 param.want_addr = addr ? 1 : 0;
340 if (addr) {
341 *addr = param.outputs.addr;
284 php_stream_xport_accept(php_stream *stream, php_stream **client, char **textaddr, int *textaddrlen, void **addr, socklen_t *addrlen, struct timeval *timeout, char **error_text TSRMLS_DC) argument
323 php_stream_xport_get_name(php_stream *stream, int want_peer, char **textaddr, int *textaddrlen, void **addr, socklen_t *addrlen TSRMLS_DC) argument
397 php_stream_xport_recvfrom(php_stream *stream, char *buf, size_t buflen, long flags, void **addr, socklen_t *addrlen, char **textaddr, int *textaddrlen TSRMLS_DC) argument
467 php_stream_xport_sendto(php_stream *stream, const char *buf, size_t buflen, long flags, void *addr, socklen_t addrlen TSRMLS_DC) argument
[all...]
H A Dxp_socket.c234 struct sockaddr *addr, socklen_t addrlen
238 if (addr) {
239 ret = sendto(sock->socket, buf, buflen, flags, addr, addrlen);
247 struct sockaddr **addr, socklen_t *addrlen
253 int want_addr = textaddr || addr;
259 textaddr, textaddrlen, addr, addrlen TSRMLS_CC);
334 xparam->want_addr ? &xparam->outputs.addr : NULL,
343 xparam->want_addr ? &xparam->outputs.addr : NULL,
356 xparam->inputs.addr,
379 xparam->want_addr ? &xparam->outputs.addr
233 sock_sendto(php_netstream_data_t *sock, char *buf, size_t buflen, int flags, struct sockaddr *addr, socklen_t addrlen TSRMLS_DC) argument
245 sock_recvfrom(php_netstream_data_t *sock, char *buf, size_t buflen, int flags, char **textaddr, long *textaddrlen, struct sockaddr **addr, socklen_t *addrlen TSRMLS_DC) argument
[all...]

Completed in 21 milliseconds

12