Home
last modified time | relevance | path

Searched refs:testObj (Results 1 – 8 of 8) sorted by relevance

/external/clang/test/Analysis/
Duninit-vals.m62 Circle *testObj = calloc(sizeof(Circle), 1);
64 clang_analyzer_eval(testObj->size == 0); // expected-warning{{TRUE}}
66 testObj->origin = makePoint(0.0, 0.0);
67 if (testObj->size > 0) { ; } // warning occurs here
69 // FIXME: Assigning to 'testObj->origin' kills the default binding for the
70 // whole region, meaning that we've forgotten that testObj->size should also
73 clang_analyzer_eval(testObj->size == 0); // expected-warning{{UNKNOWN}}
75 free(testObj);
78 void PR14765_argument(Circle *testObj) {
79 int oldSize = testObj->size;
[all …]
/external/clang/test/SemaObjC/
Dwarn-protocol-method-deprecated.m21 TestClass *testObj = (TestClass*)0;
22 [testObj newInstanceMethod];
23 …[testObj deprecatedInstanceMethod]; // expected-warning {{'deprecatedInstanceMethod' is deprecated…
25 [testObj newProtocolMethod];
26 …[testObj deprecatedProtocolMethod]; // expected-warning {{'deprecatedProtocolMethod' is deprecated…
28 id <TestProtocol> testProto = testObj;
/external/v8/test/webkit/
Darray-proto-func-property-getter-except.js30 var testObj = { variable
36 Object.defineProperty(testObj, 0, propertyGetter);
37 Object.defineProperty(testObj, 1, propertyGetter);
38 Object.defineProperty(testObj, 2, propertyGetter);
41 f.call(testObj, function(){});
Darray-proto-func-length-getter-except.js28 var testObj = { variable
36 Object.defineProperty(testObj, "length", lengthGetter);
40 f.call(testObj, undefined);
Dproperty-getters-and-setters.js91 testObj=({get getter(){return 'getter was called.'}, b: 'bar'}) variable
Dproperty-getters-and-setters-expected.txt55 PASS typeof testObj.getter is 'string'
/external/skia/tests/
DSerializationTest.cpp29 static void TestAlignment(T* testObj, skiatest::Reporter* reporter) { in TestAlignment() argument
32 size_t bytesWrittenToMemory = testObj->writeToMemory(dataWritten); in TestAlignment()
34 size_t bytesReadFromMemory = testObj->readFromMemory(dataWritten, bytesWrittenToMemory); in TestAlignment()
140 static void TestObjectSerializationNoAlign(T* testObj, skiatest::Reporter* reporter) { in TestObjectSerializationNoAlign() argument
142 SerializationUtils<T>::Write(writer, testObj); in TestObjectSerializationNoAlign()
171 static void TestObjectSerialization(T* testObj, skiatest::Reporter* reporter) { in TestObjectSerialization() argument
172 TestObjectSerializationNoAlign<T, false>(testObj, reporter); in TestObjectSerialization()
173 TestAlignment(testObj, reporter); in TestObjectSerialization()
177 static T* TestFlattenableSerialization(T* testObj, bool shouldSucceed, in TestFlattenableSerialization() argument
180 SerializationUtils<T>::Write(writer, testObj); in TestFlattenableSerialization()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DForceEarlyReturnDebuggee.java40 static TestObject testObj = new TestObject(); field in ForceEarlyReturnDebuggee