Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 25 of 58) sorted by relevance

123

/PHP-5.3/sapi/fpm/fpm/
H A Dfpm_trace.c11 int fpm_trace_get_strz(char *buf, size_t sz, long addr) /* {{{ */ in fpm_trace_get_strz() argument
17 if (0 > fpm_trace_get_long(addr, &l)) { in fpm_trace_get_strz()
23 for (addr = l; ; addr += SIZEOF_LONG) { in fpm_trace_get_strz()
24 if (0 > fpm_trace_get_long(addr, &l)) { in fpm_trace_get_strz()
H A Dfpm_trace_ptrace.c57 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument
62 .piod_offs = (void *) addr, in fpm_trace_get_long()
73 *data = ptrace(PTRACE_PEEKDATA, traced_pid, (void *) addr, 0); in fpm_trace_get_long()
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) /* {{{ */ in fpm_trace_get_long() argument
85 size_t offset = ((uintptr_t) (addr) % fpm_pagesize); in fpm_trace_get_long()
86 vm_offset_t base = (uintptr_t) (addr) - offset; in fpm_trace_get_long()
H A Dfpm_trace_pread.c58 int fpm_trace_get_long(long addr, long *data) /* {{{ */ in fpm_trace_get_long() argument
60 if (sizeof(*data) != pread(mem_file, (void *) data, sizeof(*data), (uintptr_t) addr)) { in fpm_trace_get_long()
H A Dfpm_sockets.c42 static int fpm_sockets_resolve_af_inet(char *node, char *service, struct sockaddr_in *addr) /* {{{ … in fpm_sockets_resolve_af_inet() argument
59 *addr = *(struct sockaddr_in *) res->ai_addr; in fpm_sockets_resolve_af_inet()
260 char *addr = NULL; in fpm_socket_af_inet_listening_socket() local
266 addr = dup_address; in fpm_socket_af_inet_listening_socket()
279 if (addr) { in fpm_socket_af_inet_listening_socket()
280 sa_in.sin_addr.s_addr = inet_addr(addr); in fpm_socket_af_inet_listening_socket()
282 if (0 > fpm_sockets_resolve_af_inet(addr, NULL, &sa_in)) { in fpm_socket_af_inet_listening_socket()
285 zlog(ZLOG_NOTICE, "address '%s' resolved as %u.%u.%u.%u", addr, IPQUAD(&sa_in.sin_addr)); in fpm_socket_af_inet_listening_socket()
/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dpragma.c208 int addr; in sqlitePragma() local
297 sqliteVdbeChangeP2(v, addr+3, addr+10); in sqlitePragma()
299 int addr; in sqlitePragma() local
566 int i, j, addr; in sqlitePragma() local
623 sqliteVdbeChangeP2(v, addr+3, addr+7); in sqlitePragma()
624 sqliteVdbeChangeP2(v, addr+6, addr+4); in sqlitePragma()
626 sqliteVdbeChangeP2(v, addr+10, addr+ArraySize(checkDb)); in sqlitePragma()
697 sqliteVdbeChangeP2(v, addr+2, addr+5); in sqlitePragma()
699 sqliteVdbeChangeP2(v, addr+4, addr+3); in sqlitePragma()
700 sqliteVdbeChangeP2(v, addr+7, addr+ArraySize(cntIdx)); in sqlitePragma()
[all …]
H A Dcopy.c39 int addr, end; in sqliteCopy() local
60 addr = sqliteVdbeOp3(v, OP_FileOpen, 0, 0, pFilename->z, pFilename->n); in sqliteCopy()
61 sqliteVdbeDequoteP3(v, addr); in sqliteCopy()
67 addr = sqliteVdbeAddOp(v, OP_FileRead, pTab->nCol, end); in sqliteCopy()
69 sqliteVdbeChangeP3(v, addr, pDelimiter->z, pDelimiter->n); in sqliteCopy()
70 sqliteVdbeDequoteP3(v, addr); in sqliteCopy()
72 sqliteVdbeChangeP3(v, addr, "\t", 1); in sqliteCopy()
90 0, onError, addr); in sqliteCopy()
95 sqliteVdbeAddOp(v, OP_Goto, 0, addr); in sqliteCopy()
H A Dvdbeaux.c114 return addr; in sqliteVdbeOp3()
121 int addr; in sqliteVdbeCode() local
132 return addr; in sqliteVdbeCode()
202 int addr; in sqliteVdbeAddOpList() local
230 sqliteVdbePrintOp(0, i+addr, &p->aOp[i+addr]); in sqliteVdbeAddOpList()
247 if( p && addr>=0 && p->nOp>addr && p->aOp ){ in sqliteVdbeChangeP1()
259 if( p && addr>=0 && p->nOp>addr && p->aOp ){ in sqliteVdbeChangeP2()
285 if( addr<0 || addr>=p->nOp ){ in sqliteVdbeChangeP3()
319 if( addr<0 || addr>=p->nOp ){ in sqliteVdbeDequoteP3()
343 if( p->aOp==0 || addr<0 || addr>=p->nOp ) return; in sqliteVdbeCompressSpace()
[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 Ddelete.c172 int addr; in sqliteDeleteFrom() local
178 addr = sqliteVdbeAddOp(v, OP_AddImm, 1, 0); in sqliteDeleteFrom()
179 sqliteVdbeAddOp(v, OP_Next, iCur, addr); in sqliteDeleteFrom()
228 addr = sqliteVdbeAddOp(v, OP_ListRead, 0, end); in sqliteDeleteFrom()
245 addr); in sqliteDeleteFrom()
261 addr = sqliteVdbeAddOp(v, OP_ListRead, 0, end); in sqliteDeleteFrom()
280 addr); in sqliteDeleteFrom()
284 sqliteVdbeAddOp(v, OP_Goto, 0, addr); in sqliteDeleteFrom()
343 int addr; in sqliteGenerateRowDelete() local
344 addr = sqliteVdbeAddOp(v, OP_NotExists, iCur, 0); in sqliteGenerateRowDelete()
[all …]
H A Dexpr.c726 int addr; in sqliteExprResolveIds() local
1167 int addr; in sqliteExprCode() local
1170 addr = sqliteVdbeCurrentAddr(v); in sqliteExprCode()
1202 int addr; in sqliteExprCode() local
1353 int addr; in sqliteExprIfTrue() local
1355 addr = sqliteVdbeCurrentAddr(v); in sqliteExprIfTrue()
1367 int addr; in sqliteExprIfTrue() local
1454 int addr; in sqliteExprIfFalse() local
1456 addr = sqliteVdbeCurrentAddr(v); in sqliteExprIfFalse()
1468 int addr; in sqliteExprIfFalse() local
[all …]
/PHP-5.3/main/streams/
H A Dtransports.c298 param.want_addr = addr ? 1 : 0; in php_stream_xport_accept()
306 if (addr) { in php_stream_xport_accept()
307 *addr = param.outputs.addr; in php_stream_xport_accept()
334 param.want_addr = addr ? 1 : 0; in php_stream_xport_get_name()
340 if (addr) { in php_stream_xport_get_name()
341 *addr = param.outputs.addr; in php_stream_xport_get_name()
418 if (!oob && addr == NULL) { in php_stream_xport_recvfrom()
443 param.want_addr = addr ? 1 : 0; in php_stream_xport_recvfrom()
452 if (addr) { in php_stream_xport_recvfrom()
453 *addr = param.outputs.addr; in php_stream_xport_recvfrom()
[all …]
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
156 struct sockaddr *addr; member
/PHP-5.3/ext/standard/
H A Dflock_compat.c178 register unsigned long acc = 0, addr = 0; in inet_aton() local
207 addr = addr << 8 | acc; in inet_aton()
218 addr <<= 8 * (3 - dots) ; in inet_aton()
223 ap->s_addr = htonl(addr); in inet_aton()
H A Ddns.c155 char *addr; in PHP_FUNCTION() local
163 hostname = php_gethostbyaddr(addr); in PHP_FUNCTION()
184 struct in_addr addr; in php_gethostbyaddr() local
190 } else if (inet_pton(AF_INET, ip, &addr)) { in php_gethostbyaddr()
191 hp = gethostbyaddr((char *) &addr, sizeof(addr), AF_INET); in php_gethostbyaddr()
196 addr.s_addr = inet_addr(ip); in php_gethostbyaddr()
198 if (addr.s_addr == -1) { in php_gethostbyaddr()
202 hp = gethostbyaddr((char *) &addr, sizeof(addr), AF_INET); in php_gethostbyaddr()
219 char *addr; in PHP_FUNCTION() local
225 addr = php_gethostbyname(hostname); in PHP_FUNCTION()
[all …]
/PHP-5.3/main/
H A Dphp_network.h229 const struct sockaddr *addr,
236 #define php_connect_nonb(sock, addr, addrlen, timeout) \ argument
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,
H A Dnetwork.c513 if (*addr == '[') {
519 addr++;
528 tmp = estrndup(addr, colon - addr);
592 struct sockaddr **addr, argument
596 if (addr) {
597 *addr = emalloc(sl);
598 memcpy(*addr, sa, sl);
656 struct sockaddr **addr, argument
667 addr, addrlen
687 addr, addrlen
[all …]
H A Dalloca.c106 static char *addr = NULL; /* Address of first `dummy', once known. */ in find_stack_direction() local
109 if (addr == NULL) in find_stack_direction()
111 addr = ADDRESS_FUNCTION (dummy); in find_stack_direction()
118 if (ADDRESS_FUNCTION (dummy) > addr) in find_stack_direction()
/PHP-5.3/ext/curl/tests/
H A Dcurl_basic_008.phpt8 $addr = "www.".uniqid().".".uniqid();
9 if (gethostbyname($addr) != $addr) {
H A Dcurl_basic_010.phpt8 $addr = "www.".uniqid().".".uniqid();
9 if (gethostbyname($addr) != $addr) {
/PHP-5.3/ext/sockets/tests/
H A Dsocket_create_listen-win32.phpt14 socket_getsockname($sock, $addr, $port);
15 var_dump($addr, $port);
H A Dsocket_create_listen.phpt14 socket_getsockname($sock, $addr, $port);
15 var_dump($addr, $port);
/PHP-5.3/ext/oci8/tests/
H A Dbind_rowid.phpt39 $addr = $row['ADDRESS'];
41 $addr = 'Some new text';
46 oci_bind_by_name($s, ':a_bv', $addr);
/PHP-5.3/ext/shmop/
H A Dshmop.c130 shmdt(shmop->addr);
221 shmop->addr = shmat(shmop->shmid, 0, shmop->shmatflg); in PHP_FUNCTION()
222 if (shmop->addr == (char*) -1) { in PHP_FUNCTION()
264 startaddr = shmop->addr + start; in PHP_FUNCTION()
339 memcpy(shmop->addr + offset, data, writesize); in PHP_FUNCTION()

Completed in 66 milliseconds

123