/external/python/cpython2/Objects/ |
sliceobject.c | 63 PySliceObject *obj = PyObject_GC_New(PySliceObject, &PySlice_Type); local 65 if (obj == NULL) 75 obj->step = step; 76 obj->start = start; 77 obj->stop = stop; 79 _PyObject_GC_TRACK(obj); 80 return (PyObject *) obj;
|
/external/python/cpython3/Include/ |
abstract.h | 353 PyObject *obj, PyObject *args, 550 PyAPI_FUNC(int) PyObject_AsCharBuffer(PyObject *obj, 565 PyAPI_FUNC(int) PyObject_CheckReadBuffer(PyObject *obj); variable 573 PyAPI_FUNC(int) PyObject_AsReadBuffer(PyObject *obj, 588 PyAPI_FUNC(int) PyObject_AsWriteBuffer(PyObject *obj, 605 #define PyObject_CheckBuffer(obj) \ 606 (((obj)->ob_type->tp_as_buffer != NULL) && \ 607 ((obj)->ob_type->tp_as_buffer->bf_getbuffer != NULL)) 612 PyAPI_FUNC(int) PyObject_GetBuffer(PyObject *obj, Py_buffer *view, 644 pointed to by buf into the buffer exported by obj. Retur [all...] |
/external/python/cpython3/Modules/_sqlite/ |
row.c | 108 PyObject *obj; local 109 obj = PyTuple_GET_ITEM(self->description, i); 110 obj = PyTuple_GET_ITEM(obj, 0); 111 compare_key = PyUnicode_AsUTF8(obj);
|
/external/python/cpython3/Modules/ |
xxsubtype.c | 238 PyObject *obj, *name, *res; local 242 if (!PyArg_ParseTuple(args, "OS|i", &obj, &name, &n)) 246 res = PyObject_GetAttr(obj, name);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
ConstructorTest.java | 49 Object obj = construct(data); local 50 assertNotNull(obj); 51 assertTrue("Unexpected: " + obj.getClass().toString(), obj instanceof Person); 52 Person person = (Person) obj; 63 Object obj = construct(data); local 64 assertNotNull(obj); 65 assertTrue(obj.getClass().toString(), obj instanceof Person); 66 Person person = (Person) obj; 77 Object obj = construct(data); local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/extensions/compactnotation/ |
CompactConstructorErrorsTest.java | 47 Object obj = yaml.load(doc); local 48 assertNotNull(obj); 49 return obj;
|
CompactConstructorExampleTest.java | 34 Object obj = yaml.load(doc); local 35 assertNotNull(obj); 36 return obj; 40 Object obj = load("example1.yaml"); local 41 assertEquals(new Container(), obj); 45 Object obj = load("example2.yaml"); local 46 assertEquals(new Container("title"), obj); 50 Container obj = (Container) load("example3.yaml"); local 51 assertEquals(new Container("title3"), obj); 52 assertEquals("title3", obj.getTitle()) 58 Object obj = load("example4.yaml"); local 69 Object obj = load("example5.yaml"); local 80 Object obj = load("example6.yaml"); local 91 Object obj = load("example7.yaml"); local [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/generics/ |
ObjectValuesTest.java | 31 Integer obj = new Integer(131313); local 32 ov.setObject(obj); 61 Integer obj = new Integer(131313); local 62 ov.setObject(obj);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
RecursiveSetTest.java | 62 Bean1 obj = (Bean1) yaml.load(doc); local 63 Set<Object> set = obj.getSet(); 66 assertEquals("ID123", obj.getId());
|
/external/v8/src/builtins/ |
builtins-api.cc | 232 JSObject* obj = JSObject::cast(*receiver); local 241 new_target = obj; 248 DCHECK(obj->map()->is_callable()); 249 JSFunction* constructor = JSFunction::cast(obj->map()->GetConstructor()); 266 LOG(isolate, ApiObjectAccess("call non-function", obj)); 269 obj, new_target, &args[0] - 1,
|
/external/valgrind/callgrind/ |
bb.c | 60 UInt bb_hash_idx(obj_node* obj, PtrdiffT offset, UInt size) 62 return (((Addr)obj) + offset) % size; 87 new_idx = bb_hash_idx(curr->obj, curr->offset, new_size); 119 static BB* new_bb(obj_node* obj, PtrdiffT offset, 135 bb->obj = obj; 144 bb->sect_kind = VG_(DebugInfo_sect_kind)(NULL, offset + obj->offset); 152 idx = bb_hash_idx(obj, offset, bbs.size); 177 BB* lookup_bb(obj_node* obj, PtrdiffT offset) 182 idx = bb_hash_idx(obj, offset, bbs.size) 198 obj_node* obj; local 243 obj_node* obj; local 292 obj_node* obj = obj_of_address(addr); local [all...] |
/external/webrtc/webrtc/modules/audio_processing/aec/ |
aec_resampler.c | 48 AecResampler* obj = (AecResampler*)resampInst; local 49 memset(obj->buffer, 0, sizeof(obj->buffer)); 50 obj->position = 0.0; 52 obj->deviceSampleRateHz = deviceSampleRateHz; 53 memset(obj->skewData, 0, sizeof(obj->skewData)); 54 obj->skewDataIndex = 0; 55 obj->skewEstimate = 0.0; 61 AecResampler* obj = (AecResampler*)resampInst local 71 AecResampler* obj = (AecResampler*)resampInst; local 118 AecResampler* obj = (AecResampler*)resampInst; local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
Dependency.java | 341 mDependencies.values().stream().filter(obj -> obj instanceof Dumpable) 348 mDependencies.values().stream().filter(obj -> obj instanceof ConfigurationChangedReceiver) 362 T obj = (T) mDependencies.get(key); local 363 if (obj == null) { 364 obj = createDependency(key); 365 mDependencies.put(key, obj); 367 return obj;
|
/frameworks/base/tests/net/java/com/android/internal/util/ |
RingBufferTest.java | 141 final DummyClass1 obj = buffer.getNextSlot(); local 142 obj.x = capacity * i; 143 actual[i] = obj;
|
/frameworks/support/asynclayoutinflater/src/main/java/androidx/asynclayoutinflater/view/ |
AsyncLayoutInflater.java | 98 InflateRequest request = (InflateRequest) msg.obj; 207 InflateRequest obj = mRequestPool.acquire(); local 208 if (obj == null) { 209 obj = new InflateRequest(); 211 return obj; 214 public void releaseRequest(InflateRequest obj) { 215 obj.callback = null; 216 obj.inflater = null; 217 obj.parent = null; 218 obj.resid = 0 [all...] |
/hardware/qcom/camera/msm8998/QCamera2/HAL3/test/ |
QCameraHAL3RawSnapshotTest.cpp | 220 QCameraHAL3RawSnapshotTest *obj; local 221 obj = (QCameraHAL3RawSnapshotTest *)thread->data_obj; 244 obj->rawProcessCaptureRequestRepeat(hal3_test_handle, 0);
|
QCameraHAL3SnapshotTest.cpp | 210 QCameraHAL3SnapshotTest *obj; local 211 obj = (QCameraHAL3SnapshotTest *)thread->data_obj; 235 obj->snapshotProcessCaptureRequestRepeat(hal3_test_handle, 0);
|
QCameraHAL3Test.cpp | 149 void *obj, int testcase) 164 thread.data_obj = obj; 187 QCameraHAL3Test *obj; local 188 obj = (QCameraHAL3Test *)thread->data_obj; 197 obj->captureRequestRepeat(hal3_test_handle, 0, testcase);
|
/hardware/qcom/msm8998/json-c/ |
json_util.c | 70 struct json_object *obj; local 94 obj = json_tokener_parse(pb->buf); 96 return obj; 101 int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags) 107 if(!obj) { 118 if(!(json_str = json_object_to_json_string_ext(obj,flags))) { 143 int json_object_to_file(const char *filename, struct json_object *obj) 145 return json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN);
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
Chronology.java | 179 Chronology obj = temporal.query(TemporalQueries.chronology()); local 180 return (obj != null ? obj : IsoChronology.INSTANCE); [all...] |
/libcore/ojluni/src/main/java/javax/crypto/ |
KeyAgreement.java | 343 Object obj = s.newInstance(null); local 344 if (obj instanceof KeyAgreementSpi == false) { 347 spi = (KeyAgreementSpi)obj;
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
MyCertificate.java | 116 Object obj = super.writeReplace(); local 117 return (MyCertificateRep) obj;
|
/packages/apps/Contacts/tests/src/com/android/contacts/database/ |
NoNullCursorAsyncQueryHandlerTest.java | 73 cursorHolder.obj = cursor; 74 ranHolder.obj = true; 83 assertFalse(cursorHolder.obj == null); 84 assertTrue(ranHolder.obj); 100 ranHolder.obj = true; 101 cookieHolder.obj = cookie; 110 assertSame(cookie, cookieHolder.obj); 111 assertTrue(ranHolder.obj); 127 ranHolder.obj = true; 128 cursorHolder.obj = cursor 142 public T obj; field in class:NoNullCursorAsyncQueryHandlerTest.ObjectHolder [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
DbDowngradeHelper.java | 75 JSONObject obj = new JSONObject(new String(IOUtils.toByteArray(file))); local 76 DbDowngradeHelper helper = new DbDowngradeHelper(obj.getInt(KEY_VERSION)); 78 if (obj.has(KEY_DOWNGRADE_TO + version)) { 79 JSONArray statements = obj.getJSONArray(KEY_DOWNGRADE_TO + version);
|
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/ |
FakeCursor.java | 134 final Object obj = (dataIdx < 0 ? null : mData[mIndex][dataIdx]); local 135 return (obj == null ? null : obj.toString());
|