Home
last modified time | relevance | path

Searched refs:pFile (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/compile/libbcc/lib/ExecutionEngine/
DObjectLoader.cpp102 ObjectLoader *ObjectLoader::Load(FileBase &pFile, in Load() argument
107 const char *input_filename = pFile.getName().c_str(); in Load()
111 if (pFile.hasError()) { in Load()
113 input_filename, pFile.getErrorMessage().c_str()); in Load()
118 file_size = pFile.getSize(); in Load()
119 if (pFile.hasError()) { in Load()
121 pFile.getErrorMessage().c_str()); in Load()
132 file_map = pFile.createMap(0, file_size, /* pIsReadOnly */true); in Load()
133 if ((file_map == NULL) || pFile.hasError()) { in Load()
135 pFile.getErrorMessage().c_str()); in Load()
/frameworks/compile/mclinker/include/mcld/LD/
DELFObjectReader.h49 bool isMyFormat(Input &pFile) const;
52 bool readHeader(Input& pFile);
54 virtual bool readSections(Input& pFile);
56 virtual bool readSymbols(Input& pFile);
61 virtual bool readRelocations(Input& pFile);
DObjectReader.h41 virtual bool readHeader(Input& pFile) = 0;
43 virtual bool readSymbols(Input& pFile) = 0;
45 virtual bool readSections(Input& pFile) = 0;
50 virtual bool readRelocations(Input& pFile) = 0;
DDynObjReader.h35 virtual bool readHeader(Input& pFile) = 0;
37 virtual bool readSymbols(Input& pFile) = 0;
DELFDynObjReader.h38 bool isMyFormat(Input &pFile) const;
41 bool readHeader(Input& pFile);
DBinaryReader.h39 virtual bool readBinary(Input& pFile) = 0;
/frameworks/base/media/jni/mediaeditor/
DVideoEditorPropertiesMain.cpp69 M4OSA_Char* pFile,
84 M4OSA_Char* pFile = M4OSA_NULL; in videoEditProp_getProperties() local
119 pFile = (M4OSA_Char *)videoEditJava_getString( in videoEditProp_getProperties()
122 result = M4OSA_fileReadOpen(&context, (M4OSA_Void*)pFile, M4OSA_kFileRead); in videoEditProp_getProperties()
126 videoEditOsal_free(pFile); in videoEditProp_getProperties()
127 pFile = M4OSA_NULL; in videoEditProp_getProperties()
148 pExtension = (M4OSA_Char *)strrchr((const char *)pFile, (int)'.'); in videoEditProp_getProperties()
203 pEnv, thiz, pFile, clipType, pClipProperties); in videoEditProp_getProperties()
291 result = M4OSA_fileReadOpen(&context, (M4OSA_Void*)pFile, M4OSA_kFileRead); in videoEditProp_getProperties()
314 videoEditOsal_free(pFile); in videoEditProp_getProperties()
[all …]
DVideoEditorJava.cpp33 const char* pFile, in videoEditJava_checkAndThrowIllegalArgumentExceptionFunc() argument
45 pMessage, pFile, lineNo); in videoEditJava_checkAndThrowIllegalArgumentExceptionFunc()
62 const char* pFile, in videoEditJava_checkAndThrowRuntimeExceptionFunc() argument
80 pMessage, pFile, lineNo); in videoEditJava_checkAndThrowRuntimeExceptionFunc()
97 const char* pFile, in videoEditJava_checkAndThrowIllegalStateExceptionFunc() argument
110 pMessage, pFile, lineNo); in videoEditJava_checkAndThrowIllegalStateExceptionFunc()
DVideoEditorJava.h372 const char* pFile,
382 const char* pFile,
392 const char* pFile,
DVideoEditorClasses.cpp1005 pSettings->pFile = (M4OSA_Char*)videoEditJava_getString(pResult, pEnv, object, in videoEditClasses_getBackgroundMusicSettings()
1010 (M4OSA_NULL == pSettings->pFile), "backgroundMusicSettings.file is null"); in videoEditClasses_getBackgroundMusicSettings()
1091 videoEditOsal_free((*ppSettings)->pFile); in videoEditClasses_freeBackgroundMusicSettings()
1092 (*ppSettings)->pFile = M4OSA_NULL; in videoEditClasses_freeBackgroundMusicSettings()
1111 (M4OSA_NULL != pSettings->pFile) ? (char *)pSettings->pFile : "<null>"); in videoEditClasses_logBackgroundMusicSettings()
1310 pSettings->pFile = (M4OSA_Char*)videoEditJava_getString(pResult, pEnv, object, in videoEditClasses_getClipSettings()
1315 (M4OSA_NULL == pSettings->pFile), "clip.clipPath is null"); in videoEditClasses_getClipSettings()
1643 videoEditOsal_free((*ppSettings)->pFile); in videoEditClasses_freeClipSettings()
1644 (*ppSettings)->pFile = M4OSA_NULL; in videoEditClasses_freeClipSettings()
1667 (M4OSA_NULL != pSettings->pFile) ? (char*)pSettings->pFile : "<null>"); in videoEditClasses_logClipSettings()
DVideoEditorMain.cpp776 pClipList[iCurrentClipIndex]->pFile, in videoEditor_renderPreviewFrame()
788 pClipList[iCurrentClipIndex]->pFile, M4OSA_TRUE); in videoEditor_renderPreviewFrame()
1838 if (pContext->mAudioSettings->pFile != NULL) { in videoEditor_populateSettings()
1839 free(pContext->mAudioSettings->pFile); in videoEditor_populateSettings()
1840 pContext->mAudioSettings->pFile = M4OSA_NULL; in videoEditor_populateSettings()
1915 pContext->mAudioSettings->pFile = (M4OSA_Char*) M4OSA_32bitAlignedMalloc( in videoEditor_populateSettings()
1918 if (pContext->mAudioSettings->pFile != M4OSA_NULL) { in videoEditor_populateSettings()
1919 memcpy((void *)pContext->mAudioSettings->pFile , in videoEditor_populateSettings()
1921 … ((M4OSA_Int8 *)(pContext->mAudioSettings->pFile))[strlen((const char*)pTempChar)] = '\0'; in videoEditor_populateSettings()
1932 M4OSA_TRACE1_1("file name = %s",pContext->mAudioSettings->pFile); in videoEditor_populateSettings()
[all …]
/frameworks/base/media/tests/omxjpegdecoder/
Domx_jpeg_decoder.cpp44 FILE *pFile = fopen(filename, "w+"); in getJpegOutput() local
46 if (pFile == NULL) { in getJpegOutput()
52 int numChars = fwrite(data, sizeof(char), 1024, pFile); in getJpegOutput()
57 fclose(pFile); in getJpegOutput()
/frameworks/av/libvideoeditor/vss/src/
DM4xVSS_API.c318 M4OSA_Void *pDecodedPath = pSettings->pClipList[i]->pFile; in M4xVSS_ReduceTranscode()
327 (M4OSA_Void *)pSettings->pClipList[i]->pFile, in M4xVSS_ReduceTranscode()
627 pCmpResult = strcmp((const char *)xVSS_context->pSettings->xVSS.pBGMtrack->pFile, in M4xVSS_SendCommand()
628 (const char *)pSettings->xVSS.pBGMtrack->pFile); in M4xVSS_SendCommand()
1669 M4OSA_Void *pDecodedPath = pSettings->pClipList[i]->pFile; in M4xVSS_SendCommand()
1681 pCmpResult = strcmp((const char *)pSettings->pClipList[i]->pFile, in M4xVSS_SendCommand()
1802 pDecodedPath = xVSS_context->pSettings->pClipList[i]->pFile; in M4xVSS_SendCommand()
1813 *)xVSS_context->pSettings->pClipList[i]->pFile, in M4xVSS_SendCommand()
2085 if( xVSS_context->pSettings->pClipList[i]->pFile != M4OSA_NULL ) in M4xVSS_SendCommand()
2087 free(xVSS_context->pSettings->pClipList[i]->pFile); in M4xVSS_SendCommand()
[all …]
DM4VSS3GPP_Edit.c272 M4OSA_Void *pFile, M4OSA_UInt32 filePathSize, in M4VSS3GPP_editCreateClipSettings() argument
288 pClipSettings->pFile = M4OSA_NULL; /**< no file */ in M4VSS3GPP_editCreateClipSettings()
292 if( M4OSA_NULL != pFile ) in M4VSS3GPP_editCreateClipSettings()
297 pClipSettings->pFile = in M4VSS3GPP_editCreateClipSettings()
301 if( M4OSA_NULL == pClipSettings->pFile ) in M4VSS3GPP_editCreateClipSettings()
309 memcpy((void *)pClipSettings->pFile, (void *)pFile, filePathSize + 1); in M4VSS3GPP_editCreateClipSettings()
396 if( M4OSA_NULL != pClipSettingsOrig->pFile ) in M4VSS3GPP_editDuplicateClipSettings()
403 pClipSettingsDest->pFile = in M4VSS3GPP_editDuplicateClipSettings()
407 if( M4OSA_NULL == pClipSettingsDest->pFile ) in M4VSS3GPP_editDuplicateClipSettings()
417 memcpy((void *)pClipSettingsDest->pFile, (void *)pClipSettingsOrig->pFile, in M4VSS3GPP_editDuplicateClipSettings()
[all …]
DM4xVSS_internal.c1878 M4OSA_Void* pFile = pEffect->xVSS.pFramingFilePath; in M4xVSS_internalConvertARGB888toYUV420_FrammingEffect() local
1905 pDecodedPath = pFile; in M4xVSS_internalConvertARGB888toYUV420_FrammingEffect()
1911 err = M4xVSS_internalConvertFromUTF8(xVSS_context, (M4OSA_Void*) pFile, in M4xVSS_internalConvertARGB888toYUV420_FrammingEffect()
1932 M4OSA_TRACE1_2("Can't open input ARGB8888 file %s, error: 0x%x\n",pFile, err); in M4xVSS_internalConvertARGB888toYUV420_FrammingEffect()
1951 M4OSA_TRACE1_2("Can't close input png file %s, error: 0x%x\n",pFile, err); in M4xVSS_internalConvertARGB888toYUV420_FrammingEffect()
2655 (M4OSA_Char*)xVSS_context->pCurrentEditSettings->xVSS.pBGMtrack->pFile, in M4xVSS_internalGenerateAudioMixFile()
2672 xVSS_context->pCurrentEditSettings->xVSS.pBGMtrack->pFile; in M4xVSS_internalGenerateAudioMixFile()
2859 if(xVSS_context->pCurrentEditSettings->xVSS.pBGMtrack->pFile != M4OSA_NULL) in M4xVSS_internalFreePreview()
2861 free(xVSS_context->pCurrentEditSettings->xVSS.pBGMtrack->pFile); in M4xVSS_internalFreePreview()
2862 xVSS_context->pCurrentEditSettings->xVSS.pBGMtrack->pFile = M4OSA_NULL; in M4xVSS_internalFreePreview()
[all …]
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorPreviewController.cpp107 if(mClipList[i]->pFile != NULL) { in ~VideoEditorPreviewController()
108 free(mClipList[i]->pFile); in ~VideoEditorPreviewController()
109 mClipList[i]->pFile = NULL; in ~VideoEditorPreviewController()
185 if(mClipList[i]->pFile != NULL) { in loadEditSettings()
186 free(mClipList[i]->pFile); in loadEditSettings()
187 mClipList[i]->pFile = NULL; in loadEditSettings()
242 if(NULL != pSettings->pClipList[i]->pFile) { in loadEditSettings()
243 mClipList[i]->pFile = (M4OSA_Char*)M4OSA_32bitAlignedMalloc( in loadEditSettings()
247 if(NULL == mClipList[i]->pFile) in loadEditSettings()
253 memcpy((void *)mClipList[i]->pFile, in loadEditSettings()
[all …]
/frameworks/compile/mclinker/lib/MC/
DSearchDirs.cpp18 static inline void SpecToFilename(const std::string& pSpec, std::string& pFile) in SpecToFilename() argument
20 pFile = "lib"; in SpecToFilename()
21 pFile += pSpec; in SpecToFilename()
/frameworks/compile/libbcc/include/bcc/ExecutionEngine/
DObjectLoader.h54 static ObjectLoader *Load(FileBase &pFile,
/frameworks/av/libvideoeditor/vss/stagefrightshells/inc/
DVideoEditorMain.h38 M4OSA_Void *pFile; /** PCM file path */ member
/frameworks/av/libvideoeditor/vss/inc/
DM4VSS3GPP_API.h361 M4OSA_Void *pFile; /**< Clip file descriptor */ member
497 M4OSA_Void* pFile, M4OSA_UInt32 filePathSize,
DM4VSS3GPP_Extended_API.h65 M4OSA_Void *pFile; /**< Input file path */ member
DM4xVSS_API.h520 M4OSA_ERR M4xVSS_CreateClipSettings(M4VSS3GPP_ClipSettings *pClipSettings, M4OSA_Void* pFile,
/frameworks/compile/libbcc/lib/Renderscript/
DRSInfo.cpp87 android::String8 RSInfo::GetPath(const FileBase &pFile) { in GetPath() argument
88 android::String8 result(pFile.getName().c_str()); in GetPath()
/frameworks/compile/libbcc/include/bcc/Renderscript/
DRSInfo.h160 static android::String8 GetPath(const FileBase &pFile);
/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppCacheTest.java166 public void openOutFileInAppFilesDir(File pFile, String pFileOut) { in openOutFileInAppFilesDir() argument
169 fos = new FileOutputStream(pFile); in openOutFileInAppFilesDir()
185 FileInputStream fis = new FileInputStream(pFile); in openOutFileInAppFilesDir()

12