Home
last modified time | relevance | path

Searched refs:context (Results 1 – 25 of 3949) sorted by relevance

12345678910>>...158

/external/libvncserver/common/
Dsha1.c87 int SHA1Reset(SHA1Context *context) in SHA1Reset() argument
89 if (!context) in SHA1Reset()
94 context->Length_Low = 0; in SHA1Reset()
95 context->Length_High = 0; in SHA1Reset()
96 context->Message_Block_Index = 0; in SHA1Reset()
98 context->Intermediate_Hash[0] = 0x67452301; in SHA1Reset()
99 context->Intermediate_Hash[1] = 0xEFCDAB89; in SHA1Reset()
100 context->Intermediate_Hash[2] = 0x98BADCFE; in SHA1Reset()
101 context->Intermediate_Hash[3] = 0x10325476; in SHA1Reset()
102 context->Intermediate_Hash[4] = 0xC3D2E1F0; in SHA1Reset()
[all …]
/external/icu/icu4c/source/i18n/
DdecContext.c45 U_CAPI decContext * U_EXPORT2 uprv_decContextClearStatus(decContext *context, uInt mask) { in uprv_decContextClearStatus() argument
46 context->status&=~mask; in uprv_decContextClearStatus()
47 return context; in uprv_decContextClearStatus()
63 U_CAPI decContext * U_EXPORT2 uprv_decContextDefault(decContext *context, Int kind) { in uprv_decContextDefault() argument
65 context->digits=9; /* 9 digits */ in uprv_decContextDefault()
66 context->emax=DEC_MAX_EMAX; /* 9-digit exponents */ in uprv_decContextDefault()
67 context->emin=DEC_MIN_EMIN; /* .. balanced */ in uprv_decContextDefault()
68 context->round=DEC_ROUND_HALF_UP; /* 0.5 rises */ in uprv_decContextDefault()
69 context->traps=DEC_Errors; /* all but informational */ in uprv_decContextDefault()
70 context->status=0; /* cleared */ in uprv_decContextDefault()
[all …]
/external/dbus/bus/
Dbus.c79 BusContext *context; member
87 BusContext *context; in server_get_context() local
100 context = bd->context; in server_get_context()
104 return context; in server_get_context()
112 BusContext *context; in add_server_watch() local
114 context = server_get_context (server); in add_server_watch()
116 return _dbus_loop_add_watch (context->loop, watch); in add_server_watch()
124 BusContext *context; in remove_server_watch() local
126 context = server_get_context (server); in remove_server_watch()
128 _dbus_loop_remove_watch (context->loop, watch); in remove_server_watch()
[all …]
Dbus.h82 dbus_bool_t bus_context_reload_config (BusContext *context,
84 void bus_context_shutdown (BusContext *context);
85 BusContext* bus_context_ref (BusContext *context);
86 void bus_context_unref (BusContext *context);
87 dbus_bool_t bus_context_get_id (BusContext *context,
89 const char* bus_context_get_type (BusContext *context);
90 const char* bus_context_get_address (BusContext *context);
91 const char* bus_context_get_servicehelper (BusContext *context);
92 dbus_bool_t bus_context_get_systemd_activation (BusContext *context);
93 BusRegistry* bus_context_get_registry (BusContext *context);
[all …]
Dconfig-loader-expat.c41 process_content (ExpatParseContext *context) in process_content() argument
43 if (context->failed) in process_content()
46 if (_dbus_string_get_length (&context->content) > 0) in process_content()
48 if (!bus_config_parser_content (context->parser, in process_content()
49 &context->content, in process_content()
50 context->error)) in process_content()
52 context->failed = TRUE; in process_content()
55 _dbus_string_set_length (&context->content, 0); in process_content()
66 ExpatParseContext *context = userData; in expat_StartElementHandler() local
74 if (context->failed) in expat_StartElementHandler()
[all …]
/external/v8/test/cctest/
Dtest-decls.cc57 Local<Context> context = Local<Context>::New(isolate, context_); in ~DeclarationContext() local
58 context->Exit(); in ~DeclarationContext()
80 virtual void PostInitializeContext(Local<Context> context) {} in PostInitializeContext() argument
125 Local<Context> context = Context::New(isolate, in InitializeIfNeeded() local
129 context_.Reset(isolate, context); in InitializeIfNeeded()
130 context->Enter(); in InitializeIfNeeded()
136 PostInitializeContext(context); in InitializeIfNeeded()
150 Local<Context> context = CcTest::isolate()->GetCurrentContext(); in Check() local
152 context, in Check()
160 MaybeLocal<Value> result = script.ToLocalChecked()->Run(context); in Check()
[all …]
/external/deqp/modules/gles2/functional/
Des2fFboRenderTest.cpp99 …rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const in shadeFragments()
107 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
157 …rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const in shadeFragments()
162 const tcu::Vec4 v_coord = rr::readVarying<float>(packets[packetNdx], context, 0, fragNdx); in shadeFragments()
165 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, this->m_uniforms[0].sampler.tex2D->sample(… in shadeFragments()
220 …rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const in shadeFragments()
225 const tcu::Vec4 v_coord = rr::readVarying<float>(packets[packetNdx], context, 0, fragNdx); in shadeFragments()
228 …rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, this->m_uniforms[0].sampler.tex2D->sampl… in shadeFragments()
356 …Framebuffer (sglr::Context& context, const FboConfig& config, int width, int height, deUint32 fb…
379 static bool isExtensionSupported (sglr::Context& context, const char* name) in isExtensionSupported() argument
[all …]
Des2fAttribLocationTests.cpp47 TestCaseGroup* createAttributeLocationTests (Context& context) in createAttributeLocationTests() argument
61 …TestCaseGroup* const root = new TestCaseGroup (context, "attribute_location", "Attribute location … in createAttributeLocationTests()
65 …TestCaseGroup* const bindAttributeGroup = new TestCaseGroup(context, "bind", "Basic attribute bind… in createAttributeLocationTests()
72 …bindAttributeGroup->addChild(new gls::BindAttributeTest(context.getTestContext(), context.getRende… in createAttributeLocationTests()
78 …TestCaseGroup* const bindMaxAttributeGroup = new TestCaseGroup(context, "bind_max_attributes", "Te… in createAttributeLocationTests()
85 …bindMaxAttributeGroup->addChild(new gls::BindMaxAttributesTest(context.getTestContext(), context.g… in createAttributeLocationTests()
91 …TestCaseGroup* const aliasingGroup = new TestCaseGroup(context, "bind_aliasing", "Test attribute l… in createAttributeLocationTests()
100 …aliasingGroup->addChild(new gls::BindAliasingAttributeTest(context.getTestContext(), context.getRe… in createAttributeLocationTests()
104 …aliasingGroup->addChild(new gls::BindAliasingAttributeTest(context.getTestContext(), context.getRe… in createAttributeLocationTests()
107 …aliasingGroup->addChild(new gls::BindMaxAliasingAttributeTest(context.getTestContext(), context.ge… in createAttributeLocationTests()
[all …]
Des2fDepthTests.cpp58 …r::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const;
94 …rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const in shadeFragments()
102 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
109 DepthCase (Context& context, const char* name, const char* description);
113 virtual void render (sglr::Context& context) = DE_NULL;
116 DepthCase::DepthCase (Context& context, const char* name, const char* description) in DepthCase() argument
117 : TestCase(context, name, description) in DepthCase()
144 …sglr::GLContext context(renderCtx, log, sglr::GLCONTEXT_LOG_CALLS, tcu::IVec4(x, y, width, height)… in iterate() local
146 context.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
147 context.clear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT); in iterate()
[all …]
/external/deqp/modules/gles3/functional/
Des3fFboRenderTest.cpp140 …Framebuffer (sglr::Context& context, const FboConfig& config, int width, int height, deUint32 f…
191 static bool isExtensionSupported (sglr::Context& context, const char* name) in isExtensionSupported() argument
193 std::istringstream extensions(context.getString(GL_EXTENSIONS)); in isExtensionSupported()
205 static bool isAnyExtensionSupported (sglr::Context& context, const std::vector<std::string>& requir… in isAnyExtensionSupported() argument
214 if (isExtensionSupported(context, extension.c_str())) in isAnyExtensionSupported()
236 static void checkColorFormatSupport (sglr::Context& context, deUint32 sizedFormat) in checkColorFormatSupport() argument
240 if (!isAnyExtensionSupported(context, requiredExts)) in checkColorFormatSupport()
249 Framebuffer::Framebuffer (sglr::Context& context, const FboConfig& config, int width, int height, d… in Framebuffer() argument
251 , m_context (context) in Framebuffer()
257 checkColorFormatSupport(context, config.colorFormat); in Framebuffer()
[all …]
Des3fAttribLocationTests.cpp40 TestCaseGroup* createAttributeLocationTests (Context& context) in createAttributeLocationTests() argument
88 …TestCaseGroup* const root = new TestCaseGroup (context, "attribute_location", "Attribute location … in createAttributeLocationTests()
92 …TestCaseGroup* const bindAttributeGroup = new TestCaseGroup(context, "bind", "Basic bind attribute… in createAttributeLocationTests()
99 …bindAttributeGroup->addChild(new gls::BindAttributeTest(context.getTestContext(), context.getRende… in createAttributeLocationTests()
105 …TestCaseGroup* const bindMaxAttributeGroup = new TestCaseGroup(context, "bind_max_attributes", "Us… in createAttributeLocationTests()
112 …bindMaxAttributeGroup->addChild(new gls::BindMaxAttributesTest(context.getTestContext(), context.g… in createAttributeLocationTests()
118 …TestCaseGroup* const aliasingGroup = new TestCaseGroup(context, "bind_aliasing", "Test binding ali… in createAttributeLocationTests()
127 …aliasingGroup->addChild(new gls::BindAliasingAttributeTest(context.getTestContext(), context.getRe… in createAttributeLocationTests()
131 …aliasingGroup->addChild(new gls::BindAliasingAttributeTest(context.getTestContext(), context.getRe… in createAttributeLocationTests()
134 …aliasingGroup->addChild(new gls::BindMaxAliasingAttributeTest(context.getTestContext(), context.ge… in createAttributeLocationTests()
[all …]
Des3fDepthTests.cpp58 …r::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const;
97 …rr::FragmentPacket* packets, const int numPackets, const rr::FragmentShadingContext& context) const in shadeFragments()
105 rr::writeFragmentOutput(context, packetNdx, fragNdx, 0, color); in shadeFragments()
112 DepthCase (Context& context, const char* name, const char* description);
116 virtual void render (sglr::Context& context) = DE_NULL;
119 DepthCase::DepthCase (Context& context, const char* name, const char* description) in DepthCase() argument
120 : TestCase(context, name, description) in DepthCase()
147 …sglr::GLContext context(renderCtx, log, sglr::GLCONTEXT_LOG_CALLS, tcu::IVec4(x, y, width, height)… in iterate() local
149 context.clearColor(clearColor.x(), clearColor.y(), clearColor.z(), clearColor.w()); in iterate()
150 context.clear(GL_COLOR_BUFFER_BIT|GL_DEPTH_BUFFER_BIT|GL_STENCIL_BUFFER_BIT); in iterate()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DDTMDefaultBaseTraversers.java211 public int next(int context, int current) in next() argument
226 public int next(int context, int current, int expandedTypeID) in next() argument
256 public int first(int context) in first() argument
258 return context; in first()
273 public int first(int context, int expandedTypeID) in first() argument
275 return (getExpandedTypeID(context) == expandedTypeID) in first()
276 ? context : next(context, context, expandedTypeID); in first()
294 public int next(int context, int current) in next() argument
296 return (context == current) in next()
297 ? getFirstAttribute(context) : getNextAttribute(current); in next()
[all …]
/external/ipsec-tools/src/racoon/missing/crypto/sha2/
Dsha2.c334 void SHA256_Init(SHA256_CTX* context) { in SHA256_Init() argument
335 if (context == (SHA256_CTX*)0) { in SHA256_Init()
338 bcopy(sha256_initial_hash_value, context->state, SHA256_DIGEST_LENGTH); in SHA256_Init()
339 bzero(context->buffer, SHA256_BLOCK_LENGTH); in SHA256_Init()
340 context->bitcount = 0; in SHA256_Init()
380 void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { in SHA256_Transform() argument
385 W256 = (sha2_word32*)context->buffer; in SHA256_Transform()
388 a = context->state[0]; in SHA256_Transform()
389 b = context->state[1]; in SHA256_Transform()
390 c = context->state[2]; in SHA256_Transform()
[all …]
/external/ltrace/sysdeps/linux-gnu/aarch64/
Dfetch.c47 context_init(struct fetch_context *context, struct process *proc) in context_init() argument
49 if (aarch64_read_gregs(proc, &context->gregs) < 0 in context_init()
50 || aarch64_read_fregs(proc, &context->fpregs) < 0) in context_init()
53 context->ngrn = 0; in context_init()
54 context->nsrn = 0; in context_init()
56 context->nsaa = (arch_addr_t) (uintptr_t) context->gregs.sp; in context_init()
57 context->x8 = 0; in context_init()
63 arch_fetch_arg_clone(struct process *proc, struct fetch_context *context) in arch_fetch_arg_clone() argument
68 return memcpy(ret, context, sizeof(*ret)); in arch_fetch_arg_clone()
72 fetch_next_gpr(struct fetch_context *context, unsigned char *buf) in fetch_next_gpr() argument
[all …]
/external/deqp/modules/glshared/
DglsLongStressTestUtil.cpp126 …gls::ProgramContext context(substitute(vertexTemplate, firstLevelParams).c_str(), substitute(fragm… in generateBufferContext() local
128 context.attributes.push_back(gls::VarSpec("a_position", Vec3(-0.1f), Vec3(0.1f))); in generateBufferContext()
131context.attributes.push_back(gls::VarSpec("a_in" + de::toString(i), Vec4(0.0f), Vec4(1.0f / (float… in generateBufferContext()
133 return context; in generateBufferContext()
161 …gls::ProgramContext context(substitute(vertexTemplate).c_str(), substitute(fragmentTemplate).c_str… in generateTextureContext() local
163context.attributes.push_back(gls::VarSpec("a_position", Vec3(-positionFactor), Vec3(position… in generateTextureContext()
164 context.attributes.push_back(gls::VarSpec("a_texCoord", Vec2(0.0f), Vec2(1.0f))); in generateTextureContext()
166 context.uniforms.push_back(gls::VarSpec("u_sampler", 0)); in generateTextureContext()
167context.uniforms.push_back(gls::VarSpec("u_posTrans", translationMat<4>(positionFactor-1.0f), tr… in generateTextureContext()
170 context.textureSpecs.push_back(gls::TextureSpec(gls::TextureTestUtil::TEXTURETYPE_2D, 0, in generateTextureContext()
[all …]
/external/google-breakpad/src/processor/
Dsynth_minidump.cc129 Context::Context(const Dump &dump, const MDRawContextX86 &context) in Context() argument
134 assert(((context.context_flags & MD_CONTEXT_CPU_MASK) == 0) || in Context()
135 (context.context_flags & MD_CONTEXT_X86)); in Context()
138 D32(context.context_flags); in Context()
139 D32(context.dr0); in Context()
140 D32(context.dr1); in Context()
141 D32(context.dr2); in Context()
142 D32(context.dr3); in Context()
143 D32(context.dr6); in Context()
144 D32(context.dr7); in Context()
[all …]
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_ASCIIEncoder.cpp36 void CBC_ASCIIEncoder::Encode(CBC_EncoderContext& context, int32_t& e) { in Encode() argument
38 context.m_msg, context.m_pos); in Encode()
41 encodeASCIIDigits(context.m_msg.GetAt(context.m_pos), in Encode()
42 context.m_msg.GetAt(context.m_pos + 1), e); in Encode()
46 context.writeCodeword(code); in Encode()
47 context.m_pos += 2; in Encode()
49 FX_WCHAR c = context.getCurrentChar(); in Encode()
51 context.m_msg, context.m_pos, getEncodingMode()); in Encode()
55 context.writeCodeword(CBC_HighLevelEncoder::LATCH_TO_BASE256); in Encode()
56 context.signalEncoderChange(BASE256_ENCODATION); in Encode()
[all …]
/external/ltrace/sysdeps/linux-gnu/m68k/
Dfetch.c46 fetch_register_banks(struct process *proc, struct fetch_context *context, in fetch_register_banks() argument
49 if (ptrace(PTRACE_GETREGS, proc->pid, 0, &context->regs) < 0) in fetch_register_banks()
53 && ptrace(PTRACE_GETFPREGS, proc->pid, 0, &context->fpregs) < 0) in fetch_register_banks()
63 struct fetch_context *context = malloc(sizeof(*context)); in arch_fetch_arg_init() local
64 if (context == NULL) in arch_fetch_arg_init()
68 if (fetch_register_banks(proc, context, type == LT_TOF_FUNCTION) < 0) { in arch_fetch_arg_init()
70 free(context); in arch_fetch_arg_init()
74 context->arg_num = 0; in arch_fetch_arg_init()
75 context->stack_pointer = (arch_addr_t)context->regs[PT_USP] + 4; in arch_fetch_arg_init()
82 value_init(&context->retval, proc, NULL, ret_info, 0); in arch_fetch_arg_init()
[all …]
/external/tpm2/
DCpriECC.c107 BN_CTX *context // IN: working context in Point2B() argument
112 BN_CTX_start(context); in Point2B()
113 bnX = BN_CTX_get(context); in Point2B()
114 bnY = BN_CTX_get(context); in Point2B()
117 || EC_POINT_get_affine_coordinates_GFp(group, ecP, bnX, bnY, context) != 1 in Point2B()
124 BN_CTX_end(context); in Point2B()
150 BN_CTX *context; in EccCurveInit() local
161 context = BN_CTX_new(); in EccCurveInit()
162 if(context == NULL) in EccCurveInit()
164 BN_CTX_start(context); in EccCurveInit()
[all …]
/external/conscrypt/src/test/java/org/conscrypt/
DClientSessionContextTest.java29 ClientSessionContext context = new ClientSessionContext(); in testSimpleAddition() local
33 context.putSession(a); in testSimpleAddition()
34 assertSessionContextContents(context, new SSLSession[] { a }, new SSLSession[] { b }); in testSimpleAddition()
36 context.putSession(b); in testSimpleAddition()
37 assertSessionContextContents(context, new SSLSession[] { a, b }, new SSLSession[0]); in testSimpleAddition()
41 ClientSessionContext context = new ClientSessionContext(); in testTrimToSize() local
47 context.putSession(a); in testTrimToSize()
48 assertSessionContextContents(context, new SSLSession[] { a }, new SSLSession[] { b, c, d }); in testTrimToSize()
50 context.putSession(b); in testTrimToSize()
51 assertSessionContextContents(context, new SSLSession[] { a, b }, new SSLSession[] { c, d }); in testTrimToSize()
[all …]
/external/deqp/framework/referencerenderer/
DrrShadingContext.hpp53 void writeFragmentOutput (const FragmentShadingContext& context, int packetNdx, int fragNdx, int ou… in writeFragmentOutput() argument
57 DE_ASSERT(outputNdx >= 0 && outputNdx < context.numFragmentOutputs); in writeFragmentOutput()
59 context.outputArray[outputNdx + context.numFragmentOutputs*(fragNdx + packetNdx*4)] = value; in writeFragmentOutput()
65 …ointVarying (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, … in readPointVarying() argument
70 return context.varyings[0][varyingLoc].get<T>(); in readPointVarying()
74 …LineVarying (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, … in readLineVarying() argument
76 return packet.barycentric[0][fragNdx] * context.varyings[0][varyingLoc].get<T>() in readLineVarying()
77 + packet.barycentric[1][fragNdx] * context.varyings[1][varyingLoc].get<T>(); in readLineVarying()
81 …ngleVarying (const FragmentPacket& packet, const FragmentShadingContext& context, int varyingLoc, … in readTriangleVarying() argument
83 return packet.barycentric[0][fragNdx] * context.varyings[0][varyingLoc].get<T>() in readTriangleVarying()
[all …]
/external/opencv/cxcore/src/
Dcxerror.cpp76 CvContext* context = (CvContext*)malloc( sizeof(*context) ); in icvCreateContext() local
78 context->err_mode = CV_ErrModeLeaf; in icvCreateContext()
79 context->err_code = CV_StsOk; in icvCreateContext()
81 context->error_callback = CV_DEFAULT_ERROR_CALLBACK; in icvCreateContext()
82 context->userdata = 0; in icvCreateContext()
84 return context; in icvCreateContext()
88 icvDestroyContext(CvContext* context) in icvDestroyContext() argument
90 free(context); in icvDestroyContext()
104 CvContext* context; in icvGetContext() local
114 context = (CvContext*)TlsGetValue( g_TlsIndex ); in icvGetContext()
[all …]
/external/jetty/src/java/org/eclipse/jetty/webapp/
DStandardDescriptorProcessor.java116 public void start(WebAppContext context, Descriptor descriptor) in start() argument
125 public void end(WebAppContext context, Descriptor descriptor) in end() argument
134 … public void visitContextParam (WebAppContext context, Descriptor descriptor, XmlParser.Node node) in visitContextParam() argument
138 Origin o = context.getMetaData().getOrigin("context-param."+name); in visitContextParam()
144 context.getInitParams().put(name, value); in visitContextParam()
145 context.getMetaData().setOrigin("context-param."+name, descriptor); in visitContextParam()
155 context.getInitParams().put(name, value); in visitContextParam()
156 context.getMetaData().setOrigin("context-param."+name, descriptor); in visitContextParam()
165 if (!((String)context.getInitParams().get(name)).equals(value)) in visitContextParam()
183 … protected void visitDisplayName(WebAppContext context, Descriptor descriptor, XmlParser.Node node) in visitDisplayName() argument
[all …]
/external/wpa_supplicant_8/src/crypto/
Dfips_prf_openssl.c18 SHA_CTX context; in sha1_transform() local
19 os_memset(&context, 0, sizeof(context)); in sha1_transform()
21 context.h[0] = state[0]; in sha1_transform()
22 context.h[1] = state[1]; in sha1_transform()
23 context.h[2] = state[2]; in sha1_transform()
24 context.h[3] = state[3]; in sha1_transform()
25 context.h[4] = state[4]; in sha1_transform()
26 SHA1_Transform(&context, data); in sha1_transform()
27 state[0] = context.h[0]; in sha1_transform()
28 state[1] = context.h[1]; in sha1_transform()
[all …]

12345678910>>...158