Home
last modified time | relevance | path

Searched refs:memset (Results 1 – 25 of 270) sorted by relevance

1234567891011

/PHP-8.1/ext/dba/
H A Ddba_db1.c98 memset(&gval, 0, sizeof(gval)); in DBA_FETCH_FUNC()
141 memset(&gkey, 0, sizeof(gkey)); in DBA_FIRSTKEY_FUNC()
142 memset(&gval, 0, sizeof(gval)); in DBA_FIRSTKEY_FUNC()
157 memset(&gkey, 0, sizeof(gkey)); in DBA_NEXTKEY_FUNC()
158 memset(&gval, 0, sizeof(gval)); in DBA_NEXTKEY_FUNC()
H A Ddba_db3.c47 memset(&gkey, 0, sizeof(gkey)); \
133 memset(&gval, 0, sizeof(gval));
147 memset(&gval, 0, sizeof(gval));
164 memset(&gval, 0, sizeof(gval));
202 memset(&gkey, 0, sizeof(gkey));
203 memset(&gval, 0, sizeof(gval));
H A Ddba_db4.c61 memset(&gkey, 0, sizeof(gkey)); \
162 memset(&gval, 0, sizeof(gval));
182 memset(&gval, 0, sizeof(gval));
199 memset(&gval, 0, sizeof(gval));
245 memset(&gkey, 0, sizeof(gkey));
246 memset(&gval, 0, sizeof(gval));
/PHP-8.1/ext/filter/
H A Dsanitizing_filters.c70 memset(tmp, 1, sizeof(tmp)-1); in php_filter_encode_url()
132 memset(map, 0, sizeof(filter_map)); in filter_map_init()
188 memset(enc, 1, 32); in php_filter_string()
191 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_string()
233 memset(enc, 1, 32); in php_filter_special_chars()
236 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_special_chars()
275 memset(enc, 1, 32); in php_filter_unsafe_raw()
278 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_unsafe_raw()
/PHP-8.1/ext/hash/
H A Dhash_murmur.c109 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3CInit()
112 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3CInit()
114 memset(&ctx->carry, 0, sizeof ctx->carry); in PHP_MURMUR3CInit()
181 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3FInit()
184 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3FInit()
186 memset(&ctx->carry, 0, sizeof ctx->carry); in PHP_MURMUR3FInit()
H A Dhash_tiger.c141 memset(&context->buffer[context->length], 0, 8-context->length%8); in TigerFinalize()
146 memset(&context->buffer[context->length], 0, 64 - context->length); in TigerFinalize()
148 memset(context->buffer, 0, 56); in TigerFinalize()
150 memset(&context->buffer[context->length], 0, 56 - context->length); in TigerFinalize()
179 memset(context, 0, sizeof(*context)); in PHP_3TIGERInit()
187 memset(context, 0, sizeof(*context)); in PHP_4TIGERInit()
/PHP-8.1/ext/ffi/tests/
H A D009.phpt2 FFI 009: memcpy(), memcmp(), memset() and sizeof()
17 FFI::memset($a, -1, FFI::sizeof($a));
H A D010.phpt10 FFI::memset($a, ord("a"), FFI::sizeof($a));
H A D040.phpt26 FFI::memset($x, ord("a"), 4);
42 FFI::memset($y[0], ord("b"), 4);
/PHP-8.1/main/streams/
H A Dtransports.c204 memset(&param, 0, sizeof(param)); in php_stream_xport_bind()
235 memset(&param, 0, sizeof(param)); in php_stream_xport_connect()
265 memset(&param, 0, sizeof(param)); in php_stream_xport_listen()
294 memset(&param, 0, sizeof(param)); in php_stream_xport_accept()
330 memset(&param, 0, sizeof(param)); in php_stream_xport_get_name()
357 memset(&param, 0, sizeof(param)); in php_stream_xport_crypto_setup()
378 memset(&param, 0, sizeof(param)); in php_stream_xport_crypto_enable()
438 memset(&param, 0, sizeof(param)); in php_stream_xport_recvfrom()
484 memset(&param, 0, sizeof(param)); in php_stream_xport_sendto()
509 memset(&param, 0, sizeof(param)); in php_stream_xport_shutdown()
/PHP-8.1/ext/standard/
H A Dcrypt.c142 memset(output, 0, PHP_MAX_SALT_LEN + 1); in php_crypt()
156 memset(&buffer, 0, sizeof(buffer)); in php_crypt()
176 memset(&buffer, 0, sizeof(buffer)); in php_crypt()
217 memset(&salt[1], '$', PHP_MAX_SALT_LEN - 1); in PHP_FUNCTION()
/PHP-8.1/ext/bcmath/libbcmath/src/
H A Ddiv.c52 memset (result, 0, size); in _one_mult()
105 memset (&qval->n_value[n1->n_len],0,scale); in bc_divide()
126 memset (num1, 0, n1->n_len+n1->n_scale+extra+2); in bc_divide()
157 memset (qval->n_value, 0, qdigits); in bc_divide()
/PHP-8.1/ext/fileinfo/
H A Dconfig.m430 memset(s0, 'X', 42);
34 memset(s1, 'x', 8);
/PHP-8.1/sapi/fpm/fpm/
H A Dfpm_signals.c204 memset(&act, 0, sizeof(act)); in fpm_signals_init_main()
230 memset(&act, 0, sizeof(act)); in fpm_signals_init_child()
231 memset(&act_dfl, 0, sizeof(act_dfl)); in fpm_signals_init_child()
/PHP-8.1/main/
H A Dexplicit_bzero.c36 memset(dst, 0, siz); in php_explicit_bzero()
/PHP-8.1/ext/json/
H A Dphp_json_encoder.h33 memset(encoder, 0, sizeof(php_json_encoder)); in php_json_encode_init()
/PHP-8.1/sapi/fpm/fpm/events/
H A Dkqueue.c88 memset(kevents, 0, sizeof(struct kevent) * max); in fpm_event_kqueue_init()
121 memset(kevents, 0, sizeof(struct kevent) * nkevents); in fpm_event_kqueue_wait()
H A Depoll.c82 memset(epollfds, 0, sizeof(struct epoll_event) * max); in fpm_event_epoll_init()
119 memset(epollfds, 0, sizeof(struct epoll_event) * nepollfds); in fpm_event_epoll_wait()
H A Ddevpoll.c89 memset(pollfds, 0, sizeof(struct pollfd) * max); in fpm_event_devpoll_init()
103 memset(active_pollfds, 0, sizeof(struct pollfd) * max); in fpm_event_devpoll_init()
/PHP-8.1/ext/gd/libgd/
H A Dgdhelpers.c19 memset (separators, 0, sizeof (separators)); in gd_strtok_r()
H A Dgd_jpeg.c185 memset (&cinfo, 0, sizeof (cinfo)); in _gdImageJpegCtx()
186 memset (&jerr, 0, sizeof (jerr)); in _gdImageJpegCtx()
224 memset(row, 0, cinfo.image_width * cinfo.input_components * sizeof(JSAMPLE)); in _gdImageJpegCtx()
350 memset (&cinfo, 0, sizeof (cinfo)); in gdImageCreateFromJpegCtxEx()
351 memset (&jerr, 0, sizeof (jerr)); in gdImageCreateFromJpegCtxEx()
468 memset(row, 0, cinfo.output_width * channels * sizeof(JSAMPLE)); in gdImageCreateFromJpegCtxEx()
617 memset(src->buffer, 0, INPUT_BUF_SIZE); in fill_input_buffer()
/PHP-8.1/Zend/
H A Dzend_stream.c64 memset(handle, 0, sizeof(zend_file_handle)); in zend_stream_init_fp()
71 memset(handle, 0, sizeof(zend_file_handle)); in zend_stream_init_filename()
77 memset(handle, 0, sizeof(zend_file_handle)); in zend_stream_init_filename_ex()
205 memset(file_handle->buf + file_handle->len, 0, ZEND_MMAP_AHEAD); in zend_stream_fixup()
/PHP-8.1/ext/com_dotnet/
H A Dcom_misc.c51 memset(obj, 0, sizeof(*obj)); in php_com_wrap_dispatch()
74 memset(obj, 0, sizeof(*obj)); in php_com_wrap_variant()
/PHP-8.1/ext/pcre/pcre2lib/
H A Dpcre2_serialize.c142 (void)memset(dst_bytes + offsetof(pcre2_real_code, memctl), 0, in pcre2_serialize_encode()
144 (void)memset(dst_bytes + offsetof(pcre2_real_code, tables), 0, in pcre2_serialize_encode()
146 (void)memset(dst_bytes + offsetof(pcre2_real_code, executable_jit), 0, in pcre2_serialize_encode()
/PHP-8.1/win32/
H A Dglobals.c30 memset(wg, 0, sizeof(*wg)); in php_win32_core_globals_ctor()

Completed in 50 milliseconds

1234567891011