Searched refs:res (Results 1 - 25 of 141) 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/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/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/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/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);
/PHP_TRUNK/ext/intl/
H A Dintl_convertcpp.h30 int intl_charFromString(const UnicodeString &from, char **res, size_t *res_len, UErrorCode *status);
H A Dintl_convertcpp.cpp56 * faster than doing intl_convert_utf16_to_utf8(&res, &res_len,
59 int intl_charFromString(const UnicodeString &from, char **res, size_t *res_len, UErrorCode *status) argument
70 *res = (char*)emalloc(1);
71 **res = '\0';
76 *res = (char*)emalloc(capacity);
81 u_strToUTF8WithSub(*res, capacity - 1, &actual_len, utf16buf, from.length(),
85 efree(*res);
86 *res = NULL;
89 (*res)[actual_len] = '\0';
/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);
H A Dzend_list.c47 ZEND_API int zend_list_delete(zend_resource *res) argument
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) argument
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) argument
69 ld = zend_hash_index_find_ptr(&list_destructors, res->type);
72 ld->list_dtor_ex(res);
75 zend_error(E_WARNING,"Unknown list entry type (%d)", res
82 zend_list_close(zend_resource *res) argument
101 zend_fetch_resource2(zend_resource *res, const char *resource_type_name, int resource_type1, int resource_type2) argument
120 zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource_type) argument
135 zend_fetch_resource_ex(zval *res, const char *resource_type_name, int resource_type) argument
156 zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type1, int resource_type2) argument
179 zend_resource *res = Z_RES_P(zv); local
190 zend_resource *res = Z_RES_P(zv); local
223 zend_resource *res = Z_PTR_P(zv); local
324 zend_rsrc_list_get_rsrc_type(zend_resource *res) argument
[all...]
H A Dzend_list.h30 typedef void (*rsrc_dtor_func_t)(zend_resource *res);
31 #define ZEND_RSRC_DTOR_FUNC(name) void name(zend_resource *res)
58 ZEND_API int zend_list_free(zend_resource *res);
59 ZEND_API int zend_list_delete(zend_resource *res);
60 ZEND_API int zend_list_close(zend_resource *res);
63 ZEND_API void *zend_fetch_resource(zend_resource *res, const char *resource_type_name, int resource_type);
64 ZEND_API void *zend_fetch_resource2(zend_resource *res, const char *resource_type_name, int resource_type, int resource_type2);
65 ZEND_API void *zend_fetch_resource_ex(zval *res, const char *resource_type_name, int resource_type);
66 ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2);
68 ZEND_API const char *zend_rsrc_list_get_rsrc_type(zend_resource *res);
[all...]
H A Dzend_multiply.h125 size_t res = nmemb; local
129 : "=&a"(res), "=&d" (m_overflow)
130 : "%0"(res),
139 return res;
146 size_t res = nmemb; local
158 : "=&a"(res), "=&d" (m_overflow)
159 : "%0"(res),
169 return res;
176 size_t res; local
180 : "=r"(res), "
198 size_t res; local
219 size_t res; local
243 uint64_t res = (uint64_t) nmemb * (uint64_t) size + (uint64_t) offset; local
257 size_t res = nmemb * size + offset; local
[all...]
/PHP_TRUNK/ext/com_dotnet/
H A Dcom_persist.c44 zend_resource *res; member in struct:__anon31
99 if (stm->res)
100 zend_list_delete(stm->res);
253 if (stm->res) {
254 zend_resource *res = stm->res; local
255 stm->res = NULL;
256 zend_list_delete(res);
264 zend_list_delete(stm->stream->res);
284 GC_REFCOUNT(stream->res)
340 HRESULT res; local
375 HRESULT res; local
438 HRESULT res; local
485 HRESULT res; local
517 HRESULT res; local
544 HRESULT res; local
604 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);
93 res = inifile_replace(dba, &ini_key, &ini_val);
96 switch(res) {
126 int res; local
132 res = inifile_delete_ex(dba, &ini_key, &found);
135 return (res == -1 || !found ? FAILURE : SUCCESS);
/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/dba/libflatfile/
H A Dflatfile.c202 datum res; local
221 res.dptr = buf;
222 res.dsize = num;
223 return res;
236 res.dptr = NULL;
237 res.dsize = 0;
238 return res;
245 datum res; local
274 res.dptr = buf;
275 res
[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
197 res = sendmsg(php_sock->bsd_socket, msghdr, (int)flags);
199 if (res != -1) {
203 RETURN_LONG((zend_long)res);
216 ssize_t res; local
242 res = recvmsg(php_sock->bsd_socket, msghdr, (int)flags);
244 if (res != -1) {
247 {KEY_RECVMSG_RET, sizeof(KEY_RECVMSG_RET), &res},
375 int res; local
[all...]
/PHP_TRUNK/win32/
H A Dsendmail.c366 int res; local
394 if ((res = Post(PW32G(mail_buffer))) != SUCCESS) {
400 if ((res = Post(PW32G(mail_buffer))) != SUCCESS) {
401 return (res);
404 if ((res = Ack(&server_response)) != SUCCESS) {
406 return (res);
411 if ((res = Post(PW32G(mail_buffer))) != SUCCESS) {
412 return (res);
414 if ((res = Ack(&server_response)) != SUCCESS) {
426 if ((res
673 int res; local
753 int res, namelen; local
[all...]
/PHP_TRUNK/sapi/phpdbg/
H A Dphpdbg_io.h31 PHPDBG_API int phpdbg_create_listenable_socket(const char *addr, unsigned short port, struct addrinfo *res);
/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, 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...]

Completed in 80 milliseconds

123456