Home
last modified time | relevance | path

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

12345678910>>...19

/third_party/vk-gl-cts/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 …]
/third_party/mesa3d/src/panfrost/bifrost/
Dbifrost_isa.py62 if cond.attrib.get('alias', False) and not aliased:
65 if 'left' in cond.attrib:
66 return [cond.tag, cond.attrib['left'], cond.attrib['right']]
71 return [int(obj.attrib['mask'], 0), int(obj.attrib['exact'], 0)]
77 loc = [int(deriv.attrib['start']), int(deriv.attrib['size'])]
92 if mod.attrib.get('pseudo', False) and not include_pseudo:
95 name = mod.attrib['name']
96 start = mod.attrib.get('start', None)
97 size = int(mod.attrib['size'])
105 assert('opt' in mod.attrib)
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DVertexAttribute.cpp59 VertexAttribute::VertexAttribute(VertexAttribute &&attrib) in VertexAttribute() argument
60 : enabled(attrib.enabled), in VertexAttribute()
61 format(attrib.format), in VertexAttribute()
62 pointer(attrib.pointer), in VertexAttribute()
63 relativeOffset(attrib.relativeOffset), in VertexAttribute()
64 vertexAttribArrayStride(attrib.vertexAttribArrayStride), in VertexAttribute()
65 bindingIndex(attrib.bindingIndex), in VertexAttribute()
66 mCachedElementLimit(attrib.mCachedElementLimit) in VertexAttribute()
69 VertexAttribute &VertexAttribute::operator=(VertexAttribute &&attrib) in operator =() argument
71 if (this != &attrib) in operator =()
[all …]
/third_party/mesa3d/src/gallium/drivers/i915/
Di915_prim_emit.c73 const uint32_t j = vinfo->attrib[i].src_index; in emit_hw_vertex()
74 const float *attrib = vertex->data[j]; in emit_hw_vertex() local
75 switch (vinfo->attrib[i].emit) { in emit_hw_vertex()
77 OUT_BATCH(fui(attrib[0])); in emit_hw_vertex()
81 OUT_BATCH(fui(attrib[0])); in emit_hw_vertex()
82 OUT_BATCH(fui(attrib[1])); in emit_hw_vertex()
86 OUT_BATCH(fui(attrib[0])); in emit_hw_vertex()
87 OUT_BATCH(fui(attrib[1])); in emit_hw_vertex()
88 OUT_BATCH(fui(attrib[2])); in emit_hw_vertex()
92 OUT_BATCH(fui(attrib[0])); in emit_hw_vertex()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DVertexDataManager.cpp41 int64_t GetMaxAttributeByteOffsetForDraw(const gl::VertexAttribute &attrib, in GetMaxAttributeByteOffsetForDraw() argument
45 CheckedNumeric<int64_t> stride = ComputeVertexAttributeStride(attrib, binding); in GetMaxAttributeByteOffsetForDraw()
46 CheckedNumeric<int64_t> offset = ComputeVertexAttributeOffset(attrib, binding); in GetMaxAttributeByteOffsetForDraw()
47 CheckedNumeric<int64_t> size = ComputeVertexAttributeTypeSize(attrib); in GetMaxAttributeByteOffsetForDraw()
57 int ElementsInBuffer(const gl::VertexAttribute &attrib, in ElementsInBuffer() argument
62 angle::CheckedNumeric<size_t> stride = ComputeVertexAttributeStride(attrib, binding); in ElementsInBuffer()
63 angle::CheckedNumeric<size_t> offset = ComputeVertexAttributeOffset(attrib, binding); in ElementsInBuffer()
64 angle::CheckedNumeric<size_t> elementSize = ComputeVertexAttributeTypeSize(attrib); in ElementsInBuffer()
74 const gl::VertexAttribute &attrib, in DirectStoragePossible() argument
78 if (!attrib.enabled) in DirectStoragePossible()
[all …]
DVertexBuffer.cpp95 const gl::VertexAttribute &attrib, in getSpaceRequired() argument
103 ANGLE_TRY(mFactory->getVertexSpaceRequired(context, attrib, binding, count, instances, in getSpaceRequired()
169 const gl::VertexAttribute &attrib, in storeDynamicAttribute() argument
181 getSpaceRequired(context, attrib, binding, count, instances, baseInstance, &spaceRequired)); in storeDynamicAttribute()
201 ANGLE_TRY(mVertexBuffer->storeVertexAttributes(context, attrib, binding, currentValueType, in storeDynamicAttribute()
216 const gl::VertexAttribute &attrib, in reserveVertexSpace() argument
223 ANGLE_TRY(mFactory->getVertexSpaceRequired(context, attrib, binding, count, instances, in reserveVertexSpace()
244 const gl::VertexAttribute &attrib, in matchesAttribute() argument
247 size_t attribStride = ComputeVertexAttributeStride(attrib, binding); in matchesAttribute()
249 if (formatID != attrib.format->id || static_cast<GLuint>(stride) != attribStride) in matchesAttribute()
[all …]
/third_party/mesa3d/src/vulkan/util/
Dgen_enum_to_str.py319 if 'value' in elem.attrib:
320 self.add_value(elem.attrib['name'],
321 value=int(elem.attrib['value'], base=0))
322 elif 'bitpos' in elem.attrib:
323 self.add_value(elem.attrib['name'],
324 value=(1 << int(elem.attrib['bitpos'], base=0)))
325 elif 'alias' in elem.attrib:
326 self.add_value(elem.attrib['name'], alias=elem.attrib['alias'])
328 error = 'dir' in elem.attrib and elem.attrib['dir'] == '-'
329 if 'extnumber' in elem.attrib:
[all …]
Dvk_entrypoints.py106 if 'alias' in command.attrib:
107 alias = command.attrib['name']
108 target = command.attrib['alias']
117 len=p.attrib.get('len', None)
125 assert feature.attrib['api'] == 'vulkan'
126 version = VkVersion(feature.attrib['number'])
128 e = entrypoints[command.attrib['name']]
133 if extension.attrib['supported'] != 'vulkan':
136 ext_name = extension.attrib['name']
139 ext.type = extension.attrib['type']
[all …]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_interp.c122 attrib_name(LLVMValueRef val, unsigned attrib, unsigned chan, const char *suffix) in attrib_name() argument
124 if(attrib == 0) in attrib_name()
127 lp_build_name(val, "input%u.%c%s", attrib - 1, "xyzw"[chan], suffix); in attrib_name()
224 unsigned attrib; in coeffs_init_simple() local
226 for (attrib = 0; attrib < bld->num_attribs; ++attrib) { in coeffs_init_simple()
238 const enum lp_interp interp = bld->interp[attrib]; in coeffs_init_simple()
240 attrib * TGSI_NUM_CHANNELS); in coeffs_init_simple()
255 attrib_name(dadxaos, attrib, 0, ".dadxaos"); in coeffs_init_simple()
256 attrib_name(dadyaos, attrib, 0, ".dadyaos"); in coeffs_init_simple()
262 attrib_name(a0aos, attrib, 0, ".a0aos"); in coeffs_init_simple()
[all …]
/third_party/mesa3d/src/compiler/isaspec/
Disa.py60 if 'pos' in field.attrib:
61 assert('low' not in field.attrib)
62 assert('high' not in field.attrib)
63 low = int(field.attrib['pos'])
66 low = int(field.attrib['low'])
67 high = int(field.attrib['high'])
107 self.name = xml.attrib['name']
108 self.type = xml.attrib['type']
111 aas = name = param.attrib['name']
112 if 'as' in param.attrib:
[all …]
/third_party/mesa3d/src/gallium/auxiliary/translate/
Dtranslate_generic.c43 typedef void (*emit_func)(const void *attrib, void *ptr);
76 } attrib[TRANSLATE_MAX_ATTRIBS]; member
98 emit_##NAME(const void *attrib, void *ptr) \
101 SRCTYPE *in = (SRCTYPE *)attrib; \
241 emit_A8R8G8B8_UNORM(const void *attrib, void *ptr) in emit_A8R8G8B8_UNORM() argument
243 float *in = (float *)attrib; in emit_A8R8G8B8_UNORM()
252 emit_B8G8R8A8_UNORM(const void *attrib, void *ptr) in emit_B8G8R8A8_UNORM() argument
254 float *in = (float *)attrib; in emit_B8G8R8A8_UNORM()
263 emit_B10G10R10A2_UNORM(const void *attrib, void *ptr) in emit_B10G10R10A2_UNORM() argument
271 *(uint32_t *)attrib = util_le32_to_cpu(value); in emit_B10G10R10A2_UNORM()
[all …]
/third_party/skia/third_party/externals/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 …]
/third_party/typescript/tests/baselines/reference/
DreadonlyAssignmentInSubclassOfClassExpression.types2 class C extends (class {} as new () => Readonly<{ attrib: number }>) {
4 >(class {} as new () => Readonly<{ attrib: number }>) : Readonly<{ attrib: number; }>
5 >class {} as new () => Readonly<{ attrib: number }> : new () => Readonly<{ attrib: number;}>
7 >attrib : number
12 >super : new () => Readonly<{ attrib: number; }>
14 this.attrib = 2
15 >this.attrib = 2 : 2
16 >this.attrib : any
18 >attrib : any
/third_party/skia/third_party/externals/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 …]
/third_party/vk-gl-cts/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 …]
/third_party/lzma/CPP/7zip/UI/FileManager/
DSysIconUtils.cpp52 typedef DWORD_PTR (WINAPI * Func_SHGetFileInfoW)(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, …
66 static DWORD_PTR My_SHGetFileInfoW(LPCWSTR pszPath, DWORD attrib, SHFILEINFOW *psfi, UINT cbFileInf… in My_SHGetFileInfoW() argument
75 (pszPath, attrib, psfi, cbFileInfo, uFlags); in My_SHGetFileInfoW()
78 DWORD_PTR GetRealIconIndex(CFSTR path, DWORD attrib, int &iconIndex) in GetRealIconIndex() argument
84 const DWORD_PTR res = ::SHGetFileInfo(fs2fas(path), FILE_ATTRIBUTE_NORMAL | attrib, &shellInfo, in GetRealIconIndex()
93 … const DWORD_PTR res = ::My_SHGetFileInfoW(fs2us(path), FILE_ATTRIBUTE_NORMAL | attrib, &shellInfo, in GetRealIconIndex()
130 static int FindInSorted_Attrib(const CRecordVector<CAttribIconPair> &vect, DWORD attrib, unsigned &… in FindInSorted_Attrib() argument
137 if (attrib == midAttrib) in FindInSorted_Attrib()
139 if (attrib < midAttrib) in FindInSorted_Attrib()
166 int CExtToIconMap::GetIconIndex(DWORD attrib, const wchar_t *fileName /*, UString *typeName */) in GetIconIndex() argument
[all …]
/third_party/lzma/CPP/Windows/
DFileFind.h43 inline bool IsReadOnly(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_READONLY) != 0; } in IsReadOnly() argument
44 inline bool IsHidden(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_HIDDEN) != 0; } in IsHidden() argument
45 inline bool IsSystem(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_SYSTEM) != 0; } in IsSystem() argument
46 inline bool IsDir(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_DIRECTORY) != 0; } in IsDir() argument
47 inline bool IsArchived(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_ARCHIVE) != 0; } in IsArchived() argument
48 inline bool IsCompressed(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_COMPRESSED) != 0; } in IsCompressed() argument
49 inline bool IsEncrypted(DWORD attrib) { return (attrib & FILE_ATTRIBUTE_ENCRYPTED) != 0; } in IsEncrypted() argument
51 inline UInt32 Get_PosixMode_From_WinAttrib(DWORD attrib) in Get_PosixMode_From_WinAttrib() argument
53 UInt32 v = IsDir(attrib) ? MY_LIN_S_IFDIR : MY_LIN_S_IFREG; in Get_PosixMode_From_WinAttrib()
56 v |= ((IsReadOnly(attrib) && !IsDir(attrib)) ? 0555 : 0777); in Get_PosixMode_From_WinAttrib()
/third_party/mesa3d/src/util/
Ddriconf_static.py41 self.name = xml.attrib['name']
42 self.value = xml.attrib['value']
47 self.name = xml.attrib['name']
48 self.executable = xml.attrib.get('executable', None)
49 self.executable_regexp = xml.attrib.get('executable_regexp', None)
50 self.sha1 = xml.attrib.get('sha1', None)
51 self.application_name_match = xml.attrib.get('application_name_match', None)
52 self.application_versions = xml.attrib.get('application_versions', None)
61 self.engine_name_match = xml.attrib['engine_name_match']
62 self.engine_versions = xml.attrib.get('engine_versions', None)
[all …]
/third_party/mesa3d/src/mesa/main/
Dglthread_varray.c242 gl_vert_attrib attrib, bool enable) in _mesa_glthread_ClientState() argument
245 if (attrib == VERT_ATTRIB_PRIMITIVE_RESTART_NV) { in _mesa_glthread_ClientState()
251 if (attrib >= VERT_ATTRIB_MAX) in _mesa_glthread_ClientState()
258 const unsigned attrib_bit = 1u << attrib; in _mesa_glthread_ClientState()
266 if (attrib == VERT_ATTRIB_POS) { in _mesa_glthread_ClientState()
270 enable_buffer(vao, vao->Attrib[attrib].BufferIndex); in _mesa_glthread_ClientState()
272 if (attrib == VERT_ATTRIB_GENERIC0 && vao->UserEnabled & VERT_BIT_POS) in _mesa_glthread_ClientState()
281 if (attrib == VERT_ATTRIB_POS) { in _mesa_glthread_ClientState()
285 disable_buffer(vao, vao->Attrib[attrib].BufferIndex); in _mesa_glthread_ClientState()
287 if (attrib == VERT_ATTRIB_GENERIC0 && vao->UserEnabled & VERT_BIT_POS) in _mesa_glthread_ClientState()
[all …]
/third_party/openssl/crypto/pkcs12/
Dp12_attr.c20 if (X509at_add1_attr_by_NID(&bag->attrib, NID_localKeyID, in PKCS12_add_localkeyid()
41 if (X509at_add1_attr_by_NID(&bag->attrib, NID_friendlyName, in PKCS12_add_friendlyname_asc()
51 if (X509at_add1_attr_by_NID(&bag->attrib, NID_friendlyName, in PKCS12_add_friendlyname_utf8()
61 if (X509at_add1_attr_by_NID(&bag->attrib, NID_friendlyName, in PKCS12_add_friendlyname_uni()
70 if (X509at_add1_attr_by_NID(&bag->attrib, NID_ms_csp_name, in PKCS12_add_CSPName_asc()
80 if (X509at_add1_attr_by_NID(&bag->attrib, nid, type, bytes, len) != NULL) in PKCS12_add1_attr_by_NID()
89 if (X509at_add1_attr_by_txt(&bag->attrib, attrname, type, bytes, len) != NULL) in PKCS12_add1_attr_by_txt()
98 X509_ATTRIBUTE *attrib; in PKCS12_get_attr_gen() local
101 attrib = X509at_get_attr(attrs, i); in PKCS12_get_attr_gen()
102 return X509_ATTRIBUTE_get0_type(attrib, 0); in PKCS12_get_attr_gen()
[all …]
/third_party/node/deps/openssl/openssl/crypto/pkcs12/
Dp12_attr.c20 if (X509at_add1_attr_by_NID(&bag->attrib, NID_localKeyID, in PKCS12_add_localkeyid()
41 if (X509at_add1_attr_by_NID(&bag->attrib, NID_friendlyName, in PKCS12_add_friendlyname_asc()
51 if (X509at_add1_attr_by_NID(&bag->attrib, NID_friendlyName, in PKCS12_add_friendlyname_utf8()
61 if (X509at_add1_attr_by_NID(&bag->attrib, NID_friendlyName, in PKCS12_add_friendlyname_uni()
70 if (X509at_add1_attr_by_NID(&bag->attrib, NID_ms_csp_name, in PKCS12_add_CSPName_asc()
80 if (X509at_add1_attr_by_NID(&bag->attrib, nid, type, bytes, len) != NULL) in PKCS12_add1_attr_by_NID()
89 if (X509at_add1_attr_by_txt(&bag->attrib, attrname, type, bytes, len) != NULL) in PKCS12_add1_attr_by_txt()
98 X509_ATTRIBUTE *attrib; in PKCS12_get_attr_gen() local
101 attrib = X509at_get_attr(attrs, i); in PKCS12_get_attr_gen()
102 return X509_ATTRIBUTE_get0_type(attrib, 0); in PKCS12_get_attr_gen()
[all …]
/third_party/mesa3d/src/mesa/vbo/
Dvbo_context.c56 init_array(struct gl_context *ctx, struct gl_array_attributes *attrib, in init_array() argument
59 memset(attrib, 0, sizeof(*attrib)); in init_array()
61 vbo_set_vertex_format(&attrib->Format, size, GL_FLOAT); in init_array()
62 attrib->Stride = 0; in init_array()
63 attrib->Ptr = pointer; in init_array()
83 struct gl_array_attributes *attrib = &vbo->current[attr]; in init_legacy_currval() local
85 init_array(ctx, attrib, check_size(ctx->Current.Attrib[attr]), in init_legacy_currval()
99 struct gl_array_attributes *attrib = &vbo->current[attr]; in init_generic_currval() local
101 init_array(ctx, attrib, 1, ctx->Current.Attrib[attr]); in init_generic_currval()
117 struct gl_array_attributes *attrib = &vbo->current[attr]; in init_mat_currval() local
[all …]
/third_party/mesa3d/src/vulkan/runtime/
Dvk_physical_device_features.py147 if _type.attrib.get('name') != 'VkPhysicalDeviceFeatures':
167 if _extension.attrib.get('provisional') != 'true':
170 provisional_structs.add(p.attrib.get('name'))
174 if _type.attrib.get('category') != 'struct':
176 if _type.attrib.get('structextends') != 'VkPhysicalDeviceFeatures2,VkDeviceCreateInfo':
178 if _type.attrib.get('name') in provisional_structs:
183 if "STRUCTURE_TYPE" in str(elem.attrib):
184 s_type = elem.attrib.get('values')
194 s_type = p.attrib.get('values')
199 feat = Feature(name=_type.attrib.get('name'), vk_type=s_type, vk_flags=flags)
[all …]
/third_party/mesa3d/src/intel/genxml/
Dgen_sort_tags.py12 return element.attrib['filename']
15 return element.attrib['name']
18 return int(element.attrib['value'], 0)
21 return int(element.attrib['start'], 0)
41 if 'type' in node.attrib and not is_base_type(node.attrib['type']):
42 t = node.attrib['type']
54 self.name = xml.attrib['name']
92 for a in node.attrib:
95 if a in node.attrib:
96 f.write(' {0}="{1}"'.format(a, node.attrib[a]))
[all …]

12345678910>>...19