Searched refs:kFile (Results 1 - 17 of 17) sorted by relevance

/external/qemu/android/utils/
H A Dproperty_file_unittest.cpp33 static const char kFile[] = "foo=bar\n"; local
34 String value(propertyFile_getValue(kFile, sizeof kFile, "foo"));
38 String value2(propertyFile_getValue(kFile, sizeof kFile, "bar"));
43 static const char kFile[] = "foo=bar"; local
44 String value(propertyFile_getValue(kFile, sizeof kFile, "foo"));
48 String value2(propertyFile_getValue(kFile, sizeof kFile, "ba
53 static const char kFile[] = local
68 static const char kFile[] = local
83 static const char kFile[] = local
98 static const char kFile[] = " foo = bar zoo \\n"; local
104 static const char kFile[] = local
117 static const char kFile[] = "foo=bar\\nfoo=zoo\\n"; local
123 static const char kFile[] = local
[all...]
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_line_reader_unittest.cpp30 static const char kFile[] = "foo bar\n"; local
31 static const size_t kFileSize = sizeof(kFile) - 1;
32 sys.AddRegularFile(kFilePath, kFile, kFileSize);
37 EXPECT_MEMEQ(kFile, kFileSize, reader.line(), reader.length());
43 static const char kFile[] = "foo bar"; local
44 static const size_t kFileSize = sizeof(kFile) - 1;
45 sys.AddRegularFile(kFilePath, kFile, kFileSize);
51 EXPECT_MEMEQ(kFile, kFileSize, reader.line(), reader.length() - 1);
58 static const char kFile[] = local
64 static const size_t kFileSize = sizeof(kFile)
[all...]
/external/chromium_org/chrome/browser/sync_file_system/local/
H A Dlocal_file_sync_status_unittest.cc18 const char kFile[] = "filesystem:http://foo.com/test/dir a/dir b"; member in namespace:sync_file_system::__anon4885
34 status.StartWriting(URL(kFile));
35 status.StartWriting(URL(kFile));
36 status.EndWriting(URL(kFile));
38 EXPECT_TRUE(status.IsWriting(URL(kFile)));
45 EXPECT_TRUE(status.IsWritable(URL(kFile)));
52 EXPECT_FALSE(status.IsSyncable(URL(kFile)));
58 status.EndWriting(URL(kFile));
60 EXPECT_FALSE(status.IsWriting(URL(kFile)));
68 status.StartSyncing(URL(kFile));
[all...]
H A Dsyncable_file_operation_runner_unittest.cc40 const std::string kFile = "foo/file"; member in namespace:sync_file_system::__anon4888
162 sync_status()->StartSyncing(URL(kFile));
163 ASSERT_FALSE(sync_status()->IsWritable(URL(kFile)));
168 URL(kFile), false /* exclusive */,
171 URL(kFile), 1,
178 URL(kFile), ExpectStatus(FROM_HERE, File::FILE_ERROR_NOT_FOUND));
183 sync_status()->EndSyncing(URL(kFile));
184 ASSERT_TRUE(sync_status()->IsWritable(URL(kFile)));
193 URL(kFile), ExpectStatus(FROM_HERE, File::FILE_OK));
307 EXPECT_EQ(File::FILE_OK, file_system_.CreateFile(URL(kFile)));
[all...]
H A Dlocal_file_sync_context_unittest.cc245 const FileSystemURL kFile(file_system.URL("file"));
246 EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kFile));
251 PrepareForSync(file_system.file_system_context(), kFile,
258 file_system.GetChangesForURLInTracker(kFile, &changes);
263 SimulateFinishSync(file_system.file_system_context(), kFile,
266 file_system.GetChangesForURLInTracker(kFile, &changes);
297 const FileSystemURL kFile(file_system.URL("file"));
298 EXPECT_EQ(base::File::FILE_OK, file_system.CreateFile(kFile));
304 PrepareForSync(file_system.file_system_context(), kFile,
314 file_system.GetChangesForURLInTracker(kFile,
[all...]
H A Dlocal_file_sync_service_unittest.cc212 const FileSystemURL kFile(file_system_->URL("file"));
222 // Run PrepareForProcessRemoteChange for kFile.
226 PrepareForProcessRemoteChange(kFile, FROM_HERE,
230 // Run ApplyRemoteChange for kFile.
234 ApplyRemoteChange(change, local_path, kFile));
238 file_system_->VerifyFile(kFile, kTestFileData));
272 const FileSystemURL kFile(file_system_->URL("file"));
277 EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile));
283 file_system_->WriteString(kFile, kTestFileData));
333 const FileSystemURL kFile(file_system
[all...]
/external/chromium_org/chrome/browser/sync_file_system/
H A Dsync_file_system_service_unittest.cc328 const FileSystemURL kFile(file_system_->URL("foo"));
332 // We should get called OnSyncEnabled and OnWriteEnabled on kFile as in:
338 EXPECT_CALL(status_observer, OnWriteEnabled(kFile))
343 EXPECT_CALL(status_observer, OnSyncEnabled(kFile))
345 EXPECT_CALL(status_observer, OnSyncEnabled(kFile))
354 ApplyLocalChange(change, _, _, kFile, _))
363 EXPECT_EQ(base::File::FILE_OK, file_system_->CreateFile(kFile));
394 const FileSystemURL kFile(file_system_->URL("foo"));
404 kFile));
416 // a local write operation on kFile
[all...]
/external/chromium_org/base/
H A Dtracked_objects_unittest.cc18 const char kFile[] = "FixedUnitTestFileName"; variable
76 EXPECT_EQ(kFile, process_data.tasks[0].birth.location.file_name);
165 Location location(kFunction, kFile, kLineNumber, NULL);
223 EXPECT_EQ(kFile, process_data.tasks[0].birth.location.file_name);
238 EXPECT_EQ(kFile, process_data.descendants[0].parent.location.file_name);
245 EXPECT_EQ(kFile, process_data.descendants[0].child.location.file_name);
305 Location location(kFunction, kFile, kLineNumber, NULL);
322 Location location(kFunction, kFile, kLineNumber, NULL);
339 Location location(kFunction, kFile, kLineNumber, NULL);
355 Location location(kFunction, kFile, kLineNumbe
[all...]
/external/chromium_org/ui/base/win/
H A Dopen_file_name_win_unittest.cc90 const base::FilePath kFile(L"file_name.ext");
92 ofn.SetInitialSelection(kDirectory, kFile);
94 EXPECT_EQ(kFile, base::FilePath(ofn.GetOPENFILENAME()->lpstrFile));
109 ofn.SetInitialSelection(kDirectory, kFile);
111 EXPECT_EQ(kFile, base::FilePath(ofn.GetOPENFILENAME()->lpstrFile));
118 ofn.SetInitialSelection(base::FilePath(), kFile); local
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Dwebmenc.cc31 segment->set_mode(mkvmuxer::Segment::kFile);
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
H A DMacroExpander.cpp198 static const std::string kFile = "__FILE__"; local
208 else if (macro.name == kFile)
/external/chromium_org/google_apis/drive/
H A Ddrive_api_parser.cc172 const char kFile[] = "file"; member in namespace:google_apis::__anon8331
560 converter->RegisterCustomValueField(kFile, &ChangeResource::file_,
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libwebm/
H A Dmkvmuxer.cpp1964 mode_(kFile),
2114 if (mode_ == kFile) {
2605 // Write "unknown" (-1) as segment size value. If mode is kFile, Segment
2621 if (mode_ == kFile && writer_header_->Seekable()) {
2760 if (mode_ == kFile) {
H A Dmkvmuxer.hpp992 enum Mode { kLive = 0x1, kFile = 0x2 }; enumerator in enum:mkvmuxer::Segment::Mode
/external/libvpx/libvpx/third_party/libwebm/
H A Dmkvmuxer.cpp2075 mode_(kFile),
2227 if (mode_ == kFile) {
2764 // Write "unknown" (-1) as segment size value. If mode is kFile, Segment
2780 if (mode_ == kFile && writer_header_->Seekable()) {
2920 if (mode_ == kFile) {
H A Dmkvmuxer.hpp1024 kFile = 0x2 enumerator in enum:mkvmuxer::Segment::Mode
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_browsertest.cc1252 static const base::FilePath::CharType* kFile = local
1255 base::FilePath::kCurrentDirectory), base::FilePath(kFile)));

Completed in 430 milliseconds