/external/webrtc/webrtc/common_audio/ |
ring_buffer.c | 69 RingBuffer* self = NULL; local 74 self = malloc(sizeof(RingBuffer)); 75 if (!self) { 79 self->data = malloc(element_count * element_size); 80 if (!self->data) { 81 free(self); 82 self = NULL; 86 self->element_count = element_count; 87 self->element_size = element_size; 88 WebRtc_InitBuffer(self); 103 RingBuffer* self = (RingBuffer*)handle; local [all...] |
/external/webrtc/webrtc/modules/audio_processing/utility/ |
delay_estimator_wrapper.c | 127 DelayEstimatorFarend* self = (DelayEstimatorFarend*) handle; local 133 free(self->mean_far_spectrum); 134 self->mean_far_spectrum = NULL; 136 WebRtc_FreeBinaryDelayEstimatorFarend(self->binary_farend); 137 self->binary_farend = NULL; 139 free(self); 143 DelayEstimatorFarend* self = NULL; local 150 self = malloc(sizeof(DelayEstimatorFarend)); 153 if (self != NULL) { 157 self->binary_farend = WebRtc_CreateBinaryDelayEstimatorFarend(history_size) 176 DelayEstimatorFarend* self = (DelayEstimatorFarend*) handle; local 195 DelayEstimatorFarend* self = (DelayEstimatorFarend*) handle; local 204 DelayEstimatorFarend* self = (DelayEstimatorFarend*) handle; local 234 DelayEstimatorFarend* self = (DelayEstimatorFarend*) handle; local 258 DelayEstimator* self = (DelayEstimator*) handle; local 274 DelayEstimator* self = NULL; local 306 DelayEstimator* self = (DelayEstimator*) handle; local 325 DelayEstimator* self = (DelayEstimator*) handle; local 331 DelayEstimator* self = handle; local 340 const DelayEstimator* self = handle; local 354 DelayEstimator* self = (DelayEstimator*) handle; local 366 DelayEstimator* self = (DelayEstimator*) handle; local 373 DelayEstimator* self = (DelayEstimator*) handle; local 383 const DelayEstimator* self = (const DelayEstimator*) handle; local 392 DelayEstimator* self = (DelayEstimator*) handle; local 406 const DelayEstimator* self = (const DelayEstimator*) handle; local 418 DelayEstimator* self = (DelayEstimator*) handle; local 449 DelayEstimator* self = (DelayEstimator*) handle; local 472 DelayEstimator* self = (DelayEstimator*) handle; local 482 DelayEstimator* self = (DelayEstimator*) handle; local [all...] |
/frameworks/native/libs/binder/ |
ProcessState.cpp | 63 IPCThreadState::self()->joinThreadPool(mIsMain); 70 sp<ProcessState> ProcessState::self() function in class:android::ProcessState 114 IPCThreadState* ipc = IPCThreadState::self(); 214 status_t status = IPCThreadState::self()->transact(
|
/hardware/intel/common/libmix/mix_video/src/ |
mixbufferpool.c | 38 static void mix_bufferpool_init(MixBufferPool * self) { 40 self->free_list = NULL; 41 self->in_use_list = NULL; 42 self->free_list_max_size = 0; 43 self->high_water_mark = 0; 45 self->reserved1 = NULL; 46 self->reserved2 = NULL; 47 self->reserved3 = NULL; 48 self->reserved4 = NULL; 52 self->objectlock = g_mutex_new() 78 MixBufferPool *self = MIX_BUFFERPOOL(obj); local [all...] |
mixsurfacepool.c | 38 static void mix_surfacepool_init(MixSurfacePool * self) { 40 self->free_list = NULL; 41 self->in_use_list = NULL; 42 self->free_list_max_size = 0; 43 self->free_list_cur_size = 0; 44 self->high_water_mark = 0; 46 self->reserved1 = NULL; 47 self->reserved2 = NULL; 48 self->reserved3 = NULL; 49 self->reserved4 = NULL 79 MixSurfacePool *self = MIX_SURFACEPOOL(obj); local [all...] |
mixvideorenderparams.c | 36 static void mix_videorenderparams_init(MixVideoRenderParams * self) { 38 MixVideoRenderParamsPrivate *priv = MIX_VIDEORENDERPARAMS_GET_PRIVATE(self); 40 self->reserved = priv; 43 self->display = NULL; 44 memset(&(self->src_rect), 0, sizeof(MixRect)); 45 memset(&(self->dst_rect), 0, sizeof(MixRect)); 47 self->clipping_rects = NULL; 48 self->number_of_clipping_rects = 0; 51 self->reserved1 = NULL; 52 self->reserved2 = NULL 85 MixVideoRenderParams *self = MIX_VIDEORENDERPARAMS(obj); local [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/memory_manager/include/ |
hmm_intrnl.h | 54 struct ptr_struct *self, *prev, *next; member in struct:ptr_struct
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
xxmodule.c | 11 local variables other than 'self'. If your object type is needed in 33 XxoObject *self; local 34 self = PyObject_New(XxoObject, &Xxo_Type); 35 if (self == NULL) 37 self->x_attr = NULL; 38 return self; 44 Xxo_dealloc(XxoObject *self) 46 Py_XDECREF(self->x_attr); 47 PyObject_Del(self); 51 Xxo_demo(XxoObject *self, PyObject *args [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
xxmodule.c | 11 local variables other than 'self'. If your object type is needed in 33 XxoObject *self; local 34 self = PyObject_New(XxoObject, &Xxo_Type); 35 if (self == NULL) 37 self->x_attr = NULL; 38 return self; 44 Xxo_dealloc(XxoObject *self) 46 Py_XDECREF(self->x_attr); 47 PyObject_Del(self); 51 Xxo_demo(XxoObject *self, PyObject *args [all...] |
/system/core/libutils/ |
Looper.cpp | 98 Looper* const self = static_cast<Looper*>(st); local 99 if (self != NULL) { 100 self->decStrong((void*)threadDestructor);
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
InsertNewMessageAction.java | 134 final ParticipantData self = getSelf(db, conversationId, message); local 135 if (self == null) { 138 message.bindSelfId(self.getId()); 141 // have the participant id set. It should be equal to the self id, so we'll use that. 143 message.bindParticipantId(self.getId()); 153 final int subId = self.getSubId(); 197 ParticipantData self; local 204 self = BugleDatabaseOperations.getOrCreateSelf(db, requestedSubId); 208 // The conversation draft provides no self id hint, meaning that 1) conversation 209 // self id was not loaded AND 2) the user didn't pick a SIM from the SIM selector 278 final ParticipantData self = BugleDatabaseOperations.getOrCreateSelf(db, subId); local [all...] |
/art/compiler/ |
common_compiler_test.cc | 113 Thread* self = Thread::Current(); local 114 StackHandleScope<1> hs(self); 116 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); 234 Thread* self = Thread::Current(); local 235 StackHandleScope<1> hs(self); 237 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), loader); 258 Thread* self = Thread::Current(); local 259 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader); 272 Thread* self = Thread::Current(); local 273 mirror::Class* klass = class_linker_->FindClass(self, class_descriptor.c_str(), class_loader) [all...] |
elf_writer_quick.cc | 224 Thread* self = Thread::Current(); local 233 debug_info_thread_pool_->AddTask(self, debug_info_task_.get()); 234 debug_info_thread_pool_->StartWorkers(self); 248 Thread* self = Thread::Current(); local 250 debug_info_thread_pool_->Wait(self, true, false);
|
/art/compiler/driver/ |
compiled_method_storage.cc | 194 Thread* self = Thread::Current(); local 195 os << "\nCode dedupe: " << dedupe_code_.DumpStats(self); 196 os << "\nVmap table dedupe: " << dedupe_vmap_table_.DumpStats(self); 197 os << "\nCFI info dedupe: " << dedupe_cfi_info_.DumpStats(self);
|
compiler_driver_test.cc | 84 StackHandleScope<1> hs(soa.Self()); 87 mirror::Class* c = class_linker->FindClass(soa.Self(), descriptor, loader); 109 mirror::DexCache* dex_cache = class_linker_->FindDexCache(soa.Self(), dex); 191 Thread* self = Thread::Current(); local 194 ScopedObjectAccess soa(self); 208 ScopedObjectAccess soa(self); 209 StackHandleScope<1> hs(self); 211 reinterpret_cast<mirror::ClassLoader*>(self->DecodeJObject(class_loader)))); 212 mirror::Class* klass = class_linker->FindClass(self, "LStaticLeafMethods;", h_loader); 265 Thread* self = Thread::Current() local 295 Thread* self = Thread::Current(); local [all...] |
/art/runtime/arch/x86/ |
fault_handler_x86.cc | 243 Thread* self = Thread::Current(); local 244 CHECK(self != nullptr); // This will cause a SIGABRT if self is null. 247 uc->CTX_JMP_BUF = reinterpret_cast<uintptr_t>(*self->GetNestedSignalState());
|
/art/runtime/base/ |
arena_allocator.cc | 232 Thread* self = Thread::Current(); local 235 MutexLock lock(self, lock_); 280 Thread* self = Thread::Current(); local 281 MutexLock lock(self, lock_);
|
/art/runtime/ |
common_throws.cc | 61 Thread* self = Thread::Current(); local 62 self->ThrowNewException(exception_descriptor, msg.str().c_str()); 77 Thread* self = Thread::Current(); local 78 self->ThrowNewWrappedException(exception_descriptor, msg.str().c_str()); 560 void ThrowStackOverflowError(Thread* self) { 561 if (self->IsHandlingStackOverflow()) { 566 self->SetStackEndForStackOverflow(); // Allow space on the stack for constructor to execute. 567 JNIEnvExt* env = self->GetJniEnv(); 569 msg += PrettySize(self->GetStackSize()); 615 stack_state_val.reset(soa.Self()->CreateInternalStackTrace<false>(soa)) [all...] |
fault_handler.cc | 154 Thread* self = Thread::Current(); local 156 DCHECK(self != nullptr); 213 if (setjmp(*self->GetNestedSignalState()) == 0) { 430 Thread* self = Thread::Current(); local 434 self->SetTopOfStack(reinterpret_cast<ArtMethod**>(sp)); 441 self->DumpJavaStack(LOG(ERROR));
|
/art/runtime/entrypoints/ |
entrypoint_utils.cc | 43 Thread* self, 56 DCHECK(self->IsExceptionPending()); 65 self->ThrowNewExceptionF( 85 ArtMethod* referrer, Thread* self, 88 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, component_count, referrer, self, 97 return mirror::Array::Alloc<false>(self, klass, component_count, 106 Thread* self, 109 mirror::Class* klass = CheckFilledNewArrayAlloc(type_idx, component_count, referrer, self, 117 return mirror::Array::Alloc<true>(self, klass, component_count, 122 void CheckReferenceResult(mirror::Object* o, Thread* self) { 246 Thread* self = Thread::Current(); local [all...] |
/art/runtime/gc/accounting/ |
mod_union_table_test.cc | 49 Thread* self, space::ContinuousMemMapAllocSpace* space, size_t component_count) 51 auto* klass = GetObjectArrayClass(self, space); 55 space->Alloc(self, size, &bytes_allocated, nullptr, &bytes_tl_bulk_allocated)); 70 mirror::Class* GetObjectArrayClass(Thread* self, space::ContinuousMemMapAllocSpace* space) 83 auto* klass = down_cast<mirror::Class*>(space->Alloc(self, class_size, &bytes_allocated, 177 Thread* const self = Thread::Current(); local 178 ScopedObjectAccess soa(self); 189 ScopedThreadSuspension sts(self, kSuspended); 197 auto* obj1 = AllocObjectArray(self, space, CardTable::kCardSize); 199 auto* obj2 = AllocObjectArray(self, space, CardTable::kCardSize) [all...] |
/art/runtime/gc/ |
allocation_record.cc | 215 Thread* self = Thread::Current(); local 219 MutexLock mu(self, *Locks::alloc_tracker_lock_); 231 self->GetThreadName(self_name); 233 records->alloc_ddm_thread_id_ = self->GetTid(); 243 MutexLock mu(self, *Locks::alloc_tracker_lock_); 250 MutexLock mu(self, *Locks::alloc_tracker_lock_); 264 void AllocRecordObjectMap::RecordAllocation(Thread* self, 270 AllocRecordStackVisitor visitor(self, max_stack_depth_, /*out*/ &trace); 272 StackHandleScope<1> hs(self); 277 MutexLock mu(self, *Locks::alloc_tracker_lock_) [all...] |
/art/runtime/gc/space/ |
dlmalloc_space.cc | 128 mirror::Object* DlMallocSpace::AllocWithGrowth(Thread* self, size_t num_bytes, 133 MutexLock mu(self, lock_); 138 result = AllocWithoutGrowthLocked(self, num_bytes, bytes_allocated, usable_size, 167 size_t DlMallocSpace::Free(Thread* self, mirror::Object* ptr) { 168 MutexLock mu(self, lock_); 181 size_t DlMallocSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) { 197 MutexLock mu(self, lock_); 218 MutexLock mu(self, lock_); 305 Thread* const self = Thread::Current(); local 310 Locks::mutator_lock_->AssertSharedHeld(self); [all...] |
region_space.cc | 335 bool RegionSpace::AllocNewTlab(Thread* self) { 336 MutexLock mu(self, region_lock_); 337 RevokeThreadLocalBuffersLocked(self); 351 r->thread_ = self; 352 self->SetTlab(r->Begin(), r->End()); 382 Thread* self = Thread::Current(); local 383 MutexLock mu(self, *Locks::runtime_shutdown_lock_); 384 MutexLock mu2(self, *Locks::thread_list_lock_); 400 Thread* self = Thread::Current(); local 401 MutexLock mu(self, *Locks::runtime_shutdown_lock_) [all...] |
rosalloc_space.cc | 154 mirror::Object* RosAllocSpace::AllocWithGrowth(Thread* self, size_t num_bytes, 159 MutexLock mu(self, lock_); 164 result = AllocCommon(self, num_bytes, bytes_allocated, usable_size, 191 size_t RosAllocSpace::Free(Thread* self, mirror::Object* ptr) { 197 MutexLock mu(self, lock_); 200 return rosalloc_->Free(self, ptr); 203 size_t RosAllocSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) { 217 MutexLock mu(self, lock_); 237 const size_t bytes_freed = rosalloc_->BulkFree(self, reinterpret_cast<void**>(ptrs), num_ptrs); 247 Thread* const self = Thread::Current() local 305 Thread* self = Thread::Current(); variable 318 Thread* self = Thread::Current(); variable [all...] |