Searched defs:pString (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/media/jni/mediaeditor/
H A DVideoEditorOsal.cpp227 const char* pString = M4OSA_NULL; local
232 ((M4OSA_NULL == pString) && (index < gkRESULTS_COUNT));
239 pString = gkRESULTS[index].pName;
244 if (M4OSA_NULL == pString)
249 pString = string;
253 return(pString);
H A DVideoEditorJava.cpp317 void* pString = M4OSA_NULL; local
356 pString = videoEditOsal_alloc(pResult, pEnv, length, "String");
360 result = M4OSA_chrNCopy((M4OSA_Char*)pString, pLocal, length);
370 videoEditOsal_free(pString);
371 pString = M4OSA_NULL;
396 return(pString);
536 const char* pString = M4OSA_NULL; local
541 ((M4OSA_NULL == pString) && (index < pClass->count));
548 pString = pClass->pConstants[index].pDescription;
553 if (M4OSA_NULL == pString)
[all...]
H A DVideoEditorThumbnailMain.cpp157 const M4OSA_Char *pString,
165 CHECK_PTR(ThumbnailOpen, pString, err, M4ERR_BAD_CONTEXT);
180 &pContext->m_pVideoBrowser, pString) ;
193 err = videoBrowserCreate(&pContext->m_pVideoBrowser, (M4OSA_Char*)pString,
156 ThumbnailOpen(M4OSA_Context *pPContext, const M4OSA_Char *pString, M4OSA_Bool bRender) argument
H A DVideoEditorMain.cpp1056 const char *pString = pEnv->GetStringUTFChars(filePath, NULL); local
1057 if (pString == M4OSA_NULL) {
1065 result = ThumbnailOpen(&tnContext,(const M4OSA_Char*)pString, M4OSA_TRUE);
1161 if (pString != NULL) {
1162 pEnv->ReleaseStringUTFChars(filePath, pString);
2247 const char *pString = env->GetStringUTFChars(path, NULL); local
2248 if (pString == M4OSA_NULL) {
2255 err = ThumbnailOpen(&mContext,(const M4OSA_Char*)pString, M4OSA_FALSE);
2257 if (pString != NULL) {
2258 env->ReleaseStringUTFChars(path, pString);
2301 const char *pString = env->GetStringUTFChars(path, NULL); local
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DNamePool.cpp108 llvm::StringRef NamePool::insertString(const llvm::StringRef& pString) argument
111 ResolveInfo* resolve_info = m_Table.insert(pString, exist);
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoExtractor.cpp56 inline llvm::StringRef getStringFromOperand(const llvm::Value *pString) { argument
57 if ((pString != NULL) && (pString->getValueID() == llvm::Value::MDStringVal)) {
58 return static_cast<const llvm::MDString *>(pString)->getString();
89 // Write a string pString to the string pool pStringPool at offset pWriteStart.
90 // Return the pointer the pString resides within the string pool.
91 const char *writeString(const llvm::StringRef &pString, char *pStringPool, argument
93 if (pString.empty()) {
99 ::memcpy(pStringWriteStart, pString.data(), pString
[all...]
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/
H A DFwdLockConv.c441 * @param[in,out] pString A reference to a dynamically growing string.
446 static FwdLockConv_Status_t FwdLockConv_StringAppend(FwdLockConv_String_t *pString, int ch) { argument
447 if (pString->length == pString->maxLength) {
448 size_t newMaxLength = pString->maxLength + pString->lengthIncrement;
449 char *newPtr = realloc(pString->ptr, newMaxLength + 1);
453 pString->ptr = newPtr;
454 pString->maxLength = newMaxLength;
456 pString
[all...]

Completed in 85 milliseconds