/external/opencv/cxcore/src/ |
H A D | cxerror.cpp | 76 CvContext* context = (CvContext*)malloc( sizeof(*context) ); local 78 context->err_mode = CV_ErrModeLeaf; 79 context->err_code = CV_StsOk; 81 context->error_callback = CV_DEFAULT_ERROR_CALLBACK; 82 context->userdata = 0; 84 return context; 88 icvDestroyContext(CvContext* context) argument 90 free(context); 104 CvContext* context; local 217 CvContext* context = icvGetContext(); local 316 CvContext* context = icvGetContext(); local 341 CvContext* context = icvGetContext(); local 420 CvContext* context = (CvContext*) key_val; local [all...] |
/external/srec/srec/crec/ |
H A D | c47mulsp.c | 93 srec_context* context = grammar; local 95 context->max_searchable_nodes = recm->max_fsm_nodes; 96 context->max_searchable_arcs = recm->max_fsm_arcs; 98 if (context->max_searchable_nodes < context->num_nodes || context->max_searchable_arcs < context->num_arcs) 100 PLogError(L("Error: context switch failed due to search limitations [arcs max=%d, actual=%d], [nodes max=%d, actual=%d]\n"), 101 context->max_searchable_arcs, context [all...] |
/external/icu4c/common/ |
H A D | uarrsort.h | 29 * @param context Application-specific pointer, passed through by uprv_sortArray(). 40 UComparator(const void *context, const void *left, const void *right); 52 * @param context Application-specific pointer, passed through to the UComparator. 60 UComparator *cmp, const void *context, 68 uprv_uint16Comparator(const void *context, const void *left, const void *right); 75 uprv_int32Comparator(const void *context, const void *left, const void *right); 82 uprv_uint32Comparator(const void *context, const void *left, const void *right);
|
/external/webkit/Source/JavaScriptCore/API/tests/ |
H A D | testapi.c | 50 static JSGlobalContextRef context; variable 54 if (JSValueToBoolean(context, value) != expectedValue) { 62 double number = JSValueToNumber(context, value, NULL); 75 JSStringRef valueAsString = JSValueToStringCopy(context, value, NULL); 100 JSStringRef valueAsString = JSValueToStringCopy(context, value, NULL); 141 static bool MyObject_hasProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName) argument 143 UNUSED_PARAM(context); 158 static JSValueRef MyObject_getProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) argument 160 UNUSED_PARAM(context); 164 return JSValueMakeNumber(context, 191 MyObject_setProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef value, JSValueRef* exception) argument 208 MyObject_deleteProperty(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) argument 224 MyObject_getPropertyNames(JSContextRef context, JSObjectRef object, JSPropertyNameAccumulatorRef propertyNames) argument 240 MyObject_callAsFunction(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 258 MyObject_callAsConstructor(JSContextRef context, JSObjectRef object, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 274 MyObject_hasInstance(JSContextRef context, JSObjectRef constructor, JSValueRef possibleValue, JSValueRef* exception) argument 291 MyObject_convertToType(JSContextRef context, JSObjectRef object, JSType type, JSValueRef* exception) argument 347 MyObject_class(JSContextRef context) argument 358 EvilExceptionObject_hasInstance(JSContextRef context, JSObjectRef constructor, JSValueRef possibleValue, JSValueRef* exception) argument 373 EvilExceptionObject_convertToType(JSContextRef context, JSObjectRef object, JSType type, JSValueRef* exception) argument 428 EvilExceptionObject_class(JSContextRef context) argument 462 EmptyObject_class(JSContextRef context) argument 517 Base_initialize(JSContextRef context, JSObjectRef object) argument 537 Base_class(JSContextRef context) argument 598 Derived_initialize(JSContextRef context, JSObjectRef object) argument 616 Derived_class(JSContextRef context) argument 631 Derived2_class(JSContextRef context) argument 663 myConstructor_callAsConstructor(JSContextRef context, JSObjectRef constructorObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 679 globalObject_initialize(JSContextRef context, JSObjectRef object) argument 729 functionGC(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 764 makeGlobalNumberValue(JSContextRef context) argument 786 JSGlobalContextRef context = JSGlobalContextCreate(0); local [all...] |
H A D | JSNode.c | 36 static JSValueRef JSNode_appendChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 41 if (!JSValueIsObjectOfClass(context, thisObject, JSNode_class(context))) { 43 *exception = JSValueMakeString(context, message); 45 } else if (argumentCount < 1 || !JSValueIsObjectOfClass(context, arguments[0], JSNode_class(context))) { 47 *exception = JSValueMakeString(context, message); 51 Node* child = JSObjectGetPrivate(JSValueToObject(context, arguments[0], NULL)); 56 return JSValueMakeUndefined(context); 59 static JSValueRef JSNode_removeChild(JSContextRef context, JSObjectRe argument 78 JSNode_replaceChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 106 JSNode_getNodeType(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) argument 122 JSNode_getChildNodes(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception) argument 132 JSNode_getFirstChild(JSContextRef context, JSObjectRef object, JSStringRef propertyName, JSValueRef* exception) argument 148 JSNode_initialize(JSContextRef context, JSObjectRef object) argument 166 JSNode_class(JSContextRef context) argument 183 JSNode_new(JSContextRef context, Node* node) argument 188 JSNode_construct(JSContextRef context, JSObjectRef object, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument [all...] |
/external/webkit/Source/WebCore/platform/graphics/haiku/ |
H A D | StillImageHaiku.cpp | 66 void StillImage::draw(GraphicsContext* context, const FloatRect& destRect, argument 72 context->save(); 73 context->setCompositeOperation(op); 74 context->platformContext()->DrawBitmap(&m_bitmap, sourceRect, destRect); 75 context->restore();
|
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
H A D | CCCanvasLayerImpl.cpp | 55 GraphicsContext3D* context = layerRenderer()->context(); local 56 GLC(context, context->activeTexture(GraphicsContext3D::TEXTURE0)); 57 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_textureId)); 59 GLC(context, context->blendFunc(sfactor, GraphicsContext3D::ONE_MINUS_SRC_ALPHA)); 61 GLC(context, context [all...] |
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
H A D | ConvolutionShader.cpp | 42 ConvolutionShader::ConvolutionShader(GraphicsContext3D* context, unsigned program, int kernelWidth) argument 43 : Shader(context, program) 45 , m_matrixLocation(context->getUniformLocation(program, "matrix")) 46 , m_texMatrixLocation(context->getUniformLocation(program, "texMatrix")) 47 , m_kernelLocation(context->getUniformLocation(program, "kernel")) 48 , m_imageLocation(context->getUniformLocation(program, "image")) 49 , m_imageIncrementLocation(context->getUniformLocation(program, "imageIncrement")) 50 , m_positionLocation(context->getAttribLocation(program, "position")) 54 PassOwnPtr<ConvolutionShader> ConvolutionShader::create(GraphicsContext3D* context, int kernelWidth) argument 93 unsigned program = loadProgram(context, vertexShaderSourc [all...] |
H A D | TexShader.cpp | 41 TexShader::TexShader(GraphicsContext3D* context, unsigned program) argument 42 : Shader(context, program) 44 m_matrixLocation = context->getUniformLocation(program, "matrix"); 45 m_texMatrixLocation = context->getUniformLocation(program, "texMatrix"); 46 m_alphaLocation = context->getUniformLocation(program, "globalAlpha"); 47 m_positionLocation = context->getAttribLocation(program, "position"); 48 m_samplerLocation = context->getUniformLocation(program, "sampler"); 51 PassOwnPtr<TexShader> TexShader::create(GraphicsContext3D* context) argument 53 unsigned program = loadProgram(context, 58 return new TexShader(context, progra [all...] |
/external/webkit/Source/WebCore/platform/graphics/gpu/qt/ |
H A D | DrawingBufferQt.cpp | 34 DrawingBuffer::DrawingBuffer(GraphicsContext3D* context, argument 38 : m_context(context) 42 , m_fbo(context->createFramebuffer()) 57 m_colorBuffer = context->createTexture(); 58 context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_colorBuffer); 59 context->texParameterf(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::LINEAR); 60 context->texParameterf(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR); 61 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_S, GraphicsContext3D::CLAMP_TO_EDGE); 62 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_T, GraphicsContext3D::CLAMP_TO_EDGE); 63 context [all...] |
/external/webkit/Source/WebCore/platform/graphics/gtk/ |
H A D | DrawingBufferGtk.cpp | 36 DrawingBuffer::DrawingBuffer(GraphicsContext3D* context, argument 40 : m_context(context) 44 , m_fbo(context->createFramebuffer()) 57 m_colorBuffer = context->createTexture(); 58 context->bindTexture(GraphicsContext3D::TEXTURE_2D, m_colorBuffer); 59 context->texParameterf(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MAG_FILTER, GraphicsContext3D::LINEAR); 60 context->texParameterf(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_MIN_FILTER, GraphicsContext3D::LINEAR); 61 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_S, GraphicsContext3D::CLAMP_TO_EDGE); 62 context->texParameteri(GraphicsContext3D::TEXTURE_2D, GraphicsContext3D::TEXTURE_WRAP_T, GraphicsContext3D::CLAMP_TO_EDGE); 63 context [all...] |
/external/webkit/Source/WebCore/platform/gtk/ |
H A D | DragImageGtk.cpp | 52 RefPtr<cairo_t> context = adoptRef(cairo_create(scaledSurface)); local 53 cairo_scale(context.get(), scale.width(), scale.height()); 54 cairo_pattern_set_extend(cairo_get_source(context.get()), CAIRO_EXTEND_PAD); 55 cairo_pattern_set_filter(cairo_get_source(context.get()), CAIRO_FILTER_BEST); 56 cairo_set_operator(context.get(), CAIRO_OPERATOR_SOURCE); 57 cairo_set_source_surface(context.get(), image, 0, 0); 58 cairo_paint(context.get()); 69 RefPtr<cairo_t> context = adoptRef(cairo_create(image)); 70 cairo_set_operator(context.get(), CAIRO_OPERATOR_DEST_IN); 71 cairo_set_source_rgba(context [all...] |
/external/webkit/Source/WebKit2/UIProcess/API/C/ |
H A D | WKContextPrivate.h | 47 WK_EXPORT void _WKContextSetAdditionalPluginsDirectory(WKContextRef context, WKStringRef pluginsDirectory); 49 WK_EXPORT void _WKContextRegisterURLSchemeAsEmptyDocument(WKContextRef context, WKStringRef urlScheme); 51 WK_EXPORT void _WKContextSetAlwaysUsesComplexTextCodePath(WKContextRef context, bool alwaysUseComplexTextCodePath); 53 WK_EXPORT void WKContextRegisterURLSchemeAsSecure(WKContextRef context, WKStringRef urlScheme); 55 WK_EXPORT void WKContextSetDomainRelaxationForbiddenForURLScheme(WKContextRef context, WKStringRef urlScheme); 57 WK_EXPORT void WKContextSetIconDatabasePath(WKContextRef context, WKStringRef iconDatabasePath); 61 WK_EXPORT void WKContextSetDatabaseDirectory(WKContextRef context, WKStringRef databaseDirectory); 62 WK_EXPORT void WKContextSetLocalStorageDirectory(WKContextRef context, WKStringRef localStorageDirectory); 66 WK_EXPORT void WKContextDisableProcessTermination(WKContextRef context); 67 WK_EXPORT void WKContextEnableProcessTermination(WKContextRef context); [all...] |
/external/webkit/Tools/DumpRenderTree/gtk/ |
H A D | TextInputController.cpp | 41 static JSValueRef setMarkedTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 45 return JSValueMakeUndefined(context); 48 return JSValueMakeUndefined(context); 50 JSStringRef string = JSValueToStringCopy(context, arguments[0], exception); 51 g_return_val_if_fail((!exception || !*exception), JSValueMakeUndefined(context)); 58 int start = static_cast<int>(JSValueToNumber(context, arguments[1], exception)); 59 g_return_val_if_fail((!exception || !*exception), JSValueMakeUndefined(context)); 61 int end = static_cast<int>(JSValueToNumber(context, arguments[2], exception)); 62 g_return_val_if_fail((!exception || !*exception), JSValueMakeUndefined(context)); 66 return JSValueMakeUndefined(context); 69 insertTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 91 unmarkTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 101 firstRectForCharacterRangeCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 131 selectedRangeCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 159 getClass(JSContextRef context) argument 175 makeTextInputController(JSContextRef context) argument [all...] |
H A D | PlainTextController.cpp | 40 static JSValueRef plainTextCallback(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) argument 42 g_return_val_if_fail(argumentCount == 1, JSValueMakeUndefined(context)); 43 WebKitDOMRange* kitRange = DumpRenderTreeSupportGtk::jsValueToDOMRange(context, arguments[0]); 44 g_return_val_if_fail(kitRange, JSValueMakeUndefined(context)); 48 return JSValueMakeString(context, jsText.get()); 51 JSObjectRef makePlainTextController(JSContextRef context) argument 64 return JSObjectMake(context, plainTextControllerClass, 0);
|
/external/webkit/Tools/DumpRenderTree/win/ |
H A D | MD5.cpp | 62 void MD5_Init(MD5_CTX* context) argument 64 init()(context); 67 void MD5_Update(MD5_CTX* context, unsigned char* input, unsigned length) argument 69 update()(context, input, length); 72 void MD5_Final(unsigned char hash[16], MD5_CTX* context) argument 74 final()(context); 77 hash[i] = context->digest[i];
|
/external/webkit/Tools/TestWebKitAPI/Tests/WebKit2/ |
H A D | CanHandleRequest.cpp | 47 static void setInjectedBundleClient(WKContextRef context) argument 53 WKContextSetInjectedBundleClient(context, &injectedBundleClient); 58 WKRetainPtr<WKContextRef> context = adoptWK(Util::createContextForInjectedBundleTest("CanHandleRequestTest")); local 59 setInjectedBundleClient(context.get()); 61 _WKContextRegisterURLSchemeAsEmptyDocument(context.get(), Util::toWK("emptyscheme").get()); 63 PlatformWebView webView(context.get()); 67 WKContextPostMessageToInjectedBundle(context.get(), Util::toWK("CheckCanHandleRequest").get(), 0);
|
/external/webkit/Tools/WebKitTestRunner/InjectedBundle/Bindings/ |
H A D | JSWrapper.h | 37 static JSValueRef wrap(JSContextRef context, JSWrappable* object); 38 static JSWrappable* unwrap(JSContextRef context, JSValueRef value); 44 inline JSValueRef toJS(JSContextRef context, JSWrappable* impl) argument 46 return JSWrapper::wrap(context, impl); 49 inline void setProperty(JSContextRef context, JSObjectRef object, const char* propertyName, JSWrappable* value, JSPropertyAttributes attributes, JSValueRef* exception) argument 52 JSObjectSetProperty(context, object, propertyNameString.get(), JSWrapper::wrap(context, value), attributes, exception);
|
H A D | JSWrapper.cpp | 33 JSValueRef JSWrapper::wrap(JSContextRef context, JSWrappable* object) argument 35 ASSERT_ARG(context, context); 38 return JSValueMakeNull(context); 42 JSObjectRef wrapperObject = JSObjectMake(context, objectClass, object); 48 JSWrappable* JSWrapper::unwrap(JSContextRef context, JSValueRef value) argument 50 ASSERT_ARG(context, context); 52 if (!context || !value) 54 return static_cast<JSWrappable*>(JSObjectGetPrivate(JSValueToObject(context, valu [all...] |
/external/webkit/Source/WebCore/platform/graphics/cairo/ |
H A D | FontCairo.cpp | 46 static void prepareContextForGlyphDrawing(cairo_t* context, const SimpleFontData* font, const FloatPoint& point) argument 49 cairo_set_scaled_font(context, font->platformData().scaledFont()); 52 cairo_transform(context, &mat); 54 cairo_translate(context, point.x(), point.y()); 57 static void drawGlyphsToContext(cairo_t* context, const SimpleFontData* font, GlyphBufferGlyph* glyphs, int numGlyphs) argument 59 cairo_show_glyphs(context, glyphs, numGlyphs); 62 cairo_translate(context, font->syntheticBoldOffset(), 0); 63 cairo_show_glyphs(context, glyphs, numGlyphs); 64 cairo_translate(context, -font->syntheticBoldOffset(), 0); 78 cairo_t* context local 99 drawGlyphs(GraphicsContext* context, const SimpleFontData* font, const GlyphBuffer& glyphBuffer, int from, int numGlyphs, const FloatPoint& point) const argument [all...] |
/external/libvpx/nestegg/include/nestegg/ |
H A D | nestegg.h | 84 /** User supplied IO context. */ 134 typedef void (* nestegg_log)(nestegg * context, unsigned int severity, char const * format, ...); 136 /** Initialize a nestegg context. During initialization the parser will 139 @param context Storage for the new nestegg context. @see nestegg_destroy 140 @param io User supplied IO context. 144 int nestegg_init(nestegg ** context, nestegg_io io, nestegg_log callback); 146 /** Destroy a nestegg context and free associated memory. 147 @param context #nestegg context t [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
H A D | main.cpp | 40 current->context = NULL; 76 void makeCurrent(Context *context, egl::Display *display, egl::Surface *surface) argument 80 current->context = context; 83 if (context && display && surface) 85 context->makeCurrent(display, surface); 93 return current->context; 114 gl::Context *context = glGetCurrentContext(); local 116 if (context) 121 context [all...] |
/external/webkit/Source/WebKit/chromium/src/ |
H A D | LocalFileSystemChromium.cpp | 69 static void openFileSystemHelper(ScriptExecutionContext* context, AsyncFileSystem::Type type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks, bool synchronous, long long size, CreationFlag create) argument 71 ASSERT(context); 72 if (context->isDocument()) { 73 Document* document = static_cast<Document*>(context); 77 WorkerContext* workerContext = static_cast<WorkerContext*>(context); 80 webWorker->openFileSystemForWorker(static_cast<WebFileSystem::Type>(type), size, create == CreateIfNotPresent, new WebFileSystemCallbacksImpl(callbacks, type, context, synchronous), synchronous); 84 void LocalFileSystem::readFileSystem(ScriptExecutionContext* context, AsyncFileSystem::Type type, PassOwnPtr<AsyncFileSystemCallbacks> callbacks, bool synchronous) argument 86 openFileSystemHelper(context, type, callbacks, synchronous, 0, OpenExisting); 89 void LocalFileSystem::requestFileSystem(ScriptExecutionContext* context, AsyncFileSystem::Type type, long long size, PassOwnPtr<AsyncFileSystemCallbacks> callbacks, bool synchronous) argument 91 openFileSystemHelper(context, typ [all...] |
/external/webkit/Source/WebKit/mac/Plugins/ |
H A D | WebNetscapeContainerCheckContextInfo.mm | 32 - (id)initWithCheckRequestID:(uint32_t)checkRequestID callbackFunc:(void (*)(NPP npp, uint32_t checkID, NPBool allowed, void* context))callbackFunc context:(void*)context 40 _context = context; 54 - (void*)context
|
/external/ipsec-tools/src/racoon/missing/crypto/sha2/ |
H A D | sha2.c | 334 void SHA256_Init(SHA256_CTX* context) { argument 335 if (context == (SHA256_CTX*)0) { 338 bcopy(sha256_initial_hash_value, context->state, SHA256_DIGEST_LENGTH); 339 bzero(context->buffer, SHA256_BLOCK_LENGTH); 340 context->bitcount = 0; 380 void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { argument 385 W256 = (sha2_word32*)context->buffer; 388 a = context->state[0]; 389 b = context->state[1]; 390 c = context 438 SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) argument 518 SHA256_Update(SHA256_CTX* context, const sha2_byte *data, size_t len) argument 566 SHA256_Final(sha2_byte digest[], SHA256_CTX* context) argument 629 SHA256_End(SHA256_CTX* context, char buffer[]) argument 653 SHA256_CTX context; local 662 SHA512_Init(SHA512_CTX* context) argument 707 SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) argument 762 SHA512_Transform(SHA512_CTX* context, const sha2_word64* data) argument 840 SHA512_Update(SHA512_CTX* context, const sha2_byte *data, size_t len) argument 888 SHA512_Last(SHA512_CTX* context) argument 929 SHA512_Final(sha2_byte digest[], SHA512_CTX* context) argument 958 SHA512_End(SHA512_CTX* context, char buffer[]) argument 982 SHA512_CTX context; local 991 SHA384_Init(SHA384_CTX* context) argument 1000 SHA384_Update(SHA384_CTX* context, const sha2_byte* data, size_t len) argument 1004 SHA384_Final(sha2_byte digest[], SHA384_CTX* context) argument 1033 SHA384_End(SHA384_CTX* context, char buffer[]) argument 1057 SHA384_CTX context; local [all...] |