Searched defs:times (Results 51 - 75 of 118) sorted by relevance

12345

/external/chromium_org/chrome/browser/sync/
H A Dprofile_sync_service_unittest.cc256 void ExpectDataTypeManagerCreation(int times) { argument
258 .Times(times)
262 void ExpectSyncBackendHostCreation(int times) { argument
264 .Times(times)
269 int times, std::vector<bool> *delete_dir_param) {
271 .Times(times)
268 ExpectSyncBackendHostCreationCollectDeleteDir( int times, std::vector<bool> *delete_dir_param) argument
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dkernel_wrap_win.cc214 int _utime(const char* filename, const struct utimbuf* times) { argument
215 return ki_utime(filename, times);
H A Dnode.cc179 Error Node::Futimens(const struct timespec times[2]) { argument
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/
H A Dfuse_fs_test.cc34 File() : mode(0666) { memset(&times, 0, sizeof(times)); }
39 timespec times[2]; member in struct:__anon8955::File
84 stbuf->st_atime = file->times[0].tv_sec;
85 stbuf->st_atimensec = file->times[0].tv_nsec;
86 stbuf->st_mtime = file->times[1].tv_sec;
87 stbuf->st_mtimensec = file->times[1].tv_nsec;
171 int testfs_utimens(const char* path, const struct timespec times[2]) { argument
176 file->times[0] = times[
375 struct timespec times[2]; local
[all...]
H A Dkernel_wrap_test.cc156 // We allow write to be called any number of times, and it forwards to
324 struct timeval times[2] = {{123, 234}, {345, 456}}; local
325 EXPECT_CALL(mock, futimens(kDummyInt, IsEqualToTimeval(times)))
327 EXPECT_EQ(-1, futimes(kDummyInt, times));
644 const struct utimbuf times = {123, 456}; local
645 EXPECT_CALL(mock, utimens(kDummyConstChar, IsEqualToUtimbuf(&times)))
647 EXPECT_EQ(kDummyInt, utime(kDummyConstChar, &times));
651 struct timeval times[2] = {{123, 234}, {345, 456}}; local
652 EXPECT_CALL(mock, utimens(kDummyConstChar, IsEqualToTimeval(times)))
654 EXPECT_EQ(-1, utimes(kDummyConstChar, times));
[all...]
/external/chromium_org/ppapi/tests/
H A Dtest_media_stream_audio_track.cc194 int times, int expected_duration) {
196 for (int j = 0; j < times; ++j) {
193 CheckGetBuffer( int times, int expected_duration) argument
/external/chromium_org/third_party/skia/tools/
H A DPictureResultsWriter.h231 SkTArray<double> times; variable
235 times.push_back((*vals).asDouble());
237 qsort(static_cast<void*>(times.begin()), times.count(),
239 data["value"] = times[static_cast<int>(times.count() * 0.25f)];
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Dfec_receiver_unittest.cc63 void VerifyReconstructedMediaPacket(const RtpPacket* packet, int times) { argument
65 // content of |packet|, and that the same content is received |times| number
66 // of times in a row.
70 .Times(times).WillRepeatedly(Return(true));
/external/easymock/src/org/easymock/
H A DMockControl.java191 * number of times, and will react by returning silently.
193 * @param times
194 * the number of times that the call is expected.
200 public void setVoidCallable(int times) { argument
203 .times(times);
208 * number of times, and will react by throwing the provided Throwable.
212 * @param times
213 * the number of times that the call is expected.
223 public void setThrowable(Throwable throwable, int times) { argument
242 setReturnValue(Object value, int times) argument
[all...]
/external/easymock/src/org/easymock/internal/
H A DMocksControl.java218 public IExpectationSetters<Object> times(int times) { argument
220 state.times(new Range(times));
227 public IExpectationSetters<Object> times(int min, int max) { method in class:MocksControl
229 state.times(new Range(min, max));
238 state.times(ONCE);
247 state.times(AT_LEAST_ONCE);
256 state.times(ZERO_OR_MORE);
H A DRecordState.java98 times(MocksControl.ONCE);
107 times(MocksControl.ONCE);
116 times(MocksControl.ONCE);
125 times(MocksControl.ONCE);
135 times(MocksControl.ONCE);
147 times(MocksControl.ONCE);
176 times(MocksControl.ONCE);
187 times(MocksControl.ONCE);
199 times(MocksControl.ONCE);
209 times(MocksContro
216 public void times(Range range) { method in class:RecordState
[all...]
H A DReplayState.java131 public void times(Range range) { method in class:ReplayState
/external/libvorbis/lib/
H A Dinfo.c287 int times=oggpack_read(opb,6)+1; local
288 if(times<=0)goto err_out;
289 for(i=0;i<times;i++){
504 /* times; hook placeholders */
/external/mockito/src/org/mockito/
H A DMockito.java129 * of how many times it is called. </li>
132 * the same arguments many times.
207 * mockedList.add("three times");
208 * mockedList.add("three times");
209 * mockedList.add("three times");
211 * //following two verifications work exactly the same - times(1) is used by default
213 * verify(mockedList, times(1)).add("once");
216 * verify(mockedList, times(2)).add("twice");
217 * verify(mockedList, times(3)).add("three times");
1937 public static VerificationMode times(int wantedNumberOfInvocations) { method in class:Mockito
[all...]
/external/chromium_org/chrome/browser/history/
H A Ddelete_directive_handler.cc64 // Converts global IDs in |global_id_directive| to times.
67 std::set<base::Time> *times) {
69 times->insert(
191 // Group times represented by global IDs by time ranges of delete directives.
65 GetTimesFromGlobalIds( const sync_pb::GlobalIdDirective& global_id_directive, std::set<base::Time> *times) argument
H A Dexpire_history_backend.cc213 const std::vector<base::Time>& times) {
214 // |times| must be in reverse chronological order and have no
219 times.begin(), times.end(), std::less_equal<base::Time>()) ==
220 times.end());
227 main_db_->GetVisitsForTimes(times, &visits);
212 ExpireHistoryForTimes( const std::vector<base::Time>& times) argument
H A Dexpire_history_backend_unittest.cc174 // The IDs of the added URLs, and the times of the four added visits will be
180 // Four times for each visit.
260 // Four times for each visit.
602 // Expires all URLs with times in a given set.
617 std::vector<base::Time> times; local
618 times.push_back(visit_times[3]);
619 times.push_back(visit_times[2]);
620 expirer_.ExpireHistoryForTimes(times);
726 // The visit times should be updated.
/external/chromium_org/components/component_updater/
H A Dbackground_downloader_win.cc298 BG_JOB_TIMES times = {0}; local
299 HRESULT hr = job->GetTimes(&times);
304 const base::Time creation_time(base::Time::FromFileTime(times.CreationTime));
446 // reset multiple times.
/external/chromium_org/components/sync_driver/
H A Dsync_prefs.cc385 void SyncPrefs::SetRemainingRollbackTries(int times) { argument
386 pref_service_->SetInteger(prefs::kSyncRemainingRollbackTries, times);
/external/chromium_org/media/audio/win/
H A Daudio_output_win_unittest.cc65 // Returns how many times OnMoreData() has been called.
69 // Returns how many times the OnError callback was called.
516 // We expect the amount of pending bytes will reaching up to 2 times of
626 int times = 0; local
630 if ((times > 0) && (buffers_state.pending_bytes < 1000)) __debugbreak();
633 ++times;
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/fusefs/
H A Dfuse_fs.cc250 Error FuseFsNode::Futimens(const struct timespec times[2]) { argument
257 result = fuse_ops_->utimens(path_.c_str(), times);
/external/chromium_org/sync/engine/
H A Dsync_scheduler_unittest.cc182 void AnalyzePollRun(const SyncShareTimes& times, size_t min_num_samples, argument
184 EXPECT_GE(times.size(), min_num_samples);
185 for (size_t i = 0; i < times.size(); i++) {
188 EXPECT_GE(times[i], optimal_next_sync);
263 void RecordSyncShareImpl(SyncShareTimes* times) { argument
264 times->push_back(TimeTicks::Now());
267 ACTION_P(RecordSyncShare, times) {
268 RecordSyncShareImpl(times);
274 ACTION_P2(RecordSyncShareMultiple, times, quit_after) {
275 RecordSyncShareImpl(times);
301 SyncShareTimes times; local
330 SyncShareTimes times; local
358 SyncShareTimes times; local
404 SyncShareTimes times; local
437 SyncShareTimes times; local
489 SyncShareTimes times; local
516 SyncShareTimes times; local
570 SyncShareTimes times; local
591 SyncShareTimes times; local
613 SyncShareTimes times; local
673 SyncShareTimes times; local
700 SyncShareTimes times; local
729 SyncShareTimes times; local
804 SyncShareTimes times; local
852 SyncShareTimes times; local
987 SyncShareTimes times; local
1039 SyncShareTimes times; local
1078 SyncShareTimes times; local
1132 SyncShareTimes times; local
1267 SyncShareTimes times; local
1298 SyncShareTimes times; local
1351 SyncShareTimes times; local
[all...]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DXMPSerializerRDF.java1219 * @param times number of indents to write
1222 private void writeIndent(int times) throws IOException argument
1224 for (int i = options.getBaseIndent() + times; i > 0; i--)
/external/chromium_org/chrome/browser/extensions/api/cast_streaming/
H A Dperformance_test.cc508 std::vector<double> times; local
510 times.push_back(event->timestamp); // begin capture
515 times.push_back(event->timestamp); // end capture (with timestamp)
526 times.push_back(event->timestamp);
530 traced_frames.push_back(times);
/external/chromium_org/components/autofill/content/browser/wallet/
H A Dwallet_client_unittest.cc682 size_t times) {
684 LogWalletApiCallDuration(metric, testing::_)).Times(times);
680 ExpectLogWalletApiCallDuration( AutofillMetrics::WalletApiCallMetric metric, size_t times) argument

Completed in 354 milliseconds

12345