/third_party/mesa3d/src/amd/vulkan/ |
H A D | si_cmd_buffer.c | 1600 /* CP DMA is executed in ME, but index buffers are read by PFP. in si_emit_cp_dma() 1851 #define GET_SFIELD(reg, index) SEXT4(((reg) >> ((index)*4)) & 0xf) 1852 #define GET_SX(reg, index) GET_SFIELD((reg)[(index) / 4], ((index) % 4) * 2) 1853 #define GET_SY(reg, index) GET_SFIELD((reg)[(index) / 4], ((index) % 4) * 2 + 1)
|
/third_party/node/deps/icu-small/source/common/ |
H A D | unistr.cpp | 882 UnicodeString::moveIndex32(int32_t index, int32_t delta) const { in moveIndex32() argument 883 // pin index in moveIndex32() 885 if(index<0) { in moveIndex32() 886 index=0; in moveIndex32() 887 } else if(index>len) { in moveIndex32() 888 index=len; in moveIndex32() 893 U16_FWD_N(array, index, len, delta); in moveIndex32() 895 U16_BACK_N(array, 0, index, -delta); in moveIndex32() 898 return index; in moveIndex32()
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_command_buffer.c | 397 const uint32_t index = pass->present_src_attachments[i].index; in vn_cmd_begin_render_pass() local 398 assert(index < view_count); in vn_cmd_begin_render_pass() 399 images[i] = vn_image_view_from_handle(views[index])->image; in vn_cmd_begin_render_pass() 1557 uint32_t index) in vn_CmdBeginQueryIndexedEXT() 1560 flags, index); in vn_CmdBeginQueryIndexedEXT() 1567 uint32_t index) in vn_CmdEndQueryIndexedEXT() 1570 index); in vn_CmdEndQueryIndexedEXT() 1553 vn_CmdBeginQueryIndexedEXT(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, VkQueryControlFlags flags, uint32_t index) vn_CmdBeginQueryIndexedEXT() argument 1564 vn_CmdEndQueryIndexedEXT(VkCommandBuffer commandBuffer, VkQueryPool queryPool, uint32_t query, uint32_t index) vn_CmdEndQueryIndexedEXT() argument
|
/third_party/node/deps/v8/src/compiler/ |
H A D | code-assembler.cc | 407 Node* CodeAssembler::UntypedParameter(int index) { in UntypedParameter() argument 408 if (index == kTargetParameterIndex) return raw_assembler()->TargetParameter(); in UntypedParameter() 409 return raw_assembler()->Parameter(index); in UntypedParameter() 959 Node* CodeAssembler::Projection(int index, Node* value) { in Projection() argument 960 DCHECK_LT(index, value->op()->ValueOutputCount()); in Projection() 961 return raw_assembler()->Projection(index, value); in Projection() 1330 void CodeAssembler::Switch(Node* index, Label* default_label, in Switch() argument 1339 return raw_assembler()->Switch(index, default_label->label_, case_values, in Switch()
|
/third_party/node/deps/v8/src/codegen/arm/ |
H A D | assembler-arm.h | 849 void vld1s(NeonSize size, const NeonListOperand& dst, uint8_t index, 856 void vst1s(NeonSize size, const NeonListOperand& src, uint8_t index, 865 void vmov(NeonDataType dt, DwVfpRegister dst, int index, Register src); 866 void vmov(NeonDataType dt, Register dst, DwVfpRegister src, int index); 872 void vdup(NeonSize size, QwNeonRegister dst, DwVfpRegister src, int index); 873 void vdup(NeonSize size, DwVfpRegister dst, DwVfpRegister src, int index); 982 DwVfpRegister index); 984 DwVfpRegister index); 1440 // and what memory size to be encoded in the opcode, and the new lane index. 1450 // what the new lane index i [all...] |
/third_party/pulseaudio/src/modules/dbus/ |
H A D | iface-device.c | 267 idx = (d->type == PA_DEVICE_TYPE_SINK) ? d->sink->index : d->source->index; in handle_get_index() 833 idx = d->sink->index; in handle_get_all() 854 idx = d->source->index; in handle_get_all() 948 pa_log_debug("%s sink %s requested by client %" PRIu32 ".", suspend ? "Suspending" : "Resuming", d->sink->name, client->index); in handle_suspend() 956 pa_log_debug("%s source %s requested by client %" PRIu32 ".", suspend ? "Suspending" : "Resuming", d->source->name, client->index); in handle_suspend() 1258 d->path = pa_sprintf_malloc("%s/%s%u", PA_DBUS_CORE_OBJECT_PATH, SINK_OBJECT_NAME, sink->index); in pa_dbusiface_device_new_sink() 1301 d->path = pa_sprintf_malloc("%s/%s%u", PA_DBUS_CORE_OBJECT_PATH, SOURCE_OBJECT_NAME, source->index); in pa_dbusiface_device_new_source()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | capture_gles_3_2_autogen.cpp | 93 GLuint index, in CaptureColorMaski() 101 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureColorMaski() 252 CallCapture CaptureDisablei(const State &glState, bool isCallValid, GLenum target, GLuint index) in CaptureDisablei() argument 257 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureDisablei() 376 CallCapture CaptureEnablei(const State &glState, bool isCallValid, GLenum target, GLuint index) in CaptureEnablei() argument 381 paramBuffer.addValueParam("index", ParamType::TGLuint, index); in CaptureEnablei() 889 GLuint index, in CaptureIsEnabledi() 91 CaptureColorMaski(const State &glState, bool isCallValid, GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) CaptureColorMaski() argument 886 CaptureIsEnabledi(const State &glState, bool isCallValid, GLenum target, GLuint index, GLboolean returnValue) CaptureIsEnabledi() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libGLESv2/ |
H A D | entry_points_egl_ext_autogen.cpp | 260 const char *EGLAPIENTRY EGL_QueryStringiANGLE(EGLDisplay dpy, EGLint name, EGLint index) in EGL_QueryStringiANGLE() argument 263 EGL_EVENT(QueryStringiANGLE, "dpy = 0x%016" PRIxPTR ", name = %d, index = %d", (uintptr_t)dpy, in EGL_QueryStringiANGLE() 264 name, index); in EGL_QueryStringiANGLE() 271 dpyPacked, name, index); in EGL_QueryStringiANGLE() 273 return QueryStringiANGLE(thread, dpyPacked, name, index); in EGL_QueryStringiANGLE() 362 EGLint index, in EGL_ProgramCacheQueryANGLE() 370 "dpy = 0x%016" PRIxPTR ", index = %d, key = 0x%016" PRIxPTR in EGL_ProgramCacheQueryANGLE() 373 (uintptr_t)dpy, index, (uintptr_t)key, (uintptr_t)keysize, (uintptr_t)binary, in EGL_ProgramCacheQueryANGLE() 381 index, key, keysize, binary, binarysize); in EGL_ProgramCacheQueryANGLE() 383 ProgramCacheQueryANGLE(thread, dpyPacked, index, ke in EGL_ProgramCacheQueryANGLE() 361 EGL_ProgramCacheQueryANGLE(EGLDisplay dpy, EGLint index, void *key, EGLint *keysize, void *binary, EGLint *binarysize) EGL_ProgramCacheQueryANGLE() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/third_party/ |
H A D | vulkan_command_buffer_utils.cpp | 989 // Search memtypes to find first index with those properties in memory_type_from_properties() 1741 void init_viewports_array(struct sample_info &info, int index) in init_viewports_array() argument 1753 vkCmdSetViewport(info.cmds[index], 0, NUM_VIEWPORTS, &info.viewport); in init_viewports_array() 1757 void init_viewports2_array(struct sample_info &info, int index) in init_viewports2_array() argument 1769 vkCmdSetViewport(info.cmd2s[index], 0, NUM_VIEWPORTS, &info.viewport); in init_viewports2_array() 1787 void init_scissors_array(struct sample_info &info, int index) in init_scissors_array() argument 1797 vkCmdSetScissor(info.cmds[index], 0, NUM_SCISSORS, &info.scissor); in init_scissors_array() 1801 void init_scissors2_array(struct sample_info &info, int index) in init_scissors2_array() argument 1811 vkCmdSetScissor(info.cmd2s[index], 0, NUM_SCISSORS, &info.scissor); in init_scissors2_array()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
H A D | IceAssemblerX8664.h | 89 GPRRegister index() const { in index() function in Ice::X8664::AsmOperand 114 void SetSIB(ScaleFactor scale, GPRRegister index, GPRRegister base) { in SetSIB() argument 117 encoding_[1] = (scale << 6) | ((index & 0x07) << 3) | (base & 0x07); in SetSIB() 118 rex_ = ((base & 0x08) ? RexB : RexNone) | ((index & 0x08) ? RexX : RexNone); in SetSIB() 144 /// Get the operand encoding byte at the given index. 145 uint8_t encoding_at(intptr_t index) const { in encoding_at() 146 assert(index >= 0 && index < length_); in encoding_at() 147 return encoding_[index]; in encoding_at()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | unistr.cpp | 839 UnicodeString::moveIndex32(int32_t index, int32_t delta) const { in moveIndex32() argument 840 // pin index in moveIndex32() 842 if(index<0) { in moveIndex32() 843 index=0; in moveIndex32() 844 } else if(index>len) { in moveIndex32() 845 index=len; in moveIndex32() 850 U16_FWD_N(array, index, len, delta); in moveIndex32() 852 U16_BACK_N(array, 0, index, -delta); in moveIndex32() 855 return index; in moveIndex32()
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_render.cpp | 405 int32 index = Pin_int32 (0, (int32) y, kTableSize - 2); in Evaluate() local 407 real32 fract = y - (real32) index; in Evaluate() 409 return kTable [index ] * (1.0f - fract) + in Evaluate() 410 kTable [index + 1] * ( fract); in Evaluate() 685 int32 index = Pin_int32 (0, (int32) y, kTableSize - 2); in EvaluateInverse() local 687 real32 fract = y - (real32) index; in EvaluateInverse() 689 return kTable [index ] * (1.0f - fract) + in EvaluateInverse() 690 kTable [index + 1] * ( fract); in EvaluateInverse()
|
/third_party/python/Lib/test/ |
H A D | test_regrtest.py | 593 self.tests = [self.create_test() for index in range(self.NTEST)] 774 tests = [self.create_test() for index in range(5)] 785 for index, name in enumerate(tests, 1): 787 % (index, index, len(tests), name)) 798 for index, name in enumerate(tests, 1): 799 print("[%s/%s] %s" % (index, len(tests), name), file=fp) 829 tests = [self.create_test() for index in range(3)]
|
/third_party/python/PC/ |
H A D | launcher.c | 1740 int index; in process() local 1743 int index; in process() local 1993 for (index = 1; index < argc; ++index) { in process() 1994 if (*argv[index] != L'-') in process() 1997 if (index < argc) { in process() 1999 maybe_handle_shebang(&argv[index], command); in process()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fDrawBuffersIndexedTests.cpp | 236 void setIndexedBlendState (const glw::Functions& gl, const BlendState& blend, deUint32 index) in setIndexedBlendState() argument 241 gl.enablei(GL_BLEND, index); in setIndexedBlendState() 243 gl.disablei(GL_BLEND, index); in setIndexedBlendState() 250 gl.colorMaski(index, mask.x(), mask.y(), mask.z(), mask.w()); in setIndexedBlendState() 258 gl.blendEquationi(index, blendEq.get<BlendEq>()); in setIndexedBlendState() 260 gl.blendEquationSeparatei(index, blendEq.get<SeparateBlendEq>().rgb, blendEq.get<SeparateBlendEq>().alpha); in setIndexedBlendState() 270 gl.blendFunci(index, blendFunc.get<BlendFunc>().src, blendFunc.get<BlendFunc>().dst); in setIndexedBlendState() 272 gl.blendFuncSeparatei(index, blendFunc.get<SeparateBlendFunc>().rgb.src, blendFunc.get<SeparateBlendFunc>().rgb.dst, blendFunc.get<SeparateBlendFunc>().alpha.src, blendFunc.get<SeparateBlendFunc>().alpha.dst); in setIndexedBlendState()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/transform_feedback/ |
H A D | vktPrimitivesGeneratedQueryTests.cpp | 1281 VertexStream index; in testGenerator() member 1360 const bool pgqDefault = (pgqStream.index == VERTEX_STREAM_DEFAULT); in testGenerator() 1361 const bool xfbDefault = (xfbStream.index == VERTEX_STREAM_DEFAULT); in testGenerator() 1368 if ((pgqStream.index != VERTEX_STREAM_DEFAULT || xfbStream.index != VERTEX_STREAM_DEFAULT) && shader.stage != SHADER_STAGE_GEOMETRY) in testGenerator() 1372 if (!xfbState.enable && xfbStream.index != VERTEX_STREAM_DEFAULT) in testGenerator() 1387 pgqStream.index, // VertexStreamIndex pgqStreamIndex in testGenerator() 1388 xfbStream.index, // VertexStreamIndex xfbStreamIndex in testGenerator()
|
/third_party/mesa3d/src/mesa/main/ |
H A D | dlist.c | 2558 save_Disablei(GLuint index, GLenum cap) in save_Disablei() argument 2565 n[1].ui = index; in save_Disablei() 2569 CALL_Disablei(ctx->Exec, (index, cap)); in save_Disablei() 2634 save_Enablei(GLuint index, GLenum cap) in save_Enablei() argument 2641 n[1].ui = index; in save_Enablei() 2645 CALL_Enablei(ctx->Exec, (index, cap)); in save_Enablei() 4652 save_ViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat width, in save_ViewportIndexedf() argument 4660 n[1].ui = index; in save_ViewportIndexedf() 4667 CALL_ViewportIndexedf(ctx->Exec, (index, x, y, width, height)); in save_ViewportIndexedf() 4672 save_ViewportIndexedfv(GLuint index, cons argument 4708 save_ScissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height) save_ScissorIndexed() argument 4728 save_ScissorIndexedv(GLuint index, const GLint *v) save_ScissorIndexedv() argument 4764 save_DepthRangeIndexed(GLuint index, GLclampd n, GLclampd f) save_DepthRangeIndexed() argument 5286 save_ProgramEnvParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) save_ProgramEnvParameter4fARB() argument 5308 save_ProgramEnvParameter4fvARB(GLenum target, GLuint index, const GLfloat *params) save_ProgramEnvParameter4fvARB() argument 5317 save_ProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count, const GLfloat * params) save_ProgramEnvParameters4fvEXT() argument 5349 save_ProgramEnvParameter4dARB(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) save_ProgramEnvParameter4dARB() argument 5359 save_ProgramEnvParameter4dvARB(GLenum target, GLuint index, const GLdouble *params) save_ProgramEnvParameter4dvARB() argument 5370 save_ProgramLocalParameter4fARB(GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) save_ProgramLocalParameter4fARB() argument 5392 save_ProgramLocalParameter4fvARB(GLenum target, GLuint index, const GLfloat *params) save_ProgramLocalParameter4fvARB() argument 5414 save_ProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsizei count, const GLfloat *params) save_ProgramLocalParameters4fvEXT() argument 5446 save_ProgramLocalParameter4dARB(GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) save_ProgramLocalParameter4dARB() argument 5469 save_ProgramLocalParameter4dvARB(GLenum target, GLuint index, const GLdouble *params) save_ProgramLocalParameter4dvARB() argument 5602 save_BeginQueryIndexed(GLenum target, GLuint index, GLuint id) save_BeginQueryIndexed() argument 5619 save_EndQueryIndexed(GLenum target, GLuint index) save_EndQueryIndexed() argument 6121 unsigned index = attr; save_Attr32bit() local 6192 unsigned index = attr; save_Attr64bit() local 6237 is_vertex_position(const struct gl_context *ctx, GLuint index) is_vertex_position() argument 8941 save_VertexAttribDivisor(GLuint index, GLuint divisor) save_VertexAttribDivisor() argument 9155 save_UniformBlockBinding(GLuint prog, GLuint index, GLuint binding) save_UniformBlockBinding() argument 10990 save_NamedProgramLocalParameter4fEXT(GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) save_NamedProgramLocalParameter4fEXT() argument 11013 save_NamedProgramLocalParameter4fvEXT(GLuint program, GLenum target, GLuint index, const GLfloat *params) save_NamedProgramLocalParameter4fvEXT() argument 11022 save_NamedProgramLocalParameter4dEXT(GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) save_NamedProgramLocalParameter4dEXT() argument 11032 save_NamedProgramLocalParameter4dvEXT(GLuint program, GLenum target, GLuint index, const GLdouble *params) save_NamedProgramLocalParameter4dvEXT() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_shader.c | 601 /* work out gpr and base_chan from index */ in evergreen_interp_alu() 674 * USE_VTX_RENDER_TARGET_INDX - render target index in the Z channel of export 61 675 * USE_VTX_VIEWPORT_INDX - viewport index in the W channel of export 61 677 * exclusive from render target index) 696 /* Map name/sid pair from tgsi to the 8-bit semantic index for SPI setup */ 699 int index, name = io->name; in r600_spi_sid() local 709 index = 0; in r600_spi_sid() 713 index = 9 + io->sid; in r600_spi_sid() 715 index = io->sid; in r600_spi_sid() 718 index in r600_spi_sid() 731 r600_get_lds_unique_index(unsigned semantic_name, unsigned index) r600_get_lds_unique_index() argument 777 evergreen_interp_input(struct r600_shader_ctx *ctx, int index) evergreen_interp_input() argument 939 get_address_file_reg(struct r600_shader_ctx *ctx, int index) get_address_file_reg() argument 1710 int index; tgsi_src() local 1881 unsigned index = src->Register.Index; fetch_gs_input() local 2048 ubyte *name, *index, *array_first; r600_get_byte_address() local 7392 tgsi_tex_src_requires_loading(struct r600_shader_ctx *ctx, unsigned index) tgsi_tex_src_requires_loading() argument 7403 tgsi_tex_get_src_gpr(struct r600_shader_ctx *ctx, unsigned index) tgsi_tex_get_src_gpr() argument 8659 uint32_t index = src->Register.Index; find_hw_atomic_counter() local [all...] |
/third_party/node/deps/v8/src/execution/arm64/ |
H A D | simulator-arm64.cc | 191 int index = base::bits::CountTrailingZeros(reg_list); in PopLowestIndexAsCode() local 192 DCHECK((1LL << index) & reg_list); in PopLowestIndexAsCode() 193 list->Remove(index); in PopLowestIndexAsCode() 195 return index; in PopLowestIndexAsCode() 941 // If the code represents the stack pointer, index the name after zr. in WRegNameForCode() 954 // If the code represents the stack pointer, index the name after zr. in XRegNameForCode() 982 void LogicVRegister::ReadUintFromMem(VectorFormat vform, int index, in ReadUintFromMem() argument 986 register_.Insert(index, SimMemory::Read<uint8_t>(addr)); in ReadUintFromMem() 989 register_.Insert(index, SimMemory::Read<uint16_t>(addr)); in ReadUintFromMem() 992 register_.Insert(index, SimMemor in ReadUintFromMem() 1002 WriteUintToMem(VectorFormat vform, int index, uint64_t addr) const WriteUintToMem() argument [all...] |
/third_party/backends/backend/ |
H A D | epson2.c | 2073 static void e2_load_cct_profile(struct Epson_Scanner *s, unsigned int index) in e2_load_cct_profile() argument 2075 s->cct_table[0] = SANE_FIX(s->hw->cct_profile->cct[index][0]); in e2_load_cct_profile() 2076 s->cct_table[1] = SANE_FIX(s->hw->cct_profile->cct[index][1]); in e2_load_cct_profile() 2077 s->cct_table[2] = SANE_FIX(s->hw->cct_profile->cct[index][2]); in e2_load_cct_profile() 2078 s->cct_table[3] = SANE_FIX(s->hw->cct_profile->cct[index][3]); in e2_load_cct_profile() 2079 s->cct_table[4] = SANE_FIX(s->hw->cct_profile->cct[index][4]); in e2_load_cct_profile() 2080 s->cct_table[5] = SANE_FIX(s->hw->cct_profile->cct[index][5]); in e2_load_cct_profile() 2081 s->cct_table[6] = SANE_FIX(s->hw->cct_profile->cct[index][6]); in e2_load_cct_profile() 2082 s->cct_table[7] = SANE_FIX(s->hw->cct_profile->cct[index][7]); in e2_load_cct_profile() 2083 s->cct_table[8] = SANE_FIX(s->hw->cct_profile->cct[index][ in e2_load_cct_profile() [all...] |
/third_party/cJSON/ |
H A D | cJSON.c | 316 /* check if the buffer can be accessed at the given index (starting with 0) */ 317 #define can_access_at_index(buffer, index) ((buffer != NULL) && (((buffer)->offset + index) < (buffer)->length)) 318 #define cannot_access_at_index(buffer, index) (!can_access_at_index(buffer, index)) 2099 static cJSON* get_array_item(const cJSON *array, size_t index) in get_array_item() argument 2109 while ((current_child != NULL) && (index > 0)) in get_array_item() 2111 index--; in get_array_item() 2118 CJSON_PUBLIC(cJSON *) cJSON_GetArrayItem(const cJSON *array, int index) in cJSON_GetArrayItem() argument 2120 if (index < in cJSON_GetArrayItem() [all...] |
/third_party/icu/icu4c/source/test/intltest/ |
H A D | apicoll.cpp | 401 int index; in TestSafeClone() local 420 for (index = 0; index < CLONETEST_COLLATOR_COUNT; index++) in TestSafeClone() 422 col = someCollators[index]->safeClone(); in TestSafeClone() 428 someCollators[index]->setStrength(Collator::PRIMARY); in TestSafeClone() 430 someCollators[index]->setAttribute(UCOL_CASE_LEVEL, UCOL_OFF, err); in TestSafeClone() 433 doAssert(someCollators[index]->equals(test1, test2), "Result should be \"abcda\" == \"abCda\""); in TestSafeClone() 435 delete someCollators[index]; in TestSafeClone() 2528 void CollationAPITest::runIndexedTest( int32_t index, UBoo in dump() argument [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineBlendOperationAdvancedTests.cpp | 820 static inline void getCoordinates (deUint32 index, deInt32 &x, deInt32 &y) in getCoordinates() argument 822 x = index % widthArea; in getCoordinates() 823 y = index / heightArea; in getCoordinates() 1571 for (deUint32 index = 0u; index < m_param.blendOps.size(); index++) 1573 switch (m_param.blendOps[index]) 1884 deUint32 index = secondDraw ? (color + DE_LENGTH_OF_ARRAY(srcColors) / 2) : color; 1887 vk.cmdPushConstants(*m_cmdBuffer, *m_pipelineLayout, VK_SHADER_STAGE_FRAGMENT_BIT, 0u, sizeof(Vec4), &srcColors[index]); 1907 VkClearValue clearValue = vk::makeClearValueColorVec4(dstColors[index]); [all...] |
/third_party/rust/crates/rust-openssl/openssl/src/ssl/ |
H A D | mod.rs | 1557 /// Sets the extra data at the specified index. 1562 pub fn set_ex_data<T>(&mut self, index: Index<SslContext, T>, data: T) { in set_ex_data() 1563 self.set_ex_data_inner(index, data); in set_ex_data() 1566 fn set_ex_data_inner<T>(&mut self, index: Index<SslContext, T>, data: T) -> *mut c_void { in set_ex_data_inner() 1569 ffi::SSL_CTX_set_ex_data(self.as_ptr(), index.as_raw(), data); in set_ex_data_inner() 1763 /// Returns a new extra data index. in fmt() 1765 /// Each invocation of this function is guaranteed to return a distinct index. These can be used in fmt() 1839 /// Returns a reference to the extra data at the specified index. 1841 pub fn ex_data<T>(&self, index: Index<SslContext, T>) -> Option<&T> { in ex_data() 1843 let data = ffi::SSL_CTX_get_ex_data(self.as_ptr(), index in ex_data() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineBlendOperationAdvancedTests.cpp | 824 static inline void getCoordinates (deUint32 index, deInt32 &x, deInt32 &y) in getCoordinates() argument 826 x = index % widthArea; in getCoordinates() 827 y = index / heightArea; in getCoordinates() 1563 for (deUint32 index = 0u; index < m_param.blendOps.size(); index++) 1565 switch (m_param.blendOps[index]) 1875 deUint32 index = secondDraw ? (color + DE_LENGTH_OF_ARRAY(srcColors) / 2) : color; 1878 vk.cmdPushConstants(*m_cmdBuffer, *m_pipelineLayout, VK_SHADER_STAGE_FRAGMENT_BIT, 0u, sizeof(Vec4), &srcColors[index]); 1887 VkClearValue clearValue = vk::makeClearValueColorVec4(dstColors[index]); [all...] |