/php-src/ext/dba/ |
H A D | dba_db3.c | 122 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 D | dba_db4.c | 152 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 D | dba_db1.c | 94 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 D | hash_murmur.c | 116 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 D | hash_tiger.c | 141 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 D | sanitizing_filters.c | 71 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 D | 009.phpt | 2 FFI 009: memcpy(), memcmp(), memset() and sizeof() 19 FFI::memset($a, -1, FFI::sizeof($a));
|
H A D | 010.phpt | 10 FFI::memset($a, ord("a"), FFI::sizeof($a));
|
H A D | 040.phpt | 28 FFI::memset($x, ord("a"), 4); 44 FFI::memset($y[0], ord("b"), 4);
|
/php-src/main/streams/ |
H A D | transports.c | 209 memset(¶m, 0, sizeof(param)); in php_stream_xport_bind() 240 memset(¶m, 0, sizeof(param)); in php_stream_xport_connect() 270 memset(¶m, 0, sizeof(param)); in php_stream_xport_listen() 299 memset(¶m, 0, sizeof(param)); in php_stream_xport_accept() 335 memset(¶m, 0, sizeof(param)); in php_stream_xport_get_name() 362 memset(¶m, 0, sizeof(param)); in php_stream_xport_crypto_setup() 383 memset(¶m, 0, sizeof(param)); in php_stream_xport_crypto_enable() 443 memset(¶m, 0, sizeof(param)); in php_stream_xport_recvfrom() 489 memset(¶m, 0, sizeof(param)); in php_stream_xport_sendto() 514 memset(¶m, 0, sizeof(param)); in php_stream_xport_shutdown()
|
/php-src/ext/standard/ |
H A D | crypt.c | 130 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 D | fpm_signals.c | 204 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 D | fuzzer-sapi.c | 213 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 D | explicit_bzero.c | 36 memset(dst, 0, siz); in php_explicit_bzero()
|
/php-src/ext/json/ |
H A D | php_json_encoder.h | 33 memset(encoder, 0, sizeof(php_json_encoder)); in php_json_encode_init()
|
/php-src/ext/gd/libgd/ |
H A D | gdhelpers.c | 19 memset (separators, 0, sizeof (separators)); in gd_strtok_r()
|
H A D | gd_jpeg.c | 185 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 D | token_attr.c | 19 memset(attr, 0, sizeof(lxb_html_token_attr_t)); in lxb_html_token_attr_clean()
|
/php-src/sapi/fpm/fpm/events/ |
H A D | epoll.c | 82 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 D | poll.c | 81 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 D | zend_stream.c | 64 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 D | com_misc.c | 51 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 D | pcre2_serialize.c | 142 (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 D | globals.c | 30 memset(wg, 0, sizeof(*wg)); in php_win32_core_globals_ctor()
|
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_result_meta.c | 132 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()
|