/system/core/libutils/ |
D | RefBase.cpp | 197 char inc = refs->ref >= 0 ? '+' : '-'; in ~weakref_impl() 198 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); in ~weakref_impl() 211 char inc = refs->ref >= 0 ? '+' : '-'; in ~weakref_impl() 212 ALOGD("\t%c ID %p (ref %d):", inc, refs->id, refs->ref); in ~weakref_impl() 312 int32_t ref; member 320 ref_entry* ref = new ref_entry; in addRef() local 324 ref->ref = mRef; in addRef() 325 ref->id = id; in addRef() 327 ref->stack = CallStack::getCurrent(2); in addRef() 329 ref->next = *refs; in addRef() [all …]
|
/system/vold/ |
D | KeyUtil.cpp | 170 auto ref = buildLegacyKeyName(*name_prefix, raw_ref); in installKeyLegacy() local 172 add_key("logon", ref.c_str(), (void*)&fs_key, sizeof(fs_key), device_keyring); in installKeyLegacy() 177 LOG(DEBUG) << "Added key " << key_id << " (" << ref << ") to keyring " << device_keyring in installKeyLegacy() 186 static bool installProvisioningKey(const KeyBuffer& key, const std::string& ref, in installProvisioningKey() argument 198 key_serial_t key_id = add_key("fscrypt-provisioning", ref.c_str(), (void*)&provisioning_key, in installProvisioningKey() 201 PLOG(ERROR) << "Failed to insert fscrypt-provisioning key for " << ref in installProvisioningKey() 205 LOG(DEBUG) << "Added fscrypt-provisioning key for " << ref << " to session keyring"; in installProvisioningKey() 309 std::string ref = keyrefstring(policy->key_raw_ref); in installKey() local 310 LOG(DEBUG) << "Installed fscrypt key with ref " << ref << " to " << mountpoint; in installKey() 312 if (!installProvisioningKey(key, ref, arg->key_spec)) return false; in installKey() [all …]
|
/system/extras/simpleperf/ |
D | IOEventLoop.cpp | 194 bool IOEventLoop::DisableEvent(IOEventRef ref) { in DisableEvent() argument 195 if (ref->enabled) { in DisableEvent() 196 if (event_del(ref->e) != 0) { in DisableEvent() 200 ref->enabled = false; in DisableEvent() 205 bool IOEventLoop::EnableEvent(IOEventRef ref) { in EnableEvent() argument 206 if (!ref->enabled) { in EnableEvent() 207 timeval* timeout = (ref->timeout.tv_sec != 0 || ref->timeout.tv_usec != 0) ? in EnableEvent() 208 &ref->timeout : nullptr; in EnableEvent() 209 if (event_add(ref->e, timeout) != 0) { in EnableEvent() 213 ref->enabled = true; in EnableEvent() [all …]
|
D | IOEventLoop_test.cpp | 164 IOEventRef ref = loop.AddReadEvent(fd[0], [&]() { in TEST() local 166 return IOEventLoop::DelEvent(ref); in TEST() 168 ASSERT_NE(nullptr, ref); in TEST() 189 IOEventRef ref = loop.AddWriteEvent(fd[1], [&]() { in TEST() local 191 return IOEventLoop::DisableEvent(ref); in TEST() 193 ASSERT_NE(nullptr, ref); in TEST() 205 return IOEventLoop::EnableEvent(ref); in TEST() 233 IOEventRef ref = loop.AddPeriodicEvent(tv, [&]() { in TEST() local 234 if (!loop.DisableEvent(ref)) { in TEST() 239 return loop.EnableEvent(ref); in TEST()
|
D | IOEventLoop.h | 71 static bool DisableEvent(IOEventRef ref); 73 static bool EnableEvent(IOEventRef ref); 76 static bool DelEvent(IOEventRef ref);
|
/system/tools/hidl/ |
D | Reference.h | 57 Reference(const Reference<OtherT>& ref) in Reference() 58 : mResolved(ref.mResolved), in Reference() 59 mFqName(ref.mFqName), in Reference() 60 mLocation(ref.mLocation), in Reference() 61 mDefinedInline(ref.mDefinedInline), in Reference() 62 mLocalName(ref.mLocalName) {} in Reference() 65 Reference(const Reference<OtherT>& ref, const Location& location) in Reference() 66 : mResolved(ref.mResolved), in Reference() 67 mFqName(ref.mFqName), in Reference() 69 mDefinedInline(ref.mDefinedInline), in Reference() [all …]
|
D | Method.cpp | 81 [](const auto* ref) { return const_cast<Reference<Type>*>(ref); }); in getReferences() argument 96 [](const auto* ref) { return const_cast<Reference<Type>*>(ref); }); in getStrongReferences() argument 102 for (const auto* ref : getReferences()) { in getStrongReferences() local 103 if (!ref->shallowGet()->isNeverStrongReference()) { in getStrongReferences() 104 ret.push_back(ref); in getStrongReferences()
|
D | Type.cpp | 125 [](const auto* ref) { return const_cast<Reference<Type>*>(ref); }); in getReferences() argument 149 [](const auto* ref) { return const_cast<Reference<Type>*>(ref); }); in getStrongReferences() argument 155 for (const auto* ref : getReferences()) { in getStrongReferences() local 156 if (!ref->shallowGet()->isNeverStrongReference()) { in getStrongReferences() 157 ret.push_back(ref); in getStrongReferences() 283 status_t Type::checkForwardReferenceRestrictions(const Reference<Type>& ref) const { in checkForwardReferenceRestrictions() 284 const Location& refLoc = ref.location(); in checkForwardReferenceRestrictions() 285 const Type* refType = ref.shallowGet(); in checkForwardReferenceRestrictions() 318 std::cerr << "ERROR: Forward reference of '" << refType->typeName() << "' at " << ref.location() in checkForwardReferenceRestrictions()
|
/system/tools/xsdc/src/com/android/xsdc/tag/ |
D | XsdTag.java | 23 final private QName ref; field in XsdTag 28 XsdTag(String name, QName ref) { in XsdTag() argument 30 this.ref = ref; in XsdTag() 41 return ref; in getRef()
|
D | XsdAttribute.java | 26 public XsdAttribute(String name, QName ref, XsdType type) in XsdAttribute() argument 28 super(name, ref); in XsdAttribute() 29 if (name == null && ref == null) { in XsdAttribute() 32 if (ref == null && type == null) { in XsdAttribute()
|
D | XsdGroup.java | 28 public XsdGroup(String name, QName ref, List<XsdElement> elements) in XsdGroup() argument 30 super(name, ref); in XsdGroup() 31 if (name == null && ref == null) { in XsdGroup()
|
D | XsdElement.java | 27 public XsdElement(String name, QName ref, XsdType type, boolean multiple) in XsdElement() argument 29 super(name, ref); in XsdElement() 30 if (name == null && ref == null) { in XsdElement()
|
D | XsdAttributeGroup.java | 29 public XsdAttributeGroup(String name, QName ref, in XsdAttributeGroup() argument 32 super(name, ref); in XsdAttributeGroup() 33 if (name == null && ref == null) { in XsdAttributeGroup()
|
D | XsdType.java | 22 public XsdType(String name, QName ref) { in XsdType() argument 23 super(name, ref); in XsdType()
|
D | XsdChoice.java | 24 public XsdChoice(String name, QName ref, XsdType type, boolean multiple) in XsdChoice() argument 26 super(name, ref, type, multiple); in XsdChoice()
|
D | XsdAll.java | 24 public XsdAll(String name, QName ref, XsdType type, boolean multiple) in XsdAll() argument 26 super(name, ref, type, multiple); in XsdAll()
|
/system/update_engine/update_manager/ |
D | generic_variables.h | 59 const T& ref, in PollCopyVariable() argument 63 ref_(ref), in PollCopyVariable() 66 PollCopyVariable(const std::string& name, const T& ref, const bool* is_set_p) in PollCopyVariable() argument 67 : PollCopyVariable(name, ref, is_set_p, std::string()) {} in PollCopyVariable() 68 PollCopyVariable(const std::string& name, const T& ref) in PollCopyVariable() argument 69 : PollCopyVariable(name, ref, nullptr) {} in PollCopyVariable() 73 const T& ref, in PollCopyVariable() argument 77 ref_(ref), in PollCopyVariable() 82 const T& ref, in PollCopyVariable() argument 84 : PollCopyVariable(name, poll_interval, ref, is_set_p, std::string()) {} in PollCopyVariable() [all …]
|
/system/memory/libmemunreachable/tests/ |
D | Binder_test.cpp | 46 reply->writeStrongBinder(ref); in onTransact() 47 ref = data.readStrongBinder(); in onTransact() 52 sp<IBinder> ref; member in android::BinderService 159 for (auto ref : refs) { in TEST_F() local 160 if (ref == reinterpret_cast<uintptr_t>(binder.get())) { in TEST_F()
|
/system/memory/libmemunreachable/ |
D | LeakFolding.cpp | 51 for (auto& ref : leak.node.references_out) { in ComputeDAG() local 52 if (leak.scc != ref->ptr->scc) { in ComputeDAG() 53 leak.scc->node.Edge(&ref->ptr->scc->node); in ComputeDAG() 65 scc->node.Foreach([&](SCCInfo* ref) { walk(ref); }); in AccumulateLeaks() argument
|
/system/netd/server/ |
D | MDnsSdListener.cpp | 77 DNSServiceRef *ref = mMonitor->allocateServiceRef(requestId, context); in discover() local 78 if (ref == nullptr) { in discover() 84 if (VDBG) ALOGD("using ref %p", ref); in discover() 88 DNSServiceErrorType result = DNSServiceBrowse(ref, nativeFlags, interfaceInt, regType, in discover() 146 DNSServiceRef *ref = mMonitor->lookupServiceRef(requestId); in stop() local 147 if (ref == nullptr) { in stop() 152 if (VDBG) ALOGD("Stopping %s with ref %p", str, ref); in stop() 153 mMonitor->deallocateServiceRef(ref); in stop() 169 DNSServiceRef *ref = mMonitor->allocateServiceRef(requestId, context); in serviceRegister() local 171 if (ref == nullptr) { in serviceRegister() [all …]
|
/system/tools/hidl/hidl2aidl/ |
D | AidlHelper.cpp | 112 for (const Reference<Type>* ref : method->getReferences()) { in emitFileHeader() local 113 importLocallyReferencedType(*ref->get(), &imports); in emitFileHeader() 117 for (const Reference<Type>* ref : type.getReferences()) { in emitFileHeader() local 118 importLocallyReferencedType(*ref->get(), &imports); in emitFileHeader()
|
/system/tools/hidl/lint/lints/ |
D | namingConventions.cpp | 65 for (const NamedReference<Type>* ref : compoundType->getFields()) { in namingConventions() local 66 std::string memberName = (*ref).name(); in namingConventions() 68 errors->push_back(Lint(WARNING, (*ref).location()) in namingConventions()
|
/system/tools/xsdc/tests/resources/group/ |
D | group.xsd | 8 <xs:group name="address2" ref="address1"> 15 <xs:group ref="address2"/>
|
/system/tools/xsdc/tests/resources/attr_group_simple/ |
D | attr_group_simple.xsd | 7 <xs:attributeGroup ref="address"/> 15 <xs:attributeGroup ref="homeAddress"/>
|
/system/core/base/ |
D | scopeguard_test.cpp | 54 std::bind([](int& guarded_var) { guarded_var++; }, std::ref(guarded_var)))); in TEST() 56 std::bind([](int& guarded_var) { guarded_var++; }, std::ref(guarded_var)))); in TEST()
|