Searched refs:callbackContext (Results 1 – 8 of 8) sorted by relevance
/external/skia/tools/ |
D | DDLPromiseImageHelper.cpp | 157 PromiseImageCallbackContext* callbackContext = info->callbackContext(j); in CreateBETexturesForPromiseImage() local 158 SkASSERT(callbackContext); in CreateBETexturesForPromiseImage() 161 callbackContext->setBackendTexture(create_yuva_texture(direct, yuvPixmap, j)); in CreateBETexturesForPromiseImage() 162 SkASSERT(callbackContext->promiseImageTexture()); in CreateBETexturesForPromiseImage() 165 PromiseImageCallbackContext* callbackContext = info->callbackContext(0); in CreateBETexturesForPromiseImage() local 166 if (!callbackContext) { in CreateBETexturesForPromiseImage() 190 callbackContext->setBackendTexture(backendTex); in CreateBETexturesForPromiseImage() 198 PromiseImageCallbackContext* callbackContext = info->callbackContext(j); in DeleteBETexturesForPromiseImage() local 199 SkASSERT(callbackContext); in DeleteBETexturesForPromiseImage() 201 callbackContext->destroyBackendTexture(); in DeleteBETexturesForPromiseImage() [all …]
|
D | DDLPromiseImageHelper.h | 64 auto callbackContext = static_cast<PromiseImageCallbackContext*>(textureContext); in PromiseImageFulfillProc() local 65 return callbackContext->fulfill(); in PromiseImageFulfillProc() 69 auto callbackContext = static_cast<PromiseImageCallbackContext*>(textureContext); in PromiseImageReleaseProc() local 70 callbackContext->release(); in PromiseImageReleaseProc() 71 callbackContext->unref(); in PromiseImageReleaseProc() 164 void setCallbackContext(int index, sk_sp<PromiseImageCallbackContext> callbackContext) { in setCallbackContext() argument 166 fCallbackContexts[index] = callbackContext; in setCallbackContext() 168 PromiseImageCallbackContext* callbackContext(int index) const { in callbackContext() function
|
/external/skqp/tools/ |
D | DDLPromiseImageHelper.h | 165 void setCallbackContext(int index, sk_sp<PromiseImageCallbackContext> callbackContext) { in setCallbackContext() argument 167 fCallbackContexts[index] = callbackContext; in setCallbackContext() 169 PromiseImageCallbackContext* callbackContext(int index) const { in callbackContext() function 226 auto callbackContext = static_cast<PromiseImageCallbackContext*>(textureContext); in PromiseImageFulfillProc() local 227 return callbackContext->fulfill(); in PromiseImageFulfillProc() 231 auto callbackContext = static_cast<PromiseImageCallbackContext*>(textureContext); in PromiseImageReleaseProc() local 232 callbackContext->release(); in PromiseImageReleaseProc() 236 auto callbackContext = static_cast<PromiseImageCallbackContext*>(textureContext); in PromiseImageDoneProc() local 237 callbackContext->done(); in PromiseImageDoneProc() 238 callbackContext->unref(); in PromiseImageDoneProc()
|
D | DDLPromiseImageHelper.cpp | 123 sk_sp<PromiseImageCallbackContext> callbackContext( in uploadAllToGPU() local 126 callbackContext->setBackendTexture(create_yuva_texture(gpu, yuvPixmap, in uploadAllToGPU() 128 SkASSERT(callbackContext->promiseImageTexture()); in uploadAllToGPU() 130 fImageInfo[i].setCallbackContext(j, std::move(callbackContext)); in uploadAllToGPU() 133 sk_sp<PromiseImageCallbackContext> callbackContext( in uploadAllToGPU() local 138 callbackContext->setBackendTexture(gpu->createTestingOnlyBackendTexture( in uploadAllToGPU() 148 fImageInfo[i].setCallbackContext(0, std::move(callbackContext)); in uploadAllToGPU() 166 info.callbackContext(j)->setBackendTexture( in replaceEveryOtherPromiseTexture() 168 SkASSERT(info.callbackContext(j)->promiseImageTexture()); in replaceEveryOtherPromiseTexture() 172 info.callbackContext(0)->setBackendTexture(gpu->createTestingOnlyBackendTexture( in replaceEveryOtherPromiseTexture() [all …]
|
/external/icu/android_icu4j/libcore_bridge/src/native/ |
D | com_android_icu_charset_NativeConverter.cpp | 423 EncoderCallbackContext* callbackContext = const_cast<EncoderCallbackContext*>( in NativeConverter_setCallbackEncode() local 429 if (callbackContext == NULL) { in NativeConverter_setCallbackEncode() 430 callbackContext = new EncoderCallbackContext; in NativeConverter_setCallbackEncode() 431 callbackContextDeleter.reset(callbackContext); in NativeConverter_setCallbackEncode() 434 callbackContext->onMalformedInput = getFromUCallback(onMalformedInput); in NativeConverter_setCallbackEncode() 435 callbackContext->onUnmappableInput = getFromUCallback(onUnmappableInput); in NativeConverter_setCallbackEncode() 439 || replacementBytes.size() > sizeof(callbackContext->replacementBytes)) { in NativeConverter_setCallbackEncode() 443 memcpy(callbackContext->replacementBytes, replacementBytes.get(), replacementBytes.size()); in NativeConverter_setCallbackEncode() 444 callbackContext->replacementByteCount = replacementBytes.size(); in NativeConverter_setCallbackEncode() 447 ucnv_setFromUCallBack(cnv, CHARSET_ENCODER_CALLBACK, callbackContext, NULL, NULL, &errorCode); in NativeConverter_setCallbackEncode() [all …]
|
/external/skia/src/gpu/ |
D | GrSurfaceContext.cpp | 638 ReadPixelsContext callbackContext) { in asyncRescaleAndReadPixels() argument 640 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 645 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 649 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 654 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 673 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 682 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 692 callback(callbackContext, nullptr); in asyncRescaleAndReadPixels() 704 callbackContext); in asyncRescaleAndReadPixels() 806 ReadPixelsContext callbackContext) { in asyncReadPixels() argument [all …]
|
D | GrSurfaceContext.h | 117 ReadPixelsContext callbackContext);
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rjsmin/bench/ |
D | jquery-1.7.1.js | 7226 callbackContext = s.context || s, 7230 globalEventContext = callbackContext !== s && 7231 ( callbackContext.nodeType || callbackContext instanceof jQuery ) ? 7232 jQuery( callbackContext ) : jQuery.event, 7399 deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); 7401 deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); 7414 completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); 7547 …if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) )…
|