Home
last modified time | relevance | path

Searched refs:expected_size (Results 1 – 25 of 83) sorted by relevance

1234

/external/chromium_org/chrome/browser/ui/views/
Dconstrained_window_views_unittest.cc94 gfx::Size expected_size = GetDialogSize(); in TEST_F() local
96 expected_size.Enlarge(50, 50); in TEST_F()
100 EXPECT_EQ(expected_size.ToString(), GetDialogSize().ToString()); in TEST_F()
107 gfx::Size expected_size = GetDialogSize(); in TEST_F() local
109 expected_size.Enlarge(-50, -50); in TEST_F()
113 EXPECT_EQ(expected_size.ToString(), GetDialogSize().ToString()); in TEST_F()
140 gfx::Size expected_size = max_dialog_size; in TEST_F() local
143 expected_size.Enlarge(0, border->GetInsets().top()); in TEST_F()
144 EXPECT_EQ(expected_size.ToString(), GetDialogSize().ToString()); in TEST_F()
/external/chromium_org/content/browser/renderer_host/
Dcompositor_resize_lock_aura.cc27 "width", expected_size().width(), in CompositorResizeLock()
28 "height", expected_size().height()); in CompositorResizeLock()
41 "width", expected_size().width(), in ~CompositorResizeLock()
42 "height", expected_size().height()); in ~CompositorResizeLock()
/external/chromium_org/gpu/command_buffer/common/
Dgles2_cmd_format_test.cc35 const void* end, size_t expected_size, size_t written_size) { in CheckBytesWritten() argument
40 EXPECT_EQ(expected_size, actual_size); in CheckBytesWritten()
46 const void* end, size_t expected_size) { in CheckBytesWrittenMatchesExpectedSize() argument
47 CheckBytesWritten(end, expected_size, expected_size); in CheckBytesWrittenMatchesExpectedSize()
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dvideoframe.cc299 size_t expected_size = (w * expected_bpp + 7) / 8 * h; in Validate() local
303 expected_size = ((w + 15) / 16) * ((h + 15) / 16) * 4 / 8; in Validate()
310 << " expected: " << expected_size in Validate()
314 if (sample_size < expected_size) { in Validate()
320 << " expected: " << expected_size in Validate()
333 << " expected: " << 2 * expected_size in Validate()
342 size_t large_expected_size = expected_size * 2; in Validate()
367 << " expected: " << expected_size in Validate()
382 << " expected: " << expected_size in Validate()
/external/chromium_org/net/http/
Dhttp_basic_state.cc57 const size_t expected_size = request_info_->method.size() + 1 + path.size() + in GenerateRequestLine() local
59 request_line.reserve(expected_size); in GenerateRequestLine()
64 DCHECK_EQ(expected_size, request_line.size()); in GenerateRequestLine()
/external/chromium_org/mojo/shell/
Din_process_dynamic_service_runner.cc69 size_t expected_size = mojo_set_system_thunks_fn(&system_thunks); in Run() local
70 if (expected_size > sizeof(MojoSystemThunks)) { in Run()
73 << expected_size; in Run()
/external/chromium_org/chrome/browser/media_galleries/fileapi/
Dmedia_file_validator_browsertest.cc40 void HandleCheckFileResult(int64 expected_size, in HandleCheckFileResult() argument
45 if (!file_info.is_directory && expected_size != kNoFileSize && in HandleCheckFileResult()
46 file_info.size == expected_size) { in HandleCheckFileResult()
51 if (expected_size == kNoFileSize) { in HandleCheckFileResult()
174 int64 expected_size, in CheckFile() argument
178 expected_size, callback)); in CheckFile()
/external/chromium_org/ui/base/ime/win/
Dtsf_input_scope_unittest.cc17 size_t expected_size; member
111 EXPECT_EQ(test_case.expected_size, input_scopes.size()); in TEST_P()
112 for (size_t i = 0; i < test_case.expected_size; ++i) in TEST_P()
/external/chromium_org/ppapi/cpp/
Dfile_system.cc53 int32_t FileSystem::Open(int64_t expected_size, in Open() argument
58 pp_resource(), expected_size, cc.pp_completion_callback()); in Open()
/external/webp/src/utils/
Dbit_writer.c161 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size) { in VP8BitWriterInit() argument
170 return (expected_size > 0) ? BitWriterResize(bw, expected_size) : 1; in VP8BitWriterInit()
240 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size) { in VP8LBitWriterInit() argument
242 return VP8LBitWriterResize(bw, expected_size); in VP8LBitWriterInit()
Dbit_writer.h39 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size);
103 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size);
/external/chromium_org/third_party/libwebp/utils/
Dbit_writer.c161 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size) { in VP8BitWriterInit() argument
170 return (expected_size > 0) ? BitWriterResize(bw, expected_size) : 1; in VP8BitWriterInit()
240 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size) { in VP8LBitWriterInit() argument
242 return VP8LBitWriterResize(bw, expected_size); in VP8LBitWriterInit()
Dbit_writer.h39 int VP8BitWriterInit(VP8BitWriter* const bw, size_t expected_size);
103 int VP8LBitWriterInit(VP8LBitWriter* const bw, size_t expected_size);
/external/chromium_org/ppapi/thunk/
Dppb_file_system_thunk.cc35 int64_t expected_size, in Open() argument
41 return enter.SetResult(enter.object()->Open(expected_size, enter.callback())); in Open()
/external/chromium_org/chrome/browser/safe_browsing/
Dsafe_browsing_store_file.cc237 int64 expected_size = sizeof(FileHeaderV7); in FileHeaderV7SanityCheck() local
238 expected_size += header.add_chunk_count * sizeof(int32); in FileHeaderV7SanityCheck()
239 expected_size += header.sub_chunk_count * sizeof(int32); in FileHeaderV7SanityCheck()
240 expected_size += header.add_prefix_count * sizeof(SBAddPrefix); in FileHeaderV7SanityCheck()
241 expected_size += header.sub_prefix_count * sizeof(SBSubPrefix); in FileHeaderV7SanityCheck()
242 expected_size += header.add_hash_count * sizeof(SBAddFullHash); in FileHeaderV7SanityCheck()
243 expected_size += header.sub_hash_count * sizeof(SBSubFullHash); in FileHeaderV7SanityCheck()
244 expected_size += sizeof(base::MD5Digest); in FileHeaderV7SanityCheck()
245 if (size != expected_size) in FileHeaderV7SanityCheck()
941 int64 expected_size = ofs + sizeof(ChunkHeader); in DoUpdate() local
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
Dnack_unittest.cc409 size_t expected_size = num_lost_packets - kNackThreshold; in TEST() local
412 EXPECT_EQ(expected_size, nack_list.size()); in TEST()
415 expected_size = kNackListSize - kNackThreshold; in TEST()
419 expected_size)); in TEST()
431 expected_size)); in TEST()
439 --expected_size; in TEST()
443 expected_size)); in TEST()
/external/chromium_org/chrome/test/chromedriver/
Dkey_converter_unittest.cc21 size_t expected_size, in CheckEvents() argument
27 EXPECT_EQ(expected_size, events.size()); in CheckEvents()
30 while (i < expected_size && it != events.end()) { in CheckEvents()
45 size_t expected_size) { in CheckEventsReleaseModifiers() argument
47 expected_size, 0 /* expected_modifiers */); in CheckEventsReleaseModifiers()
52 size_t expected_size) { in CheckEventsReleaseModifiers() argument
54 expected_events, expected_size); in CheckEventsReleaseModifiers()
/external/chromium_org/mojo/system/
Draw_channel_unittest.cc131 bool ReadAndCheckNextMessage(uint32_t expected_size) { in ReadAndCheckNextMessage() argument
154 if (message_view.num_bytes() != expected_size) { in ReadAndCheckNextMessage()
156 << expected_size << " bytes."; in ReadAndCheckNextMessage()
234 size_t expected_size; in OnReadMessage() local
240 expected_size = expected_sizes_[position]; in OnReadMessage()
246 EXPECT_EQ(expected_size, message_view.num_bytes()) << position; in OnReadMessage()
247 if (message_view.num_bytes() == expected_size) { in OnReadMessage()
/external/chromium_org/chrome/browser/history/
Din_memory_url_index_types_unittest.cc20 size_t expected_size, in IntArraysEqual() argument
22 if (expected_size != actual.size()) in IntArraysEqual()
24 for (size_t i = 0; i < expected_size; ++i) in IntArraysEqual()
/external/chromium_org/net/android/
Dkeystore_openssl.cc174 size_t expected_size = static_cast<size_t>(RSA_size(rsa)); in RsaMethodPrivEnc() local
175 if (result.size() > expected_size) { in RsaMethodPrivEnc()
177 << result.size() << ", expected <= " << expected_size; in RsaMethodPrivEnc()
184 size_t zero_pad = expected_size - result.size(); in RsaMethodPrivEnc()
188 return expected_size; in RsaMethodPrivEnc()
/external/chromium_org/ppapi/proxy/
Dfile_system_resource.cc73 int32_t FileSystemResource::Open(int64_t expected_size, in Open() argument
81 PpapiHostMsg_FileSystem_Open(expected_size), in Open()
86 PpapiHostMsg_FileSystem_Open(expected_size), in Open()
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/
DCertificateFactory_ImplTest.java421 int expected_size = (sequences[i][0] < 0) in testGenerateBase64CRLs() local
447 if (expected_size == error) { // exception throwing test in testGenerateBase64CRLs()
458 expected_size, crls.size()); in testGenerateBase64CRLs()
521 int expected_size = (sequences[i][0] < 0) in testGenerateBase64Certificates() local
547 if (expected_size == error) { // exception throwing test in testGenerateBase64Certificates()
558 expected_size, certs.size()); in testGenerateBase64Certificates()
/external/chromium_org/crypto/
Drsa_private_key.cc222 size_t expected_size, in ReadIntegerWithExpectedSize() argument
228 int pad = expected_size - temp.size(); in ReadIntegerWithExpectedSize()
230 if (out->size() == expected_size + 1) { in ReadIntegerWithExpectedSize()
235 READ_ASSERT(out->size() <= expected_size); in ReadIntegerWithExpectedSize()
/external/chromium_org/third_party/protobuf/python/google/protobuf/internal/
Dwire_format_test.py106 expected_size = expected_value_size + tag_bytes
108 self.assertEqual(expected_size, actual_size,
111 byte_size_fn, field_number, value, expected_size, actual_size))
/external/protobuf/python/google/protobuf/internal/
Dwire_format_test.py106 expected_size = expected_value_size + tag_bytes
108 self.assertEqual(expected_size, actual_size,
111 byte_size_fn, field_number, value, expected_size, actual_size))

1234