Home
last modified time | relevance | path

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

12345678910

/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/qemu/hw/
Dqdev.c113 Property *prop; in qdev_device_help()
135 for (prop = info->props; prop && prop->name; prop++) { in qdev_device_help()
142 if (!prop->info->parse) { in qdev_device_help()
145 error_printf("%s.%s=%s\n", info->name, prop->name, prop->info->name); in qdev_device_help()
237 DeviceProperty *prop; in create_prop() local
240 prop = qemu_mallocz(sizeof(*prop)); in create_prop()
241 prop->name = qemu_strdup(name); in create_prop()
242 prop->type = type; in create_prop()
243 prop->next = dev->props; in create_prop()
244 dev->props = prop; in create_prop()
[all …]
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/
DPropertiesTest.java208 Properties prop = null; in test_loadLjava_io_InputStream() local
211 prop = new Properties(); in test_loadLjava_io_InputStream()
212 prop.load(is = new ByteArrayInputStream(writeProperties())); in test_loadLjava_io_InputStream()
217 assertEquals("Failed to load correct properties", "harmony.tests", prop in test_loadLjava_io_InputStream()
219 assertNull("Load failed to parse incorrectly", prop in test_loadLjava_io_InputStream()
222 prop = new Properties(); in test_loadLjava_io_InputStream()
224 prop.load(new ByteArrayInputStream("=".getBytes())); in test_loadLjava_io_InputStream()
228 assertTrue("Failed to add empty key", prop.get("").equals("")); in test_loadLjava_io_InputStream()
230 prop = new Properties(); in test_loadLjava_io_InputStream()
232 prop.load(new ByteArrayInputStream(" = ".getBytes())); in test_loadLjava_io_InputStream()
[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/chromium/base/win/
Devent_trace_controller.cc14 EVENT_TRACE_PROPERTIES* prop = get(); in EtwTraceProperties() local
16 prop->Wnode.BufferSize = sizeof(buffer_); in EtwTraceProperties()
17 prop->Wnode.Flags = WNODE_FLAG_TRACED_GUID; in EtwTraceProperties()
18 prop->LoggerNameOffset = sizeof(EVENT_TRACE_PROPERTIES); in EtwTraceProperties()
19 prop->LogFileNameOffset = sizeof(EVENT_TRACE_PROPERTIES) + in EtwTraceProperties()
53 EtwTraceProperties* prop) { in Start() argument
56 if (prop == NULL) in Start()
57 prop = &ignore; in Start()
59 HRESULT hr = Start(session_name, prop, &session_); in Start()
70 EtwTraceProperties prop; in StartFileSession() local
[all …]
Devent_trace_controller_unittest.cc69 EtwTraceProperties prop; in TEST() local
71 EVENT_TRACE_PROPERTIES* p = prop.get(); in TEST()
101 EtwTraceProperties prop; in TEST() local
103 ASSERT_STREQ(L"", prop.GetLoggerFileName()); in TEST()
104 ASSERT_STREQ(L"", prop.GetLoggerName()); in TEST()
107 ASSERT_HRESULT_SUCCEEDED(prop.SetLoggerFileName(name.c_str())); in TEST()
108 ASSERT_HRESULT_SUCCEEDED(prop.SetLoggerName(name.c_str())); in TEST()
109 ASSERT_STREQ(name.c_str(), prop.GetLoggerFileName()); in TEST()
110 ASSERT_STREQ(name.c_str(), prop.GetLoggerName()); in TEST()
113 ASSERT_HRESULT_FAILED(prop.SetLoggerFileName(name2.c_str())); in TEST()
[all …]
/external/qemu/android/
Dboot-properties.c47 BootProperty* prop = android_alloc( sizeof(*prop) + length + 1 ); in boot_property_alloc() local
50 prop->next = NULL; in boot_property_alloc()
51 prop->property = p = (char*)(prop + 1); in boot_property_alloc()
52 prop->length = length; in boot_property_alloc()
61 return prop; in boot_property_alloc()
94 BootProperty* prop; in boot_property_add2() local
125 prop = boot_property_alloc(name, namelen, value, valuelen); in boot_property_add2()
127 *_boot_properties_tail = prop; in boot_property_add2()
128 _boot_properties_tail = &prop->next; in boot_property_add2()
303 BootProperty* prop; in boot_property_client_recv() local
[all …]
/external/icu4c/common/
Duprops.cpp48 typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32 c, UProperty which);
56 static UBool defaultContains(const BinaryProperty &prop, UChar32 c, UProperty /*which*/) { in defaultContains() argument
58 return (u_getUnicodeProperties(c, prop.column)&prop.mask)!=0; in defaultContains()
286 const BinaryProperty &prop=binProps[which]; in u_hasBinaryProperty() local
287 return prop.contains(prop, c, which); in u_hasBinaryProperty()
293 typedef int32_t IntPropertyGetValue(const IntProperty &prop, UChar32 c, UProperty which);
294 typedef int32_t IntPropertyGetMaxValue(const IntProperty &prop, UProperty which);
304 static int32_t defaultGetValue(const IntProperty &prop, UChar32 c, UProperty /*which*/) { in defaultGetValue() argument
306 return (int32_t)(u_getUnicodeProperties(c, prop.column)&prop.mask)>>prop.shift; in defaultGetValue()
309 static int32_t defaultGetMaxValue(const IntProperty &prop, UProperty /*which*/) { in defaultGetMaxValue() argument
[all …]
/external/bluetooth/bluedroid/btif/src/
Dbtif_storage.c246 static int prop2cfg(bt_bdaddr_t *remote_bd_addr, bt_property_t *prop) in prop2cfg() argument
251 BTIF_TRACE_DEBUG3("in, bd addr:%s, prop type:%d, len:%d", bdstr, prop->type, prop->len); in prop2cfg()
253 if(prop->len <= 0 || prop->len > (int)sizeof(value) - 1) in prop2cfg()
255 BTIF_TRACE_ERROR2("property type:%d, len:%d is invalid", prop->type, prop->len); in prop2cfg()
258 switch(prop->type) in prop2cfg()
265 strncpy(value, (char*)prop->val, prop->len); in prop2cfg()
266 value[prop->len]='\0'; in prop2cfg()
274 strncpy(value, (char*)prop->val, prop->len); in prop2cfg()
275 value[prop->len]='\0'; in prop2cfg()
280 BTIF_STORAGE_KEY_ADAPTER_SCANMODE, *(int*)prop->val); in prop2cfg()
[all …]
Dbtif_core.c80 bt_property_t prop; member
565 bt_property_t prop; in btif_enable_bluetooth_evt() local
592 prop.type = BT_PROPERTY_BDADDR; in btif_enable_bluetooth_evt()
593 prop.val = (void*)buf; in btif_enable_bluetooth_evt()
594 prop.len = sizeof(bt_bdaddr_t); in btif_enable_bluetooth_evt()
595 HAL_CBACK(bt_hal_cbacks, adapter_properties_cb, BT_STATUS_SUCCESS, 1, &prop); in btif_enable_bluetooth_evt()
995 bt_property_t *p_prop = &(p_req->write_req.prop); in execute_storage_request()
1007 bt_property_t prop; in execute_storage_request() local
1008 prop.type = p_req->read_req.type; in execute_storage_request()
1009 prop.val = (void*)buf; in execute_storage_request()
[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 …]
/external/qemu/elff/
Ddwarf_cu.cc55 const Elf_Byte* DwarfCU::process_attrib(const Elf_Byte* prop, in process_attrib() argument
72 attr_value->block.block_size = *prop; in process_attrib()
73 attr_value->block.block_ptr = prop + 1; in process_attrib()
84 elf_file_->pull_val(reinterpret_cast<const Elf_Half*>(prop)); in process_attrib()
85 attr_value->block.block_ptr = prop + 2; in process_attrib()
96 elf_file_->pull_val(reinterpret_cast<const Elf_Word*>(prop)); in process_attrib()
97 attr_value->block.block_ptr = prop + 4; in process_attrib()
106 reinterpret_cast<const Dwarf_Leb128*>(prop)->process_unsigned(&leb128); in process_attrib()
109 attr_value->block.block_ptr = prop + leb128.encoded_size; in process_attrib()
120 attr_value->u8 = *prop; in process_attrib()
[all …]
/external/webkit/Source/WebCore/rendering/style/
DKeyframeList.h46 void addProperty(int prop) { m_properties.add(prop); } in addProperty() argument
47 bool containsProperty(int prop) const { return m_properties.contains(prop); } in containsProperty() argument
80 void addProperty(int prop) { m_properties.add(prop); } in addProperty() argument
81 bool containsProperty(int prop) const { return m_properties.contains(prop); } in containsProperty() argument
/external/skia/src/core/
DSkUtilsArm.cpp58 char prop[PROP_VALUE_MAX]; local
59 if (__system_property_get(PROP_NAME, prop) > 0) {
63 const char* prop = getenv(PROP_NAME);
64 if (prop != NULL) {
66 SkDebugf("%s: %s", PROP_NAME, prop);
67 if (!strcmp(prop, "1")) {
71 if (!strcmp(prop, "0")) {
/external/harfbuzz/tests/linebreaking/
Dharfbuzz-qt.cpp64 const QUnicodeTables::Properties *prop = QUnicodeTables::properties(ch); in HB_GetWordClass() local
65 return (HB_WordClass) prop->wordBreak; in HB_GetWordClass()
71 const QUnicodeTables::Properties *prop = QUnicodeTables::properties(ch); in HB_GetSentenceClass() local
72 return (HB_SentenceClass) prop->sentenceBreak; in HB_GetSentenceClass()
77 const QUnicodeTables::Properties *prop = QUnicodeTables::properties(ch); in HB_GetGraphemeAndLineBreakClass() local
78 *grapheme = (HB_GraphemeClass) prop->graphemeBreak; in HB_GetGraphemeAndLineBreakClass()
79 *lineBreak = (HB_LineBreakClass) prop->line_break_class; in HB_GetGraphemeAndLineBreakClass()
/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;
39 // CHECK: [indexDeclaration]: kind: objc-instance-method | name: prop | {{.*}} | loc: 3:2
40 // CHECK: [indexDeclaration]: kind: objc-property | name: prop | {{.*}} | loc: 2:25
43 // CHECK: [indexDeclaration]: kind: objc-property | name: prop | {{.*}} | loc: 7:33
46 // CHECK: [indexDeclaration]: kind: objc-instance-method | name: prop | {{.*}} | loc: 11:13 | {{.*}…
/external/libxslt/libxslt/
Dxslt.c1152 *prop; in xsltParseStylesheetOutput() local
1159 prop = xmlGetNsProp(cur, (const xmlChar *) "version", NULL); in xsltParseStylesheetOutput()
1160 if (prop != NULL) { in xsltParseStylesheetOutput()
1163 style->version = prop; in xsltParseStylesheetOutput()
1166 prop = xmlGetNsProp(cur, (const xmlChar *) "encoding", NULL); in xsltParseStylesheetOutput()
1167 if (prop != NULL) { in xsltParseStylesheetOutput()
1170 style->encoding = prop; in xsltParseStylesheetOutput()
1176 prop = xmlGetNsProp(cur, (const xmlChar *) "method", NULL); in xsltParseStylesheetOutput()
1177 if (prop != NULL) { in xsltParseStylesheetOutput()
1190 URI = xsltGetQNameURI(cur, &prop); in xsltParseStylesheetOutput()
[all …]
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DSignedObjectTest.java36 Properties prop; in testSignedObject() local
46 prop = new Properties(); in testSignedObject()
47 prop.put("aaa", "bbb"); in testSignedObject()
49 SignedObject so = new SignedObject(prop, tkp.getPrivate(), sig); in testSignedObject()
52 assertEquals(prop, so.getObject()); in testSignedObject()
/external/clang/test/SemaObjC/
Dtentative-property-decl.m17 @property(nonatomic, copy, readonly) NSString *prop; property
22 @property(nonatomic, copy, readwrite) NSString *prop;
26 @synthesize prop;
32 @property(nonatomic, copy, readonly) NSString *prop; property
40 @property(nonatomic, copy, readwrite) NSString *prop;
44 @synthesize prop;
Darc-system-header.m41 // workaround expected-note 4 {{marked unavailable here}} expected-note 2 {{property 'prop' is decl…
43 …*p.prop = 0; // expected-error {{'prop' is unavailable: this system declaration uses an unsupporte…
44 …p.prop = 0; // expected-error {{'prop' is unavailable: this system declaration uses an unsupported…
45 …*[p prop] = 0; // expected-error {{'prop' is unavailable: this system declaration uses an unsuppor…
/external/icu4c/tools/toolutil/
Dppucd.cpp263 int32_t prop; member
298 int32_t prop=pnames->getPropertyEnum(p); in parseProperty() local
299 if(prop<0) { in parseProperty()
306 prop=ppucdProperties[i].prop; in parseProperty()
307 U_ASSERT(prop>=0); in parseProperty()
312 if(prop<UCHAR_BINARY_LIMIT) { in parseProperty()
314 props.binProps[prop]=(UBool)binaryValue; in parseProperty()
330 } else if (prop < UCHAR_INT_START) { in parseProperty()
333 prop, (long)lineNumber); in parseProperty()
335 } else if(prop<UCHAR_INT_LIMIT) { in parseProperty()
[all …]
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regress/
Dregress-7703.js55 for (prop in object) {
56 var x = object[prop];
71 for (prop in object) {
72 types_2[types_2.length] = (typeof object[prop]);
/external/webkit/Source/WebCore/bindings/js/
DJSCSSStyleDeclarationCustom.cpp160 String prop = cssPropertyName(propertyName, &pixelOrPos); in nameGetter() local
161 RefPtr<CSSValue> v = thisObj->impl()->getPropertyCSSValue(prop); in nameGetter()
173 …ThatMasqueradesAsUndefined::create(exec, stringToUString(thisObj->impl()->getPropertyValue(prop))); in nameGetter()
175 return jsString(exec, thisObj->impl()->getPropertyValue(prop)); in nameGetter()
182 String prop = cssPropertyName(propertyName, &pixelOrPos); in putDelegate() local
183 if (!CSSStyleDeclaration::isPropertyName(prop)) in putDelegate()
190 impl()->setProperty(prop, propValue, ec); in putDelegate()

12345678910