HomeSort by relevance Sort by last modified time
    Searched full:filedata (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/qemu/android/utils/
file_data.h 34 } FileData;
36 // Initializer value for a FileData instance.
40 // Return true iff a |fileData| is empty.
41 static inline bool fileData_isEmpty(const FileData* fileData) {
42 return fileData->size == 0;
45 // Returns true iff |fileData| is valid. Used for unit-testing.
46 bool fileData_isValid(const FileData* fileData);
48 // Initialize a FileData value to the empty value
    [all...]
file_data.c 21 // Use a magic value in the |flags| field to indicate that a FileData
26 bool fileData_isValid(const FileData* data) {
36 static inline void fileData_setValid(FileData* data) {
41 static inline void fileData_setInvalid(FileData* data) {
46 static void fileData_initWith(FileData* data,
55 void fileData_initEmpty(FileData* data) {
60 int fileData_initFromFile(FileData* data, const char* filePath) {
113 int fileData_initFrom(FileData* data, const FileData* other) {
115 APANIC("Trying to copy an uninitialized FileData instance\n")
    [all...]
file_data_unittest.cpp 28 explicit ScopedFileData(const FileData* other) {
35 FileData* ptr() { return &mFileData; }
36 const FileData* ptr() const { return &mFileData; }
37 FileData& operator*() { return mFileData; }
38 FileData* operator->() { return &mFileData; }
40 FileData mFileData;
44 TEST(FileData, IsValid) {
47 FileData fakeData = { (uint8_t*)0x012345678, 12345, 23983 };
51 TEST(FileData, InitializerConstant) {
52 FileData data = FILE_DATA_INIT
    [all...]
  /external/chromium_org/net/tools/flip_server/
mem_cache.h 63 class FileData {
65 FileData();
66 FileData(const BalsaHeaders* headers,
69 ~FileData();
82 DISALLOW_COPY_AND_ASSIGN(FileData);
95 explicit MemCacheIter(FileData* fd)
103 FileData* file_data;
114 typedef std::map<std::string, FileData*> Files;
129 FileData* GetFileData(const std::string& filename);
139 void InsertFile(FileData* file_data)
    [all...]
mem_cache.cc 53 FileData::FileData(const BalsaHeaders* headers,
63 FileData::FileData() {}
65 FileData::~FileData() {}
205 FileData* MemoryCache::GetFileData(const std::string& filename) {
232 InsertFile(new FileData(headers, filename, body));
235 void MemoryCache::InsertFile(FileData* file_data) {
mem_cache_test.cc 43 FileData* foo;
44 FileData* hello;
85 FileData* hello_html;
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
ImportantFileWriterAndroidTest.java 48 byte[] fileData = new byte[(int) testFile.length()];
51 dis.readFully(fileData);
53 assertEquals("Data length wrong", data.length, fileData.length);
55 assertEquals("Data byte wrong", data[i], fileData[i]);
  /external/chromium_org/third_party/skia/gm/
etc1bitmap.cpp 100 SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(filename.c_str()));
101 if (NULL == fileData) {
108 fileData, SkDecodingImageGenerator::Options()), &bm)) {
186 SkAutoDataUnref fileData(SkData::NewFromFileName(pkmFilename.c_str()));
187 if (NULL == fileData) {
192 SkAutoMalloc am(fileData->size());
193 memcpy(am.get(), fileData->data(), fileData->size());
astcbitmap.cpp 72 SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(filename.c_str()));
73 if (NULL == fileData) {
81 fileData, SkDecodingImageGenerator::Options()), &bm)) {
  /external/clang/include/clang/Basic/
FileSystemStatCache.h 31 struct FileData {
40 FileData()
71 static bool get(const char *Path, FileData &Data, bool isFile,
93 virtual LookupResult getStat(const char *Path, FileData &Data, bool isFile,
97 LookupResult statChained(const char *Path, FileData &Data, bool isFile,
114 llvm::StringMap<FileData, llvm::BumpPtrAllocator> StatCalls;
116 typedef llvm::StringMap<FileData, llvm::BumpPtrAllocator>::const_iterator
122 LookupResult getStat(const char *Path, FileData &Data, bool isFile,
  /external/qemu/android/avd/
util.h 54 * |data| is a FileData instance
60 int propertyFile_getInt(const FileData* data, const char* key, int _default,
66 * |data| is a FileData instance holding the build.prop contents.
71 char* propertyFile_getTargetAbi(const FileData* data);
76 * |data| is a FileData instance holding the build.prop contents.
80 char* propertyFile_getTargetArch(const FileData* data);
87 int propertyFile_getApiLevel(const FileData* data);
94 int propertyFile_getAdbdCommunicationMode(const FileData* data);
util_unittest.cpp 33 FileData fd;
80 FileData fd;
102 FileData fd;
util.c 154 propertyFile_getTargetAbi(const FileData* data) {
162 propertyFile_getTargetArch(const FileData* data) {
188 propertyFile_getInt(const FileData* data, const char* key, int _default,
222 propertyFile_getApiLevel(const FileData* data) {
240 propertyFile_getAdbdCommunicationMode(const FileData* data) {
288 FileData buildProp[1];
  /external/skia/gm/
etc1bitmap.cpp 102 SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(filename.c_str()));
103 if (NULL == fileData) {
110 fileData, SkDecodingImageGenerator::Options()), &bm)) {
176 SkAutoDataUnref fileData(SkData::NewFromFileName(filename.c_str()));
177 if (NULL == fileData) {
182 SkAutoMalloc am(fileData->size());
183 memcpy(am.get(), fileData->data(), fileData->size());
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_applesingle.py 46 filedata = fp.read(1000)
47 self.assertEqual(data, filedata)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_applesingle.py 46 filedata = fp.read(1000)
47 self.assertEqual(data, filedata)
  /system/extras/memtrack/
memtrack.h 29 class FileData {
31 FileData(char *filename, char *buffer, size_t buffer_len);
32 ~FileData();
memtrack.cpp 40 FileData::FileData(char *filename, char *buffer, size_t buffer_len)
49 FileData::~FileData() {
55 bool FileData::isAvail(size_t bytes_needed) {
84 bool FileData::getPss(size_t *pss) {
144 FileData smaps(proc_file_, buffer_, sizeof(buffer_));
  /external/libcap-ng/libcap-ng-0.7/src/
cap-ng.c 285 static int load_data(const struct vfs_cap_data *filedata, int size)
292 magic = FIXUP(filedata->magic_etc);
310 m.data.v3[0].permitted = FIXUP(filedata->data[0].permitted);
311 m.data.v3[1].permitted = FIXUP(filedata->data[1].permitted);
312 m.data.v3[0].inheritable = FIXUP(filedata->data[0].inheritable);
313 m.data.v3[1].inheritable = FIXUP(filedata->data[1].inheritable);
333 struct vfs_cap_data filedata;
340 rc = fgetxattr(fd, XATTR_NAME_CAPS, &filedata, sizeof(filedata));
344 rc = load_data(&filedata, rc)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
AudioFileReaderThread.c 37 /*typedef void *FileData;*/
42 } FileData;
55 /*typedef std::list<AudioFileManager*> FileData;*/
61 FileData *mFileData;
87 FileData *i = frt->mFileData;
88 FileData *prev = NULL;
90 FileData *newfd = (FileData *) SDL_malloc(sizeof (FileData));
127 FileData *i = frt->mFileData
    [all...]
  /art/test/068-classloader/src/
FancyLoader.java 151 byte[] fileData;
153 fileData = new byte[(int) raf.length()];
154 raf.readFully(fileData);
168 return defineClass(name, fileData, 0, fileData.length);
  /cts/tests/tests/security/src/android/security/cts/
BannedFilesTest.java 89 byte[] fileData = new byte[(int) f.length()];
91 dis.readFully(fileData);
95 for (int i = 0; i < (fileData.length - pattern.length); i++) {
97 if (fileData[i+j] != pattern[j]) {
  /external/chromium_org/third_party/skia/tests/
KtxTest.cpp 147 SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(pkmFilename.c_str()));
148 REPORTER_ASSERT(reporter, fileData);
149 if (NULL == fileData) {
156 fileData, SkDecodingImageGenerator::Options()), &etcBitmap);
  /external/skia/tests/
KtxTest.cpp 149 SkAutoTUnref<SkData> fileData(SkData::NewFromFileName(filename.c_str()));
150 REPORTER_ASSERT(reporter, NULL != fileData);
151 if (NULL == fileData) {
158 fileData, SkDecodingImageGenerator::Options()), &etcBitmap);
  /external/chromium_org/third_party/WebKit/Tools/Scripts/
svn-create-patch 220 my ($fileData, $prefix) = @_;
221 my $file = File::Spec->catdir($prefix, $fileData->{path});
228 if ($fileData->{modificationType} eq "additionWithHistory") {
229 manufacturePatchForAdditionWithHistory($fileData);
244 if ($fileData->{isBinary}) {
307 my ($fileData) = @_;
308 my $file = $fileData->{path};
311 my $sourceFile = $fileData->{sourceFile};
312 my $sourceRevision = $fileData->{sourceRevision};
315 if ($fileData->{isBinary})
    [all...]

Completed in 2899 milliseconds

1 2 3