OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:unionArray
(Results
1 - 9
of
9
) sorted by null
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/
parseConst.cpp
47
:
unionArray
(cUnion), type(t),
55
TConstUnionArray
unionArray
;
121
TConstUnionArray leftUnionArray(
unionArray
);
196
bool TIntermediate::parseConstTree(TIntermNode* root, TConstUnionArray
unionArray
, TOperator constructorType, const TType& t, bool singleConstantParam)
201
TConstTraverser it(
unionArray
, singleConstantParam, constructorType, t);
Constant.cpp
382
const TConstUnionArray&
unionArray
= getConstArray();
391
sum +=
unionArray
[i].getDConst() *
unionArray
[i].getDConst();
397
newConstArray[i].setDConst(
unionArray
[i].getDConst() / length);
406
if (
unionArray
[i].getBConst())
416
if (!
unionArray
[i].getBConst())
453
case EbtFloat: newConstArray[i].setDConst(-
unionArray
[i].getDConst()); break;
454
case EbtInt: newConstArray[i].setIConst(-
unionArray
[i].getIConst()); break;
455
case EbtUint: newConstArray[i].setUConst(static_cast<unsigned int>(-static_cast<int>(
unionArray
[i].getUConst()))); break;
456
case EbtInt64: newConstArray[i].setI64Const(-
unionArray
[i].getI64Const()); break
[
all
...]
Intermediate.cpp
91
TConstUnionArray
unionArray
; // just a null constant
93
return addSymbol(0, "", type,
unionArray
, nullptr, loc);
922
TIntermConstantUnion* TIntermediate::addConstantUnion(const TConstUnionArray&
unionArray
, const TType& t, const TSourceLoc& loc, bool literal) const
924
TIntermConstantUnion* node = new TIntermConstantUnion(
unionArray
, t);
935
TConstUnionArray
unionArray
(1);
936
unionArray
[0].setIConst(i);
938
return addConstantUnion(
unionArray
, TType(EbtInt, EvqConst), loc, literal);
943
TConstUnionArray
unionArray
(1);
944
unionArray
[0].setUConst(u);
946
return addConstantUnion(
unionArray
, TType(EbtUint, EvqConst), loc, literal)
[
all
...]
/external/swiftshader/src/OpenGL/compiler/
parseConst.cpp
26
unionArray
(cUnion),
49
ConstantUnion *
unionArray
;
166
ConstantUnion* leftUnionArray =
unionArray
;
239
bool TIntermediate::parseConstTree(const TSourceLoc& line, TIntermNode* root, ConstantUnion*
unionArray
, TOperator constructorType, TType t, bool singleConstantParam)
244
TConstTraverser it(
unionArray
, singleConstantParam, constructorType, infoSink, t);
Intermediate.cpp
724
ConstantUnion*
unionArray
;
727
unionArray
= new ConstantUnion[1];
728
unionArray
->setIConst(fields.offsets[i]);
729
constIntNode = addConstantUnion(
unionArray
, TType(EbtInt, EbpUndefined, EvqConstExpr), line);
[
all
...]
SymbolTable.h
87
TVariable(const TString *name, const TType& t, bool uT = false ) : TSymbol(name), type(t), userType(uT),
unionArray
(0), arrayInformationType(0) { }
99
if (!
unionArray
)
100
unionArray
= new ConstantUnion[type.getObjectSize()];
102
return
unionArray
;
105
ConstantUnion* getConstPointer() const { return
unionArray
; }
106
bool isConstant() const { return
unionArray
!= nullptr; }
110
if (
unionArray
== constArray)
113
delete[]
unionArray
;
114
unionArray
= constArray;
120
// we are assuming that Pool Allocator will free the memory allocated to
unionArray
[
all
...]
ParseHelper.cpp
[
all
...]
/prebuilts/ndk/r13/sources/third_party/shaderc/third_party/glslang/glslang/Include/
ConstantUnion.h
554
TConstUnionArray() :
unionArray
(nullptr) { }
560
unionArray
= nullptr;
562
unionArray
= new TConstUnionVector(size);
564
TConstUnionArray(const TConstUnionArray& a) :
unionArray
(a.
unionArray
) { }
567
unionArray
= new TConstUnionVector(size);
569
(*
unionArray
)[i] = a[start + i];
575
unionArray
= new TConstUnionVector(size, val);
578
int size() const { return
unionArray
? (int)
unionArray
->size() : 0;
[
all
...]
/external/guice/extensions/persist/lib/
hsqldb.jar
Completed in 99 milliseconds