Home
last modified time | relevance | path

Searched refs:initial_size (Results 1 – 25 of 33) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_vector.cc27 AudioVector::AudioVector(size_t initial_size) in AudioVector() argument
28 : array_(new int16_t[initial_size]), in AudioVector()
29 first_free_ix_(initial_size), in AudioVector()
30 capacity_(initial_size) { in AudioVector()
31 memset(array_.get(), 0, initial_size * sizeof(int16_t)); in AudioVector()
Daudio_multi_vector_unittest.cc78 size_t initial_size = 17; in TEST_P() local
79 AudioMultiVector vec2(num_channels_, initial_size); in TEST_P()
82 EXPECT_EQ(initial_size, vec2.Size()); in TEST_P()
Daudio_multi_vector.cc30 AudioMultiVector::AudioMultiVector(size_t N, size_t initial_size) { in AudioMultiVector() argument
34 channels_.push_back(new AudioVector(initial_size)); in AudioMultiVector()
Daudio_vector_unittest.cc46 size_t initial_size = 17; in TEST_F() local
47 AudioVector vec2(initial_size); in TEST_F()
49 EXPECT_EQ(initial_size, vec2.Size()); in TEST_F()
Daudio_vector.h28 explicit AudioVector(size_t initial_size);
Daudio_multi_vector.h32 AudioMultiVector(size_t N, size_t initial_size);
/external/lldb/source/Symbol/
DVariableList.cpp121 const size_t initial_size = var_list.GetSize(); in AppendVariablesIfUnique() local
134 return var_list.GetSize() - initial_size; in AppendVariablesIfUnique()
142 const size_t initial_size = var_list.GetSize(); in AppendVariablesWithScope() local
155 return var_list.GetSize() - initial_size; in AppendVariablesWithScope()
/external/curl/src/
Dtool_cb_prg.c59 total = dltotal + ultotal + bar->initial_size; in tool_progress_cb()
62 point = dlnow + ulnow + bar->initial_size; in tool_progress_cb()
118 bar->initial_size = config->resume_from; in progressbarinit()
Dtool_cb_prg.h35 curl_off_t initial_size; member
/external/lldb/source/Plugins/SymbolFile/DWARF/
DNameToDIE.cpp55 const size_t initial_size = info_array.size(); in FindAllEntriesForCompileUnit() local
63 return info_array.size() - initial_size; in FindAllEntriesForCompileUnit()
DSymbolFileDWARFDebugMap.cpp1091 uint32_t initial_size = 0; in FindFunctions() local
1093 initial_size = sc_list.GetSize(); in FindFunctions()
1108 return sc_list.GetSize() - initial_size; in FindFunctions()
1119 uint32_t initial_size = 0; in FindFunctions() local
1121 initial_size = sc_list.GetSize(); in FindFunctions()
1137 return sc_list.GetSize() - initial_size; in FindFunctions()
1150 uint32_t initial_size = type_list.GetSize(); in GetTypes() local
1173 return type_list.GetSize() - initial_size; in GetTypes()
/external/v8/src/snapshot/
Dsnapshot-source-sink.h82 explicit SnapshotByteSink(int initial_size) : data_(initial_size) {} in SnapshotByteSink() argument
/external/lldb/source/Core/
DModuleList.cpp484 size_t initial_size = variable_list.GetSize(); in FindGlobalVariables() local
491 return variable_list.GetSize() - initial_size; in FindGlobalVariables()
501 size_t initial_size = variable_list.GetSize(); in FindGlobalVariables() local
508 return variable_list.GetSize() - initial_size; in FindGlobalVariables()
521 size_t initial_size = sc_list.GetSize(); in FindSymbolsWithNameAndType() local
526 return sc_list.GetSize() - initial_size; in FindSymbolsWithNameAndType()
538 size_t initial_size = sc_list.GetSize(); in FindSymbolsMatchingRegExAndType() local
543 return sc_list.GetSize() - initial_size; in FindSymbolsMatchingRegExAndType()
DModule.cpp1214 const size_t initial_size = sc_list.GetSize(); in FindSymbolsWithNameAndType() local
1226 return sc_list.GetSize() - initial_size; in FindSymbolsWithNameAndType()
1239 const size_t initial_size = sc_list.GetSize(); in FindSymbolsMatchingRegExAndType() local
1251 return sc_list.GetSize() - initial_size; in FindSymbolsMatchingRegExAndType()
/external/v8/src/regexp/
Dregexp-parser.h24 template <typename T, int initial_size>
35 list_ = new (zone) ZoneList<T*>(initial_size, zone); in Add()
84 list_ = new (zone) ZoneList<T*>(initial_size, zone); in GetList()
/external/google-breakpad/src/processor/
Dfast_source_line_resolver.cc244 MemAddr initial_base, initial_size; in FindCFIFrameInfo() local
252 &initial_base, &initial_size)) { in FindCFIFrameInfo()
Dbasic_source_line_resolver.cc280 MemAddr initial_base, initial_size; in FindCFIFrameInfo() local
288 &initial_base, &initial_size)) { in FindCFIFrameInfo()
/external/libxml2/
Dtriostr.c1349 TRIO_ARGS1((initial_size),
1350 int initial_size)
1358 (size_t)((initial_size > 0) ? initial_size : 1)))
1361 self->allocated = initial_size;
Dtriostr.h107 TRIO_STRING_PUBLIC trio_string_t *trio_string_create TRIO_PROTO((int initial_size));
/external/pcre/dist/
Dpcrecpp_unittest.cc108 unsigned long long initial_size = 0;
111 initial_size = VirtualProcessSize();
112 printf("Size after 50000: %llu\n", initial_size);
120 const double growth = double(final_size - initial_size) / final_size;
/external/v8/src/ast/
Dprettyprinter.cc58 const int initial_size = 256; in Init() local
59 output_ = NewArray<char>(initial_size); in Init()
60 size_ = initial_size; in Init()
998 const int initial_size = 256; in Init() local
999 output_ = NewArray<char>(initial_size); in Init()
1000 size_ = initial_size; in Init()
/external/webp/src/enc/
Dvp8l.c1508 int initial_size; in VP8LEncodeImage() local
1524 initial_size = (config->image_hint == WEBP_HINT_GRAPH) ? in VP8LEncodeImage()
1526 if (!VP8LBitWriterInit(&bw, initial_size)) { in VP8LEncodeImage()
/external/lldb/source/Plugins/DynamicLoader/MacOSX-DYLD/
DDynamicLoaderMacOSXDYLD.cpp1716 size_t initial_size = equivalent_symbols.GetSize(); in FindEquivalentSymbols() local
1727 return equivalent_symbols.GetSize() - initial_size; in FindEquivalentSymbols()
/external/v8/src/compiler/
Dinstruction-selector.cc434 size_t initial_size = inputs->size(); in AddInputsToFrameStateDescriptor() local
435 USE(initial_size); // initial_size is only used for debug. in AddInputsToFrameStateDescriptor()
480 DCHECK_EQ(initial_size + entries, inputs->size()); in AddInputsToFrameStateDescriptor()
/external/libgdx/gdx/jni/gdx2d/
Dstb_image.h513 STBIDEF char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int …
514 …b_decode_malloc_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, i…
3855 STBIDEF char *stbi_zlib_decode_malloc_guesssize(const char *buffer, int len, int initial_size, int … in stbi_zlib_decode_malloc_guesssize() argument
3858 char *p = (char *) stbi__malloc(initial_size); in stbi_zlib_decode_malloc_guesssize()
3862 if (stbi__do_zlib(&a, p, initial_size, 1, 1)) { in stbi_zlib_decode_malloc_guesssize()
3876 …b_decode_malloc_guesssize_headerflag(const char *buffer, int len, int initial_size, int *outlen, i… in stbi_zlib_decode_malloc_guesssize_headerflag() argument
3879 char *p = (char *) stbi__malloc(initial_size); in stbi_zlib_decode_malloc_guesssize_headerflag()
3883 if (stbi__do_zlib(&a, p, initial_size, 1, parse_header)) { in stbi_zlib_decode_malloc_guesssize_headerflag()

12