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

123456789

/PHP_5_3/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_3/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_3/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 Dfastcgi.c52 DWORD ret; \
53 while ((ret = WaitForSingleObject(fcgi_accept_mutex, 1000)) == WAIT_TIMEOUT) { \
56 if (ret == WAIT_FAILED) { \
301 int ret; local
308 ret = write(req->fd, ((char*)buf)+n, count-n);
310 ret = send(req->fd, ((char*)buf)+n, count-n, 0);
311 if (ret <= 0) {
316 ret = write(req->fd, ((char*)buf)+n, count-n);
318 if (ret > 0) {
319 n += ret;
329 int ret; local
377 size_t ret = 0; local
400 int ret = 1; local
432 int ret = 1; local
664 int ret, n, rest; local
845 int ret; local
1038 int ret = 1; local
1068 char **ret; local
[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_3/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_3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_convert.c434 int mode_backup, ret, n, m, r; local
436 ret = 0;
441 ret = (*filter->filter_function)(filter->illegal_substchar, filter);
446 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"U+");
452 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"JIS+");
455 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"JIS2+");
458 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"W932+");
461 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"I8859_1+");
464 ret = mbfl_convert_filter_strcat(filter, (const unsigned char *)"?+");
469 ret
[all...]
/PHP_5_3/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_3/ext/dom/
H A Ddom_iterators.c61 xmlEntityPtr ret; local
63 ret = (xmlEntityPtr) xmlMalloc(sizeof(xmlEntity));
64 memset(ret, 0, sizeof(xmlEntity));
65 ret->type = XML_NOTATION_NODE;
66 ret->name = xmlStrdup(name);
67 ret->ExternalID = xmlStrdup(ExternalID);
68 ret->SystemID = xmlStrdup(SystemID);
69 ret->length = 0;
70 ret->content = NULL;
71 ret
201 int ret, previndex=0; local
276 int ret, curindex = 0; local
[all...]
/PHP_5_3/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.c61 int ret; local
79 ret = php_sys_readlink(link, buff, MAXPATHLEN-1);
81 if (ret == -1) {
86 buff[ret] = '\0';
100 int ret; local
114 ret = VCWD_LSTAT(link, &sb);
115 if (ret == -1) {
132 int ret; local
189 ret = symlink(topath, source_p);
191 if (ret
206 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_3/main/
H A Dphp_sprintf.c34 int ret; local
38 ret = vsprintf (s, format, args);
40 return (ret < 0) ? -1 : ret;
/PHP_5_3/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_3/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_3/ext/mysqlnd/
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...]
H A Dmysqlnd_debug.c100 enum_func_status ret; local
178 ret = php_stream_write(self->stream, message_line, message_line_len)? PASS:FAIL;
184 return ret;
198 enum_func_status ret; local
281 ret = php_stream_write(self->stream, message_line, message_line_len)? PASS:FAIL;
288 return ret;
764 MYSQLND_DEBUG *ret = ecalloc(1, sizeof(MYSQLND_DEBUG)); variable
766 ret->TSRMLS_C = TSRMLS_C;
768 ret->nest_level_limit = 0;
769 ret
821 void *ret; local
854 void *ret; local
889 void *ret; local
922 void *ret; local
957 void *ret; local
990 void *ret; local
1076 void *ret; local
1107 void *ret; local
1138 void *ret; local
1201 char * ret; local
1231 char * ret; local
[all...]

Completed in 120 milliseconds

123456789