Home
last modified time | relevance | path

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

12345678910>>...12

/php-src/ext/dba/
H A Ddba_db3.c122 memset(&gkey, 0, sizeof(gkey));
126 memset(&gval, 0, sizeof(gval));
139 memset(&gkey, 0, sizeof(gkey));
143 memset(&gval, 0, sizeof(gval));
160 memset(&gkey, 0, sizeof(gkey));
164 memset(&gval, 0, sizeof(gval));
176 memset(&gkey, 0, sizeof(gkey));
204 memset(&gkey, 0, sizeof(gkey));
205 memset(&gval, 0, sizeof(gval));
H A Ddba_db4.c152 memset(&gkey, 0, sizeof(gkey));
156 memset(&gval, 0, sizeof(gval));
175 memset(&gkey, 0, sizeof(gkey));
179 memset(&gval, 0, sizeof(gval));
196 memset(&gkey, 0, sizeof(gkey));
200 memset(&gval, 0, sizeof(gval));
220 memset(&gkey, 0, sizeof(gkey));
249 memset(&gkey, 0, sizeof(gkey));
250 memset(&gval, 0, sizeof(gval));
H A Ddba_db1.c94 memset(&gval, 0, sizeof(gval)); in DBA_FETCH_FUNC()
145 memset(&gkey, 0, sizeof(gkey)); in DBA_FIRSTKEY_FUNC()
146 memset(&gval, 0, sizeof(gval)); in DBA_FIRSTKEY_FUNC()
160 memset(&gkey, 0, sizeof(gkey)); in DBA_NEXTKEY_FUNC()
161 memset(&gval, 0, sizeof(gval)); in DBA_NEXTKEY_FUNC()
/php-src/ext/hash/
H A Dhash_murmur.c116 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3CInit()
119 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3CInit()
122 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3CInit()
124 memset(&ctx->carry, 0, sizeof ctx->carry); in PHP_MURMUR3CInit()
193 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3FInit()
196 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3FInit()
199 memset(&ctx->h, 0, sizeof ctx->h); in PHP_MURMUR3FInit()
201 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-src/ext/filter/
H A Dsanitizing_filters.c71 memset(tmp, 1, sizeof(tmp)-1); in php_filter_encode_url()
133 memset(map, 0, sizeof(filter_map)); in filter_map_init()
189 memset(enc, 1, 32); in php_filter_string()
192 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_string()
234 memset(enc, 1, 32); in php_filter_special_chars()
237 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_special_chars()
276 memset(enc, 1, 32); in php_filter_unsafe_raw()
279 memset(enc + 127, 1, sizeof(enc) - 127); in php_filter_unsafe_raw()
/php-src/ext/ffi/tests/
H A D009.phpt2 FFI 009: memcpy(), memcmp(), memset() and sizeof()
19 FFI::memset($a, -1, FFI::sizeof($a));
H A D010.phpt10 FFI::memset($a, ord("a"), FFI::sizeof($a));
H A D040.phpt28 FFI::memset($x, ord("a"), 4);
44 FFI::memset($y[0], ord("b"), 4);
/php-src/main/streams/
H A Dtransports.c209 memset(&param, 0, sizeof(param)); in php_stream_xport_bind()
240 memset(&param, 0, sizeof(param)); in php_stream_xport_connect()
270 memset(&param, 0, sizeof(param)); in php_stream_xport_listen()
299 memset(&param, 0, sizeof(param)); in php_stream_xport_accept()
335 memset(&param, 0, sizeof(param)); in php_stream_xport_get_name()
362 memset(&param, 0, sizeof(param)); in php_stream_xport_crypto_setup()
383 memset(&param, 0, sizeof(param)); in php_stream_xport_crypto_enable()
443 memset(&param, 0, sizeof(param)); in php_stream_xport_recvfrom()
489 memset(&param, 0, sizeof(param)); in php_stream_xport_sendto()
514 memset(&param, 0, sizeof(param)); in php_stream_xport_shutdown()
/php-src/ext/standard/
H A Dcrypt.c130 memset(output, 0, PHP_MAX_SALT_LEN + 1); in php_crypt()
144 memset(&buffer, 0, sizeof(buffer)); in php_crypt()
164 memset(&buffer, 0, sizeof(buffer)); in php_crypt()
217 memset(&salt[1], '$', PHP_MAX_SALT_LEN - 1); in PHP_FUNCTION()
/php-src/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-src/sapi/fuzzer/
H A Dfuzzer-sapi.c213 memset(&execute_data, 0, sizeof(zend_execute_data)); in fuzzer_setup_dummy_frame()
214 memset(&func, 0, sizeof(zend_function)); in fuzzer_setup_dummy_frame()
265 memset(file_handle.buf + data_len, 0, ZEND_MMAP_AHEAD); in fuzzer_do_request_from_buffer()
/php-src/main/
H A Dexplicit_bzero.c36 memset(dst, 0, siz); in php_explicit_bzero()
/php-src/ext/json/
H A Dphp_json_encoder.h33 memset(encoder, 0, sizeof(php_json_encoder)); in php_json_encode_init()
/php-src/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-src/ext/dom/lexbor/lexbor/html/
H A Dtoken_attr.c19 memset(attr, 0, sizeof(lxb_html_token_attr_t)); in lxb_html_token_attr_clean()
/php-src/sapi/fpm/fpm/events/
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 Dpoll.c81 memset(pollfds, 0, sizeof(struct pollfd) * max); in fpm_event_poll_init()
95 memset(active_pollfds, 0, sizeof(struct pollfd) * max); in fpm_event_poll_init()
/php-src/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-src/ext/com_dotnet/
H A Dcom_misc.c51 memset(obj, 0, sizeof(*obj)); in php_com_wrap_dispatch()
73 memset(obj, 0, sizeof(*obj)); in php_com_wrap_variant()
/php-src/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-src/win32/
H A Dglobals.c30 memset(wg, 0, sizeof(*wg)); in php_win32_core_globals_ctor()
/php-src/ext/mysqlnd/
H A Dmysqlnd_result_meta.c132 memset(new_meta, 0, sizeof(MYSQLND_RES_METADATA)); in MYSQLND_METHOD()
139 memset(new_fields, 0, (meta->field_count + 1) * sizeof(MYSQLND_FIELD)); in MYSQLND_METHOD()
291 memset(ret, 0, alloc_size); in mysqlnd_result_meta_init()
298 memset(ret->fields, 0, alloc_size); in mysqlnd_result_meta_init()

Completed in 32 milliseconds

12345678910>>...12