Home
last modified time | relevance | path

Searched refs:zs (Results 1 – 13 of 13) sorted by relevance

/PHP-7.2/ext/zip/lib/
H A Dzip_source_layered.c53 zip_source_t *zs; in zip_source_layered_create() local
55 if ((zs=_zip_source_new(error)) == NULL) in zip_source_layered_create()
59 zs->src = src; in zip_source_layered_create()
60 zs->cb.l = cb; in zip_source_layered_create()
61 zs->ud = ud; in zip_source_layered_create()
63 zs->supports = cb(src, ud, NULL, 0, ZIP_SOURCE_SUPPORTS); in zip_source_layered_create()
64 if (zs->supports < 0) { in zip_source_layered_create()
65 zs->supports = ZIP_SOURCE_SUPPORTS_READABLE; in zip_source_layered_create()
68 return zs; in zip_source_layered_create()
H A Dzip_error_strerror.c45 const char *zs, *ss; in zip_error_strerror() local
52 zs = NULL; in zip_error_strerror()
56 zs = _zip_err_str[err->zip_err]; in zip_error_strerror()
73 return zs; in zip_error_strerror()
76 + (zs ? strlen(zs)+2 : 0) + 1)) == NULL) in zip_error_strerror()
80 (zs ? zs : ""), in zip_error_strerror()
81 (zs ? ": " : ""), in zip_error_strerror()
H A Dzip_source_function.c54 zip_source_t *zs; in zip_source_function_create() local
56 if ((zs=_zip_source_new(error)) == NULL) in zip_source_function_create()
59 zs->cb.f = zcb; in zip_source_function_create()
60 zs->ud = ud; in zip_source_function_create()
62 zs->supports = zcb(ud, NULL, 0, ZIP_SOURCE_SUPPORTS); in zip_source_function_create()
63 if (zs->supports < 0) { in zip_source_function_create()
64 zs->supports = ZIP_SOURCE_SUPPORTS_READABLE; in zip_source_function_create()
67 return zs; in zip_source_function_create()
H A Dzip_error_to_str.c46 const char *zs, *ss; in zip_error_to_str() local
51 zs = _zip_err_str[ze]; in zip_error_to_str()
67 zs, (ss ? ": " : ""), (ss ? ss : "")); in zip_error_to_str()
H A Dzip_close.c161 zip_source_t *zs; in zip_close() local
163 zs = NULL; in zip_close()
165 if ((zs=_zip_source_zip_new(za, za, i, ZIP_FL_UNCHANGED, 0, 0, NULL)) == NULL) { in zip_close()
172 if (add_data(za, zs ? zs : entry->source, de) < 0) { in zip_close()
174 if (zs) in zip_close()
175 zip_source_free(zs); in zip_close()
178 if (zs) in zip_close()
179 zip_source_free(zs); in zip_close()
H A Dzip_source_buffer.c88 zip_source_t *zs; in zip_source_buffer_create() local
110 if ((zs=zip_source_function_create(read_data, ctx, error)) == NULL) { in zip_source_buffer_create()
116 return zs; in zip_source_buffer_create()
H A Dzip_source_filep.c116 zip_source_t *zs; in _zip_source_file_or_p() local
165 if ((zs=zip_source_function_create(read_file, ctx, error)) == NULL) { in _zip_source_file_or_p()
171 return zs; in _zip_source_file_or_p()
H A Dzip_source_win32handle.c76 zip_source_t *zs; in _zip_source_win32_handle_or_name() local
132 if ((zs = zip_source_function_create(_win32_read_file, ctx, error)) == NULL) { in _zip_source_win32_handle_or_name()
138 return zs; in _zip_source_win32_handle_or_name()
/PHP-7.2/ext/zip/
H A Dphp_zip.c286 struct zip_source *zs; in php_zip_add_file() local
304 zs = zip_source_file(za, resolved_path, offset_start, offset_len); in php_zip_add_file()
305 if (!zs) { in php_zip_add_file()
308 if (zip_file_add(za, entry_name, zs, ZIP_FL_OVERWRITE) < 0) { in php_zip_add_file()
309 zip_source_free(zs); in php_zip_add_file()
1842 struct zip_source *zs; in ZIPARCHIVE_METHOD() local
1869 zs = zip_source_buffer(intern, ze_obj->buffers[pos], ZSTR_LEN(buffer), 0); in ZIPARCHIVE_METHOD()
1871 if (zs == NULL) { in ZIPARCHIVE_METHOD()
1879 zip_source_free(zs); in ZIPARCHIVE_METHOD()
1884 if (zip_add(intern, name, zs) == -1) { in ZIPARCHIVE_METHOD()
[all …]
/PHP-7.2/Zend/
H A Dzend_strtod.c2190 ULong si, z, zs; local
2230 zs = (si >> 16) * q + (ys >> 16);
2231 carry = zs >> 16;
2234 z = (*bx >> 16) - (zs & 0xffff) - borrow;
2271 zs = (si >> 16) + (ys >> 16);
2272 carry = zs >> 16;
2275 z = (*bx >> 16) - (zs & 0xffff) - borrow;
/PHP-7.2/ext/sodium/
H A Dlibsodium.c33 #define PHP_SODIUM_ZSTR_TRUNCATE(zs, len) do { ZSTR_LEN(zs) = (len); } while(0) argument
/PHP-7.2/ext/spl/
H A Dspl_directory.c244 #define IS_SLASH_AT(zs, pos) (IS_SLASH(zs[pos])) argument
/PHP-7.2/ext/hash/tests/
H A Dfnv1a64.phpt248 array( 'fk"2juHFd6\\Jxq8Ddr7+CYLBul@ #atjMv|8lF^Q]<|V/6zs', '7313e5cd61f71972' ),

Completed in 89 milliseconds