Searched refs:prop (Results 1 - 25 of 39) sorted by path

12

/haiku/headers/os/app/
H A DPropertyInfo.h57 BPropertyInfo(property_info* prop = NULL,
64 const char* prop, void* data = NULL) const;
/haiku/headers/private/kernel/arch/m68k/
H A Dstage2_priv.h21 int of_getprop(int handle, const char *prop, void *buf, int buf_len);
22 int of_setprop(int handle, const char *prop, const void *buf, int buf_len);
/haiku/headers/private/kernel/arch/ppc/
H A Dstage2_priv.h21 int of_getprop(int handle, const char *prop, void *buf, int buf_len);
22 int of_setprop(int handle, const char *prop, const void *buf, int buf_len);
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dusb_scsi.c81 static status_t load_vendor_module(char **path, const char *path_mask, const char *prop, module_info **mi);
138 const char *prop, module_info **mi)
141 int path_len = strlen(path_mask) + strlen(prop);
144 sprintf(*path, path_mask, prop);
/haiku/src/apps/serialconnect/libvterm/include/
H A Dvterm.h189 int (*settermprop)(VTermProp prop, VTermValue *val, void *user);
207 int vterm_state_set_termprop(VTermState *state, VTermProp prop, VTermValue *val);
236 int (*settermprop)(VTermProp prop, VTermValue *val, void *user);
288 VTermValueType vterm_get_prop_type(VTermProp prop);
/haiku/src/apps/serialconnect/libvterm/src/
H A Dscreen.c432 static int settermprop(VTermProp prop, VTermValue *val, void *user) argument
436 switch(prop) {
457 return (*screen->callbacks->settermprop)(prop, val, screen->cbdata);
H A Dstate.c527 static int settermprop_bool(VTermState *state, VTermProp prop, int v) argument
530 return vterm_state_set_termprop(state, prop, &val);
533 static int settermprop_int(VTermState *state, VTermProp prop, int v) argument
536 return vterm_state_set_termprop(state, prop, &val);
539 static int settermprop_string(VTermState *state, VTermProp prop, const char *str, size_t len) argument
547 return vterm_state_set_termprop(state, prop, &val);
1715 int vterm_state_set_termprop(VTermState *state, VTermProp prop, VTermValue *val) argument
1720 if(!(*state->callbacks->settermprop)(prop, val, state->cbdata))
1723 switch(prop) {
H A Dvterm.c219 VTermValueType vterm_get_prop_type(VTermProp prop) argument
221 switch(prop) {
/haiku/src/kits/app/
H A DHandler.cpp227 const char* prop; local
230 &form, &prop);
236 || (strcmp(prop, "Messenger") == 0)) {
239 } else if (strcmp(prop, "Suites") == 0) {
242 } else if (strcmp(prop, "InternalName") == 0) {
/haiku/src/kits/interface/
H A DShelf.cpp603 const char *prop; local
605 if (msg->GetCurrentSpecifier(&index, &specifier, &what, &prop) != B_OK)
612 if (strcmp(prop, "Replicant") == 0) {
640 if (err == B_OK && msg->GetCurrentSpecifier(&index, &specifier, &what, &prop) != B_OK) {
648 if (strcmp(prop, "ID") == 0) {
650 } else if (strcmp(prop, "Name") == 0) {
652 } else if (strcmp(prop, "Signature") == 0) {
657 } else if (strcmp(prop, "Suites") == 0) {
670 if (strcmp(prop, "Replicant") == 0) {
H A DWindow.cpp788 const char* prop; local
791 if (message->GetCurrentSpecifier(&index, &specifier, &what, &prop) != B_OK)
795 switch (propertyInfo.FindMatch(message, index, &specifier, what, prop)) {
/haiku/src/servers/notification/
H A DNotificationServer.cpp92 BMessage* spec, int32 from, const char* prop)
96 if (strcmp(prop, "message") == 0) {
102 return BApplication::ResolveSpecifier(msg, index, spec, from, prop);
91 ResolveSpecifier(BMessage* msg, int32 index, BMessage* spec, int32 from, const char* prop) argument
H A DNotificationServer.h26 const char* prop);
/haiku/src/servers/print/
H A DPrintServerApp.Scripting.cpp215 int32 form, const char* prop)
221 switch( idx=prop_info.FindMatch(msg,0,spec,form,prop) ) {
223 rc = Inherited::ResolveSpecifier(msg,index,spec,form,prop);
214 ResolveSpecifier(BMessage* msg, int32 index, BMessage* spec, int32 form, const char* prop) argument
H A DPrinter.Scripting.cpp90 int32 form, const char* prop)
96 switch( idx=prop_info.FindMatch(msg,0,spec,form,prop) ) {
98 rc = Inherited::ResolveSpecifier(msg,index,spec,form,prop);
89 ResolveSpecifier(BMessage* msg, int32 index, BMessage* spec, int32 form, const char* prop) argument
H A DPrinter.h55 BMessage* spec, int32 form, const char* prop);
H A DTransport.Scripting.cpp83 int32 form, const char* prop)
89 switch (idx=prop_info.FindMatch(msg,0,spec,form,prop)) {
91 rc = Inherited::ResolveSpecifier(msg,index,spec,form,prop);
82 ResolveSpecifier(BMessage* msg, int32 index, BMessage* spec, int32 form, const char* prop) argument
H A DTransport.h44 int32 form, const char* prop);
/haiku/src/tests/kits/app/bpropertyinfo/
H A DPropertyFindMatchTest.h23 const char *prop,
/haiku/src/add-ons/kernel/bus_managers/fdt/
H A Dfdt_module.cpp91 const void* prop; int propLen; local
108 prop = fdt_getprop(gFDT, node, "device_type", &propLen);
109 if (prop != NULL)
110 attrs.Add({ "fdt/device_type", B_STRING_TYPE, { .string = (const char*)prop }});
112 prop = fdt_getprop(gFDT, node, "compatible", &propLen);
114 if (prop != NULL) {
115 const char* propStr = (const char*)prop;
132 prop = fdt_getprop(gFDT, node, "phandle", &propLen);
134 if (prop != NULL)
135 bus->phandles.Put(fdt32_to_cpu(*(uint32_t*)prop), curDe
427 const void* prop = fdt_getprop(gFDT, (int)fdtNode, "reg", &propLen); local
470 uint32* prop; local
490 uint32* prop; local
513 const uint32 *prop = (uint32*)fdt_getprop(gFDT, (int)fdtNode, "interrupts-extended", local
[all...]
/haiku/src/add-ons/kernel/busses/pci/designware/
H A DDWPCIController.cpp141 const void* prop; local
144 prop = fdtModule->get_prop(fdtDev, "bus-range", &propLen);
145 if (prop != NULL && propLen == 8) {
146 uint32 busBeg = B_BENDIAN_TO_HOST_INT32(*((uint32*)prop + 0));
147 uint32 busEnd = B_BENDIAN_TO_HOST_INT32(*((uint32*)prop + 1));
151 prop = fdtModule->get_prop(fdtDev, "interrupt-map-mask", &propLen);
152 if (prop == NULL || propLen != 4 * 4) {
156 fInterruptMapMask.childAdr = B_BENDIAN_TO_HOST_INT32(*((uint32*)prop + 0));
157 fInterruptMapMask.childIrq = B_BENDIAN_TO_HOST_INT32(*((uint32*)prop + 3));
159 prop
[all...]
/haiku/src/add-ons/kernel/busses/pci/ecam/
H A DECAMPCIControllerFDT.cpp24 const void* prop; local
27 prop = fdtModule->get_prop(fdtDev, "bus-range", &propLen);
28 if (prop != NULL && propLen == 8) {
29 uint32 busBeg = B_BENDIAN_TO_HOST_INT32(*((uint32*)prop + 0));
30 uint32 busEnd = B_BENDIAN_TO_HOST_INT32(*((uint32*)prop + 1));
34 prop = fdtModule->get_prop(fdtDev, "ranges", &propLen);
35 if (prop == NULL) {
40 for (uint32_t *it = (uint32_t*)prop; (uint8_t*)it - (uint8_t*)prop < propLen; it += 7) {
/haiku/src/apps/haikudepot/build/scripts/
H A Dhdsjsonschemacommon.py133 for prop_name, prop in obj['properties'].items():
134 if JSON_TYPE_ARRAY == prop["type"]:
135 array_items = prop['items']
140 if JSON_TYPE_OBJECT == prop["type"] and not prop["cppname"] in assembly:
141 accumulate_all_objects(prop)
165 def augment_property(prop: dict[str, any]) -> None:
166 prop_type = prop['type']
168 prop["cpptype"] = propmetadatatocpptypename(prop)
[all...]
/haiku/src/apps/showimage/
H A DShowImageView.cpp1450 float prop, range; local
1459 prop = viewLength / bitmapLength;
1460 if (prop > 1.0)
1461 prop = 1.0;
1464 psb->SetProportion(prop);
/haiku/src/libs/libfdt/
H A Dfdt_addresses.c61 uint8_t data[sizeof(fdt64_t) * 2], *prop; local
74 prop = data;
79 fdt32_st(prop, (uint32_t)addr);
81 fdt64_st(prop, addr);
87 prop += addr_cells * sizeof(fdt32_t);
92 fdt32_st(prop, (uint32_t)size);
94 fdt64_st(prop, size);

Completed in 195 milliseconds

12