Home
last modified time | relevance | path

Searched refs:new_length (Results 1 – 25 of 32) sorted by relevance

12

/third_party/jerryscript/jerry-core/ecma/operations/
Decma-array-object.c277 uint32_t new_length = index + 1; in ecma_fast_array_set_property() local
279 JERRY_ASSERT (new_length < UINT32_MAX); in ecma_fast_array_set_property()
291 ext_obj_p->u.array.length = new_length; in ecma_fast_array_set_property()
295 values_p = ecma_fast_array_extend (object_p, new_length); in ecma_fast_array_set_property()
324 uint32_t new_length) /**< new length of the fast access mode array */ in ecma_fast_array_extend() argument
330 JERRY_ASSERT (old_length < new_length); in ecma_fast_array_extend()
336 const uint32_t new_length_aligned = ECMA_FAST_ARRAY_ALIGN_LENGTH (new_length); in ecma_fast_array_extend()
355 ext_obj_p->u.array.u.hole_count += (new_length - old_length) * ECMA_FAST_ARRAY_HOLE_ONE; in ecma_fast_array_extend()
356 ext_obj_p->u.array.length = new_length; in ecma_fast_array_extend()
410 … uint32_t new_length) /**< new length of the fast access mode array */ in ecma_delete_fast_array_properties() argument
[all …]
Decma-array-object.h90 ecma_delete_fast_array_properties (ecma_object_t *object_p, uint32_t new_length);
Decma-typedarray-object.c1179 uint32_t new_length; in ecma_op_create_typedarray() local
1180 if (ECMA_IS_VALUE_ERROR (ecma_op_to_length (arg3, &new_length))) in ecma_op_create_typedarray()
1185 if (new_length > (UINT32_MAX >> element_size_shift)) in ecma_op_create_typedarray()
1191 new_byte_length = (ecma_length_t) new_length << element_size_shift; in ecma_op_create_typedarray()
/third_party/boost/libs/asio/example/cpp03/chat/
Dchat_message.hpp59 void body_length(size_t new_length) in body_length() argument
61 body_length_ = new_length; in body_length()
/third_party/boost/doc/html/boost_asio/example/cpp03/chat/
Dchat_message.hpp59 void body_length(size_t new_length) in body_length() argument
61 body_length_ = new_length; in body_length()
/third_party/boost/doc/html/boost_asio/example/cpp11/chat/
Dchat_message.hpp59 void body_length(std::size_t new_length) in body_length() argument
61 body_length_ = new_length; in body_length()
/third_party/boost/libs/asio/example/cpp11/chat/
Dchat_message.hpp59 void body_length(std::size_t new_length) in body_length() argument
61 body_length_ = new_length; in body_length()
/third_party/skia/third_party/externals/brotli/c/enc/
Dentropy_encode.c416 size_t new_length = length; in BrotliWriteHuffmanTree() local
419 --new_length; in BrotliWriteHuffmanTree()
429 DecideOverRleUse(depth, new_length, in BrotliWriteHuffmanTree()
434 for (i = 0; i < new_length;) { in BrotliWriteHuffmanTree()
440 for (k = i + 1; k < new_length && depth[k] == value; ++k) { in BrotliWriteHuffmanTree()
/third_party/node/deps/brotli/c/enc/
Dentropy_encode.c416 size_t new_length = length; in BrotliWriteHuffmanTree() local
419 --new_length; in BrotliWriteHuffmanTree()
429 DecideOverRleUse(depth, new_length, in BrotliWriteHuffmanTree()
434 for (i = 0; i < new_length;) { in BrotliWriteHuffmanTree()
440 for (k = i + 1; k < new_length && depth[k] == value; ++k) { in BrotliWriteHuffmanTree()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
Dcord_rep_btree.h408 CordRepBtree* CopyBeginTo(size_t end, size_t new_length) const;
413 CordRepBtree* CopyToEndFrom(size_t begin, size_t new_length) const;
637 size_t new_length) const { in CopyToEndFrom() argument
641 tree->length = new_length; in CopyToEndFrom()
648 size_t new_length) const { in CopyBeginTo() argument
652 tree->length = new_length; in CopyBeginTo()
/third_party/libcoap/src/
Dpdu.c508 size_t new_length = 0; in coap_update_option() local
518 new_length = coap_opt_encode_size(decode.delta, len); in coap_update_option()
520 if (new_length > old_length) { in coap_update_option()
522 pdu->used_size + new_length - old_length)) in coap_update_option()
528 if (new_length != old_length) in coap_update_option()
529 memmove(&option[new_length], &option[old_length], in coap_update_option()
532 if (!coap_opt_encode(option, new_length, in coap_update_option()
536 pdu->used_size += new_length - old_length; in coap_update_option()
538 pdu->data += new_length - old_length; in coap_update_option()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-array-prototype.c237 uint32_t new_length = 0; in ecma_builtin_array_prototype_object_concat() local
241 &new_length, in ecma_builtin_array_prototype_object_concat()
254 …ecma_value_t concat_value = ecma_builtin_helper_array_concat_value (new_array_p, &new_length, args… in ecma_builtin_array_prototype_object_concat()
266 … ((ecma_number_t) new_length)); in ecma_builtin_array_prototype_object_concat()
497 uint32_t new_length = length + arguments_number; in ecma_builtin_array_prototype_object_push() local
499 ecma_value_t *buffer_p = ecma_fast_array_extend (obj_p, new_length) + length; in ecma_builtin_array_prototype_object_push()
508 return ecma_make_uint32_value (new_length); in ecma_builtin_array_prototype_object_push()
1559 uint32_t new_length = len + args_number; in ecma_builtin_array_prototype_object_unshift() local
1560 ecma_value_t *buffer_p = ecma_fast_array_extend (obj_p, new_length); in ecma_builtin_array_prototype_object_unshift()
1573 return ecma_make_uint32_value (new_length); in ecma_builtin_array_prototype_object_unshift()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-uniscribe.cc337 unsigned int length, new_length, name_str_len; in _hb_rename_font() local
350 new_length = name_table_offset + padded_name_table_length; in _hb_rename_font()
351 void *new_sfnt_data = hb_calloc (1, new_length); in _hb_rename_font()
412 return hb_blob_create ((const char *) new_sfnt_data, new_length, in _hb_rename_font()
Dhb-ot-cmap-table.hh484 uint16_t new_length = (uint16_t) hb_min ((uintptr_t) 65535, in sanitize() local
487 if (!c->try_set (&length, new_length)) in sanitize()
/third_party/boost/boost/container/
Dstring.hpp1799 size_type new_length = 0; in insert() local
1801 new_length += priv_uninitialized_copy in insert()
1803 new_length += priv_uninitialized_copy in insert()
1804 (first, last, new_start + new_length); in insert()
1805 new_length += priv_uninitialized_copy in insert()
1807 new_start + new_length); in insert()
1808 this->priv_construct_null(new_start + new_length); in insert()
1813 this->priv_long_size(new_length); in insert()
1919 const size_type new_length = old_size - num_erased; in erase() local
1920 this->priv_size(new_length); in erase()
[all …]
/third_party/python/Modules/
Dzlibmodule.c168 Py_ssize_t new_length; in arrange_output_buffer_with_maximum() local
174 new_length = length << 1; in arrange_output_buffer_with_maximum()
176 new_length = max_length; in arrange_output_buffer_with_maximum()
177 if (_PyBytes_Resize(buffer, new_length) < 0) in arrange_output_buffer_with_maximum()
179 length = new_length; in arrange_output_buffer_with_maximum()
/third_party/flutter/skia/third_party/externals/freetype/src/base/
Dftrfork.c877 size_t new_length; in raccess_make_file_name() local
883 new_length = ft_strlen( original_name ) + ft_strlen( insertion ); in raccess_make_file_name()
884 if ( FT_ALLOC( new_name, new_length + 1 ) ) in raccess_make_file_name()
/third_party/skia/third_party/externals/freetype/src/base/
Dftrfork.c870 size_t new_length; in raccess_make_file_name() local
876 new_length = ft_strlen( original_name ) + ft_strlen( insertion ); in raccess_make_file_name()
877 if ( FT_QALLOC( new_name, new_length + 1 ) ) in raccess_make_file_name()
/third_party/freetype/src/base/
Dftrfork.c876 size_t new_length; in raccess_make_file_name() local
882 new_length = ft_strlen( original_name ) + ft_strlen( insertion ); in raccess_make_file_name()
883 if ( FT_ALLOC( new_name, new_length + 1 ) ) in raccess_make_file_name()
/third_party/harfbuzz/src/
Dhb-uniscribe.cc380 unsigned int length, new_length, name_str_len; in _hb_rename_font() local
393 new_length = name_table_offset + padded_name_table_length; in _hb_rename_font()
394 void *new_sfnt_data = calloc (1, new_length); in _hb_rename_font()
455 return hb_blob_create ((const char *) new_sfnt_data, new_length, in _hb_rename_font()
Dhb-ot-cmap-table.hh470 uint16_t new_length = (uint16_t) hb_min ((uintptr_t) 65535, in sanitize() local
473 if (!c->try_set (&length, new_length)) in sanitize()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-uniscribe.cc379 unsigned int length, new_length, name_str_len; in _hb_rename_font() local
392 new_length = name_table_offset + padded_name_table_length; in _hb_rename_font()
393 void *new_sfnt_data = calloc (1, new_length); in _hb_rename_font()
454 return hb_blob_create ((const char *) new_sfnt_data, new_length, in _hb_rename_font()
Dhb-ot-cmap-table.hh351 uint16_t new_length = (uint16_t) hb_min ((uintptr_t) 65535, in sanitize() local
354 if (!c->try_set (&length, new_length)) in sanitize()
/third_party/flutter/skia/third_party/externals/imgui/
Dimstb_textedit.h502 …ace(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length);
1320 …lace(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length) in stb_text_makeundo_replace() argument
1323 STB_TEXTEDIT_CHARTYPE *p = stb_text_createundo(&state->undostate, where, old_length, new_length); in stb_text_makeundo_replace()
/third_party/skia/third_party/externals/imgui/
Dimstb_textedit.h506 …ace(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length);
1359 …lace(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length) in stb_text_makeundo_replace() argument
1362 STB_TEXTEDIT_CHARTYPE *p = stb_text_createundo(&state->undostate, where, old_length, new_length); in stb_text_makeundo_replace()

12