Searched refs:res (Results 1 - 25 of 142) sorted by relevance

123456

/PHP_TRUNK/ext/xmlwriter/examples/
H A Dxmlwriter_mem.php6 $res = xmlwriter_set_indent_string($xw, ' '); variable
22 $res = xmlwriter_start_comment($xw); variable
24 $res = xmlwriter_end_comment($xw); variable
H A Dxmlwriter_mem_ns.php6 $res = xmlwriter_set_indent_string($xw, ' '); variable
/PHP_TRUNK/sapi/fpm/fpm/
H A Dfpm_atomic.h45 unsigned char res; local
48 "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory");
50 return res;
71 unsigned char res; local
74 "=a" (res) : "m" (*lock), "a" (old), "r" (set) : "memory");
76 return res;
/PHP_TRUNK/ext/fileinfo/
H A Dfileinfo.php10 $res = finfo_open(FILEINFO_MIME); /* return mime type ala mimetype extension */ variable
13 echo finfo_file($res, $file) . "\n";
15 finfo_close($res);
/PHP_TRUNK/ext/gd/libgd/
H A Dgd_io_ss.c82 int res; local
86 res = ((lctx->src->source) (lctx->src->context, buf, size));
93 if (res == 0) {
95 } else if (res < 0) {
98 return res;
104 int res; local
107 res = sourceGetbuf (ctx, &buf, 1);
109 if (res == 1) {
119 int res; local
123 res
[all...]
/PHP_TRUNK/ext/intl/tests/
H A Dresourcebundle.inc4 function debug( $res ) {
5 if (is_null( $res )) {
9 $ret = print_r( $res, true ). "\n";
/PHP_TRUNK/ext/dba/tests/
H A Ddba_handler.inc70 $res = array();
72 $res[$key] = dba_fetch($key, $db_file);
75 ksort($res);
76 var_dump($res);
/PHP_TRUNK/ext/interbase/tests/
H A Dinterbase.inc42 $res = ibase_query("select * from $table_name");
43 while ($r = ibase_fetch_row($res)) {
46 ibase_free_result($res);
/PHP_TRUNK/Zend/
H A Dzend_closures.h31 ZEND_API void zend_create_closure(zval *res, zend_function *op_array, zend_class_entry *scope, zval *this_ptr TSRMLS_DC);
H A Dzend_list.h30 typedef void (*rsrc_dtor_func_t)(zend_resource *res TSRMLS_DC);
31 #define ZEND_RSRC_DTOR_FUNC(name) void name(zend_resource *res TSRMLS_DC)
58 ZEND_API int _zend_list_free(zend_resource *res TSRMLS_DC);
59 ZEND_API int _zend_list_delete(zend_resource *res TSRMLS_DC);
60 ZEND_API int _zend_list_close(zend_resource *res TSRMLS_DC);
62 #define zend_list_free(res) _zend_list_free(res TSRMLS_CC)
63 #define zend_list_delete(res) _zend_list_delete(res TSRMLS_CC)
64 #define zend_list_close(res) _zend_list_clos
[all...]
H A Dzend_list.c47 ZEND_API int _zend_list_delete(zend_resource *res TSRMLS_DC)
49 if (--GC_REFCOUNT(res) <= 0) {
50 return zend_hash_index_del(&EG(regular_list), res->handle);
56 ZEND_API int _zend_list_free(zend_resource *res TSRMLS_DC)
58 if (GC_REFCOUNT(res) <= 0) {
59 return zend_hash_index_del(&EG(regular_list), res->handle);
65 static void zend_resource_dtor(zend_resource *res TSRMLS_DC)
69 ld = zend_hash_index_find_ptr(&list_destructors, res->type);
72 ld->list_dtor_ex(res TSRMLS_CC);
75 zend_error(E_WARNING,"Unknown list entry type (%d)", res
112 zend_resource *res; local
165 zend_resource *res = Z_RES_P(zv); local
177 zend_resource *res = Z_RES_P(zv); local
211 zend_resource *res = Z_PTR_P(zv); local
[all...]
H A Dzend_multiply.h119 size_t res = nmemb; local
123 : "=&a"(res), "=&d" (m_overflow)
124 : "%0"(res),
133 return res;
140 size_t res = nmemb; local
152 : "=&a"(res), "=&d" (m_overflow)
153 : "%0"(res),
163 return res;
170 size_t res; local
174 : "=r"(res), "
192 size_t res; local
213 uint64_t res = (uint64_t) nmemb * (uint64_t) size + (uint64_t) offset; local
227 size_t res = nmemb * size + offset; local
[all...]
/PHP_TRUNK/ext/mysqli/tests/
H A Dlocal_infile_tools.inc11 if (!$res = mysqli_query($link, 'SHOW VARIABLES LIKE "local_infile"'))
14 $row = mysqli_fetch_assoc($res);
15 mysqli_free_result($res);
116 if (!$res = mysqli_query($link, "SELECT id, label FROM test ORDER BY id")) {
125 if (!$tmp = mysqli_fetch_assoc($res)) {
143 if ($res && $tmp = mysqli_fetch_assoc($res)) {
147 } while ($tmp = mysqli_fetch_assoc($res));
151 if ($res)
152 mysqli_free_result($res);
[all...]
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_persist.c44 zend_resource *res; member in struct:__anon11
100 if (stm->res)
101 zend_list_delete(stm->res);
254 if (stm->res) {
255 zend_resource *res = stm->res; local
256 stm->res = NULL;
257 zend_list_delete(res);
265 zend_list_delete(stm->stream->res);
285 GC_REFCOUNT(stream->res)
341 HRESULT res; local
376 HRESULT res; local
439 HRESULT res; local
486 HRESULT res; local
518 HRESULT res; local
545 HRESULT res; local
605 HRESULT res; local
[all...]
/PHP_TRUNK/ext/date/lib/
H A Dtm2unixtime.c305 timelib_sll res = 0; local
311 res += (SECS_PER_ERA * eras * 100);
317 res += (DAYS_PER_LYEAR * SECS_PER_DAY);
319 res += (DAYS_PER_YEAR * SECS_PER_DAY);
325 res -= (DAYS_PER_LYEAR * SECS_PER_DAY);
327 res -= (DAYS_PER_YEAR * SECS_PER_DAY);
331 return res;
350 timelib_sll res = 0; local
352 res += hour * 3600;
353 res
428 timelib_sll res = 0; local
[all...]
/PHP_TRUNK/ext/dba/
H A Ddba_inifile.c83 int res; local
91 res = inifile_append(dba, &ini_key, &ini_val TSRMLS_CC);
93 res = inifile_replace(dba, &ini_key, &ini_val TSRMLS_CC);
96 switch(res) {
126 int res; local
132 res = inifile_delete_ex(dba, &ini_key, &found TSRMLS_CC);
135 return (res == -1 || !found ? FAILURE : SUCCESS);
/PHP_TRUNK/ext/dba/libflatfile/
H A Dflatfile.c213 datum res; local
234 res.dptr = buf;
235 res.dsize = num;
236 return res;
252 res.dptr = NULL;
253 res.dsize = 0;
254 return res;
261 datum res; local
294 res.dptr = buf;
295 res
[all...]
/PHP_TRUNK/ext/intl/
H A Dintl_convertcpp.cpp51 * faster than doing intl_convert_utf16_to_utf8(&res, &res_len,
54 int intl_charFromString(const UnicodeString &from, char **res, int *res_len, UErrorCode *status) argument
65 *res = (char*)emalloc(1);
66 **res = '\0';
71 *res = (char*)emalloc(capacity);
76 u_strToUTF8WithSub(*res, capacity - 1, &actual_len, utf16buf, from.length(),
80 efree(*res);
81 *res = NULL;
84 (*res)[actual_len] = '\0';
H A Dintl_convertcpp.h30 int intl_charFromString(const UnicodeString &from, char **res, int *res_len, UErrorCode *status);
/PHP_TRUNK/ext/odbc/
H A Dbirdstep.c162 #define PHP_GET_BIRDSTEP_RES_IDX(id) if (!(res = birdstep_find_result(list, id))) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Birdstep: Not result index (%ld)", id); RETURN_FALSE; }
177 Vresult *res = (Vresult *)rsrc->ptr; local
179 if ( res && res->values ) {
181 for ( i=0; i < res->numcols; i++ ) {
182 if ( res->values[i].value )
183 efree(res->values[i].value);
185 efree(res->values);
187 if ( res ) {
188 efree(res);
255 birdstep_add_result(HashTable *list,Vresult *res,VConn *conn) argument
268 Vresult *res; local
352 Vresult *res; local
430 Vresult *res; local
464 Vresult *res; local
557 Vresult *res; local
668 Vresult *res; local
691 Vresult *res; local
[all...]
/PHP_TRUNK/ext/sockets/
H A Dsendrecvmsg.c48 int res = WSAIoctl((SOCKET) sockfd, SIO_GET_EXTENSION_FUNCTION_POINTER, local
52 if (res != 0) {
175 ssize_t res; local
195 res = sendmsg(php_sock->bsd_socket, msghdr, (int)flags);
197 if (res != -1) {
201 RETURN_LONG((zend_long)res);
214 ssize_t res; local
238 res = recvmsg(php_sock->bsd_socket, msghdr, (int)flags);
240 if (res != -1) {
243 {KEY_RECVMSG_RET, sizeof(KEY_RECVMSG_RET), &res},
371 int res; local
[all...]
/PHP_TRUNK/ext/standard/
H A Dphp_dns.h27 #define php_dns_search(res, dname, class, type, answer, anslen) \
28 ((int)dns_search(res, dname, class, type, answer, anslen, (struct sockaddr *)&from, &fromsize))
29 #define php_dns_free_handle(res) \
30 dns_free(res)
33 #define php_dns_search(res, dname, class, type, answer, anslen) \
34 res_nsearch(res, dname, class, type, answer, anslen);
35 #define php_dns_free_handle(res) \
36 res_nclose(res); \
37 php_dns_free_res(*res)
40 #define php_dns_search(res, dnam
[all...]
/PHP_TRUNK/ext/mbstring/
H A Dmb_gpc.h50 const mbfl_encoding *_php_mb_encoding_handler_ex(const php_mb_encoding_handler_info_t *info, zval *arg, char *res TSRMLS_DC);
/PHP_TRUNK/win32/
H A Dsendmail.c388 int res; local
416 if ((res = Post(Buffer)) != SUCCESS) {
418 if ((res = Post(Buffer)) != SUCCESS) {
419 return (res);
422 if ((res = Ack(&server_response)) != SUCCESS) {
424 return (res);
429 if ((res = Post(Buffer)) != SUCCESS) {
430 return (res);
432 if ((res = Ack(&server_response)) != SUCCESS) {
444 if ((res
691 int res; local
771 int res, namelen; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_io.c150 struct addrinfo res; local
151 int fd = phpdbg_create_listenable_socket(interface, port, &res TSRMLS_CC);
157 if (bind(fd, res.ai_addr, res.ai_addrlen) == -1) {
172 struct addrinfo hints, *res = NULL; local
206 rc = getaddrinfo(addr, port_buf, &hints, &res);
208 rc = getaddrinfo(NULL, port_buf, &hints, &res);
238 if((sock = socket(res->ai_family, res->ai_socktype, res
[all...]

Completed in 56 milliseconds

123456