/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | cppcoreguidelines-pro-bounds-pointer-arithmetic-pr36489.cpp | 4 char *getPtr(); 5 auto getPtrAuto() { return getPtr(); } in getPtrAuto() 6 decltype(getPtr()) getPtrDeclType(); 7 decltype(auto) getPtrDeclTypeAuto() { return getPtr(); } in getPtrDeclTypeAuto() 11 auto p1 = getPtr() + 1; in auto_deduction_binary() 17 auto p4 = getPtr(); in auto_deduction_binary() 18 auto *p5 = getPtr(); in auto_deduction_binary() 34 char p1 = getPtr()[2]; in auto_deduction_subscript() 36 auto p2 = getPtr()[3]; in auto_deduction_subscript()
|
D | readability-qualified-auto.cpp | 9 MyPtr getPtr(); 15 auto TdNakedPtr = getPtr(); in foo() 37 MyPtr getPtr(); 43 auto UNakedPtr = getPtr(); in foo()
|
/external/deqp/modules/gles3/functional/ |
D | es3fBufferMapTests.cpp | 74 fillWithRandomBytes(refBuf.getPtr(), m_bufferSize, dataSeed); in iterate() 79 writer.write(buf, 0, m_bufferSize, refBuf.getPtr(), m_bufferTarget); in iterate() 86 isOk = compareByteArrays(log, (const deUint8*)ptr, refBuf.getPtr(m_mapOffset), m_mapSize); in iterate() 127 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed); in iterate() 141 bool isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_bufferTarget); in iterate() 178 fillWithRandomBytes(refBuf.getPtr(), m_bufferSize, dataSeed); in iterate() 182 glBufferData(m_bufferTarget, m_bufferSize, refBuf.getPtr(), m_usage); in iterate() 185 fillWithRandomBytes(refBuf.getPtr(m_mapOffset), m_mapSize, dataSeed&0xabcdef); in iterate() 191 deMemcpy(ptr, refBuf.getPtr(m_mapOffset), m_mapSize); in iterate() 195 bool isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_bufferSize, m_bufferTarget); in iterate() [all …]
|
D | es3fBufferCopyTests.cpp | 91 fillWithRandomBytes(srcRef.getPtr(), m_srcSize, srcSeed); in iterate() 94 fillWithRandomBytes(dstRef.getPtr(), m_dstSize, dstSeed); in iterate() 99 glBufferData(m_srcTarget, m_srcSize, srcRef.getPtr(), m_srcHint); in iterate() 105 glBufferData(m_dstTarget, m_dstSize, dstRef.getPtr(), m_dstHint); in iterate() 109 isOk = verifier.verify(srcBuf, srcRef.getPtr(), 0, m_srcSize, m_srcTarget) && isOk; in iterate() 110 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk; in iterate() 113 deMemcpy(dstRef.getPtr()+m_copyDstOffset, srcRef.getPtr()+m_copySrcOffset, m_copySize); in iterate() 121 isOk = verifier.verify(srcBuf, srcRef.getPtr(), 0, m_srcSize, m_srcTarget) && isOk; in iterate() 122 isOk = verifier.verify(dstBuf, dstRef.getPtr(), 0, m_dstSize, m_dstTarget) && isOk; in iterate() 199 fillWithRandomBytes(ref.getPtr(), size, baseSeed ^ deInt32Hash(ndx)); in iterate() [all …]
|
D | es3fBufferWriteTests.cpp | 197 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed); in iterate() 201 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate() 205 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size, m_target); in iterate() 245 …fillWithRandomBytes(refBuf.getPtr(), spec->size, baseSeed ^ deInt32Hash(spec->size+spec->target+sp… in iterate() 248 glBufferData(spec->target, spec->size, refBuf.getPtr(), spec->usage); in iterate() 252 iterOk = verifier.verify(buf, refBuf.getPtr(), 0, spec->size, spec->target); in iterate() 298 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed ^ 0x80354f); in iterate() 299 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate() 303 fillWithRandomBytes(refBuf.getPtr()+m_subDataOffs, m_subDataSize, dataSeed ^ 0xfac425c); in iterate() 304 glBufferSubData(m_target, m_subDataOffs, m_subDataSize, refBuf.getPtr()+m_subDataOffs); in iterate() [all …]
|
D | es3fFboTestUtil.cpp | 108 context.uniform4fv(location, 1, color.getPtr()); in setColor() 192 ctx.uniform4fv(ctx.getUniformLocation(program, "u_gradientMin"), 1, gradientMin.getPtr()); in setGradient() 193 ctx.uniform4fv(ctx.getUniformLocation(program, "u_gradientMax"), 1, gradientMax.getPtr()); in setGradient() 352 …gl.uniform4fv(gl.getUniformLocation(program, scaleName.c_str()), 1, m_inputs[texNdx].scale.getPtr(… in setUniforms() 353 …gl.uniform4fv(gl.getUniformLocation(program, biasName.c_str()), 1, m_inputs[texNdx].bias.getPtr()); in setUniforms() 356 gl.uniform4fv(gl.getUniformLocation(program, "u_outScale0"), 1, m_outScale.getPtr()); in setUniforms() 357 gl.uniform4fv(gl.getUniformLocation(program, "u_outBias0"), 1, m_outBias.getPtr()); in setUniforms() 505 ….getUniformLocation(program, "u_coordMat"), 1, GL_FALSE, m_coordMat.getColumnMajorData().getPtr()); in setUniforms() 506 gl.uniform4fv(gl.getUniformLocation(program, "u_scale"), 1, m_texScale.getPtr()); in setUniforms() 507 gl.uniform4fv(gl.getUniformLocation(program, "u_bias"), 1, m_texBias.getPtr()); in setUniforms() [all …]
|
/external/clang/test/Analysis/inlining/ |
D | false-positive-suppression.c | 12 int* getPtr(); 334 int *p = cond ? getNull() : getPtr(); in ternaryAssignment() 352 return *(x ? getNull() : getPtr()); in testConditionalOperatorSuppress() 358 return *(x ? (x ? getNull() : getPtr()) : getPtr()); in testNestedConditionalOperatorSuppress() 364 return *(x ? 0 : getPtr()); // expected-warning {{Dereference of null pointer}} in testConditionalOperator() 367 return *(x ? (x ? 0 : getPtr()) : getPtr()); // expected-warning {{Dereference of null pointer}} in testNestedConditionalOperator() 371 return *(x ? getNull() : getPtr()); in testConditionalOperatorSuppressFloatCond()
|
D | false-positive-suppression.m | 10 - (int *)getPtr; method 35 testNilReceiverHelperA([x getPtr]); 37 testNilReceiverHelperB([[x getObject] getPtr]);
|
/external/llvm-project/clang/test/Analysis/inlining/ |
D | false-positive-suppression.c | 12 int* getPtr(); 342 int *p = cond ? getNull() : getPtr(); in ternaryAssignment() 360 return *(x ? getNull() : getPtr()); in testConditionalOperatorSuppress() 366 return *(x ? (x ? getNull() : getPtr()) : getPtr()); in testNestedConditionalOperatorSuppress() 372 return *(x ? 0 : getPtr()); // expected-warning {{Dereference of null pointer}} in testConditionalOperator() 375 return *(x ? (x ? 0 : getPtr()) : getPtr()); // expected-warning {{Dereference of null pointer}} in testNestedConditionalOperator() 379 return *(x ? getNull() : getPtr()); in testConditionalOperatorSuppressFloatCond()
|
/external/deqp/framework/delibs/decpp/ |
D | deArrayBuffer.cpp | 73 DE_TEST_ASSERT(buf.getPtr() == DE_NULL); in ArrayBuffer_selfTest() 80 DE_TEST_ASSERT(buf.getPtr() != DE_NULL); in ArrayBuffer_selfTest() 132 DE_TEST_ASSERT(buf.getPtr() == DE_NULL); in ArrayBuffer_selfTest() 140 DE_TEST_ASSERT(buf.getPtr() != DE_NULL); in ArrayBuffer_selfTest() 194 deMemcpy(&dst, (int*)source.getPtr() + 1, sizeof(int)); in ArrayBuffer_selfTest() 205 deMemcpy(&dst, (int*)source.getPtr() + 1, sizeof(int)); in ArrayBuffer_selfTest() 216 deMemcpy(&dst, (deUint8*)source.getPtr() + 64, sizeof(int)); in ArrayBuffer_selfTest() 227 deMemcpy(&dst, (deUint8*)source.getPtr() + 64, sizeof(int)); in ArrayBuffer_selfTest()
|
D | deArrayBuffer.hpp | 68 void* getPtr (void) throw(); 69 const void* getPtr (void) const throw(); 214 void* ArrayBuffer<T,Alignment,Stride>::getPtr (void) throw() in getPtr() function in de::ArrayBuffer 220 const void* ArrayBuffer<T,Alignment,Stride>::getPtr (void) const throw() in getPtr() function in de::ArrayBuffer
|
/external/clang/test/Analysis/ |
D | pointer-to-member.cpp | 12 A *getPtr(); 29 clang_analyzer_eval(&A::getPtr); // expected-warning{{TRUE}} in testConditionalUse() 35 clang_analyzer_eval(&A::getPtr == &A::getPtr); // expected-warning{{TRUE}} in testComparison() 36 clang_analyzer_eval(&A::getPtr == 0); // expected-warning{{FALSE}} in testComparison()
|
D | live-variables.cpp | 10 int *getPtr(); 14 int *p = getPtr(); in test()
|
/external/nist-sip/java/gov/nist/core/ |
D | HostNameParser.java | 164 lexer.getPtr()); in ipv6Reference() 184 int startPtr = lexer.getPtr(); in host() 189 lexer.getBuffer().substring(startPtr, lexer.getPtr())) in host() 194 int startPtr = lexer.getPtr(); in host() 196 hostname = lexer.getBuffer().substring(startPtr, lexer.getPtr()); in host() 202 lexer.getPtr()); in host() 283 lexer.getPtr()); in hostPort() 308 lexer.getPtr() ); in hostPort()
|
/external/deqp/framework/common/ |
D | tcuArray.hpp | 44 inline const T* getPtr (void) const { return m_data; } in getPtr() function in tcu::Array 45 inline T* getPtr (void) { return m_data; } in getPtr() function in tcu::Array 55 return stream << Format::Array<T*>(arr.getPtr(), arr.getPtr() + Size); in operator <<()
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclarationName.h | 260 void *getPtr() const { return reinterpret_cast<void *>(Ptr & ~PtrMask); } in getPtr() function 296 return static_cast<IdentifierInfo *>(getPtr()); in castAsIdentifierInfo() 304 return static_cast<detail::DeclarationNameExtra *>(getPtr()); in castAsExtra() 314 return static_cast<detail::CXXSpecialNameExtra *>(getPtr()); in castAsCXXSpecialNameExtra() 322 return static_cast<detail::CXXOperatorIdName *>(getPtr()); in castAsCXXOperatorIdName() 330 return static_cast<detail::CXXDeductionGuideNameExtra *>(getPtr()); in castAsCXXDeductionGuideNameExtra() 338 return static_cast<detail::CXXLiteralOperatorIdName *>(getPtr()); in castAsCXXLiteralOperatorIdName() 368 return getPtr() || (getStoredNameKind() != StoredIdentifier); 443 assert(getPtr() && "getCXXNameType on a null DeclarationName!"); in getCXXNameType() 453 assert(getPtr() && in getCXXDeductionGuideTemplate() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fBufferWriteTests.cpp | 197 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed); in iterate() 201 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate() 205 isOk = verifier.verify(buf, refBuf.getPtr(), 0, m_size); in iterate() 245 …fillWithRandomBytes(refBuf.getPtr(), spec->size, baseSeed ^ deInt32Hash(spec->size+spec->target+sp… in iterate() 248 glBufferData(spec->target, spec->size, refBuf.getPtr(), spec->usage); in iterate() 252 iterOk = verifier.verify(buf, refBuf.getPtr(), 0, spec->size); in iterate() 298 fillWithRandomBytes(refBuf.getPtr(), m_size, dataSeed ^ 0x80354f); in iterate() 299 glBufferData(m_target, m_size, refBuf.getPtr(), m_usage); in iterate() 303 fillWithRandomBytes(refBuf.getPtr()+m_subDataOffs, m_subDataSize, dataSeed ^ 0xfac425c); in iterate() 304 glBufferSubData(m_target, m_subDataOffs, m_subDataSize, refBuf.getPtr()+m_subDataOffs); in iterate() [all …]
|
/external/llvm-project/clang/test/Analysis/ |
D | NewDelete-atomics.cpp | 58 Obj *getPtr() const { return Ptr; } // no-warning in getPtr() function in IntrusivePtr 68 p1.getPtr()->foo(); // no-warning in testDestroyLocalRefPtr() 77 p1.getPtr()->foo(); // no-warning in testDestroySymbolicRefPtr()
|
D | live-variables.cpp | 10 int *getPtr(); 14 int *p = getPtr(); in test()
|
D | pointer-to-member.cpp | 12 A *getPtr(); 29 clang_analyzer_eval(&A::getPtr); // expected-warning{{TRUE}} in testConditionalUse() 35 clang_analyzer_eval(&A::getPtr == &A::getPtr); // expected-warning{{TRUE}} in testComparison() 36 clang_analyzer_eval(&A::getPtr == 0); // expected-warning{{FALSE}} in testComparison()
|
/external/llvm-project/lldb/test/API/lang/cpp/covariant-return-types/ |
D | main.cpp | 17 virtual Base* getPtr() { return this; } in getPtr() function 25 Derived* getPtr() override { return this; } in getPtr() function 52 (void)base_ptr_to_derived->getPtr(); in main()
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | member-expr-references-variable.cpp | 18 Struct *getPtr(); 37 use(6, getPtr()->name); in scalarStaticVariableInMemberExpr() 79 use(6, getPtr()->complexValue); in complexStaticVariableInMemberExpr()
|
/external/llvm/include/llvm/Support/ |
D | Error.h | 188 setPtr(Other.getPtr()); 204 delete getPtr(); in ~Error() 211 setChecked(getPtr() == nullptr); 212 return getPtr() != nullptr; 217 return getPtr() && getPtr()->isA(ErrT::classID()); in isA() 223 if (!getChecked() || getPtr()) { in assertIsChecked() 225 if (getPtr()) in assertIsChecked() 226 getPtr()->log(dbgs()); in assertIsChecked() 236 ErrorInfoBase *getPtr() const { in getPtr() function 267 std::unique_ptr<ErrorInfoBase> Tmp(getPtr()); in takePayload() [all …]
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Error.h | 204 setPtr(Other.getPtr()); 220 delete getPtr(); in ~Error() 227 setChecked(getPtr() == nullptr); 228 return getPtr() != nullptr; 233 return getPtr() && getPtr()->isA(ErrT::classID()); in isA() 239 if (!getChecked() || getPtr()) { in assertIsChecked() 241 if (getPtr()) in assertIsChecked() 242 getPtr()->log(dbgs()); in assertIsChecked() 252 ErrorInfoBase *getPtr() const { in getPtr() function 285 std::unique_ptr<ErrorInfoBase> Tmp(getPtr()); in takePayload() [all …]
|
/external/deqp/modules/gles31/functional/ |
D | es31fFboTestUtil.cpp | 195 …gl.uniform4fv(gl.getUniformLocation(program, scaleName.c_str()), 1, m_inputs[texNdx].scale.getPtr(… in setUniforms() 196 …gl.uniform4fv(gl.getUniformLocation(program, biasName.c_str()), 1, m_inputs[texNdx].bias.getPtr()); in setUniforms() 199 gl.uniform4fv(gl.getUniformLocation(program, "u_outScale0"), 1, m_outScale.getPtr()); in setUniforms() 200 gl.uniform4fv(gl.getUniformLocation(program, "u_outBias0"), 1, m_outBias.getPtr()); in setUniforms() 364 ….getUniformLocation(program, "u_coordMat"), 1, GL_FALSE, m_coordMat.getColumnMajorData().getPtr()); in setUniforms() 366 gl.uniform4fv(gl.getUniformLocation(program, "u_scale"), 1, m_texScale.getPtr()); in setUniforms() 367 gl.uniform4fv(gl.getUniformLocation(program, "u_bias"), 1, m_texBias.getPtr()); in setUniforms() 429 ctx.clearBufferfv(GL_COLOR, 0, value.getPtr()); in clearColorBuffer() 433 ctx.clearBufferuiv(GL_COLOR, 0, value.asUint().getPtr()); in clearColorBuffer() 437 ctx.clearBufferiv(GL_COLOR, 0, value.asInt().getPtr()); in clearColorBuffer()
|