OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:kDataSize
(Results
1 - 9
of
9
) sorted by null
/external/webrtc/webrtc/common_audio/
ring_buffer_unittest.cc
116
const size_t
kDataSize
= 2;
117
int write_data[
kDataSize
];
118
int read_data[
kDataSize
];
121
scoped_ring_buffer buffer(WebRtc_CreateBuffer(
kDataSize
, sizeof(int)));
125
SetIncrementingData(write_data,
kDataSize
, 0);
126
EXPECT_EQ(
kDataSize
, WebRtc_WriteBuffer(buffer.get(), write_data,
kDataSize
));
127
SetIncrementingData(read_data,
kDataSize
,
kDataSize
);
128
EXPECT_EQ(
kDataSize
, WebRtc_ReadBuffer(buffer.get()
[
all
...]
/external/webrtc/webrtc/common_audio/resampler/
resampler_unittest.cc
35
const size_t
kDataSize
= static_cast<size_t> (kMaxChannels * kMaxRate / 100);
55
int16_t data_in_[
kDataSize
];
56
int16_t data_out_[
kDataSize
];
104
EXPECT_EQ(0, rs_.Push(data_in_, in_length, data_out_,
kDataSize
,
127
EXPECT_EQ(0, rs_.Push(data_in_, in_length, data_out_,
kDataSize
,
/external/v8/test/unittests/base/platform/
semaphore-unittest.cc
20
static const size_t
kDataSize
= kBufferSize * kAlphabetSize * 10;
32
for (size_t n = 0; n <
kDataSize
; ++n) {
56
for (size_t n = 0; n <
kDataSize
; ++n) {
/external/libchrome/base/files/
file_unittest.cc
397
const int
kDataSize
= sizeof(kData) - 1;
398
EXPECT_EQ(
kDataSize
, file.Write(0, kData,
kDataSize
));
402
char buffer[
kDataSize
];
403
int first_chunk_size =
kDataSize
/ 2;
405
EXPECT_EQ(
kDataSize
- first_chunk_size,
407
kDataSize
- first_chunk_size));
408
EXPECT_EQ(std::string(buffer, buffer +
kDataSize
), std::string(kData));
421
const int
kDataSize
= sizeof(kData) - 1;
423
int first_chunk_size =
kDataSize
/ 2
[
all
...]
/external/dng_sdk/source/
dng_misc_opcodes.cpp
297
requiredSize = SafeUint32Add(requiredSize, dng_area_spec::
kDataSize
);
364
stream.Put_uint32 (dng_area_spec::
kDataSize
+ 4 + fCount * 2);
495
if (dataSize != dng_area_spec::
kDataSize
+ 4 + (fDegree + 1) * 8)
535
stream.Put_uint32 (dng_area_spec::
kDataSize
+ 4 + (fDegree + 1) * 8);
872
if (dataSize != dng_area_spec::
kDataSize
+ 4 + deltas * 4)
918
stream.Put_uint32 (dng_area_spec::
kDataSize
+ 4 + deltas * 4);
1078
if (dataSize != dng_area_spec::
kDataSize
+ 4 + deltas * 4)
1124
stream.Put_uint32 (dng_area_spec::
kDataSize
+ 4 + deltas * 4);
1285
if (dataSize != dng_area_spec::
kDataSize
+ 4 + scales * 4)
1331
stream.Put_uint32 (dng_area_spec::
kDataSize
+ 4 + scales * 4)
[
all
...]
dng_misc_opcodes.h
68
kDataSize
= 32
dng_gain_map.cpp
532
stream.Put_uint32 (dng_area_spec::
kDataSize
+
/external/webrtc/webrtc/base/
virtualsocket_unittest.cc
502
const size_t
kDataSize
= 5000;
503
char send_buffer[
kDataSize
], recv_buffer[
kDataSize
];
504
for (size_t i = 0; i <
kDataSize
; ++i)
510
int result = a->Send(send_buffer + send_pos,
kDataSize
- send_pos);
519
result = a->Send(send_buffer + send_pos,
kDataSize
- send_pos);
528
result = a->Send(send_buffer + send_pos,
kDataSize
- send_pos);
542
result = a->Send(send_buffer + send_pos,
kDataSize
- send_pos);
548
result = b->Recv(recv_buffer + recv_pos,
kDataSize
- recv_pos);
562
result = b->Recv(recv_buffer + recv_pos,
kDataSize
- recv_pos)
[
all
...]
socket_unittest.cc
679
const size_t
kDataSize
= 1024 * 1024;
680
scoped_ptr<char[]> send_buffer(new char[
kDataSize
]);
681
scoped_ptr<char[]> recv_buffer(new char[
kDataSize
]);
683
for (size_t i = 0; i <
kDataSize
; ++i) {
721
while (recv_pos <
kDataSize
) {
723
while (!send_waiting_for_writability && send_pos <
kDataSize
) {
724
int tosend = static_cast<int>(
kDataSize
- send_pos);
753
kDataSize
- recv_pos);
783
EXPECT_EQ(
kDataSize
, send_pos);
784
EXPECT_EQ(
kDataSize
, recv_pos)
[
all
...]
Completed in 509 milliseconds