Searched refs:prop (Results 1 - 25 of 55) sorted by relevance

123

/haiku-fatelf/src/system/boot/platform/u-boot/
H A Dserial.cpp109 const void *prop; local
137 prop = fdt_getprop(fdt, node, "virtual-reg", &len);
138 if (prop && len == 4) {
139 regs = fdt32_to_cpu(*(uint32_t *)prop);
142 prop = fdt_getprop(fdt, node, "reg", &len);
143 if (prop && len >= 4) {
144 regs = fdt32_to_cpu(*(uint32_t *)prop);
151 prop = fdt_getprop(fdt, node, "clock-frequency", &len);
152 if (prop && len == 4) {
153 clock = fdt32_to_cpu(*(uint32_t *)prop);
[all...]
H A Dfdt_support.cpp93 int prop, len; local
95 prop = fdt_first_property_offset(fdt, node);
96 while (prop >= 0) {
97 property = fdt_get_property_by_offset(fdt, prop, &len);
99 dprintf("getting prop at %d: %s\n", prop, fdt_strerror(len));
102 dprintf(DS" prop at %d: '%s', len %d\n", DA, prop,
108 prop = fdt_next_property_offset(fdt, prop);
[all...]
H A Dstart.cpp207 const void *prop; local
212 prop = fdt_getprop(gFDT, node, "linux,initrd-start", &len);
213 if (prop && len == 4)
214 initrd_start = fdt32_to_cpu(*(uint32_t *)prop);
215 prop = fdt_getprop(gFDT, node, "linux,initrd-end", &len);
216 if (prop && len == 4)
217 initrd_end = fdt32_to_cpu(*(uint32_t *)prop);
/haiku-fatelf/src/libs/libfdt/
H A Dfdt_wip.c85 struct fdt_property *prop; local
88 prop = fdt_get_property_w(fdt, nodeoffset, name, &len);
89 if (! prop)
92 _fdt_nop_region(prop, len + sizeof(*prop));
H A Dfdt_ro.c244 const struct fdt_property *prop; local
252 prop = _fdt_offset_ptr(fdt, offset);
255 *lenp = fdt32_to_cpu(prop->len);
257 return prop;
268 const struct fdt_property *prop; local
270 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) {
274 if (_fdt_string_eq(fdt, fdt32_to_cpu(prop->nameoff),
276 return prop;
295 const struct fdt_property *prop; local
297 prop
307 const struct fdt_property *prop; local
539 const void *prop; local
[all...]
H A Dfdt_rw.c206 int len, struct fdt_property **prop)
211 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
212 if (! (*prop))
215 if ((err = _fdt_splice_struct(fdt, (*prop)->data, FDT_TAGALIGN(oldlen),
219 (*prop)->len = cpu_to_fdt32(len);
224 int len, struct fdt_property **prop)
238 *prop = _fdt_offset_ptr_w(fdt, nextoffset);
239 proplen = sizeof(**prop) + FDT_TAGALIGN(len);
241 err = _fdt_splice_struct(fdt, *prop, 0, proplen);
245 (*prop)
205 _fdt_resize_property(void *fdt, int nodeoffset, const char *name, int len, struct fdt_property **prop) argument
223 _fdt_add_property(void *fdt, int nodeoffset, const char *name, int len, struct fdt_property **prop) argument
277 struct fdt_property *prop; local
294 struct fdt_property *prop; local
[all...]
H A Dfdt_sw.c193 struct fdt_property *prop; local
202 prop = _fdt_grab_space(fdt, sizeof(*prop) + FDT_TAGALIGN(len));
203 if (! prop)
206 prop->tag = cpu_to_fdt32(FDT_PROP);
207 prop->nameoff = cpu_to_fdt32(nameoff);
208 prop->len = cpu_to_fdt32(len);
209 memcpy(prop->data, val, len);
239 struct fdt_property *prop = local
243 nameoff = fdt32_to_cpu(prop
[all...]
/haiku-fatelf/src/tests/kits/app/bpropertyinfo/
H A DPropertyFindMatchTest.cpp130 const char *prop,
139 specMsg.AddString("property", prop);
143 assert(propTest->FindMatch(&msg, 0, &specMsg, spec, prop, &extra_data) == result);
147 assert(propTest->FindMatch(&msg, 0, NULL, spec, prop, &extra_data) == result);
149 assert(propTest->FindMatch(&msg, 1, &specMsg, spec, prop, &extra_data) == result);
150 assert(propTest->FindMatch(&msg, 1, NULL, spec, prop, &extra_data) == result);
152 assert(propTest->FindMatch(&msg, 1, &specMsg, spec, prop, &extra_data) == -1);
153 assert(propTest->FindMatch(&msg, 1, NULL, spec, prop, &extra_data) == -1);
128 ExecFindMatch( BPropertyInfo *propTest, const char *prop, uint32 comm, uint32 spec, bool wildcardCommand, int32 result ) argument
H A DPropertyFindMatchTest.h23 const char *prop,
/haiku-fatelf/src/libs/print/libgutenprint/src/main/
H A Dprint-papers.c264 stp_mxml_node_t *prop; /* Temporary node pointer */ local
313 prop = paper->child;
314 while(prop)
316 if (prop->type == STP_MXML_ELEMENT)
318 const char *prop_name = prop->value.element.name;
322 outpaper->text = stp_strdup(stp_mxmlElementGetAttr(prop, "value"));
326 outpaper->comment = stp_strdup(stp_mxmlElementGetAttr(prop, "value"));
329 stmp = stp_mxmlElementGetAttr(prop, "value");
338 stmp = stp_mxmlElementGetAttr(prop, "value");
347 stmp = stp_mxmlElementGetAttr(prop, "valu
[all...]
/haiku-fatelf/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-fatelf/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-fatelf/src/servers/notification/
H A DNotificationServer.h22 int32 form, const char* prop);
H A DNotificationServer.cpp85 BMessage* spec, int32 from, const char* prop)
89 if (strcmp(prop, "message") == 0) {
95 return BApplication::ResolveSpecifier(msg, index, spec, from, prop);
84 ResolveSpecifier(BMessage* msg, int32 index, BMessage* spec, int32 from, const char* prop) argument
/haiku-fatelf/src/tools/docbook/libxslt/libxslt/
H A Dxslt.c1119 *prop; local
1126 prop = xmlGetNsProp(cur, (const xmlChar *) "version", NULL);
1127 if (prop != NULL) {
1130 style->version = prop;
1133 prop = xmlGetNsProp(cur, (const xmlChar *) "encoding", NULL);
1134 if (prop != NULL) {
1137 style->encoding = prop;
1143 prop = xmlGetNsProp(cur, (const xmlChar *) "method", NULL);
1144 if (prop != NULL) {
1154 URI = xsltGetQNameURI(cur, &prop);
1329 xmlChar *prop; local
4534 xmlChar *prop; local
4719 xmlChar *prop = NULL; local
4809 xmlChar *prop; local
5025 xmlChar *prop; local
5759 xmlChar *prop; local
6114 xmlChar *prop; local
[all...]
H A Dpreproc.c812 const xmlChar *prop; local
828 prop = xsltGetCNsProp(style, inst,
831 if (prop != NULL) {
832 if (xmlStrEqual(prop, (const xmlChar *)"yes")) {
834 } else if (!xmlStrEqual(prop,
1087 const xmlChar *prop; local
1103 prop = xsltGetCNsProp(style, inst,
1106 if (prop != NULL) {
1107 if (xmlStrEqual(prop, (const xmlChar *)"yes")) {
1109 } else if (!xmlStrEqual(prop,
1153 const xmlChar *prop; local
1227 const xmlChar *prop; local
1372 const xmlChar *prop; local
1431 const xmlChar *prop; local
1667 const xmlChar *prop; local
1742 const xmlChar *prop; local
[all...]
H A Dxsltutils.c84 xmlAttrPtr prop; local
93 prop = node->properties;
97 while (prop != NULL) {
103 if ((xmlStrEqual(prop->name, name)) &&
104 (((prop->ns == NULL) && (node->ns != NULL) &&
106 ((prop->ns != NULL) &&
107 (xmlStrEqual(prop->ns->href, nameSpace))))) {
109 tmp = xmlNodeListGetString(node->doc, prop->children, 1);
118 prop = prop
168 xmlAttrPtr prop; local
425 xmlChar *prop, *message; local
[all...]
/haiku-fatelf/src/servers/print/
H A DTransport.Scripting.cpp82 int32 form, const char* prop)
88 switch (idx=prop_info.FindMatch(msg,0,spec,form,prop)) {
90 rc = Inherited::ResolveSpecifier(msg,index,spec,form,prop);
81 ResolveSpecifier(BMessage* msg, int32 index, BMessage* spec, int32 form, const char* prop) argument
H A DPrinter.Scripting.cpp89 int32 form, const char* prop)
95 switch( idx=prop_info.FindMatch(msg,0,spec,form,prop) ) {
97 rc = Inherited::ResolveSpecifier(msg,index,spec,form,prop);
88 ResolveSpecifier(BMessage* msg, int32 index, BMessage* spec, int32 form, const char* prop) argument
H A DTransport.h44 int32 form, const char* prop);
H A DPrintServerApp.h50 int32 form, const char *prop);
H A DPrinter.h55 BMessage* spec, int32 form, const char* prop);
/haiku-fatelf/headers/os/app/
H A DPropertyInfo.h57 BPropertyInfo(property_info* prop = NULL,
64 const char* prop, void* data = NULL) const;
/haiku-fatelf/src/tools/docbook/libxml2/
H A Dtree.c2686 xmlAttrPtr prop; local
2692 prop = tree->properties;
2693 while (prop != NULL) {
2694 prop->doc = doc;
2695 xmlSetListDoc(prop->children, doc);
2696 prop = prop->next;
2808 * @prev: the attribute to which @prop is added after
2810 * @prop: the new attribute
2815 * If an existing attribute is found it is detroyed prior to adding @prop
2820 xmlAddPropSibling(xmlNodePtr prev, xmlNodePtr cur, xmlNodePtr prop) argument
5978 xmlAttrPtr prop; local
6089 xmlGetPropNodeValueInternal(xmlAttrPtr prop) argument
6136 xmlAttrPtr prop; local
6213 xmlAttrPtr prop; local
6238 xmlAttrPtr prop; local
6263 xmlAttrPtr prop; local
6283 xmlAttrPtr prop; local
6304 xmlAttrPtr prop; local
6370 xmlAttrPtr prop; local
[all...]
/haiku-fatelf/src/tools/translation/inspector/
H A DImageView.cpp224 float prop, range; local
229 prop = rctview.Width() / (rctbitmap.Width() + (BORDER_WIDTH * 2));
230 if (prop > 1.0f) prop = 1.0f;
232 psb->SetProportion(prop);
240 prop = rctview.Height() / (rctbitmap.Height() + (BORDER_HEIGHT * 2));
241 if (prop > 1.0f) prop = 1.0f;
243 psb->SetProportion(prop);

Completed in 142 milliseconds

123