Home
last modified time | relevance | path

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

12345678910>>...23

/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/lzma/CPP/Windows/
DPropVariantConv.cpp59 void ConvertPropVariantToShortString(const PROPVARIANT &prop, char *dest) throw() in ConvertPropVariantToShortString() argument
62 switch (prop.vt) in ConvertPropVariantToShortString()
66 case VT_UI1: ConvertUInt32ToString(prop.bVal, dest); return; in ConvertPropVariantToShortString()
67 case VT_UI2: ConvertUInt32ToString(prop.uiVal, dest); return; in ConvertPropVariantToShortString()
68 case VT_UI4: ConvertUInt32ToString(prop.ulVal, dest); return; in ConvertPropVariantToShortString()
69 case VT_UI8: ConvertUInt64ToString(prop.uhVal.QuadPart, dest); return; in ConvertPropVariantToShortString()
70 case VT_FILETIME: ConvertFileTimeToString(prop.filetime, dest, true, true); return; in ConvertPropVariantToShortString()
72 case VT_I2: ConvertInt64ToString(prop.iVal, dest); return; in ConvertPropVariantToShortString()
73 case VT_I4: ConvertInt64ToString(prop.lVal, dest); return; in ConvertPropVariantToShortString()
74 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/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/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.cpp34 NWindows::NCOM::CPropVariant prop; in ReadNumberOfStreams() local
35 RINOK(codecsInfo->GetProperty(index, propID, &prop)); in ReadNumberOfStreams()
36 if (prop.vt == VT_EMPTY) in ReadNumberOfStreams()
38 else if (prop.vt == VT_UI4) in ReadNumberOfStreams()
39 res = prop.ulVal; in ReadNumberOfStreams()
47 NWindows::NCOM::CPropVariant prop; in ReadIsAssignedProp() local
48 RINOK(codecsInfo->GetProperty(index, propID, &prop)); in ReadIsAssignedProp()
49 if (prop.vt == VT_EMPTY) in ReadIsAssignedProp()
51 else if (prop.vt == VT_BOOL) in ReadIsAssignedProp()
52 res = VARIANT_BOOLToBool(prop.boolVal); in ReadIsAssignedProp()
[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/7zip/UI/Common/
DLoadCodecs.cpp188 NCOM::CPropVariant prop; in GetCoderClass() local
190 RINOK(getMethodProperty(index, propId, &prop)); in GetCoderClass()
191 if (prop.vt == VT_BSTR) in GetCoderClass()
193 if (::SysStringByteLen(prop.bstrVal) != sizeof(GUID)) in GetCoderClass()
196 clsId = *(const GUID *)prop.bstrVal; in GetCoderClass()
198 else if (prop.vt != VT_EMPTY) in GetCoderClass()
248 UInt32 index, PROPID propID, NCOM::CPropVariant &prop) in GetProp() argument
251 return getProp2(index, propID, &prop);; in GetProp()
252 return getProp(propID, &prop); in GetProp()
261 NCOM::CPropVariant prop; in GetProp_Bool() local
[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/opencv3/modules/core/src/
Dcuda_info.cpp984 cudaDeviceProp prop; in printCudaDeviceInfo()
985 cudaSafeCall( cudaGetDeviceProperties(&prop, dev) ); in printCudaDeviceInfo()
987 printf("\nDevice %d: \"%s\"\n", dev, prop.name); in printCudaDeviceInfo()
989 printf(" CUDA Capability Major/Minor version number: %d.%d\n", prop.major, prop.minor); in printCudaDeviceInfo()
990 … %.0f MBytes (%llu bytes)\n", (float)prop.totalGlobalMem/1048576.0f, (unsigned long lon… in printCudaDeviceInfo()
992 int cores = convertSMVer2Cores(prop.major, prop.minor); in printCudaDeviceInfo()
994 …ocessors x (%2d) CUDA Cores/MP: %d CUDA Cores\n", prop.multiProcessorCount, cores, cores * pro… in printCudaDeviceInfo()
996 … printf(" GPU Clock Speed: %.2f GHz\n", prop.clockRate * 1e-6f); in printCudaDeviceInfo()
999 prop.maxTexture1D, prop.maxTexture2D[0], prop.maxTexture2D[1], in printCudaDeviceInfo()
1000 prop.maxTexture3D[0], prop.maxTexture3D[1], prop.maxTexture3D[2]); in printCudaDeviceInfo()
[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/catapult/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.cpp104 NCOM::CPropVariant prop; in IsArchiveItemProp() local
105 RINOK(archive->GetProperty(index, propID, &prop)); in IsArchiveItemProp()
106 if (prop.vt == VT_BOOL) in IsArchiveItemProp()
107 result = VARIANT_BOOLToBool(prop.boolVal); in IsArchiveItemProp()
108 else if (prop.vt == VT_EMPTY) in IsArchiveItemProp()
261 NCOM::CPropVariant prop; in GetStream() local
262 RINOK(_archiveHandler->GetProperty(index, kpidPath, &prop)); in GetStream()
265 if (prop.vt == VT_EMPTY) in GetStream()
269 if (prop.vt != VT_BSTR) in GetStream()
271 fullPath = prop.bstrVal; in GetStream()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/manager/
Dsdbmanager.py93 def encode_list(self, prop, value): argument
99 item_type = getattr(prop, "item_type")
108 return self.encode_map(prop, values)
110 def encode_map(self, prop, value): argument
118 item_type = getattr(prop, "item_type")
126 def encode_prop(self, prop, value): argument
127 if isinstance(prop, ListProperty):
128 return self.encode_list(prop, value)
129 elif isinstance(prop, MapProperty):
130 return self.encode_map(prop, value)
[all …]
Dxmlmanager.py75 def encode_prop(self, prop, value): argument
77 if hasattr(prop, 'item_type'):
80 item_type = getattr(prop, "item_type")
88 return self.encode(prop.data_type, value)
90 def decode_prop(self, prop, value): argument
91 if prop.data_type == list:
92 if hasattr(prop, 'item_type'):
93 item_type = getattr(prop, "item_type")
104 return self.decode(prop.data_type, value)
249 prop = obj.find_property(prop_name)
[all …]
/external/lzma/CPP/7zip/Archive/
DSplitHandler.cpp56 NCOM::CPropVariant prop; in GetArchiveProperty() local
59 case kpidMainSubfile: prop = (UInt32)0; break; in GetArchiveProperty()
60 case kpidPhySize: if (!_sizes.IsEmpty()) prop = _sizes[0]; break; in GetArchiveProperty()
61 case kpidTotalPhySize: prop = _totalSize; break; in GetArchiveProperty()
62 case kpidNumVolumes: prop = (UInt32)_streams.Size(); break; in GetArchiveProperty()
64 prop.Detach(value); in GetArchiveProperty()
152 NCOM::CPropVariant prop; in Open2() local
153 RINOK(volumeCallback->GetProperty(kpidName, &prop)); in Open2()
154 if (prop.vt != VT_BSTR) in Open2()
156 name = prop.bstrVal; in Open2()
[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/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/sdb/db/
Dmodel.py51 for prop in props:
52 if not prop.__class__.__name__.startswith('_'):
53 prop_names.append(prop.name)
115 prop = cls.__dict__[key]
116 if isinstance(prop, Property):
117 if hidden or not prop.__class__.__name__.startswith('_'):
118 properties.append(prop)
130 prop = cls.__dict__[key]
131 if isinstance(prop, Property):
132 if not prop.__class__.__name__.startswith('_') and prop_name == prop.name:
[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/skia/experimental/docs/
DanimationCommon.js84 for (var prop in action) {
85 if ('paint' == prop) {
86 assert('string' == typeof(action[prop]));
87 var obj = (new Function("return " + action[prop]))();
89 animationState.defaults[prop] = obj;
91 animationState.defaults[prop] = action[prop];
221 for (var prop in parent) {
222 if (!(prop in paint)) {
223 paint[prop] = parent[prop];
256 var prop = action[propName];
[all …]

12345678910>>...23