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

12345678910

/PHP_5_4/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_4/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_4/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_4/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_4/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_4/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_4/ext/zip/lib/
H A Dzip_add_dir.c51 zip_int64_t ret;
83 ret = _zip_replace(za, -1, s ? s : name, source);
86 if (ret < 0)
89 return ret;
49 zip_int64_t ret; local
H A Dzip_fclose.c47 int i, ret;
60 ret = 0;
62 ret = zf->error.zip_err;
65 return ret;
45 int i, ret; local
H A Dzip_memdup.c45 void *ret;
47 ret = malloc(len);
48 if (!ret) {
53 memcpy(ret, mem, len);
55 return ret;
44 void *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_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, i;
49 ret = 0;
51 ret |= _zip_unchange(za, i, 1);
53 ret |= zip_unchange_archive(za);
55 return ret;
45 int ret, i; local
/PHP_5_4/ext/intl/transliterator/
H A Dtransliterator.c57 smart_str ret = {0}; local
65 smart_str_appends( &ret, "parse error " );
68 smart_str_appends( &ret, "on line " );
69 smart_str_append_long( &ret, (long ) pe->line );
74 smart_str_appends( &ret, ", " );
76 smart_str_appends( &ret, "at " );
78 smart_str_appends( &ret, "offset " );
79 smart_str_append_long( &ret, (long ) pe->offset );
85 smart_str_appends( &ret, ", " );
87 smart_str_appends( &ret, "afte
[all...]
/PHP_5_4/ext/standard/
H A Dflock_compat.c51 int ret; local
67 ret = fcntl(fd, operation & LOCK_NB ? F_SETLK : F_SETLKW, &flck);
69 if (operation & LOCK_NB && ret == -1 &&
73 if (ret != -1) ret = 0;
75 return ret;
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"))) {
198 ret
[all...]
/PHP_5_4/main/
H A Dphp_sprintf.c34 int ret; local
38 ret = vsprintf (s, format, args);
40 return (ret < 0) ? -1 : ret;
/PHP_5_4/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_4/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...]
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_alloc.c79 void *ret; local
97 ret = emalloc(REAL_SIZE(size));
101 ret = NULL;
105 DBG_INF_FMT("size=%lu ptr=%p", size, ret);
107 if (ret && collect_memory_statistics) {
108 *(size_t *) ret = size;
111 DBG_RETURN(FAKE_PTR(ret));
119 void *ret; local
136 ret = pemalloc(REAL_SIZE(size), persistent);
140 ret
161 void *ret; local
201 void *ret; local
243 void *ret; local
283 void *ret; local
386 void *ret; local
424 void *ret; local
462 void *ret; local
537 char * ret; local
572 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...]

Completed in 13 milliseconds

12345678910