Searched refs:rv (Results 1 - 25 of 37) sorted by relevance

12

/PHP_5_5/ext/fileinfo/libmagic/
H A Dencoding.c71 int rv = 1, ucs_type; local
130 rv = 0;
138 return rv;
H A Dcompress.c107 int rv = 0; local
123 rv = -1;
139 rv = 1;
147 return rv;
156 ssize_t rv; local
160 switch (rv = write(fd, buf, n)) {
166 n -= rv;
167 buf = CAST(const char *, buf) + rv;
181 ssize_t rv; local
227 switch ((rv
[all...]
H A Dmagic.c351 int rv = -1; local
378 rv = 0;
396 rv = 0;
415 rv = 0;
424 return rv == 0 ? file_getbuffer(ms) : NULL;
H A Dascmagic.c76 int rv = 1; local
90 rv = 0;
92 rv = file_ascmagic_with_encoding(ms, buf, nbytes, ubuf, ulen, code,
97 return rv;
107 int rv = -1; local
133 rv = 0;
149 if ((rv = file_softmagic(ms, utf8_buf,
151 rv = -1;
192 rv = 0;
298 rv
[all...]
H A Dfuncs.c164 int m = 0, rv = 0, looks_text = 0; local
290 rv = -1;
296 rv = -1;
298 rv = -1;
301 if (rv)
302 return rv;
H A Dsoftmagic.c82 int rv, printed_something = 0, need_separator = 0; local
84 if ((rv = match(ms, ml->magic, ml->nmagic, buf, nbytes, 0, mode,
87 return rv;
1130 int rv, oneed_separator; local
1708 rv = file_softmagic(ms, s + offset, nbytes - offset,
1711 fprintf(stderr, "indirect @offs=%u[%d]\n", offset, rv);
1715 if (rv == 1) {
1733 return rv;
1751 rv = match(ms, ml.magic, ml.nmagic, s, nbytes, offset + o,
1754 if (rv !
[all...]
H A Dcdf.c95 uint16_t rv; local
97 uint8_t *d = (uint8_t *)(void *)&rv;
100 return rv;
109 uint32_t rv; local
111 uint8_t *d = (uint8_t *)(void *)&rv;
116 return rv;
125 uint64_t rv; local
127 uint8_t *d = (uint8_t *)(void *)&rv;
136 return rv;
146 uint32_t rv; local
[all...]
/PHP_5_5/ext/gd/libgd/
H A Dgd_gd.c274 void *rv; local
277 rv = gdDPExtractData(out, size);
279 return rv;
H A Dgd_gif_in.c348 int rv; local
351 rv = GetDataBlock_(fd,buf, ZeroDataBlockP);
354 if (rv > 0) {
355 tmp = safe_emalloc(3 * rv, sizeof(char), 1);
356 for (i=0;i<rv;i++) {
362 php_gd_error_ex(E_NOTICE, "[GetDataBlock returning %d: %s]", rv, tmp);
365 return(rv);
412 int rv; local
414 rv = GetCode_(fd, scd, code_size,flag, ZeroDataBlockP);
415 if (VERBOSE) printf("[GetCode(,%d,%d) returning %d]\n",code_size,flag,rv);
537 int rv; local
[all...]
H A Dgd_gif_out.c102 void *rv; local
105 rv = gdDPExtractData (out, size);
107 return rv;
H A Dgd_io_dp.c255 int rv; local
257 rv = dynamicGetbuf (ctx, &b, 1);
258 if (rv != 1) {
H A Dgd_wbmp.c203 void *rv; local
206 rv = gdDPExtractData(out, size);
209 return rv;
H A Dgd_png.c436 void *rv; local
439 rv = gdDPExtractData(out, size);
442 return rv;
447 void *rv; local
450 rv = gdDPExtractData(out, size);
452 return rv;
H A Dgd_webp.c124 void *rv; local
127 rv = gdDPExtractData(out, size);
130 return rv;
135 void *rv; local
138 rv = gdDPExtractData(out, size);
140 return rv;
/PHP_5_5/ext/intl/common/
H A Dcommon_date.cpp178 double rv = NAN; local
189 type = is_numeric_string(Z_STRVAL_P(z), Z_STRLEN_P(z), &lv, &rv, 0);
191 rv *= U_MILLIS_PER_SECOND;
193 rv = U_MILLIS_PER_SECOND * (double)lv;
204 rv = U_MILLIS_PER_SECOND * (double)Z_LVAL_P(z);
207 rv = U_MILLIS_PER_SECOND * Z_DVAL_P(z);
211 intl_datetime_decompose(z, &rv, NULL, err, func TSRMLS_CC);
223 rv = (double)co->ucal->getTime(status);
248 return rv;
/PHP_5_5/Zend/
H A Dzend_strtod.c479 Bigint *rv; local
486 if ((rv = freelist[k])) {
487 freelist[k] = rv->next;
490 rv = (Bigint *)MALLOC(sizeof(Bigint) + (x-1)*sizeof(Long));
491 if (!rv) {
495 rv->k = k;
496 rv->maxwds = x;
499 rv->sign = rv->wds = 0;
500 return rv;
536 char *rv, *t; local
2045 volatile _double rv, rv0; local
[all...]
H A Dzend_object_handlers.c427 zval *rv = NULL; local
470 rv = zend_std_call_getter(object, member TSRMLS_CC);
473 if (rv) {
474 retval = &rv;
475 if (!Z_ISREF_P(rv) &&
477 if (Z_REFCOUNT_P(rv) > 0) {
478 zval *tmp = rv;
480 ALLOC_ZVAL(rv);
481 *rv = *tmp;
482 zval_copy_ctor(rv);
1444 zval *rv; local
[all...]
/PHP_5_5/ext/spl/
H A Dspl_functions.c138 char *rv; local
140 zend_mangle_property_name(&rv, name_len, ce->name, ce->name_length, prop_name, prop_len, 0);
142 return rv;
H A Dspl_fixedarray.c380 zval *rv; local
386 zend_call_method_with_1_params(&object, intern->std.ce, &intern->fptr_offset_get, "offsetGet", &rv, offset);
388 if (rv) {
391 ZVAL_ZVAL(intern->retval, rv, 1, 1);
535 zval *rv; local
537 zend_call_method_with_1_params(&object, intern->std.ce, &intern->fptr_offset_has, "offsetExists", &rv, offset);
539 if (rv) {
542 ZVAL_ZVAL(intern->retval, rv, 1, 1);
558 zval *rv; local
559 zend_call_method_with_0_params(&object, intern->std.ce, &intern->fptr_count, "count", &rv);
[all...]
H A Dspl_observer.c115 zval *rv; local
116 zend_call_method_with_1_params(&this, intern->std.ce, &intern->fptr_get_hash, "getHash", &rv, obj);
117 if (rv) {
118 if (Z_TYPE_P(rv) == IS_STRING) {
119 int hash_len = Z_STRLEN_P(rv);
121 strncpy(hash, Z_STRVAL_P(rv), hash_len);
124 zval_ptr_dtor(&rv);
132 zval_ptr_dtor(&rv);
H A Dspl_array.c383 zval *rv; local
389 zend_call_method_with_1_params(&object, Z_OBJCE_P(object), &intern->fptr_offset_get, "offsetGet", &rv, offset);
391 if (rv) {
394 ZVAL_ZVAL(intern->retval, rv, 1, 1);
596 zval *rv, **tmp; local
600 zend_call_method_with_1_params(&object, Z_OBJCE_P(object), &intern->fptr_offset_has, "offsetExists", &rv, offset);
602 if (rv && zend_is_true(rv)) {
603 zval_ptr_dtor(&rv);
606 if (rv) {
1407 zval *rv; local
[all...]
/PHP_5_5/sapi/nsapi/
H A Dnsapi.c334 int uri_len,rv; local
369 rv = (*nsapi_servact_uri2path)(rc->sn, rq);
370 if (rv != REQ_PROCEED) {
374 rv = (*nsapi_servact_pathchecks)(rc->sn, rq);
375 if (rv != REQ_PROCEED) {
379 rv = (*nsapi_servact_fileinfo)(rc->sn, rq);
380 if (rv != REQ_PROCEED) {
384 rv = (*nsapi_servact_service)(rc->sn, rq);
385 } while (rv == REQ_RESTART);
/PHP_5_5/ext/simplexml/
H A Dsimplexml.c1036 static void sxe_properties_add(HashTable *rv, char *name, int namelen, zval *value TSRMLS_DC) /* {{{ */ argument
1042 if (zend_hash_quick_find(rv, name, namelen, h, (void **) &data_ptr) == SUCCESS) {
1053 zend_hash_quick_update(rv, name, namelen, h, &newptr, sizeof(zval *), NULL);
1056 zend_hash_quick_update(rv, name, namelen, h, &value, sizeof(zval *), NULL);
1065 HashTable *rv; local
1080 ALLOC_HASHTABLE(rv);
1081 zend_hash_init(rv, 0, NULL, ZVAL_PTR_DTOR, 0);
1085 rv = sxe->properties;
1087 ALLOC_HASHTABLE(rv);
1088 zend_hash_init(rv,
1809 int rv; local
1906 zval *rv; local
2138 zend_object_value rv; local
[all...]
/PHP_5_5/win32/
H A Dglob.c232 int rv; local
239 if (!globexp2(ptr, pattern, pglob, &rv))
240 return rv;
252 globexp2(ptr, pattern, pglob, rv)
255 int *rv;
291 *rv = glob0(patbuf, pglob);
339 *rv = globexp1(patbuf, pglob);
350 *rv = 0;
/PHP_5_5/sapi/litespeed/
H A Dlsapilib.c794 int rv; local
804 rv = lsapi_jailLVE( pReq, uid, pw );
805 if ( rv == -1 )
807 if (( rv == 1 )&&(s_enable_lve == LSAPI_CAGEFS_NO_SUEXEC )) //this mode only use cageFS, does not use suEXEC
827 rv = setgid(gid);
828 if (rv == -1)
835 rv = initgroups( pw->pw_name, gid );
836 if (rv == -1)
844 rv = setgroups(1, &gid);
845 if (rv
[all...]

Completed in 36 milliseconds

12