Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 25 of 495) sorted by relevance

12345678910>>...20

/external/toybox/kconfig/
Dsymbol.c40 struct property *prop = prop_alloc(P_DEFAULT, sym); in sym_add_default() local
42 prop->expr = expr_alloc_symbol(sym_lookup(def, 1)); in sym_add_default()
114 struct property *prop; in sym_get_choice_prop() local
116 for_all_choices(sym, prop) in sym_get_choice_prop()
117 return prop; in sym_get_choice_prop()
123 struct property *prop; in sym_get_default_prop() local
125 for_all_defaults(sym, prop) { in sym_get_default_prop()
126 prop->visible.tri = expr_calc_value(prop->visible.expr); in sym_get_default_prop()
127 if (prop->visible.tri != no) in sym_get_default_prop()
128 return prop; in sym_get_default_prop()
[all …]
Dmenu.c28 static void prop_warn(struct property *prop, const char *fmt, ...) in prop_warn() argument
32 fprintf(stderr, "%s:%d:warning: ", prop->file->name, prop->lineno); in prop_warn()
124 struct property *prop = prop_alloc(type, current_entry->sym); in menu_add_prop() local
126 prop->menu = current_entry; in menu_add_prop()
127 prop->expr = expr; in menu_add_prop()
128 prop->visible.expr = menu_check_dep(dep); in menu_add_prop()
132 prop_warn(prop, "leading whitespace ignored"); in menu_add_prop()
137 prop_warn(prop, "prompt redefined"); in menu_add_prop()
138 current_entry->prompt = prop; in menu_add_prop()
140 prop->text = prompt; in menu_add_prop()
[all …]
/external/libdrm/tests/proptest/
Dproptest.c80 drmModePropertyPtr prop; in dump_prop() local
82 prop = drmModeGetProperty(fd, prop_id); in dump_prop()
85 if (!prop) { in dump_prop()
90 printf(" %s:\n", prop->name); in dump_prop()
93 if (prop->flags & DRM_MODE_PROP_PENDING) in dump_prop()
95 if (prop->flags & DRM_MODE_PROP_IMMUTABLE) in dump_prop()
97 if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE)) in dump_prop()
99 if (drm_property_type_is(prop, DRM_MODE_PROP_RANGE)) in dump_prop()
101 if (drm_property_type_is(prop, DRM_MODE_PROP_ENUM)) in dump_prop()
103 if (drm_property_type_is(prop, DRM_MODE_PROP_BITMASK)) in dump_prop()
[all …]
/external/dtc/
Dchecks.c166 struct property *prop; in check_is_string() local
169 prop = get_property(node, propname); in check_is_string()
170 if (!prop) in check_is_string()
173 if (!data_is_one_string(prop->val)) in check_is_string()
185 struct property *prop; in check_is_cell() local
188 prop = get_property(node, propname); in check_is_cell()
189 if (!prop) in check_is_cell()
192 if (prop->val.len != sizeof(cell_t)) in check_is_cell()
223 struct property *prop, *prop2; in check_duplicate_property_names() local
225 for_each_property(node, prop) { in check_duplicate_property_names()
[all …]
Dlivetree.c249 void add_property(struct node *node, struct property *prop) in add_property() argument
253 prop->next = NULL; in add_property()
259 *p = prop; in add_property()
264 struct property *prop = node->proplist; in delete_property_by_name() local
266 while (prop) { in delete_property_by_name()
267 if (streq(prop->name, name)) { in delete_property_by_name()
268 delete_property(prop); in delete_property_by_name()
271 prop = prop->next; in delete_property_by_name()
275 void delete_property(struct property *prop) in delete_property() argument
277 prop->deleted = 1; in delete_property()
[all …]
/external/lzma/CPP/Windows/
DPropVariantConv.cpp69 void ConvertPropVariantToShortString(const PROPVARIANT &prop, char *dest) throw() in ConvertPropVariantToShortString() argument
72 switch (prop.vt) in ConvertPropVariantToShortString()
76 case VT_UI1: ConvertUInt32ToString(prop.bVal, dest); return; in ConvertPropVariantToShortString()
77 case VT_UI2: ConvertUInt32ToString(prop.uiVal, dest); return; in ConvertPropVariantToShortString()
78 case VT_UI4: ConvertUInt32ToString(prop.ulVal, dest); return; in ConvertPropVariantToShortString()
79 case VT_UI8: ConvertUInt64ToString(prop.uhVal.QuadPart, dest); return; in ConvertPropVariantToShortString()
80 case VT_FILETIME: ConvertFileTimeToString(prop.filetime, dest, true, true); return; in ConvertPropVariantToShortString()
82 case VT_I2: ConvertInt64ToString(prop.iVal, dest); return; in ConvertPropVariantToShortString()
83 case VT_I4: ConvertInt64ToString(prop.lVal, dest); return; in ConvertPropVariantToShortString()
84 case VT_I8: ConvertInt64ToString(prop.hVal.QuadPart, dest); return; in ConvertPropVariantToShortString()
[all …]
DPropVariantConv.h14 void ConvertPropVariantToShortString(const PROPVARIANT &prop, char *dest) throw();
15 void ConvertPropVariantToShortString(const PROPVARIANT &prop, wchar_t *dest) throw();
17 inline bool ConvertPropVariantToUInt64(const PROPVARIANT &prop, UInt64 &value) in ConvertPropVariantToUInt64() argument
19 switch (prop.vt) in ConvertPropVariantToUInt64()
21 case VT_UI8: value = (UInt64)prop.uhVal.QuadPart; return true; in ConvertPropVariantToUInt64()
22 case VT_UI4: value = prop.ulVal; return true; in ConvertPropVariantToUInt64()
23 case VT_UI2: value = prop.uiVal; return true; in ConvertPropVariantToUInt64()
24 case VT_UI1: value = prop.bVal; return true; in ConvertPropVariantToUInt64()
/external/lzma/CPP/7zip/Common/
DMethodProps.cpp26 HRESULT PROPVARIANT_to_bool(const PROPVARIANT &prop, bool &dest) in PROPVARIANT_to_bool() argument
28 switch (prop.vt) in PROPVARIANT_to_bool()
31 case VT_BOOL: dest = (prop.boolVal != VARIANT_FALSE); return S_OK; in PROPVARIANT_to_bool()
32 case VT_BSTR: return StringToBool(prop.bstrVal, dest) ? S_OK : E_INVALIDARG; in PROPVARIANT_to_bool()
45 HRESULT ParsePropToUInt32(const UString &name, const PROPVARIANT &prop, UInt32 &resValue) in ParsePropToUInt32() argument
51 if (prop.vt == VT_UI4) in ParsePropToUInt32()
55 resValue = prop.ulVal; in ParsePropToUInt32()
58 if (prop.vt != VT_EMPTY) in ParsePropToUInt32()
69 HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 … in ParseMtProp() argument
73 switch (prop.vt) in ParseMtProp()
[all …]
DCreateCoder.cpp49 NWindows::NCOM::CPropVariant prop; in ReadNumberOfStreams() local
50 RINOK(codecsInfo->GetProperty(index, propID, &prop)); in ReadNumberOfStreams()
51 if (prop.vt == VT_EMPTY) in ReadNumberOfStreams()
53 else if (prop.vt == VT_UI4) in ReadNumberOfStreams()
54 res = prop.ulVal; in ReadNumberOfStreams()
62 NWindows::NCOM::CPropVariant prop; in ReadIsAssignedProp() local
63 RINOK(codecsInfo->GetProperty(index, propID, &prop)); in ReadIsAssignedProp()
64 if (prop.vt == VT_EMPTY) in ReadIsAssignedProp()
66 else if (prop.vt == VT_BOOL) in ReadIsAssignedProp()
67 res = VARIANT_BOOLToBool(prop.boolVal); in ReadIsAssignedProp()
[all …]
/external/pcre/dist2/src/
Dpcre2_xclass.c136 const ucd_record *prop = GET_UCD(c); in PRIV() local
146 if ((prop->chartype == ucp_Lu || prop->chartype == ucp_Ll || in PRIV()
147 prop->chartype == ucp_Lt) == isprop) return !negated; in PRIV()
151 if ((data[1] == PRIV(ucp_gentype)[prop->chartype]) == isprop) in PRIV()
156 if ((data[1] == prop->chartype) == isprop) return !negated; in PRIV()
160 if ((data[1] == prop->script) == isprop) return !negated; in PRIV()
164 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L || in PRIV()
165 PRIV(ucp_gentype)[prop->chartype] == ucp_N) == isprop) in PRIV()
183 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_Z) == isprop) in PRIV()
190 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L || in PRIV()
[all …]
/external/lzma/CPP/7zip/UI/Common/
DLoadCodecs.cpp233 NCOM::CPropVariant prop; in GetCoderClass() local
235 RINOK(getMethodProperty(index, propId, &prop)); in GetCoderClass()
236 if (prop.vt == VT_BSTR) in GetCoderClass()
238 if (::SysStringByteLen(prop.bstrVal) != sizeof(GUID)) in GetCoderClass()
241 clsId = *(const GUID *)prop.bstrVal; in GetCoderClass()
243 else if (prop.vt != VT_EMPTY) in GetCoderClass()
298 UInt32 index, PROPID propID, NCOM::CPropVariant &prop) in GetProp() argument
301 return getProp2(index, propID, &prop);; in GetProp()
302 return getProp(propID, &prop); in GetProp()
311 NCOM::CPropVariant prop; in GetProp_Bool() local
[all …]
DPropIDUtils.cpp86 void ConvertPropertyToShortString(char *dest, const PROPVARIANT &prop, PROPID propID, bool full) th… in ConvertPropertyToShortString() argument
90 if (prop.vt == VT_FILETIME) in ConvertPropertyToShortString()
93 if ((prop.filetime.dwHighDateTime == 0 && in ConvertPropertyToShortString()
94 prop.filetime.dwLowDateTime == 0) || in ConvertPropertyToShortString()
95 !::FileTimeToLocalFileTime(&prop.filetime, &localFileTime)) in ConvertPropertyToShortString()
105 if (prop.vt != VT_UI4) in ConvertPropertyToShortString()
107 ConvertUInt32ToHex8Digits(prop.ulVal, dest); in ConvertPropertyToShortString()
112 if (prop.vt != VT_UI4) in ConvertPropertyToShortString()
114 UInt32 a = prop.ulVal; in ConvertPropertyToShortString()
126 if (prop.vt != VT_UI4) in ConvertPropertyToShortString()
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DUtils.java161 static boolean isInternalProperty(String schema, String prop) in isInternalProperty() argument
167 if ("dc:format".equals(prop) || "dc:language".equals(prop)) in isInternalProperty()
174 if ("xmp:BaseURL".equals(prop) || "xmp:CreatorTool".equals(prop) in isInternalProperty()
175 || "xmp:Format".equals(prop) || "xmp:Locale".equals(prop) in isInternalProperty()
176 || "xmp:MetadataDate".equals(prop) || "xmp:ModifyDate".equals(prop)) in isInternalProperty()
183 if ("pdf:BaseURL".equals(prop) || "pdf:Creator".equals(prop) in isInternalProperty()
184 || "pdf:ModDate".equals(prop) || "pdf:PDFVersion".equals(prop) in isInternalProperty()
185 || "pdf:Producer".equals(prop)) in isInternalProperty()
193 if ("tiff:ImageDescription".equals(prop) || "tiff:Artist".equals(prop) in isInternalProperty()
194 || "tiff:Copyright".equals(prop)) in isInternalProperty()
[all …]
/external/svox/pico_resources/tools/LingwareBuilding/PicoLingware_tools_windows/tools/
Dpicoloadphones.lua75 prop, propval = string.match(cline, "^,%s*(%w+)%s*=%s*(%d+)%s*")
76 if prop and propval then
78 props[prop] = tonumber(propval)
107 for prop, propval in pairs(p) do
108 if not propnames[prop] and not upropnames[prop] then
109 io.write("*** error: invalid property name '", prop, "'\n")
112 if propnames[prop] then
113 propnames[prop] = propnames[prop] + 1
114 elseif upropnames[prop] then
115 upropnames[prop] = upropnames[prop] + 1
[all …]
Dpicoloaddbg.lua77 prop, propval = string.match(cline, "^,%s*(%w+)%s*=%s*(%d+)%s*")
78 if prop and propval then
80 props[prop] = tonumber(propval)
109 for prop, propval in pairs(p) do
110 if not propnames[prop] and not upropnames[prop] then
111 io.write("*** error: invalid property name '", prop, "'\n")
114 if propnames[prop] then
115 propnames[prop] = propnames[prop] + 1
116 elseif upropnames[prop] then
117 upropnames[prop] = upropnames[prop] + 1
[all …]
/external/dtc/libfdt/
Dfdt_rw.c204 int len, struct fdt_property **prop) in _fdt_resize_property() argument
209 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen); in _fdt_resize_property()
210 if (! (*prop)) in _fdt_resize_property()
213 if ((err = _fdt_splice_struct(fdt, (*prop)->data, FDT_TAGALIGN(oldlen), in _fdt_resize_property()
217 (*prop)->len = cpu_to_fdt32(len); in _fdt_resize_property()
222 int len, struct fdt_property **prop) in _fdt_add_property() argument
236 *prop = _fdt_offset_ptr_w(fdt, nextoffset); in _fdt_add_property()
237 proplen = sizeof(**prop) + FDT_TAGALIGN(len); in _fdt_add_property()
239 err = _fdt_splice_struct(fdt, *prop, 0, proplen); in _fdt_add_property()
243 (*prop)->tag = cpu_to_fdt32(FDT_PROP); in _fdt_add_property()
[all …]
/external/pcre/dist2/testdata/
Dtestoutput51921 prop Zl {2}
1922 prop Zl ?+
1934 prop Zl
1942 prop Lu {3}
1950 prop L {2}
1958 prop Cc {2}
2429 prop Nd
2449 prop Xsp
2469 prop Xwd
2684 prop Lu ++
[all …]
/external/lzma/CPP/7zip/Compress/
DLzma2Encoder.cpp16 HRESULT SetLzmaProp(PROPID propID, const PROPVARIANT &prop, CLzmaEncProps &ep);
36 HRESULT SetLzma2Prop(PROPID propID, const PROPVARIANT &prop, CLzma2EncProps &lzma2Props) in SetLzma2Prop() argument
42 if (prop.vt == VT_UI4) in SetLzma2Prop()
43 lzma2Props.blockSize = prop.ulVal; in SetLzma2Prop()
44 else if (prop.vt == VT_UI8) in SetLzma2Prop()
46 size_t v = (size_t)prop.uhVal.QuadPart; in SetLzma2Prop()
47 if (v != prop.uhVal.QuadPart) in SetLzma2Prop()
56 … if (prop.vt != VT_UI4) return E_INVALIDARG; lzma2Props.numTotalThreads = (int)(prop.ulVal); break; in SetLzma2Prop()
58 RINOK(NLzma::SetLzmaProp(propID, prop, lzma2Props.lzmaProps)); in SetLzma2Prop()
78 Byte prop = Lzma2Enc_WriteProperties(_encoder); in WriteCoderProperties() local
[all …]
/external/lzma/CPP/7zip/UI/Client7z/
DClient7z.cpp112 NCOM::CPropVariant prop; in IsArchiveItemProp() local
113 RINOK(archive->GetProperty(index, propID, &prop)); in IsArchiveItemProp()
114 if (prop.vt == VT_BOOL) in IsArchiveItemProp()
115 result = VARIANT_BOOLToBool(prop.boolVal); in IsArchiveItemProp()
116 else if (prop.vt == VT_EMPTY) in IsArchiveItemProp()
269 NCOM::CPropVariant prop; in GetStream() local
270 RINOK(_archiveHandler->GetProperty(index, kpidPath, &prop)); in GetStream()
273 if (prop.vt == VT_EMPTY) in GetStream()
277 if (prop.vt != VT_BSTR) in GetStream()
279 fullPath = prop.bstrVal; in GetStream()
[all …]
/external/dtc/tests/
Dtest_tree1_label_noderef.dts8 prop-int = <0xdeadbeef>;
9 prop-int64 = /bits/ 64 <0xdeadbeef01abcdef>;
10 prop-str = "hello world";
17 prop-int = [deadbeef];
21 prop-int = <0xdeadbeef>;
31 prop-int = <123456789>;
37 prop-int = <0xbad>;
48 prop-int = <123456789>;
53 prop-int = <0726746425>;
Dtest_tree1_merge_labelled.dts8 prop-int = <0xdeadbeef>;
9 prop-int64 = /bits/ 64 <0xdeadbeef01abcdef>;
10 prop-str = "hello world";
17 prop-int = [deadbeef];
21 prop-int = <0xdeadbeef>;
31 prop-int = <123456789>;
38 prop-int = <0xbad>;
48 prop-int = <0726746425>;
Dtest_tree1_merge_path.dts8 prop-int = <0xdeadbeef>;
9 prop-int64 = /bits/ 64 <0xdeadbeef01abcdef>;
10 prop-str = "hello world";
17 prop-int = [deadbeef];
21 prop-int = <0xdeadbeef>;
31 prop-int = <123456789>;
38 prop-int = <0xbad>;
48 prop-int = <0726746425>;
Dtest_tree1_merge.dts7 prop-int = "wrong!";
8 prop-str = "hello world";
18 prop-int = <0xdeadbeef>;
28 prop-int = <123456789>;
38 prop-int = <0xdeadbeef>;
39 prop-int64 = /bits/ 64 <0xdeadbeef01abcdef>;
41 prop-int = [deadbeef];
48 prop-int = <0726746425>;
/external/clang/test/Index/
Dindex-decls.m2 @property (readonly) id prop; property
3 -(id)prop; method
7 @property (assign,readwrite) id prop;
11 @synthesize prop = _prop;
37 @property (assign, nonatomic) id prop; property
38 -(id)prop; method
43 @synthesize prop = _prop;
44 -(id)prop { method
60 // CHECK: [indexDeclaration]: kind: objc-instance-method | name: prop | {{.*}} | loc: 3:2
61 // CHECK: [indexDeclaration]: kind: objc-property | name: prop | {{.*}} | loc: 2:25
[all …]
/external/icu/icu4c/source/common/
Duprops.cpp47 typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32 c, UProperty which);
55 static UBool defaultContains(const BinaryProperty &prop, UChar32 c, UProperty /*which*/) { in defaultContains() argument
57 return (u_getUnicodeProperties(c, prop.column)&prop.mask)!=0; in defaultContains()
289 const BinaryProperty &prop=binProps[which]; in u_hasBinaryProperty() local
290 return prop.contains(prop, c, which); in u_hasBinaryProperty()
296 typedef int32_t IntPropertyGetValue(const IntProperty &prop, UChar32 c, UProperty which);
297 typedef int32_t IntPropertyGetMaxValue(const IntProperty &prop, UProperty which);
307 static int32_t defaultGetValue(const IntProperty &prop, UChar32 c, UProperty /*which*/) { in defaultGetValue() argument
309 return (int32_t)(u_getUnicodeProperties(c, prop.column)&prop.mask)>>prop.shift; in defaultGetValue()
312 static int32_t defaultGetMaxValue(const IntProperty &prop, UProperty /*which*/) { in defaultGetMaxValue() argument
[all …]

12345678910>>...20