Home
last modified time | relevance | path

Searched refs:getPtr (Results 1 – 25 of 155) sorted by relevance

1234567

/external/u-boot/tools/
Dimg2srec.c70 static char* ExtractHex (uint32_t* value, char* getPtr) in ExtractHex() argument
76 while (*getPtr == ' ') getPtr++; in ExtractHex()
79 c = *getPtr; in ExtractHex()
86 getPtr++; in ExtractHex()
89 return getPtr; in ExtractHex()
92 static char* ExtractDecimal (uint32_t* value, char* getPtr) in ExtractDecimal() argument
98 while (*getPtr == ' ') getPtr++; in ExtractDecimal()
101 c = *getPtr; in ExtractDecimal()
106 getPtr++; in ExtractDecimal()
109 return getPtr; in ExtractDecimal()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DIntrusiveRefCntPtr.h118 : Obj(S.getPtr()) { in IntrusiveRefCntPtr()
123 replace(S.getPtr());
129 replace(S.getPtr());
144 T* getPtr() const { return Obj; } in getPtr() function
148 return Obj == 0 ? 0 : &IntrusiveRefCntPtr::getPtr; in unspecified_bool_type()
174 return A.getPtr() == B.getPtr();
181 return A.getPtr() != B.getPtr();
188 return A.getPtr() == B;
195 return A.getPtr() != B;
202 return A == B.getPtr();
[all …]
/external/deqp/modules/gles3/functional/
Des3fBufferMapTests.cpp74 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 …]
Des3fBufferCopyTests.cpp91 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 …]
Des3fBufferWriteTests.cpp197 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 …]
Des3fFboTestUtil.cpp108 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/
Dfalse-positive-suppression.c12 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()
Dfalse-positive-suppression.m10 - (int *)getPtr; method
35 testNilReceiverHelperA([x getPtr]);
37 testNilReceiverHelperB([[x getObject] getPtr]);
/external/deqp/framework/delibs/decpp/
DdeArrayBuffer.cpp73 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()
DdeArrayBuffer.hpp68 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
DdePoolArray.hpp77 const T& at (deIntptr ndx) const { return *getPtr(ndx); } in at()
78 T& at (deIntptr ndx) { return *getPtr(ndx); } in at()
103 T* getPtr (deIntptr ndx) const;
256 PoolArrayElement<T>::destruct(getPtr(ndx)); in resize()
269 PoolArrayElement<T>::constructDefault(getPtr(ndx)); in resize()
287 PoolArrayElement<T>::constructCopy(getPtr(ndx), value); in resize()
374 inline T* PoolArray<T, Alignment>::getPtr (deIntptr ndx) const in getPtr() function in de::PoolArray
/external/nist-sip/java/gov/nist/core/
DHostNameParser.java164 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/clang/test/Analysis/
Dpointer-to-member.cpp12 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()
Dlive-variables.cpp10 int *getPtr();
14 int *p = getPtr(); in test()
Dlive-variables.m9 int *getPtr(); function
14 int *p = getPtr();
Dglobal-region-invalidation.c107 int *getPtr();
113 p = getPtr(); in Function1()
/external/deqp/framework/common/
DtcuArray.hpp44 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/deqp/modules/gles2/functional/
Des2fBufferWriteTests.cpp197 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/include/llvm/Support/
DError.h188 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-7.0/llvm/include/llvm/Support/
DError.h209 setPtr(Other.getPtr());
225 delete getPtr(); in ~Error()
232 setChecked(getPtr() == nullptr);
233 return getPtr() != nullptr;
238 return getPtr() && getPtr()->isA(ErrT::classID()); in isA()
244 if (!getPtr()) in dynamicClassID()
246 return getPtr()->dynamicClassID(); in dynamicClassID()
262 if (LLVM_UNLIKELY(!getChecked() || getPtr())) in assertIsChecked()
267 ErrorInfoBase *getPtr() const { in getPtr() function
300 std::unique_ptr<ErrorInfoBase> Tmp(getPtr()); in takePayload()
[all …]
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DError.h204 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/
Des31fFboTestUtil.cpp195 …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()
Des31fBasicComputeShaderTests.cpp68 void* getPtr (void) const { return m_ptr; } in getPtr() function in deqp::gles31::Functional::BufferMemMap
188 …*(deUint32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValu… in iterate()
222 …const deUint32 res = *((const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + val… in iterate()
312 …*(deUint32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValu… in iterate()
345 …const deUint32 res = *((const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + val… in iterate()
431 …*(deUint32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValu… in iterate()
448 …const deUint32 res = *((const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + val… in iterate()
564 …const deUint32 res = *((const deUint32*)((const deUint8*)bufMap.getPtr() + value0Info.offset + va… in iterate()
577 …const deUint32 res = *((const deUint32*)((const deUint8*)bufMap.getPtr() + value1Info.offset + va… in iterate()
675 …const deUint32 res = *((const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + va… in iterate()
[all …]
/external/swiftshader/third_party/LLVM/test/Analysis/BasicAA/
Dno-escape-call.ll9 %tmp2 = call i8* @getPtr( ) nounwind ; <i8*> [#uses=2]
21 declare i8* @getPtr()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/BasicAA/
Dno-escape-call.ll10 %tmp2 = call i8* @getPtr( ) nounwind ; <i8*> [#uses=2]
22 declare i8* @getPtr()

1234567