Home
last modified time | relevance | path

Searched refs:attrib (Results 1 – 25 of 229) sorted by relevance

12345678910

/external/mesa3d/src/mesa/swrast_setup/
Dss_tritmp.h53 GLfloat ex = v[0]->attrib[VARYING_SLOT_POS][0] - v[2]->attrib[VARYING_SLOT_POS][0]; in TAG()
54 GLfloat ey = v[0]->attrib[VARYING_SLOT_POS][1] - v[2]->attrib[VARYING_SLOT_POS][1]; in TAG()
55 GLfloat fx = v[1]->attrib[VARYING_SLOT_POS][0] - v[2]->attrib[VARYING_SLOT_POS][0]; in TAG()
56 GLfloat fy = v[1]->attrib[VARYING_SLOT_POS][1] - v[2]->attrib[VARYING_SLOT_POS][1]; in TAG()
77 COPY_4V(saved_col0[0], v[0]->attrib[VARYING_SLOT_COL0]); in TAG()
78 COPY_4V(saved_col0[1], v[1]->attrib[VARYING_SLOT_COL0]); in TAG()
79 COPY_4V(saved_col0[2], v[2]->attrib[VARYING_SLOT_COL0]); in TAG()
89 COPY_4V(v[0]->attrib[VARYING_SLOT_COL0], vbcolor[e0]); in TAG()
90 COPY_4V(v[1]->attrib[VARYING_SLOT_COL0], vbcolor[e1]); in TAG()
91 COPY_4V(v[2]->attrib[VARYING_SLOT_COL0], vbcolor[e2]); in TAG()
[all …]
Dss_context.c99 map[e].attrib = (ATTR); \
129 EMIT_ATTR( _TNL_ATTRIB_POS, EMIT_4F_VIEWPORT, attrib[VARYING_SLOT_POS] ); in setup_vertex_format()
135 EMIT_ATTR( _TNL_ATTRIB_COLOR0, EMIT_4F, attrib[VARYING_SLOT_COL0]); in setup_vertex_format()
139 EMIT_ATTR( _TNL_ATTRIB_COLOR1, EMIT_4F, attrib[VARYING_SLOT_COL1]); in setup_vertex_format()
144 EMIT_ATTR( _TNL_ATTRIB_FOG, emit, attrib[VARYING_SLOT_FOGC]); in setup_vertex_format()
152 attrib[VARYING_SLOT_TEX0 + i] ); in setup_vertex_format()
162 attrib[VARYING_SLOT_VAR0 + i] ); in setup_vertex_format()
276 dest->attrib[VARYING_SLOT_POS][0] = m[0] * tmp[0] + m[12]; in _swsetup_Translate()
277 dest->attrib[VARYING_SLOT_POS][1] = m[5] * tmp[1] + m[13]; in _swsetup_Translate()
278 dest->attrib[VARYING_SLOT_POS][2] = m[10] * tmp[2] + m[14]; in _swsetup_Translate()
[all …]
/external/deqp/framework/qphelper/
DqpXmlWriter.h54 qpXmlAttribute attrib; in qpSetStringAttrib() local
55 attrib.name = name; in qpSetStringAttrib()
56 attrib.type = QP_XML_ATTRIBUTE_STRING; in qpSetStringAttrib()
57 attrib.stringValue = value; in qpSetStringAttrib()
58 attrib.intValue = -678; in qpSetStringAttrib()
59 attrib.boolValue = (deBool)0xFFFFFFFFu; in qpSetStringAttrib()
60 return attrib; in qpSetStringAttrib()
65 qpXmlAttribute attrib; in qpSetIntAttrib() local
66 attrib.name = name; in qpSetIntAttrib()
67 attrib.type = QP_XML_ATTRIBUTE_INT; in qpSetIntAttrib()
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.c118 attrib_name(LLVMValueRef val, unsigned attrib, unsigned chan, const char *suffix) in attrib_name() argument
120 if(attrib == 0) in attrib_name()
123 lp_build_name(val, "input%u.%c%s", attrib - 1, "xyzw"[chan], suffix); in attrib_name()
169 unsigned attrib; in coeffs_init_simple() local
171 for (attrib = 0; attrib < bld->num_attribs; ++attrib) { in coeffs_init_simple()
183 const unsigned interp = bld->interp[attrib]; in coeffs_init_simple()
185 attrib * TGSI_NUM_CHANNELS); in coeffs_init_simple()
206 attrib_name(dadxaos, attrib, 0, ".dadxaos"); in coeffs_init_simple()
207 attrib_name(dadyaos, attrib, 0, ".dadyaos"); in coeffs_init_simple()
216 attrib_name(a0aos, attrib, 0, ".a0aos"); in coeffs_init_simple()
[all …]
/external/mesa3d/src/gallium/drivers/i915/
Di915_prim_emit.c79 const uint j = vinfo->attrib[i].src_index; in emit_hw_vertex()
80 const float *attrib = vertex->data[j]; in emit_hw_vertex() local
81 switch (vinfo->attrib[i].emit) { in emit_hw_vertex()
83 OUT_BATCH( fui(attrib[0]) ); in emit_hw_vertex()
87 OUT_BATCH( fui(attrib[0]) ); in emit_hw_vertex()
88 OUT_BATCH( fui(attrib[1]) ); in emit_hw_vertex()
92 OUT_BATCH( fui(attrib[0]) ); in emit_hw_vertex()
93 OUT_BATCH( fui(attrib[1]) ); in emit_hw_vertex()
94 OUT_BATCH( fui(attrib[2]) ); in emit_hw_vertex()
98 OUT_BATCH( fui(attrib[0]) ); in emit_hw_vertex()
[all …]
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_maos_arrays.c87 GLubyte attrib = vimap_rev[i]; in r200EmitArrays() local
88 if (attrib != 255) { in r200EmitArrays()
91 emitsize = (VB->AttribPtr[attrib]->size); in r200EmitArrays()
108 assert(attrib == VERT_ATTRIB_NORMAL); in r200EmitArrays()
114 assert(attrib == VERT_ATTRIB_FOG); in r200EmitArrays()
119 (char *)VB->AttribPtr[attrib]->data, in r200EmitArrays()
121 VB->AttribPtr[attrib]->stride, in r200EmitArrays()
126 (char *)VB->AttribPtr[attrib]->data, in r200EmitArrays()
127 VB->AttribPtr[attrib]->stride, in r200EmitArrays()
137 if (VB->AttribPtr[attrib]->size == 4 && in r200EmitArrays()
[all …]
/external/fonttools/Lib/fontTools/designspaceLib/
D__init__.py363 self.root.attrib['format'] = self.documentVersion
404 locElement.attrib['name'] = name
412 dimElement.attrib['name'] = dimensionName
414 dimElement.attrib['xvalue'] = self.intOrFloat(dimensionValue[0])
415 dimElement.attrib['yvalue'] = self.intOrFloat(dimensionValue[1])
417 dimElement.attrib['xvalue'] = self.intOrFloat(dimensionValue)
431 ruleElement.attrib['name'] = ruleObject.name
439 conditionElement.attrib['name'] = cond.get('name')
441 conditionElement.attrib['minimum'] = self.intOrFloat(cond.get('minimum'))
443 conditionElement.attrib['maximum'] = self.intOrFloat(cond.get('maximum'))
[all …]
/external/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_generic.c46 typedef void (*emit_func)(const void *attrib, void *ptr);
78 } attrib[TRANSLATE_MAX_ATTRIBS]; member
100 emit_##NAME(const void *attrib, void *ptr) \
103 SRCTYPE *in = (SRCTYPE *)attrib; \
243 emit_A8R8G8B8_UNORM(const void *attrib, void *ptr) in emit_A8R8G8B8_UNORM() argument
245 float *in = (float *)attrib; in emit_A8R8G8B8_UNORM()
254 emit_B8G8R8A8_UNORM(const void *attrib, void *ptr) in emit_B8G8R8A8_UNORM() argument
256 float *in = (float *)attrib; in emit_B8G8R8A8_UNORM()
265 emit_B10G10R10A2_UNORM(const void *attrib, void *ptr) in emit_B10G10R10A2_UNORM() argument
273 *(uint32_t *)attrib = util_le32_to_cpu(value); in emit_B10G10R10A2_UNORM()
[all …]
/external/swiftshader/src/OpenGL/libGLESv2/
DVertexDataManager.cpp126 const VertexAttribute &attrib = attribs[i].mArrayEnabled ? attribs[i] : currentAttribs[i]; in prepareVertexData() local
128 if(program->getAttributeStream(i) != -1 && attrib.mArrayEnabled) in prepareVertexData()
130 if(!attrib.mBoundBuffer) in prepareVertexData()
132 const bool isInstanced = attrib.mDivisor > 0; in prepareVertexData()
133 mStreamingBuffer->addRequiredSpace(attrib.typeSize() * (isInstanced ? 1 : count)); in prepareVertexData()
145 const VertexAttribute &attrib = attribs[i].mArrayEnabled ? attribs[i] : currentAttribs[i]; in prepareVertexData() local
147 if(attrib.mArrayEnabled) in prepareVertexData()
149 const bool isInstanced = attrib.mDivisor > 0; in prepareVertexData()
152 GLint firstVertexIndex = isInstanced ? instanceId / attrib.mDivisor : start; in prepareVertexData()
154 Buffer *buffer = attrib.mBoundBuffer; in prepareVertexData()
[all …]
/external/jline/src/src/main/java/jline/
DANSIBuffer.java59 public ANSIBuffer attrib(final String str, final int code) { in attrib() method in ANSIBuffer
60 ansiBuffer.append(ANSICodes.attrib(code)).append(str) in attrib()
61 .append(ANSICodes.attrib(ANSICodes.OFF)); in attrib()
68 return attrib(str, ANSICodes.FG_RED); in red()
72 return attrib(str, ANSICodes.FG_BLUE); in blue()
76 return attrib(str, ANSICodes.FG_GREEN); in green()
80 return attrib(str, ANSICodes.FG_BLACK); in black()
84 return attrib(str, ANSICodes.FG_YELLOW); in yellow()
88 return attrib(str, ANSICodes.FG_MAGENTA); in magenta()
92 return attrib(str, ANSICodes.FG_CYAN); in cyan()
[all …]
/external/sfntly/cpp/src/test/tinyxml/
Dtinyxml.cpp589 const TiXmlAttribute* attrib = attributeSet.Find( name ); in Attribute() local
590 if ( attrib ) in Attribute()
591 return &attrib->ValueStr(); in Attribute()
599 const TiXmlAttribute* attrib = attributeSet.Find( name ); in Attribute() local
602 if ( attrib ) { in Attribute()
603 result = attrib->Value(); in Attribute()
605 attrib->QueryIntValue( i ); in Attribute()
615 const TiXmlAttribute* attrib = attributeSet.Find( name ); in Attribute() local
618 if ( attrib ) { in Attribute()
619 result = &attrib->ValueStr(); in Attribute()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_aatritemp.h42 const GLfloat *p0 = v0->attrib[VARYING_SLOT_POS];
43 const GLfloat *p1 = v1->attrib[VARYING_SLOT_POS];
44 const GLfloat *p2 = v2->attrib[VARYING_SLOT_POS];
70 GLfloat y0 = v0->attrib[VARYING_SLOT_POS][1];
71 GLfloat y1 = v1->attrib[VARYING_SLOT_POS][1];
72 GLfloat y2 = v2->attrib[VARYING_SLOT_POS][1];
97 majDx = vMax->attrib[VARYING_SLOT_POS][0] - vMin->attrib[VARYING_SLOT_POS][0];
98 majDy = vMax->attrib[VARYING_SLOT_POS][1] - vMin->attrib[VARYING_SLOT_POS][1];
102 const GLfloat botDx = vMid->attrib[VARYING_SLOT_POS][0] - vMin->attrib[VARYING_SLOT_POS][0];
103 const GLfloat botDy = vMid->attrib[VARYING_SLOT_POS][1] - vMin->attrib[VARYING_SLOT_POS][1];
[all …]
Ds_feedback.c39 const GLfloat *vtc = v->attrib[VARYING_SLOT_TEX0]; in feedback_vertex()
40 const GLfloat *color = v->attrib[VARYING_SLOT_COL0]; in feedback_vertex()
42 win[0] = v->attrib[VARYING_SLOT_POS][0]; in feedback_vertex()
43 win[1] = v->attrib[VARYING_SLOT_POS][1]; in feedback_vertex()
44 win[2] = v->attrib[VARYING_SLOT_POS][2] / ctx->DrawBuffer->_DepthMaxF; in feedback_vertex()
45 win[3] = 1.0F / v->attrib[VARYING_SLOT_POS][3]; in feedback_vertex()
116 _mesa_update_hitflag( ctx, v0->attrib[VARYING_SLOT_POS][2] * zs ); in _swrast_select_triangle()
117 _mesa_update_hitflag( ctx, v1->attrib[VARYING_SLOT_POS][2] * zs ); in _swrast_select_triangle()
118 _mesa_update_hitflag( ctx, v2->attrib[VARYING_SLOT_POS][2] * zs ); in _swrast_select_triangle()
127 _mesa_update_hitflag( ctx, v0->attrib[VARYING_SLOT_POS][2] * zs ); in _swrast_select_line()
[all …]
Ds_linetemp.h71 GLint x0 = (GLint) vert0->attrib[VARYING_SLOT_POS][0]; in NAME()
72 GLint x1 = (GLint) vert1->attrib[VARYING_SLOT_POS][0]; in NAME()
73 GLint y0 = (GLint) vert0->attrib[VARYING_SLOT_POS][1]; in NAME()
74 GLint y1 = (GLint) vert1->attrib[VARYING_SLOT_POS][1]; in NAME()
102 GLfloat tmp = vert0->attrib[VARYING_SLOT_POS][0] + vert0->attrib[VARYING_SLOT_POS][1] in NAME()
103 + vert1->attrib[VARYING_SLOT_POS][0] + vert1->attrib[VARYING_SLOT_POS][1]; in NAME()
248 span.z = FloatToFixed(vert0->attrib[VARYING_SLOT_POS][2]) + FIXED_HALF; in NAME()
249 span.zStep = FloatToFixed( vert1->attrib[VARYING_SLOT_POS][2] in NAME()
250 - vert0->attrib[VARYING_SLOT_POS][2]) / numPixels; in NAME()
254 span.z = (GLuint) vert0->attrib[VARYING_SLOT_POS][2]; in NAME()
[all …]
Ds_points.c39 float tmp = (V)->attrib[VARYING_SLOT_POS][0] \
40 + (V)->attrib[VARYING_SLOT_POS][1]; \
95 span.z = FloatToFixed(vert->attrib[VARYING_SLOT_POS][2] + 0.5F); in sprite_point()
97 span.z = (GLuint) (vert->attrib[VARYING_SLOT_POS][2] + 0.5F); in sprite_point()
149 r = vert->attrib[attr][0]; in sprite_point()
151 r = vert->attrib[attr][2]; in sprite_point()
183 COPY_4V(span.attrStart[attr], vert->attrib[attr]); in sprite_point()
191 const GLfloat x = vert->attrib[VARYING_SLOT_POS][0]; in sprite_point()
192 const GLfloat y = vert->attrib[VARYING_SLOT_POS][1]; in sprite_point()
252 span.z = FloatToFixed(vert->attrib[VARYING_SLOT_POS][2] + 0.5F); in smooth_point()
[all …]
/external/lzma/CPP/7zip/UI/FileManager/
DSysIconUtils.cpp42 typedef int (WINAPI * SHGetFileInfoWP)(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, UINT cbFil…
55 static DWORD_PTR MySHGetFileInfoW(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, UINT cbFileInfo… in MySHGetFileInfoW() argument
64 (pszPath, attrib, psfi, cbFileInfo, uFlags); in MySHGetFileInfoW()
67 DWORD_PTR GetRealIconIndex(CFSTR path, DWORD attrib, int &iconIndex) in GetRealIconIndex() argument
73 DWORD_PTR res = ::SHGetFileInfo(fs2fas(path), FILE_ATTRIBUTE_NORMAL | attrib, &shellInfo, in GetRealIconIndex()
82 DWORD_PTR res = ::MySHGetFileInfoW(fs2us(path), FILE_ATTRIBUTE_NORMAL | attrib, &shellInfo, in GetRealIconIndex()
119 static int FindInSorted_Attrib(const CRecordVector<CAttribIconPair> &vect, DWORD attrib, int &inser… in FindInSorted_Attrib() argument
126 if (attrib == midAttrib) in FindInSorted_Attrib()
128 if (attrib < midAttrib) in FindInSorted_Attrib()
155 int CExtToIconMap::GetIconIndex(DWORD attrib, const wchar_t *fileName /*, UString *typeName */) in GetIconIndex() argument
[all …]
/external/deqp/framework/egl/
DegluStrUtil.cpp155 int attrib = fmt.attribs[pos]; in operator <<() local
160 if (attrib == EGL_NONE) in operator <<()
167 const char* attribName = getConfigAttribName(attrib); in operator <<()
172 str << attribName << ", " << getConfigAttribValueStr(attrib, fmt.attribs[pos+1]); in operator <<()
178 str << tcu::toHex(attrib) << ", ???"; in operator <<()
195 int attrib = fmt.attribs[pos]; in operator <<() local
200 if (attrib == EGL_NONE) in operator <<()
207 const char* attribName = getSurfaceAttribName(attrib); in operator <<()
212 str << attribName << ", " << getSurfaceAttribValueStr(attrib, fmt.attribs[pos+1]); in operator <<()
218 str << tcu::toHex(attrib) << ", ???"; in operator <<()
[all …]
DegluCallLogWrapper.cpp132 deUint32 attrib; member in eglu::ConfigAttribValuePointerFmt
134 …ConfigAttribValuePointerFmt (deUint32 attrib_, const int* value_) : attrib(attrib_), value(value_)… in ConfigAttribValuePointerFmt()
137 … getConfigAttribValuePointerStr (deUint32 attrib, const int* value) { return ConfigAttribValuePoin… in getConfigAttribValuePointerStr() argument
142 return str << getConfigAttribValueStr(fmt.attrib, *fmt.value); in operator <<()
152 deUint32 attrib; member in eglu::ContextAttribValuePointerFmt
154 …ContextAttribValuePointerFmt (deUint32 attrib_, const int* value_) : attrib(attrib_), value(value_… in ContextAttribValuePointerFmt()
157 …etContextAttribValuePointerStr (deUint32 attrib, const int* value) { return ContextAttribValuePoin… in getContextAttribValuePointerStr() argument
162 return str << getContextAttribValueStr(fmt.attrib, *fmt.value); in operator <<()
172 deUint32 attrib; member in eglu::SurfaceAttribValuePointerFmt
174 …SurfaceAttribValuePointerFmt (deUint32 attrib_, const int* value_) : attrib(attrib_), value(value_… in SurfaceAttribValuePointerFmt()
[all …]
/external/lzma/CPP/Windows/
DFileFind.h15 inline bool IsReadOnly(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_READONLY) != 0; } in IsReadOnly() argument
16 inline bool IsHidden(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_HIDDEN) != 0; } in IsHidden() argument
17 inline bool IsSystem(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_SYSTEM) != 0; } in IsSystem() argument
18 inline bool IsDir(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_DIRECTORY) != 0; } in IsDir() argument
19 inline bool IsArchived(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_ARCHIVE) != 0; } in IsArchived() argument
20 inline bool IsCompressed(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_COMPRESSED) != 0; } in IsCompressed() argument
21 inline bool IsEncrypted(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_ENCRYPTED) != 0; } in IsEncrypted() argument
/external/mesa3d/src/vulkan/util/
Dgen_enum_to_str.py179 enum = enum_factory(enum_type.attrib['name'])
181 enum.add_value(value.attrib['name'],
182 value=int(value.attrib['value']))
185 extension = ext_factory(ext_elem.attrib['name'],
186 number=int(ext_elem.attrib['number']))
189 enum = enum_factory.get(value.attrib['extends'])
192 if 'value' in value.attrib:
193 enum.add_value(value.attrib['name'],
194 value=int(value.attrib['value']))
196 error = 'dir' in value.attrib and value.attrib['dir'] == '-'
[all …]
/external/python/cpython3/Modules/
D_elementtree.c168 PyObject* attrib; member
214 create_extra(ElementObject* self, PyObject* attrib) in create_extra() argument
222 if (!attrib) in create_extra()
223 attrib = Py_None; in create_extra()
225 Py_INCREF(attrib); in create_extra()
226 self->extra->attrib = attrib; in create_extra()
243 Py_DECREF(extra->attrib); in dealloc_extra()
274 create_new_element(PyObject* tag, PyObject* attrib) in create_new_element() argument
297 if (attrib != Py_None && !is_empty_dict(attrib)) { in create_new_element()
298 if (create_extra(self, attrib) < 0) { in create_new_element()
[all …]
/external/fonttools/Lib/fontTools/svgLib/path/
Dshapes.py72 x = float(rect.attrib.get('x', 0))
73 y = float(rect.attrib.get('y', 0))
74 w = float(rect.attrib.get('width'))
75 h = float(rect.attrib.get('height'))
76 rx = float(rect.attrib.get('rx', 0))
77 ry = float(rect.attrib.get('ry', 0))
100 if 'd' in path.attrib:
101 self._start_path(initial_path=path.attrib['d'])
104 if 'points' in poly.attrib:
105 self._start_path('M' + poly.attrib['points'])
[all …]
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp363 Value *attrib = in swr_gs_llvm_fetch_input() local
369 Value *pVector = ADD(MUL(vert_chan_index, pInputVertStride), attrib); in swr_gs_llvm_fetch_input()
378 Value *attrib = LOAD(GEP(iface->pVtxAttribMap, {C(0), attr_index})); in swr_gs_llvm_fetch_input() local
383 Value *pVector = ADD(MUL(vert_index, pInputVertStride), attrib); in swr_gs_llvm_fetch_input()
416 for (uint32_t attrib = 0; attrib < iface->num_outputs; ++attrib) { in swr_gs_llvm_emit_vertex() local
417 uint32_t attribSlot = attrib; in swr_gs_llvm_emit_vertex()
419 if (iface->info->output_semantic_name[attrib] == TGSI_SEMANTIC_PSIZE) { in swr_gs_llvm_emit_vertex()
422 } else if (iface->info->output_semantic_name[attrib] == TGSI_SEMANTIC_LAYER) { in swr_gs_llvm_emit_vertex()
425 } else if (iface->info->output_semantic_name[attrib] == TGSI_SEMANTIC_POSITION) { in swr_gs_llvm_emit_vertex()
428 attribSlot = VERTEX_ATTRIB_START_SLOT + attrib; in swr_gs_llvm_emit_vertex()
[all …]
/external/markdown/markdown/extensions/
Dtoc.py24 div.attrib["class"] = "toc"
30 header.attrib["class"] = "toctitle"
40 if "id" in c.attrib:
41 used_ids.append(c.attrib["id"])
77 if not "id" in c.attrib:
85 c.attrib["id"] = id
87 id = c.attrib["id"]
93 link.attrib["href"] = '#' + id
98 anchor.attrib["href"] = "#" + id
99 anchor.attrib["class"] = "toclink"
/external/python/cpython2/Modules/
D_elementtree.c229 PyObject* attrib; member
272 element_new_extra(ElementObject* self, PyObject* attrib) in element_new_extra() argument
278 if (!attrib) in element_new_extra()
279 attrib = Py_None; in element_new_extra()
281 Py_INCREF(attrib); in element_new_extra()
282 self->extra->attrib = attrib; in element_new_extra()
296 Py_DECREF(self->extra->attrib); in element_dealloc_extra()
308 element_new(PyObject* tag, PyObject* attrib) in element_new() argument
317 if (PyDict_CheckExact(attrib) && !PyDict_Size(attrib)) in element_new()
318 attrib = Py_None; in element_new()
[all …]

12345678910