Home
last modified time | relevance | path

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

12345678910>>...17

/external/v8/test/mjsunit/
Dundeletable-functions.js134 function CheckDeletable(type, prop) { argument
135 var old = type[prop];
137 if (!type[prop]) return;
138 assertTrue(type.hasOwnProperty(prop), "inherited: " + prop);
139 var deleted = delete type[prop];
140 assertTrue(deleted, "delete operator returned false: " + prop);
141 assertFalse(hasOwnProperty.call(type, prop), "still there after delete: " + prop);
142 type[prop] = "foo";
143 assertEquals("foo", type[prop], "not overwritable: " + prop);
144 type[prop] = old;
[all …]
/external/pcre/dist/testdata/
Dtestoutput7231 prop Zl {2}
232 prop Zl ?+
244 prop Zl
252 prop Lu {3}
260 prop L {2}
268 prop Cc {2}
756 prop Nd
776 prop Xsp
796 prop Xwd
1012 prop Lu ++
[all …]
/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.c115 drmModePropertyPtr prop; in dump_prop() local
117 prop = drmModeGetProperty(fd, prop_id); in dump_prop()
120 if (!prop) { in dump_prop()
125 printf(" %s:\n", prop->name); in dump_prop()
128 if (prop->flags & DRM_MODE_PROP_PENDING) in dump_prop()
130 if (prop->flags & DRM_MODE_PROP_IMMUTABLE) in dump_prop()
132 if (drm_property_type_is(prop, DRM_MODE_PROP_SIGNED_RANGE)) in dump_prop()
134 if (drm_property_type_is(prop, DRM_MODE_PROP_RANGE)) in dump_prop()
136 if (drm_property_type_is(prop, DRM_MODE_PROP_ENUM)) in dump_prop()
138 if (drm_property_type_is(prop, DRM_MODE_PROP_BITMASK)) in dump_prop()
[all …]
/external/lzma/CPP/7zip/Archive/7z/
D7zHandlerOut.cpp69 CProp prop; in SetCompressionMethod() local
70 prop.Id = NCoderPropID::kMatchFinder; in SetCompressionMethod()
71 prop.Value = kLzmaMatchFinderForHeaders; in SetCompressionMethod()
72 oneMethodInfo.Props.Add(prop); in SetCompressionMethod()
75 CProp prop; in SetCompressionMethod() local
76 prop.Id = NCoderPropID::kAlgorithm; in SetCompressionMethod()
77 prop.Value = kAlgorithmForHeaders; in SetCompressionMethod()
78 oneMethodInfo.Props.Add(prop); in SetCompressionMethod()
81 CProp prop; in SetCompressionMethod() local
82 prop.Id = NCoderPropID::kNumFastBytes; in SetCompressionMethod()
[all …]
D7zHandler.cpp86 NCOM::CPropVariant prop; in GetArchiveProperty() local
112 prop = resString; in GetArchiveProperty()
115 case kpidSolid: prop = _db.IsSolid(); break; in GetArchiveProperty()
116 case kpidNumBlocks: prop = (UInt32)_db.Folders.Size(); break; in GetArchiveProperty()
117 case kpidHeadersSize: prop = _db.HeadersSize; break; in GetArchiveProperty()
118 case kpidPhySize: prop = _db.PhySize; break; in GetArchiveProperty()
119 …case kpidOffset: if (_db.ArchiveInfo.StartPosition != 0) prop = _db.ArchiveInfo.StartPosition; bre… in GetArchiveProperty()
121 prop.Detach(value); in GetArchiveProperty()
130 static void SetPropFromUInt64Def(CUInt64DefVector &v, int index, NCOM::CPropVariant &prop) in SetPropFromUInt64Def() argument
138 prop = ft; in SetPropFromUInt64Def()
[all …]
/external/pcre/dist/
Dpcre_xclass.c135 const ucd_record *prop = GET_UCD(c); in PRIV() local
145 if ((prop->chartype == ucp_Lu || prop->chartype == ucp_Ll || in PRIV()
146 prop->chartype == ucp_Lt) == isprop) return !negated; in PRIV()
150 if ((data[1] == PRIV(ucp_gentype)[prop->chartype]) == isprop) in PRIV()
155 if ((data[1] == prop->chartype) == isprop) return !negated; in PRIV()
159 if ((data[1] == prop->script) == isprop) return !negated; in PRIV()
163 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L || in PRIV()
164 PRIV(ucp_gentype)[prop->chartype] == ucp_N) == isprop) in PRIV()
182 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_Z) == isprop) in PRIV()
189 if ((PRIV(ucp_gentype)[prop->chartype] == ucp_L || in PRIV()
[all …]
/external/lzma/CPP/Windows/
DPropVariantConversions.cpp75 UString ConvertPropVariantToString(const PROPVARIANT &prop) in ConvertPropVariantToString() argument
77 switch (prop.vt) in ConvertPropVariantToString()
80 case VT_BSTR: return prop.bstrVal; in ConvertPropVariantToString()
81 case VT_UI1: return ConvertUInt64ToString(prop.bVal); in ConvertPropVariantToString()
82 case VT_UI2: return ConvertUInt64ToString(prop.uiVal); in ConvertPropVariantToString()
83 case VT_UI4: return ConvertUInt64ToString(prop.ulVal); in ConvertPropVariantToString()
84 case VT_UI8: return ConvertUInt64ToString(prop.uhVal.QuadPart); in ConvertPropVariantToString()
85 case VT_FILETIME: return ConvertFileTimeToString(prop.filetime, true, true); in ConvertPropVariantToString()
87 case VT_I2: return ConvertInt64ToString(prop.iVal); in ConvertPropVariantToString()
88 case VT_I4: return ConvertInt64ToString(prop.lVal); in ConvertPropVariantToString()
[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/v8/test/webkit/
Dreentrant-caching.js28 var objects = [{prop:1}, {get prop(){return 2}}]; property
31 return o.prop;
36 get prop() { getter
56 var objects = [Object.create({prop:1}), Object.create({get prop(){return 2}})]; property
59 return o.prop;
62 get prop() { getter
84 …var objects = [Object.create(Object.create({prop:1})), Object.create(Object.create({get prop(){ret… getter
87 return o.prop;
90 get prop() { getter
/external/chromium-trace/trace-viewer/third_party/WebOb/webob/
Dcachecontrol.py70 def __init__(self, prop, type=None): argument
71 self.prop = prop
77 return self.prop in obj.properties
84 self.prop, self.type))
87 obj.properties[self.prop] = None
89 if self.prop in obj.properties:
90 del obj.properties[self.prop]
102 def __init__(self, prop, default=None, none=None, type=None): argument
103 self.prop = prop
111 if self.prop in obj.properties:
[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/lzma/CPP/7zip/UI/Client7z/
DClient7z.cpp81 NCOM::CPropVariant prop; in IsArchiveItemProp() local
82 RINOK(archive->GetProperty(index, propID, &prop)); in IsArchiveItemProp()
83 if (prop.vt == VT_BOOL) in IsArchiveItemProp()
84 result = VARIANT_BOOLToBool(prop.boolVal); in IsArchiveItemProp()
85 else if (prop.vt == VT_EMPTY) in IsArchiveItemProp()
236 NCOM::CPropVariant prop; in GetStream() local
237 RINOK(_archiveHandler->GetProperty(index, kpidPath, &prop)); in GetStream()
240 if (prop.vt == VT_EMPTY) in GetStream()
244 if (prop.vt != VT_BSTR) in GetStream()
246 fullPath = prop.bstrVal; in GetStream()
[all …]
/external/lzma/CPP/7zip/UI/Common/
DPropIDUtils.cpp51 UString ConvertPropertyToString(const PROPVARIANT &prop, PROPID propID, bool full) in ConvertPropertyToString() argument
59 if (prop.vt != VT_FILETIME) in ConvertPropertyToString()
62 if ((prop.filetime.dwHighDateTime == 0 && in ConvertPropertyToString()
63 prop.filetime.dwLowDateTime == 0) || in ConvertPropertyToString()
64 !::FileTimeToLocalFileTime(&prop.filetime, &localFileTime)) in ConvertPropertyToString()
70 if (prop.vt != VT_UI4) in ConvertPropertyToString()
73 ConvertUInt32ToHex(prop.ulVal, temp); in ConvertPropertyToString()
78 if (prop.vt != VT_UI4) in ConvertPropertyToString()
80 UInt32 a = prop.ulVal; in ConvertPropertyToString()
91 if (prop.vt != VT_UI4) in ConvertPropertyToString()
[all …]
DLoadCodecs.cpp98 NWindows::NCOM::CPropVariant prop; in GetCoderClass() local
100 RINOK(getMethodProperty(index, propId, &prop)); in GetCoderClass()
101 if (prop.vt == VT_BSTR) in GetCoderClass()
104 clsId = *(const GUID *)prop.bstrVal; in GetCoderClass()
106 else if (prop.vt != VT_EMPTY) in GetCoderClass()
142 UInt32 index, PROPID propID, NCOM::CPropVariant &prop) in ReadProp() argument
145 return getProp2(index, propID, &prop);; in ReadProp()
146 return getProp(propID, &prop); in ReadProp()
154 NCOM::CPropVariant prop; in ReadBoolProp() local
155 RINOK(ReadProp(getProp, getProp2, index, propID, prop)); in ReadBoolProp()
[all …]
DUpdateCallback.cpp92 NWindows::NCOM::CPropVariant prop; in GetProperty() local
96 prop = up.IsAnti; in GetProperty()
97 prop.Detach(value); in GetProperty()
109 prop = (UInt64)0; in GetProperty()
110 prop.Detach(value); in GetProperty()
113 prop.Detach(value); in GetProperty()
123 case kpidPath: prop = DirItems->GetLogPath(up.DirIndex); break; in GetProperty()
124 case kpidIsDir: prop = di.IsDir(); break; in GetProperty()
125 case kpidSize: prop = di.Size; break; in GetProperty()
126 case kpidAttrib: prop = di.Attrib; break; in GetProperty()
[all …]
/external/mesa3d/src/mesa/main/
DAPIspec.py47 self.tmpl_nodes[node.prop("name")] = node
49 self.api_nodes[node.prop("name")] = node
57 if node.prop("implementation") == "true":
76 self.name = api_node.prop("name")
77 self.is_impl = (api_node.prop("implementation") == "true")
88 cat = node.prop("name")
98 tmpl_node = spec.tmpl_nodes[func_node.prop("template")]
103 func_name = func_node.prop("name")
126 self.tmpl_name = tmpl_node.prop("name")
127 self.direction = tmpl_node.prop("direction")
[all …]
/external/lzma/CPP/7zip/Common/
DCreateCoder.cpp25 NWindows::NCOM::CPropVariant prop; in ReadNumberOfStreams() local
26 RINOK(codecsInfo->GetProperty(index, propID, &prop)); in ReadNumberOfStreams()
27 if (prop.vt == VT_EMPTY) in ReadNumberOfStreams()
29 else if (prop.vt == VT_UI4) in ReadNumberOfStreams()
30 res = prop.ulVal; in ReadNumberOfStreams()
38 NWindows::NCOM::CPropVariant prop; in ReadIsAssignedProp() local
39 RINOK(codecsInfo->GetProperty(index, propID, &prop)); in ReadIsAssignedProp()
40 if (prop.vt == VT_EMPTY) in ReadIsAssignedProp()
42 else if (prop.vt == VT_BOOL) in ReadIsAssignedProp()
43 res = VARIANT_BOOLToBool(prop.boolVal); in ReadIsAssignedProp()
[all …]
/external/lzma/CPP/7zip/Archive/Common/
DParseProperties.cpp10 HRESULT ParsePropValue(const UString &name, const PROPVARIANT &prop, UInt32 &resValue) in ParsePropValue() argument
12 if (prop.vt == VT_UI4) in ParsePropValue()
16 resValue = prop.ulVal; in ParsePropValue()
18 else if (prop.vt == VT_EMPTY) in ParsePropValue()
81 HRESULT ParsePropDictionaryValue(const UString &name, const PROPVARIANT &prop, UInt32 &resValue) in ParsePropDictionaryValue() argument
85 if (prop.vt == VT_UI4) in ParsePropDictionaryValue()
87 UInt32 logDicSize = prop.ulVal; in ParsePropDictionaryValue()
93 if (prop.vt == VT_BSTR) in ParsePropDictionaryValue()
94 return ParsePropDictionaryValue(prop.bstrVal, resValue); in ParsePropDictionaryValue()
150 HRESULT ParseMtProp(const UString &name, const PROPVARIANT &prop, UInt32 defaultNumThreads, UInt32 … in ParseMtProp() argument
[all …]
/external/icu/icu4c/source/common/
Duprops.cpp45 typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32 c, UProperty which);
53 static UBool defaultContains(const BinaryProperty &prop, UChar32 c, UProperty /*which*/) { in defaultContains() argument
55 return (u_getUnicodeProperties(c, prop.column)&prop.mask)!=0; in defaultContains()
283 const BinaryProperty &prop=binProps[which]; in u_hasBinaryProperty() local
284 return prop.contains(prop, c, which); in u_hasBinaryProperty()
290 typedef int32_t IntPropertyGetValue(const IntProperty &prop, UChar32 c, UProperty which);
291 typedef int32_t IntPropertyGetMaxValue(const IntProperty &prop, UProperty which);
301 static int32_t defaultGetValue(const IntProperty &prop, UChar32 c, UProperty /*which*/) { in defaultGetValue() argument
303 return (int32_t)(u_getUnicodeProperties(c, prop.column)&prop.mask)>>prop.shift; in defaultGetValue()
306 static int32_t defaultGetMaxValue(const IntProperty &prop, UProperty /*which*/) { in defaultGetMaxValue() argument
[all …]
/external/v8/test/mjsunit/es6/
Dgenerators-runtime.js51 var prop = f_own_property_names[i];
52 var f_desc = Object.getOwnPropertyDescriptor(f, prop);
53 var g_desc = Object.getOwnPropertyDescriptor(g, prop);
54 assertEquals(f_desc.configurable, g_desc.configurable, prop);
55 if (prop === 'arguments' || prop === 'caller') {
59 assertFalse('writable' in g_desc, prop);
60 assertTrue(g_desc.get instanceof Function, prop);
61 assertEquals(g_desc.get, g_desc.set, prop);
63 assertEquals(f_desc.writable, g_desc.writable, prop);
65 assertEquals(f_desc.enumerable, g_desc.enumerable, prop);
/external/lzma/CPP/7zip/Archive/
DSplitHandler.cpp53 NCOM::CPropVariant prop; in GetArchiveProperty() local
56 case kpidMainSubfile: prop = (UInt32)0; break; in GetArchiveProperty()
57 case kpidNumVolumes: prop = (UInt32)_streams.Size(); break; in GetArchiveProperty()
59 prop.Detach(value); in GetArchiveProperty()
155 NCOM::CPropVariant prop; in Open() local
156 RINOK(openVolumeCallback->GetProperty(kpidName, &prop)); in Open()
157 if (prop.vt != VT_BSTR) in Open()
159 name = prop.bstrVal; in Open()
216 NCOM::CPropVariant prop; in Open() local
217 RINOK(openVolumeCallback->GetProperty(kpidSize, &prop)); in Open()
[all …]
/external/libmtp/src/
Dlibmtp.c1265 MTPProperties *prop; in get_string_from_object() local
1271 prop = ptp_find_object_prop_in_cache(params, object_id, attribute_id); in get_string_from_object()
1272 if (prop) { in get_string_from_object()
1273 if (prop->propval.str != NULL) in get_string_from_object()
1274 return strdup(prop->propval.str); in get_string_from_object()
1308 MTPProperties *prop; in get_u64_from_object() local
1314 prop = ptp_find_object_prop_in_cache(params, object_id, attribute_id); in get_u64_from_object()
1315 if (prop) in get_u64_from_object()
1316 return prop->propval.u64; in get_u64_from_object()
1347 MTPProperties *prop; in get_u32_from_object() local
[all …]

12345678910>>...17