Searched refs:obj (Results 1 - 25 of 26) sorted by relevance

12

/haiku/src/system/libroot/os/arch/generic/
H A Dgeneric_atomic.cpp14 auto& obj = *reinterpret_cast<std::atomic<int32_t>*>(ptr); local
15 obj.store(value, std::memory_order_release);
22 auto& obj = *reinterpret_cast<std::atomic<int32_t>*>(ptr); local
23 return obj.exchange(value);
30 auto& obj = *reinterpret_cast<std::atomic<int32_t>*>(ptr); local
31 obj.compare_exchange_strong(expected, desired);
39 auto& obj = *reinterpret_cast<std::atomic<int32_t>*>(ptr); local
40 return obj.fetch_add(value);
47 auto& obj = *reinterpret_cast<std::atomic<int32_t>*>(ptr); local
48 return obj
55 auto& obj = *reinterpret_cast<std::atomic<int32_t>*>(ptr); local
63 auto& obj = *reinterpret_cast<std::atomic<int32_t>*>(ptr); local
71 auto& obj = *reinterpret_cast<std::atomic<int64_t>*>(ptr); local
79 auto& obj = *reinterpret_cast<std::atomic<int64_t>*>(ptr); local
87 auto& obj = *reinterpret_cast<std::atomic<int64_t>*>(ptr); local
96 auto& obj = *reinterpret_cast<std::atomic<int64_t>*>(ptr); local
104 auto& obj = *reinterpret_cast<std::atomic<int64_t>*>(ptr); local
112 auto& obj = *reinterpret_cast<std::atomic<int64_t>*>(ptr); local
120 auto& obj = *reinterpret_cast<std::atomic<int64_t>*>(ptr); local
[all...]
/haiku/src/apps/haikudepot/build/scripts/
H A Djsonschema2cppmodel.py221 def write_model_object(obj: dict[str, any]) -> None:
222 cpp_name = obj["cppname"]
229 obj,
235 obj,
238 for obj in hdsjsonschemacommon.collect_all_objects(schema):
239 write_model_object(obj)
H A Dhdsjsonschemacommon.py130 def accumulate_all_objects(obj: dict[str, any]) -> None:
131 assembly[obj["cppname"]] = obj
133 for prop_name, prop in obj['properties'].items():
155 def derive_cpp_classname(obj: dict[str, any]) -> str:
156 obj_type = obj['type']
161 java_type = obj['javaType']
199 def augment_object(obj: dict[str, any]) -> None:
203 properties = obj['properties'].items()
209 for _, prop in obj['propertie
[all...]
/haiku/src/tests/misc/
H A Drtti-test.cpp50 #define RTTI_TEST(obj, className) rtti_test<A, B, C>(obj, className, \
69 #define RTTI_TEST(obj, className) rtti_test<BNode, BFile, BDirectory>(obj, \
/haiku/src/system/libroot/posix/glibc/extensions/
H A Dobstack.c356 int _obstack_allocated_p (struct obstack *h, POINTER obj);
360 _obstack_allocated_p (h, obj)
362 POINTER obj; variable
371 while (lp != 0 && ((POINTER) lp >= obj || (POINTER) (lp)->limit < obj))
388 _obstack_free (h, obj)
390 POINTER obj;
399 while (lp != 0 && ((POINTER) lp >= obj || (POINTER) (lp)->limit < obj))
410 h->object_base = h->next_free = (char *) (obj);
[all...]
H A Dobstack.h593 # define obstack_free(h,obj) \
594 ( (h)->temp = (char *) (obj) - (char *) (h)->chunk, \
600 # define obstack_free(h,obj) \
601 ( (h)->temp = (char *) (obj) - (char *) (h)->chunk, \
/haiku/src/apps/cortex/RouteApp/
H A DLiveNodeIO.cpp220 StringContent* obj = dynamic_cast<StringContent*>(child); local
221 if(!obj) {
230 m_name = obj->content;
232 _read_node_kind(m_kind, obj->content.String(), context);
H A DDormantNodeIO.cpp530 StringContent* obj = dynamic_cast<StringContent*>(child); local
531 if(!obj) {
540 m_dormantName = obj->content;
542 _read_node_kind(m_kinds, obj->content.String(), context);
544 m_flavorID = atol(obj->content.String());
546 _read_noderef_flag(m_flags, obj->content.String(), context);
548 _read_run_mode(m_runMode, obj->content.String(), context);
550 m_recordingDelay = strtoll(obj->content.String(), 0, 10);
554 _read_entry(m_entry, obj->content.String(), context);
/haiku/src/libs/compat/freebsd_iflib/compat/sys/
H A Dkobj.h51 void kobj_init(kobj_t obj, kobj_class_t cls);
61 static inline void kobj_init_static(kobj_t obj, kobj_class_t cls) {} argument
/haiku/src/libs/compat/freebsd_iflib/
H A Dkobj.c20 kobj_init(kobj_t obj, kobj_class_t cls) argument
22 obj->ops.cls = cls;
/haiku/src/add-ons/print/transports/ipp/
H A DIppURLConnection.cpp46 void IppURLConnection::setIppRequest(IppContent *obj) argument
51 __ippRequest = obj;
/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DEmbeddedController.cpp94 acpi_object_type* obj)
96 if (obj == NULL)
99 switch (obj->object_type) {
102 return obj->reference.handle;
110 if (acpi->get_handle(scope, obj->string.string, &handle)
123 acpi_object_type* obj = &res->package.objects[idx]; local
124 if (obj == NULL || obj->object_type != ACPI_TYPE_INTEGER)
126 *dst = obj->integer.integer;
331 acpi_object_type* obj; local
93 acpi_GetReference(acpi_module_info* acpi, acpi_handle scope, acpi_object_type* obj) argument
[all...]
/haiku/src/bin/acpi_call/
H A Dacpi_call.cpp259 void print_acpi_object(ACPI_OBJECT* obj) argument
261 switch (obj->Type)
264 printf("%" B_PRIu64, obj->Integer.Value);
267 printf("%s", obj->String.Pointer);
270 for(uint32 i = 0; i < obj->Buffer.Length; i++)
272 printf("%02X", obj->Buffer.Pointer[i]);
276 printf("Unknown object type '%d'", obj->Type);
/haiku/src/add-ons/kernel/drivers/power/x86_cpuidle/
H A Dacpi_cpuidle.cpp109 acpi_object_type obj; local
113 arg.pointer = &obj;
121 obj.object_type = ACPI_TYPE_BUFFER;
122 obj.data.buffer.length = sizeof(cap);
123 obj.data.buffer.buffer = cap;
148 acpi_object_type obj[4]; local
151 arg.pointer = obj;
153 obj[0].object_type = ACPI_TYPE_BUFFER;
154 obj[0].data.buffer.length = sizeof(uuid);
155 obj[
[all...]
/haiku/src/tests/kits/interface/bshelf/Container/
H A DTPreferences.cpp172 status_t TPreferences::SetFlat(const char *name, const BFlattenable *obj) argument
174 if (HasFlat(name, obj))
176 return ReplaceFlat(name, 0, (BFlattenable *) obj);
178 return AddFlat(name, (BFlattenable *) obj);
H A DTPreferences.h42 status_t SetFlat(const char *name, const BFlattenable *obj);
/haiku/src/tests/kits/interface/bshelf/ShelfInspector/
H A DTPreferences.cpp174 status_t TPreferences::SetFlat(const char *name, const BFlattenable *obj) argument
176 if (HasFlat(name, obj))
178 return ReplaceFlat(name, 0, (BFlattenable *) obj);
180 return AddFlat(name, (BFlattenable *) obj);
H A DTPreferences.h42 status_t SetFlat(const char *name, const BFlattenable *obj);
/haiku/headers/os/bluetooth/
H A DRemoteDevice.h37 bool Equals(RemoteDevice* obj);
/haiku/src/apps/cortex/addons/LoggingConsumer/
H A DLogWriter.cpp98 LogWriter* obj = static_cast<LogWriter*>(arg); local
99 port_id port = obj->mPort;
111 obj->HandleMessage((log_what) what, msg);
/haiku/src/apps/patchbay/
H A DPatchView.cpp130 BMidiEndpoint* obj = roster->FindEndpoint(itor->ID());
131 if (obj == NULL)
135 str << "<" << obj->ID() << ">: " << obj->Name();
136 obj->Release();
/haiku/src/apps/deskbar/
H A DResourceSet.cpp806 TypeObject* obj = from->Object();
807 BitmapTypeItem* bitmap = dynamic_cast<BitmapTypeItem*>(obj);
812 if (obj)
852 TypeObject* obj = from->Object();
853 StringBlockTypeItem* stringBlock = dynamic_cast<StringBlockTypeItem*>(obj);
858 if (obj)
/haiku/src/add-ons/kernel/bus_managers/acpi/acpica/include/
H A Dacoutput.h352 #define ACPI_DEBUG_OBJECT(obj,l,i) AcpiExDoDebugObject(obj,l,i)
365 #define ACPI_DEBUG_OBJECT(obj,l,i)
/haiku/src/kits/media/experimental/
H A DMediaClient.cpp584 InputReleaser obj(dynamic_cast<BMediaInput*>(conn));
585 fInputs.RemoveItem(&obj, false);
588 OutputReleaser obj(dynamic_cast<BMediaOutput*>(conn));
589 fOutputs.RemoveItem(&obj, false);
/haiku/src/kits/bluetooth/
H A DRemoteDevice.cpp125 RemoteDevice::Equals(RemoteDevice* obj) argument
128 return bdaddrUtils::Compare(fBdaddr, obj->GetBluetoothAddress());

Completed in 266 milliseconds

12