/external/chromium_org/third_party/WebKit/Source/core/testing/ |
URLTestHelpers.cpp | 61 std::string filePath = std::string(Platform::current()->unitTestSupport()->webKitRootDir().utf8().data()); 62 filePath.append("/Source/web/tests/data/"); 63 filePath.append(std::string(relativeBaseDirectory.utf8().data())); 64 filePath.append(std::string(fileName.utf8().data())); 66 Platform::current()->unitTestSupport()->registerMockedURL(fullURL, response, WebString::fromUTF8(filePath.c_str()));
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
WebImageTest.cpp | 47 String filePath = Platform::current()->unitTestSupport()->webKitRootDir(); 48 filePath.append("/Source/web/tests/data/"); 49 filePath.append(fileName); 51 return Platform::current()->unitTestSupport()->readFromFile(filePath);
|
/external/chromium_org/third_party/WebKit/Source/core/clipboard/ |
DataObjectTest.cpp | 28 String filePath = Platform::current()->unitTestSupport()->webKitRootDir(); 29 filePath.append("/Source/core/clipboard/DataObjectTest.cpp"); 31 m_dataObject->addFilename(filePath, String()); 42 EXPECT_EQ(filePath, file->path()); 47 String filePath = Platform::current()->unitTestSupport()->webKitRootDir(); 48 filePath.append("/Source/core/clipboard/DataObjectTest.cpp"); 50 m_dataObject->addFilename(filePath, "name.cpp"); 61 EXPECT_EQ(filePath, file->path());
|
/external/chromium_org/third_party/WebKit/Source/bindings/core/v8/ |
SerializedScriptValueTest.cpp | 34 String filePath = Platform::current()->unitTestSupport()->webKitRootDir(); 35 filePath.append("/Source/bindings/core/v8/SerializedScriptValueTest.cpp"); 36 RefPtrWillBeRawPtr<File> originalFile = File::create(filePath); 39 ASSERT_EQ(filePath, originalFile->path()); 50 EXPECT_EQ(filePath, file->path());
|
/external/qemu/android/filesystems/ |
ext4_utils.cpp | 71 int android_createEmptyExt4Image(const char *filePath, 74 int ret = ::make_ext4fs(filePath, size, mountpoint, NULL); 76 EXT4_ERROR << "Failed to create ext4 image at: " << filePath;
|
/external/chromium_org/third_party/WebKit/public/platform/ |
WebBlobData.h | 54 WebString filePath;
|
WebBlobInfo.h | 29 WebBlobInfo(const WebString& uuid, const WebString& filePath, const WebString& fileName, const WebString& type) 34 , m_filePath(filePath) 39 WebBlobInfo(const WebString& uuid, const WebString& filePath, const WebString& fileName, const WebString& type, double lastModified, long long size) 44 , m_filePath(filePath) 65 const WebString& filePath() const
|
WebHTTPBody.h | 54 WebString filePath;
|
/frameworks/base/core/jni/ |
android_content_res_ObbScanner.cpp | 42 const char* filePath = env->GetStringUTFChars(file, NULL); 45 if (!obb->readFrom(filePath)) { 46 env->ReleaseStringUTFChars(file, filePath); 51 env->ReleaseStringUTFChars(file, filePath);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/utils/ |
dict_file_writing_utils.cpp | 40 /* static */ bool DictFileWritingUtils::createEmptyDictFile(const char *const filePath, 50 filePath, localeAsCodePointVector, attributeMap, formatVersion); 55 filePath, localeAsCodePointVector, attributeMap, formatVersion); 58 filePath, dictVersion); 85 char filePath[filePathBufSize]; 86 FileUtils::getFilePathWithSuffix(basePath, suffix, filePathBufSize, filePath); 87 return flushBufferToFile(filePath, buffer); 102 /* static */ bool DictFileWritingUtils::flushBufferToFile(const char *const filePath, 104 const int fd = open(filePath, O_WRONLY | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR); 106 AKLOGE("File %s cannot be opened. errno: %d", filePath, errno) [all...] |
mmapped_buffer.cpp | 75 char filePath[filePathBufferSize]; 76 const int filePathLength = snprintf(filePath, filePathBufferSize, "%s%s", dirPath, 81 return openBuffer(filePath, isUpdatable);
|
file_utils.cpp | 31 /* static */ int FileUtils::getFileSize(const char *const filePath) { 32 const int fd = open(filePath, O_RDONLY); 75 char filePath[filePathBufSize]; 76 getFilePath(dirPath, dirent->d_name, filePathBufSize, filePath); 77 if (remove(filePath) != 0) { 78 AKLOGE("Cannot remove file %s.", filePath); 97 /* static */ int FileUtils::getFilePathWithSuffixBufSize(const char *const filePath, 99 return strlen(filePath) + strlen(suffix) + 1 /* terminator */; 102 /* static */ void FileUtils::getFilePathWithSuffix(const char *const filePath, 104 snprintf(outFilePath, filePathBufSize, "%s%s", filePath, suffix) [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ImageCaptureActivity.java | 90 Uri filePath = clipData.getItemAt(0).getUri(); 91 if (filePath == null) { 97 return new File(filePath.getPath());
|
ReadableFileReceiverActivity.java | 92 Uri filePath = clipData.getItemAt(i).getUri(); 93 if (filePath == null) { 98 result.add(new File(filePath.getPath()));
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
BitmapImageTest.cpp | 64 String filePath = Platform::current()->unitTestSupport()->webKitRootDir(); 65 filePath.append(fileName); 66 return Platform::current()->unitTestSupport()->readFromFile(filePath);
|
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/jpeg/ |
JPEGImageDecoderTest.cpp | 54 String filePath = Platform::current()->unitTestSupport()->webKitRootDir(); 55 filePath.append(fileName); 57 return Platform::current()->unitTestSupport()->readFromFile(filePath);
|
/external/qemu/android/kernel/ |
kernel_utils.cpp | 59 bool getFileDescription(void* opaque, const char* filePath, String* text) { 60 if (!filePath) { 65 if (!path_exists(filePath)) { 66 KERNEL_ERROR << "Kernel file doesn't exist: " << filePath; 78 command += filePath;
|
/packages/providers/DownloadProvider/tests/permission/src/com/android/providers/downloads/permission/tests/ |
DownloadProviderPermissionsTest.java | 54 String filePath = "/cache/this-should-not-exist.txt"; 55 FileOutputStream strm = new FileOutputStream(filePath); 59 fail("Was able to create and write to " + filePath);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/binaryxml/ |
BinaryXMLMultiPageEditorPart.java | 65 IPath filePath = path.append(SdkConstants.FD_DATA).append( 67 File file = new File(filePath.toOSString());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/ |
EclipseTestCollector.java | 54 String filePath = entry.getPath().replace(".class", ""); 56 Class<?> testClass = getClass(filePath, expectedPackage); 70 //sLogger.log(Level.INFO, "Could not load class " + filePath); 107 * @param filePath - path of class in bundle 111 protected Class<?> getClass(String filePath, String expectedPackage) throws ClassNotFoundException { 112 String dotPath = filePath.replace('/', '.');
|
/dalvik/dx/src/com/android/dx/command/dump/ |
DotDumper.java | 45 private final String filePath; 50 static void dump(byte[] bytes, String filePath, Args args) { 51 new DotDumper(bytes, filePath, args).run(); 54 DotDumper(byte[] bytes, String filePath, Args args) { 56 this.filePath = filePath; 69 classFile = new DirectClassFile(ba, filePath, strictParse); 75 new DirectClassFile(ba, filePath, strictParse);
|
/device/generic/goldfish/camera/ |
EmulatedCameraHotplugThread.cpp | 185 String8 filePath = getFilePath(cameraId); 191 int newStatus = readFile(filePath); 228 String8 filePath = getFilePath(cameraId); 231 open(filePath.string(), O_WRONLY | O_CREAT | O_TRUNC, 235 __FUNCTION__, filePath.string(), strerror(errno), errno); 242 __FUNCTION__, filePath.string(), strerror(errno), errno); 250 int EmulatedCameraHotplugThread::getCameraId(String8 filePath) const { 257 if (camPath == filePath) { 338 int EmulatedCameraHotplugThread::readFile(String8 filePath) const { 341 open(filePath.string(), O_RDONLY, /*mode*/0)) [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/gif/ |
GIFImageDecoderTest.cpp | 52 String filePath = Platform::current()->unitTestSupport()->webKitRootDir(); 53 filePath.append(fileName); 55 return Platform::current()->unitTestSupport()->readFromFile(filePath);
|
/external/jsilver/src/com/google/clearsilver/jsilver/adaptor/ |
ResourceLoaderAdaptor.java | 111 String filePath = loadPathCache.lookup(getLoadPaths(), name); 112 if (filePath != null) { 113 file = newFile(filePath);
|
/external/lzma/CPP/7zip/UI/Common/ |
Extract.cpp | 38 UString filePath;
39 RINOK(arc.GetItemPath(i, filePath));
42 if (!wildcardCensor.CheckPath(filePath, !isFolder))
|