Searched refs:ret (Results 1 - 25 of 251) sorted by relevance

1234567891011

/PHP_5_6/ext/sqlite3/tests/
H A Dstream_test.inc17 $ret = substr(self::$string, $this->position, $count);
18 $this->position += strlen($ret);
19 return $ret;
/PHP_5_6/ext/zip/lib/
H A Dzip_memdup.c45 void *ret;
50 ret = malloc(len);
51 if (!ret) {
56 memcpy(ret, mem, len);
58 return ret;
44 void *ret; local
H A Dzip_source_read.c45 zip_int64_t ret;
55 ret = src->cb.l(src->src, src->ud, data, len, ZIP_SOURCE_READ);
57 if (ret < 0) {
58 if (ret == ZIP_SOURCE_ERR_LOWER)
65 return ret;
43 zip_int64_t ret; local
H A Dzip_source_stat.c45 zip_int64_t ret;
63 ret = src->cb.l(src->src, src->ud, st, sizeof(*st), ZIP_SOURCE_STAT);
65 if (ret < 0) {
66 if (ret == ZIP_SOURCE_ERR_LOWER)
43 zip_int64_t ret; local
H A Dzip_unchange_all.c47 int ret;
50 ret = 0;
52 ret |= _zip_unchange(za, i, 1);
54 ret |= zip_unchange_archive(za);
56 return ret;
45 int ret; local
H A Dzip_fclose.c47 int ret;
63 ret = 0;
65 ret = zf->error.zip_err;
69 return ret;
45 int ret; local
H A Dzip_source_open.c45 zip_int64_t ret;
62 ret = src->cb.l(src->src, src->ud, NULL, 0, ZIP_SOURCE_OPEN);
64 if (ret < 0) {
67 if (ret == ZIP_SOURCE_ERR_LOWER)
43 zip_int64_t ret; local
H A Dzip_source_window.c85 zip_int64_t ret;
93 for (n=0; n<ctx->skip; n+=(zip_uint64_t)ret) {
95 if ((ret=zip_source_read(src, b, i)) < 0)
97 if (ret==0) {
112 if ((ret=zip_source_read(src, data, len)) < 0)
115 ctx->left -= (zip_uint64_t)ret;
117 if (ret == 0) {
124 return ret;
82 zip_int64_t ret; local
/PHP_5_6/sapi/fpm/fpm/
H A Dfpm_arrays.h50 char *ret; local
52 ret = (char *) a->data + a->sz * n;
54 return ret;
66 int ret = -1; local
74 ret = n;
79 return ret;
85 void *ret; local
99 ret = fpm_array_item(a, a->used);
103 return ret;
H A Dfpm_clock.c66 kern_return_t ret; local
69 ret = host_get_clock_service(mach_host_self(), REALTIME_CLOCK, &mach_clock);
71 if (ret != KERN_SUCCESS) {
72 zlog(ZLOG_ERROR, "host_get_clock_service() failed: %s", mach_error_string(ret));
77 ret = clock_get_time(mach_clock, &aTime);
79 if (ret != KERN_SUCCESS) {
80 zlog(ZLOG_ERROR, "clock_get_time() failed: %s", mach_error_string(ret));
90 kern_return_t ret; local
93 ret = clock_get_time(mach_clock, &aTime);
95 if (ret !
[all...]
H A Dfpm_worker_pool.c55 struct fpm_worker_pool_s *ret; local
57 ret = malloc(sizeof(struct fpm_worker_pool_s));
58 if (!ret) {
62 memset(ret, 0, sizeof(struct fpm_worker_pool_s));
64 ret->idle_spawn_rate = 1;
65 ret->log_fd = -1;
66 return ret;
/PHP_5_6/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c470 int mode_backup, ret, n, m, r; local
472 ret = 0;
477 ret = (*filter->filter_function)(filter->illegal_substchar, filter);
482 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"U+");
488 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"JIS+");
491 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"JIS2+");
494 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"JIS3+");
497 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"W932+");
500 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"GB+");
503 ret
[all...]
/PHP_5_6/ext/mbstring/libmbfl/tests/
H A Dsample.c16 mbfl_string string, result, *ret; local
33 ret = mbfl_buffer_converter_feed_result(convd, &string, &result);
36 puts(ret->val);
/PHP_5_6/ext/intl/
H A Dintl_convertcpp.cpp28 int intl_stringFromChar(UnicodeString &ret, char *str, int32_t str_len, UErrorCode *status) argument
35 UChar *utf16 = ret.getBuffer(capacity);
38 u_strFromUTF8WithSub(utf16, ret.getCapacity(), &utf16_len,
41 ret.releaseBuffer(utf16_len);
43 ret.setToBogus();
H A Dintl_error.c249 smart_str ret = {0}; local
257 smart_str_appends( &ret, "parse error " );
260 smart_str_appends( &ret, "on line " );
261 smart_str_append_long( &ret, (long ) pe->line );
266 smart_str_appends( &ret, ", " );
268 smart_str_appends( &ret, "at " );
270 smart_str_appends( &ret, "offset " );
271 smart_str_append_long( &ret, (long ) pe->offset );
277 smart_str_appends( &ret, ", " );
279 smart_str_appends( &ret, "afte
[all...]
/PHP_5_6/ext/intl/spoofchecker/
H A Dspoofchecker_main.c29 int ret; local
41 ret = uspoof_checkUTF8(co->uspoof, text, text_len, NULL, SPOOFCHECKER_ERROR_CODE_P(co));
50 ZVAL_LONG(error_code, ret);
52 RETVAL_BOOL(ret != 0);
61 int ret; local
74 ret = uspoof_areConfusableUTF8(co->uspoof, s1, s1_len, s2, s2_len, SPOOFCHECKER_ERROR_CODE_P(co));
83 ZVAL_LONG(error_code, ret);
85 RETVAL_BOOL(ret != 0);
/PHP_5_6/ext/intl/tests/
H A Dresourcebundle.inc6 $ret = "NULL\n";
9 $ret = print_r( $res, true ). "\n";
11 return $ret . sprintf( "%5d: %s\n", intl_get_error_code(), intl_get_error_message() );
/PHP_5_6/ext/mysqlnd/
H A Dmysqlnd_alloc.c79 void *ret; local
97 ret = _emalloc(REAL_SIZE(size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
101 ret = NULL;
105 TRACE_ALLOC_INF_FMT("size=%lu ptr=%p", size, ret);
107 if (ret && collect_memory_statistics) {
108 *(size_t *) ret = size;
111 TRACE_ALLOC_RETURN(FAKE_PTR(ret));
119 void *ret; local
137 ret = (persistent) ? __zend_malloc(REAL_SIZE(size)) : _emalloc(REAL_SIZE(size) ZEND_FILE_LINE_CC ZEND_FILE_LINE_ORIG_RELAY_CC);
141 ret
162 void *ret; local
203 void *ret; local
245 void *ret; local
286 void *ret; local
393 void *ret; local
432 void *ret; local
471 void *ret; local
548 char * ret; local
584 char * ret; local
[all...]
H A Dmysqlnd_block_alloc.c156 MYSQLND_MEMORY_POOL * ret = mnd_calloc(1, sizeof(MYSQLND_MEMORY_POOL)); local
158 if (ret) {
159 ret->get_chunk = mysqlnd_mempool_get_chunk;
160 ret->free_size = ret->arena_size = arena_size ? arena_size : 0;
161 ret->refcount = 0;
163 ret->arena = mnd_malloc(ret->arena_size);
164 if (!ret->arena) {
165 mysqlnd_mempool_destroy(ret TSRMLS_C
[all...]
/PHP_5_6/ext/standard/
H A Dlink.c60 int ret; local
70 ret = php_sys_readlink(link, buff, MAXPATHLEN-1);
72 if (ret == -1) {
77 buff[ret] = '\0';
91 int ret; local
105 ret = VCWD_LSTAT(link, &sb);
106 if (ret == -1) {
123 int ret; local
164 ret = symlink(topath, source_p);
166 if (ret
181 int ret; local
[all...]
H A Durl.c100 php_url *ret = ecalloc(1, sizeof(php_url)); local
123 ret->scheme = estrndup(s, (e - s));
124 php_replace_controlchars_ex(ret->scheme, (e - s));
145 ret->scheme = estrndup(s, (e-s));
146 php_replace_controlchars_ex(ret->scheme, (e - s));
152 ret->scheme = estrndup(s, (e-s));
153 php_replace_controlchars_ex(ret->scheme, (e - s));
157 if (!strncasecmp("file", ret->scheme, sizeof("file"))) {
169 if (!strncasecmp("file", ret->scheme, sizeof("file"))) {
194 ret
[all...]
/PHP_5_6/main/
H A Dphp_sprintf.c34 int ret; local
38 ret = vsprintf (s, format, args);
40 return (ret < 0) ? -1 : ret;
/PHP_5_6/main/streams/
H A Dmmap.c56 int ret = 1; local
59 ret = 0;
62 ret = 0;
65 return ret;
H A Dtransports.c202 int ret; local
210 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, &param);
212 if (ret == PHP_STREAM_OPTION_RETURN_OK) {
220 return ret;
233 int ret; local
243 ret = php_stream_set_option(stream, PHP_STREAM_OPTION_XPORT_API, 0, &param);
245 if (ret == PHP_STREAM_OPTION_RETURN_OK) {
255 return ret;
263 int ret; local
270 ret
292 int ret; local
329 int ret; local
357 int ret; local
378 int ret; local
402 int ret = 0; local
471 int ret = 0; local
510 int ret = 0; local
[all...]
/PHP_5_6/sapi/embed/
H A Dphp_embed.c50 long ret; local
52 ret = write(STDOUT_FILENO, str, str_length);
53 if (ret <= 0) return 0;
54 return ret;
56 size_t ret;
58 ret = fwrite(str, 1, MIN(str_length, 16384), stdout);
59 return ret;
68 size_t ret; local
71 ret = php_embed_single_write(ptr, remaining);
72 if (!ret) {
[all...]

Completed in 119 milliseconds

1234567891011