Home
last modified time | relevance | path

Searched refs:propval (Results 1 – 13 of 13) sorted by relevance

/external/dtc/tests/
Dnode_offset_by_prop_value.c31 static void vcheck_search(void *fdt, const char *propname, const void *propval, in vcheck_search() argument
41 propval, proplen); in vcheck_search()
50 static void check_search(void *fdt, const char *propname, const void *propval, in check_search() argument
56 vcheck_search(fdt, propname, propval, proplen, ap); in check_search()
61 const char *propval, ...) in check_search_str() argument
65 va_start(ap, propval); in check_search_str()
66 vcheck_search(fdt, propname, propval, strlen(propval)+1, ap); in check_search_str()
70 #define check_search_cell(fdt, propname, propval, ...) \ argument
72 fdt32_t val = cpu_to_fdt32(propval); \
Dsized_cells.c35 const void *propval; in check_compare_properties() local
38 propval = fdt_getprop(fdt, 0, name_one, &proplen); in check_compare_properties()
40 if (!propval) in check_compare_properties()
45 check_getprop(fdt, 0, name_two, proplen, propval); in check_compare_properties()
Dtestutils.c127 const void *propval; in check_getprop() local
130 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in check_getprop()
131 if (! propval) in check_getprop()
137 if (memcmp(val, propval, len) != 0) in check_getprop()
140 return propval; in check_getprop()
/external/dtc/libfdt/
Dfdt_wip.c63 void *propval; in fdt_setprop_inplace_namelen_partial() local
66 propval = fdt_getprop_namelen_w(fdt, nodeoffset, name, namelen, in fdt_setprop_inplace_namelen_partial()
68 if (!propval) in fdt_setprop_inplace_namelen_partial()
74 memcpy((char *)propval + idx, val, len); in fdt_setprop_inplace_namelen_partial()
81 const void *propval; in fdt_setprop_inplace() local
84 propval = fdt_getprop(fdt, nodeoffset, name, &proplen); in fdt_setprop_inplace()
85 if (!propval) in fdt_setprop_inplace()
Dfdt_ro.c500 const void *propval, int proplen) in fdt_node_offset_by_prop_value() argument
518 && (memcmp(val, propval, len) == 0)) in fdt_node_offset_by_prop_value()
Dlibfdt.h884 const void *propval, int proplen);
/external/icu/icu4c/source/tools/
Dicu-svnprops-check.py171 for propname, propval in props:
174 if propname == "svn:mime-type" and propval.find("text/") == 0:
176 propval = check_utf8(f, propval, actual_propval)
177 if not (propval == actual_propval or (propval == "" and actual_propval == "*")):
178 print "svn propset %s '%s' %s" % (propname, propval, f)
180 os.system("svn propset %s '%s' %s" % (propname, propval, f))
/external/libmtp/src/
Dlibmtp.c1341 PTPPropertyValue propval; in get_string_from_object() local
1354 if (prop->propval.str != NULL) in get_string_from_object()
1355 return strdup(prop->propval.str); in get_string_from_object()
1360 ret = ptp_mtp_getobjectpropvalue(params, object_id, attribute_id, &propval, PTP_DTC_STR); in get_string_from_object()
1362 if (propval.str != NULL) { in get_string_from_object()
1363 retstring = (char *) strdup(propval.str); in get_string_from_object()
1364 free(propval.str); in get_string_from_object()
1385 PTPPropertyValue propval; in get_u64_from_object() local
1398 return prop->propval.u64; in get_u64_from_object()
1402 &propval, in get_u64_from_object()
[all …]
Dptp.c555 parse_9301_value (PTPParams *params, const char *str, uint16_t type, PTPPropertyValue *propval) in parse_9301_value() argument
565 propval->u32 = x; in parse_9301_value()
575 propval->i32 = x; in parse_9301_value()
585 propval->u16 = x; in parse_9301_value()
595 propval->i16 = x; in parse_9301_value()
605 propval->u8 = x; in parse_9301_value()
615 propval->i8 = x; in parse_9301_value()
636 propval->str = xstr; in parse_9301_value()
6468 prop->propval.str = NULL; in ptp_get_new_object_prop_entry()
6481 if (prop->datatype == PTP_DTC_STR && prop->propval.str != NULL) in ptp_destroy_object_prop()
[all …]
Dmtpz.c1787 PTPPropertyValue propval; in ptp_mtpz_handshake() local
1793 propval.str = "libmtp/Sajid Anwar - MTPZClassDriver"; in ptp_mtpz_handshake()
1796 &propval, in ptp_mtpz_handshake()
Dptp-pack.c1300 …packedpropslens[noitems] = ptp_pack_DPV (params, &propitr->propval, &packedprops[noitems], propitr… in ptp_pack_OPL()
1379 if (!ptp_unpack_DPV(params, data, &offset, len, &props[i].propval, props[i].datatype)) { in ptp_unpack_OPL()
Dptp.h1161 PTPPropertyValue propval; member
/external/kernel-headers/original/uapi/linux/
Dfsl_hypervisor.h180 __u64 propval; member