Home
last modified time | relevance | path

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

123456789

/external/v8/test/mjsunit/
Dundeletable-functions.js143 function CheckDeletable(type, prop) { argument
144 var old = type[prop];
146 if (!type[prop]) return;
147 assertTrue(type.hasOwnProperty(prop), "inherited: " + prop);
148 var deleted = delete type[prop];
149 assertTrue(deleted, "delete operator returned false: " + prop);
150 assertFalse(hasOwnProperty.call(type, prop), "still there after delete: " + prop);
151 type[prop] = "foo";
152 assertEquals("foo", type[prop], "not overwritable: " + prop);
153 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/pcre/
Dpcre_xclass.c106 const ucd_record *prop = GET_UCD(c); in _pcre_xclass() local
115 if ((prop->chartype == ucp_Lu || prop->chartype == ucp_Ll || in _pcre_xclass()
116 prop->chartype == ucp_Lt) == (t == XCL_PROP)) return !negated; in _pcre_xclass()
120 if ((data[1] == _pcre_ucp_gentype[prop->chartype]) == (t == XCL_PROP)) in _pcre_xclass()
125 if ((data[1] == prop->chartype) == (t == XCL_PROP)) return !negated; in _pcre_xclass()
129 if ((data[1] == prop->script) == (t == XCL_PROP)) return !negated; in _pcre_xclass()
133 if ((_pcre_ucp_gentype[prop->chartype] == ucp_L || in _pcre_xclass()
134 _pcre_ucp_gentype[prop->chartype] == ucp_N) == (t == XCL_PROP)) in _pcre_xclass()
139 if ((_pcre_ucp_gentype[prop->chartype] == ucp_Z || in _pcre_xclass()
146 if ((_pcre_ucp_gentype[prop->chartype] == ucp_Z || in _pcre_xclass()
[all …]
Dpcre_dfa_exec.c983 const ucd_record * prop = GET_UCD(c); in internal_dfa_exec() local
991 OK = prop->chartype == ucp_Lu || prop->chartype == ucp_Ll || in internal_dfa_exec()
992 prop->chartype == ucp_Lt; in internal_dfa_exec()
996 OK = _pcre_ucp_gentype[prop->chartype] == code[2]; in internal_dfa_exec()
1000 OK = prop->chartype == code[2]; in internal_dfa_exec()
1004 OK = prop->script == code[2]; in internal_dfa_exec()
1010 OK = _pcre_ucp_gentype[prop->chartype] == ucp_L || in internal_dfa_exec()
1011 _pcre_ucp_gentype[prop->chartype] == ucp_N; in internal_dfa_exec()
1015 OK = _pcre_ucp_gentype[prop->chartype] == ucp_Z || in internal_dfa_exec()
1020 OK = _pcre_ucp_gentype[prop->chartype] == ucp_Z || in internal_dfa_exec()
[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()
319 typedef int32_t IntPropertyGetValue(const IntProperty &prop, UChar32 c, UProperty which);
320 typedef int32_t IntPropertyGetMaxValue(const IntProperty &prop, UProperty which);
330 static int32_t defaultGetValue(const IntProperty &prop, UChar32 c, UProperty /*which*/) { in defaultGetValue() argument
332 return (int32_t)(u_getUnicodeProperties(c, prop.column)&prop.mask)>>prop.shift; in defaultGetValue()
335 static int32_t defaultGetMaxValue(const IntProperty &prop, UProperty /*which*/) { in defaultGetMaxValue() argument
[all …]
/external/icu4c/tools/genpname/
Dpreparse.pl246 for my $prop (sort keys %$h) {
247 my $hh = $h->{$prop};
304 for my $prop (sort keys %$h) {
305 my $hh = $h->{$prop};
356 for my $prop (sort keys %$h) {
357 next if ($prop =~ /^_/);
358 my $vh = $h->{$prop};
361 print "const int32_t VALUES_${prop}_COUNT = ",
364 print "const $ALIAS_CLASS VALUES_${prop}\[] = {\n";
529 for my $prop (keys %$va) {
[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/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/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/ipsec-tools/src/racoon/
Dipsec_doi.c204 struct isakmp_pl_p *prop = pair->prop; local
209 prop->p_no, s_ipsecdoi_proto(prop->proto_id),
210 prop->spi_size, prop->num_t);
213 trns->t_no, s_ipsecdoi_trns(prop->proto_id, trns->t_id));
267 struct isakmp_pl_p *prop = p->prop; local
910 if (p->prop->p_no != r->prop->p_no) {
914 r->prop->p_no, p->prop->p_no);
918 if (p->prop->proto_id != r->prop->proto_id) {
921 r->prop->proto_id, p->prop->proto_id);
925 if (p->prop->spi_size != r->prop->spi_size) {
[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()
/external/chromium/base/debug/
Dtrace_event_win_unittest.cc118 EtwTraceProperties prop; in SetUp() local
119 ASSERT_HRESULT_SUCCEEDED(prop.SetLoggerFileName(log_file_.value().c_str())); in SetUp()
120 EVENT_TRACE_PROPERTIES& p = *prop.get(); in SetUp()
135 ASSERT_HRESULT_SUCCEEDED(controller_.Start(kTestSessionName, &prop)); in SetUp()
152 EtwTraceProperties prop; in TearDown() local
154 EXPECT_HRESULT_SUCCEEDED(controller_.Stop(&prop)); in TearDown()
187 EtwTraceProperties prop; in PlayLog() local
188 EXPECT_HRESULT_SUCCEEDED(controller_.Flush(&prop)); in PlayLog()
189 EXPECT_HRESULT_SUCCEEDED(controller_.Stop(&prop)); in PlayLog()
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/RegExp/
D15.10.4.1-1.js89 for (prop in obj2)
91 msg = status + quote(prop);
92 actual = obj2[prop];
93 expect = obj1[prop];
D15.10.4.1-2.js95 for (prop in obj2)
97 msg = status + quote(prop);
98 actual = obj2[prop];
99 expect = obj1[prop];
/external/clang/lib/StaticAnalyzer/Core/
DObjCMessage.cpp57 const ObjCPropertyDecl *prop = propE->getExplicitProperty(); in getMethodFamily() local
59 if (prop->getSetterMethodDecl()) in getMethodFamily()
60 return prop->getSetterMethodDecl()->getMethodFamily(); in getMethodFamily()
61 return prop->getSetterName().getMethodFamily(); in getMethodFamily()
63 if (prop->getGetterMethodDecl()) in getMethodFamily()
64 return prop->getGetterMethodDecl()->getMethodFamily(); in getMethodFamily()
65 return prop->getGetterName().getMethodFamily(); in getMethodFamily()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/serialization/
DSignedObjectTest.java47 private Properties prop; field in SignedObjectTest
60 prop = new Properties(); in getData()
61 prop.put("aaa", "bbb"); in getData()
64 o = new SignedObject(prop, tkp.getPrivate(), sig); in getData()
84 assertEquals(test.getObject(), prop); in assertDeserialized() local

123456789