Home
last modified time | relevance | path

Searched refs:op (Results 1 – 25 of 140) sorted by relevance

123456

/device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/
Dbuiltin_function_declarations.txt18 // DEFAULT METADATA {"op": "CallBuiltInFunction"}
29 // "op"
30 // string, either EOp code or "auto", in which case the op is derived from the function
40 // boolean, can be used to mark a function as having side effects even if it has op other
41 // than CallBuiltInFunction and it doesn't have out parameters. In case the op is
51 DEFAULT METADATA {"essl_level": "COMMON_BUILTINS", "glsl_level": "COMMON_BUILTINS", "op": "auto"}
61 DEFAULT METADATA {"essl_level": "ESSL3_BUILTINS", "glsl_level": "GLSL1_3_BUILTINS", "op": "auto"}
71 DEFAULT METADATA {"essl_level": "COMMON_BUILTINS", "glsl_level": "COMMON_BUILTINS", "op": "auto"}
78 DEFAULT METADATA {"glsl_level": "GLSL4_BUILTINS", "op": "auto"}
80 DEFAULT METADATA {"essl_level": "COMMON_BUILTINS", "glsl_level": "COMMON_BUILTINS", "op": "auto"}
[all …]
DParseContext.cpp378 const char *op, in assignError() argument
384 error(line, reasonStream.c_str(), op); in assignError()
390 void TParseContext::unaryOpError(const TSourceLoc &line, const char *op, const TType &operand) in unaryOpError() argument
393 reasonStream << "wrong operand type - no operation '" << op in unaryOpError()
396 error(line, reasonStream.c_str(), op); in unaryOpError()
403 const char *op, in binaryOpError() argument
408 reasonStream << "wrong operand types - no operation '" << op in binaryOpError()
412 error(line, reasonStream.c_str(), op); in binaryOpError()
481 bool TParseContext::checkCanBeLValue(const TSourceLoc &line, const char *op, TIntermTyped *node) in checkCanBeLValue() argument
486 bool ok = checkCanBeLValue(line, op, swizzleNode->getOperand()); in checkCanBeLValue()
[all …]
DParseContext.h116 void assignError(const TSourceLoc &line, const char *op, const TType &left, const TType &right);
117 void unaryOpError(const TSourceLoc &line, const char *op, const TType &operand);
119 const char *op,
127 bool checkCanBeLValue(const TSourceLoc &line, const char *op, TIntermTyped *node);
416 TIntermTyped *addUnaryMath(TOperator op, TIntermTyped *child, const TSourceLoc &loc);
417 TIntermTyped *addUnaryMathLValue(TOperator op, TIntermTyped *child, const TSourceLoc &loc);
418 TIntermTyped *addBinaryMath(TOperator op,
422 TIntermTyped *addBinaryMathBooleanResult(TOperator op,
426 TIntermTyped *addAssign(TOperator op,
433 TIntermBranch *addBranch(TOperator op, const TSourceLoc &loc);
[all …]
DOperator.cpp9 const char *GetOperatorString(TOperator op) in GetOperatorString() argument
11 switch (op) in GetOperatorString()
377 bool IsAssignment(TOperator op) in IsAssignment() argument
379 switch (op) in IsAssignment()
406 bool IsAtomicFunction(TOperator op) in IsAtomicFunction() argument
408 switch (op) in IsAtomicFunction()
DIntermNode.cpp51 TOperator op, in UndefinedConstantFoldingError() argument
57 GetOperatorString(op)); in UndefinedConstantFoldingError()
142 bool CanFoldAggregateBuiltInOp(TOperator op) in CanFoldAggregateBuiltInOp() argument
144 switch (op) in CanFoldAggregateBuiltInOp()
554 TOperator op, in TIntermAggregate() argument
556 : TIntermOperator(op, type), in TIntermAggregate()
1313 TIntermUnary::TIntermUnary(TOperator op, TIntermTyped *operand, const TFunction *function) in TIntermUnary() argument
1314 : TIntermOperator(op), mOperand(operand), mUseEmulatedFunction(false), mFunction(function) in TIntermUnary()
1320 TIntermBinary::TIntermBinary(TOperator op, TIntermTyped *left, TIntermTyped *right) in TIntermBinary() argument
1321 : TIntermOperator(op), mLeft(left), mRight(right), mAddIndexClamp(false) in TIntermBinary()
[all …]
DIntermNode.h238 TIntermBranch(TOperator op, TIntermTyped *e) : mFlowOp(op), mExpression(e) {} in TIntermBranch() argument
364 TConstantUnion *foldUnaryNonComponentWise(TOperator op);
365 TConstantUnion *foldUnaryComponentWise(TOperator op, TDiagnostics *diagnostics);
367 static const TConstantUnion *FoldBinary(TOperator op,
414 TIntermOperator(TOperator op) : TIntermExpression(TType(EbtFloat, EbpUndefined)), mOp(op) {} in TIntermOperator() argument
415 TIntermOperator(TOperator op, const TType &type) : TIntermExpression(type), mOp(op) {} in TIntermOperator() argument
469 TIntermBinary(TOperator op, TIntermTyped *left, TIntermTyped *right);
527 TIntermUnary(TOperator op, TIntermTyped *operand, const TFunction *function);
650 TOperator op,
DValidateLimitations.cpp340 TOperator op = EOpNull; in validateForLoopExpr() local
344 op = unOp->getOp(); in validateForLoopExpr()
349 op = binOp->getOp(); in validateForLoopExpr()
366 switch (op) in validateForLoopExpr()
379 error(expr->getLine(), "Invalid operator", GetOperatorString(op)); in validateForLoopExpr()
DOperator.h268 const char *GetOperatorString(TOperator op);
271 bool IsAssignment(TOperator op);
274 bool IsAtomicFunction(TOperator op);
/device/generic/vulkan-cereal/third-party/lz4/
Dlz4.c483 BYTE* op = (BYTE*) dest; in LZ4_compress_generic() local
484 BYTE* const olimit = op + maxOutputSize; in LZ4_compress_generic()
553 token = op++; in LZ4_compress_generic()
555 (unlikely(op + litLength + (2 + 1 + LASTLITERALS) + (litLength/255) > olimit))) in LZ4_compress_generic()
560 for(; len >= 255 ; len-=255) *op++ = 255; in LZ4_compress_generic()
561 *op++ = (BYTE)len; in LZ4_compress_generic()
566 LZ4_wildCopy(op, anchor, op+litLength); in LZ4_compress_generic()
567 op+=litLength; in LZ4_compress_generic()
572 LZ4_writeLE16(op, (U16)(ip-match)); op+=2; in LZ4_compress_generic()
595 (unlikely(op + (1 + LASTLITERALS) + (matchCode>>8) > olimit)) ) in LZ4_compress_generic()
[all …]
Dlz4hc.c260 BYTE** op, in LZ4HC_encodeSequence() argument
276 token = (*op)++; in LZ4HC_encodeSequence()
277 …if ((limitedOutputBuffer) && ((*op + (length>>8) + length + (2 + 1 + LASTLITERALS)) > oend)) retur… in LZ4HC_encodeSequence()
278 …K<<ML_BITS); len = length-RUN_MASK; for(; len > 254 ; len-=255) *(*op)++ = 255; *(*op)++ = (BYTE)… in LZ4HC_encodeSequence()
282 LZ4_wildCopy(*op, *anchor, (*op) + length); in LZ4HC_encodeSequence()
283 *op += length; in LZ4HC_encodeSequence()
286 LZ4_writeLE16(*op, (U16)(*ip-match)); *op += 2; in LZ4HC_encodeSequence()
290 …if ((limitedOutputBuffer) && (*op + (length>>8) + (1 + LASTLITERALS) > oend)) return 1; /* Check… in LZ4HC_encodeSequence()
294 for(; length > 509 ; length-=510) { *(*op)++ = 255; *(*op)++ = 255; } in LZ4HC_encodeSequence()
295 if (length > 254) { length-=255; *(*op)++ = 255; } in LZ4HC_encodeSequence()
[all …]
Dlz4opt.h227 BYTE* op = (BYTE*) dest; in LZ4HC_compress_optimal() local
228 BYTE* const oend = op + maxOutputSize; in LZ4HC_compress_optimal()
347 res = LZ4HC_encodeSequence(&ip, &op, &anchor, (int)mlen, ip - offset, limit, oend); in LZ4HC_compress_optimal()
354 …if ((limit) && (((char*)op - dest) + lastRun + 1 + ((lastRun+255-RUN_MASK)/255) > (U32)maxOutputSi… in LZ4HC_compress_optimal()
355 …(lastRun>=(int)RUN_MASK) { *op++=(RUN_MASK<<ML_BITS); lastRun-=RUN_MASK; for(; lastRun > 254 ; las… in LZ4HC_compress_optimal()
356 else *op++ = (BYTE)(lastRun<<ML_BITS); in LZ4HC_compress_optimal()
357 memcpy(op, anchor, iend - anchor); in LZ4HC_compress_optimal()
358 op += iend-anchor; in LZ4HC_compress_optimal()
362 return (int) ((char*)op-dest); in LZ4HC_compress_optimal()
/device/generic/vulkan-cereal/host-common/
DDeviceContextRunner.h113 virtual void performDeviceOperation(const T& op) = 0;
119 void queueDeviceOperation(const T& op) { in queueDeviceOperation() argument
124 performDeviceOperation(op); in queueDeviceOperation()
129 mPending.push_back(op); in queueDeviceOperation()
140 void removeAllPendingOperations(const Predicate& op) { in removeAllPendingOperations() argument
142 mPending.erase(std::remove_if(mPending.begin(), mPending.end(), op), in removeAllPendingOperations()
148 void forEachPendingOperation(const Func& op) const { in forEachPendingOperation() argument
150 for (const auto& p : mPending) { op(p); } in forEachPendingOperation()
Daddress_space_host_media.cpp166 auto op = getMediaOperation(info->metadata); in handleMediaRequest() local
171 static_cast<uint8_t>(codecType), static_cast<uint8_t>(op), in handleMediaRequest()
181 codecType, op, in handleMediaRequest()
190 codecType, op, in handleMediaRequest()
DMediaVpxDecoder.cpp96 MediaOperation op, in handlePing() argument
102 switch (op) { in handlePing()
154 VPX_DPRINT("Reset is not supported %u\n", (unsigned int)op); in handlePing()
157 VPX_DPRINT("Unknown command %u\n", (unsigned int)op); in handlePing()
/device/generic/vulkan-cereal/third-party/angle/src/tests/gles1_conformance_tests/
DPrimtestTests.cpp67 driverRec &op = driver[i]; in execTest() local
69 op.funcInit((void *)&mTestData); in execTest()
70 op.finish = 0; in execTest()
75 op.funcStatus(1, mTestData); in execTest()
78 op.funcSet(1, mTestData); in execTest()
84 long finish = op.funcUpdate(mTestData); in execTest()
/device/generic/goldfish-opengl/system/codecs/c2/decoders/base/
Dgoldfish_media_utils.cpp42 virtual bool sendOperation(MediaCodecType type, MediaOperation op,
101 static __u64 makeMetadata(MediaCodecType type, MediaOperation op,
172 MediaOperation op, in makeMetadata() argument
181 return ((__u64)type << (64 - 8)) | (offset << 8) | static_cast<uint8_t>(op); in makeMetadata()
212 MediaOperation op, in sendOperation() argument
215 pingInfo.metadata = makeMetadata(type, op, offSetToStartAddr); in sendOperation()
223 (int)op); in sendOperation()
/device/generic/goldfish-opengl/system/codecs/omx/common/
Dgoldfish_media_utils.cpp43 …virtual bool sendOperation(MediaCodecType type, MediaOperation op, unsigned int offSetToStartAddr …
99 MediaOperation op, uint64_t offset);
166 MediaOperation op, uint64_t offset) { in makeMetadata() argument
174 return ((__u64)type << (64 - 8)) | (offset << 8) | static_cast<uint8_t>(op); in makeMetadata()
204 MediaOperation op, unsigned int offSetToStartAddr) { in sendOperation() argument
206 pingInfo.metadata = makeMetadata(type, op, offSetToStartAddr); in sendOperation()
213 DDD("successfully pinged host for operation type=%d, op=%d", (int)type, (int)op); in sendOperation()
/device/generic/vulkan-cereal/third-party/angle/src/libANGLE/
DGLES1Shaders.inc679 vec4 op;
684 op = textureColor;
687 op = textureEnvColor;
690 op = vertexColor;
693 op = texturePrevColor;
696 op = texturePrevColor;
703 res = op.rgb;
706 res = 1.0 - op.rgb;
709 res = vec3(op.a, op.a, op.a);
712 res = vec3(1.0 - op.a, 1.0 - op.a, 1.0 - op.a);
[all …]
/device/google/contexthub/firmware/lib/libm/
Dfdlibm.h368 #define SAFE_LEFT_SHIFT(op,amt) \ argument
369 (((amt) < 8 * sizeof(op)) ? ((op) << (amt)) : 0)
371 #define SAFE_RIGHT_SHIFT(op,amt) \ argument
372 (((amt) < 8 * sizeof(op)) ? ((op) >> (amt)) : 0)
/device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/tree_ops/
DRewriteExpressionsWithShaderStorageBlock.cpp26 bool IsIncrementOrDecrementOperator(TOperator op) in IsIncrementOrDecrementOperator() argument
28 switch (op) in IsIncrementOrDecrementOperator()
40 bool IsCompoundAssignment(TOperator op) in IsCompoundAssignment() argument
42 switch (op) in IsCompoundAssignment()
66 bool IsReadonlyBinaryOperatorNotInSSBOAccessChain(TOperator op) in IsReadonlyBinaryOperatorNotInSSBOAccessChain() argument
68 switch (op) in IsReadonlyBinaryOperatorNotInSSBOAccessChain()
DEmulatePrecision.cpp497 TOperator op = node->getOp(); in visitBinary() local
500 if (op == EOpInitialize && visit == InVisit) in visitBinary()
503 if ((op == EOpIndexDirectStruct) && visit == InVisit) in visitBinary()
514 switch (op) in visitBinary()
625 TOperator op = node->getOp(); in visitAggregate() local
626 if (op == EOpCallInternalRawFunction || op == EOpCallFunctionInAST || in visitAggregate()
627 (op == EOpConstruct && node->getBasicType() == EbtStruct)) in visitAggregate()
DRewriteRowMajorMatrices.cpp100 TOperator op = binaryNode->getOp(); in IsIndexNode() local
102 return op == EOpIndexDirect || op == EOpIndexDirectInterfaceBlock || in IsIndexNode()
103 op == EOpIndexDirectStruct || op == EOpIndexIndirect; in IsIndexNode()
148 TOperator op = binaryNode->getOp(); in GetIndex() local
149 ASSERT(op == EOpIndexDirect || op == EOpIndexDirectInterfaceBlock || in GetIndex()
150 op == EOpIndexDirectStruct || op == EOpIndexIndirect); in GetIndex()
159 return op; in GetIndex()
893 TOperator op = GetIndex(mSymbolTable, ancestor, &indices, &prependStatements); in transformExpression() local
895 bool opIsIndex = op == EOpIndexDirect || op == EOpIndexIndirect; in transformExpression()
/device/generic/vulkan-cereal/snapshot/
Dcommon.h106 SnapshotOperation op);
109 bool isComplete(const Operation& op) { in isComplete() argument
110 return op.status() != OperationStatus::NotStarted; in isComplete()
/device/generic/goldfish-opengl/system/OpenglSystemCommon/
DVirtioGpuStream.cpp49 uint32_t op; member
250 cmd->op = 0U; in allocBuffer()
350 "error, exiting.", __func__, m_cmdResp->op, len, in readFully()
391 if (cmd->op == 0) { in commitAll()
/device/generic/vulkan-cereal/third-party/angle/src/compiler/translator/tree_util/
DIntermTraverse.cpp353 TOperator op = node->getOp(); in traverseBinary() local
354 if (op == EOpIndexDirect || op == EOpIndexDirectInterfaceBlock || in traverseBinary()
355 op == EOpIndexDirectStruct || op == EOpIndexIndirect) in traverseBinary()

123456