/third_party/libinput/test/ |
H A D | test-utils.c | 33 #include "util-prop-parsers.h" 440 char *prop; in START_TEST() member 460 for (i = 0; tests[i].prop != NULL; i++) { in START_TEST() 463 success = parse_calibration_property(tests[i].prop, in START_TEST() 561 const char *prop; in START_TEST() member 589 { .prop = "", .success = false }, in START_TEST() 590 { .prop = "+", .success = false }, in START_TEST() 591 { .prop = "-", .success = false }, in START_TEST() 592 { .prop = "!", .success = false }, in START_TEST() 593 { .prop in START_TEST() 639 const char *prop; START_TEST() member 687 const char *prop; START_TEST() member [all...] |
/third_party/lzma/CPP/7zip/Bundles/SFXSetup/ |
H A D | ExtractCallbackSfx.cpp | 106 NCOM::CPropVariant prop;
in GetStream() local 107 RINOK(_archiveHandler->GetProperty(index, kpidPath, &prop))
in GetStream() 108 if (prop.vt == VT_EMPTY)
in GetStream() 112 if (prop.vt != VT_BSTR)
in GetStream() 114 fullPath.SetFromBstr(prop.bstrVal);
in GetStream() 121 NCOM::CPropVariant prop;
in GetStream() local 122 RINOK(_archiveHandler->GetProperty(index, kpidAttrib, &prop))
in GetStream() 123 if (prop.vt == VT_EMPTY)
in GetStream() 127 if (prop.vt != VT_UI4)
in GetStream() 129 _processedFileInfo.Attributes = prop in GetStream() [all...] |
/third_party/lzma/CPP/7zip/Archive/7z/ |
H A D | 7zHandlerOut.cpp | 304 NCOM::CPropVariant prop;
in GetTime() local 305 RINOK(updateCallback->GetProperty(index, propID, &prop))
in GetTime() 306 if (prop.vt == VT_FILETIME)
in GetTime() 308 ft = prop.filetime.dwLowDateTime | ((UInt64)prop.filetime.dwHighDateTime << 32);
in GetTime() 311 else if (prop.vt != VT_EMPTY)
in GetTime() 489 NCOM::CPropVariant prop;
in UpdateItems() local 490 RINOK(updateCallback->GetProperty(i, kpidAttrib, &prop))
in UpdateItems() 491 if (prop.vt == VT_EMPTY)
in UpdateItems() 493 else if (prop in UpdateItems() 522 NCOM::CPropVariant prop; UpdateItems() local 536 NCOM::CPropVariant prop; UpdateItems() local 550 NCOM::CPropVariant prop; UpdateItems() local 667 NCOM::CPropVariant prop; UpdateItems() local 940 PROPVARIANT_to_BoolPair(const PROPVARIANT &prop, CBoolPair &dest) PROPVARIANT_to_BoolPair() argument [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | CharacterPropertiesImpl.java | 88 private static UnicodeSet getIntPropInclusions(int prop) { in getIntPropInclusions() argument 89 assert(UProperty.INT_START <= prop && prop < UProperty.INT_LIMIT); in getIntPropInclusions() 90 int inclIndex = UCharacterProperty.SRC_COUNT + prop - UProperty.INT_START; in getIntPropInclusions() 94 int src = UCharacterProperty.INSTANCE.getSource(prop); in getIntPropInclusions() 104 int value = UCharacter.getIntPropertyValue(c, prop); in getIntPropInclusions() 119 public static synchronized UnicodeSet getInclusionsForProperty(int prop) { in getInclusionsForProperty() argument 120 if (UProperty.INT_START <= prop && prop < UProperty.INT_LIMIT) { in getInclusionsForProperty() 121 return getIntPropInclusions(prop); in getInclusionsForProperty() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | CharacterPropertiesImpl.java | 86 private static UnicodeSet getIntPropInclusions(int prop) { in getIntPropInclusions() argument 87 assert(UProperty.INT_START <= prop && prop < UProperty.INT_LIMIT); in getIntPropInclusions() 88 int inclIndex = UCharacterProperty.SRC_COUNT + prop - UProperty.INT_START; in getIntPropInclusions() 92 int src = UCharacterProperty.INSTANCE.getSource(prop); in getIntPropInclusions() 102 int value = UCharacter.getIntPropertyValue(c, prop); in getIntPropInclusions() 117 public static synchronized UnicodeSet getInclusionsForProperty(int prop) { in getInclusionsForProperty() argument 118 if (UProperty.INT_START <= prop && prop < UProperty.INT_LIMIT) { in getInclusionsForProperty() 119 return getIntPropInclusions(prop); in getInclusionsForProperty() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | objectLiteralExcessProperties.js | 42 const obj2: T & { prop: boolean } = { name: "test", prop: true }; property 44 const obj3: T | { prop: boolean } = { name: "test", prop: true }; property 46 const obj4: T & { prop: boolean } | { name: string } = { name: "test", prop: true }; property 71 var obj2 = { name: "test", prop: true };
73 var obj3 = { name: "test", prop: true };
75 var obj4 = { name: "test", prop: true };
|
H A D | superInObjectLiterals_ES6.js | 10 get prop() { 14 set prop(value) { 42 get prop() { 46 set prop(value) { 71 get prop() {
75 set prop(value) {
101 get prop() {
105 set prop(value) {
|
H A D | privateNameAccessorsAccess.js | 3 get #prop() { return ""; } 4 set #prop(param: string) { } 7 console.log(this.#prop); 9 a.#prop; 11 a.#prop; 15 new A2().#prop; // Error 18 new A2().#prop; // Error 23 new A2().#prop;
|
H A D | privateNameStaticAccessorsAccess.js | 4 static get #prop() { return ""; } 5 static set #prop(param: string) { } 8 console.log(A2.#prop); 10 a.#prop; 12 a.#prop; 17 A2.#prop; // Error 20 A2.#prop; // Error 25 A2.#prop;
|
H A D | narrowingOfDottedNames.js | 5 prop!: { a: string; }; 9 prop!: { b: string; } 23 x.prop.a; 26 x.prop.b; 34 x.prop.a; 37 x.prop.b; 131 x.prop.a;
134 x.prop.b;
141 x.prop.a;
144 x.prop [all...] |
H A D | tsxStatelessFunctionComponents1.js | 12 function MeetAndGreet(k: {"prop-name": string}) { 18 let a1 = <Greet name='world' extra-prop />; 24 let c1 = <Meet extra-prop/>; 33 let g = <MeetAndGreet prop-name="Bob" />; 35 let h = <MeetAndGreet extra-prop-name="World" />; 52 let j2 = <EmptyPropSFC data-prop /> 74 var a1 = <Greet name='world' extra-prop/>;
79 var c1 = <Meet extra-prop/>;
87 var g = <MeetAndGreet prop-name="Bob"/>;
89 var h = <MeetAndGreet extra-prop [all...] |
H A D | commentsOnObjectLiteral3.js | 4 prop: 1 /* multiple trailing comments */ /*trailing comments*/, 12 return this.prop; 16 this.prop = value; 24 prop: 1 /* multiple trailing comments */ /*trailing comments*/,
32 return this.prop;
36 this.prop = value;
|
H A D | contextuallyTypedBindingInitializer.js | 15 prop: [string, number]; 17 function g({ prop = ["hello", 1234] }: Tuples) {} 20 prop: "foo" | "bar"; 22 function h({ prop = "foo" }: StringUnion) {} 46 var _b = _a.prop, prop = _b === void 0 ? ["hello", 1234] : _b;
49 var _b = _a.prop, prop = _b === void 0 ? "foo" : _b;
|
H A D | contextuallyTypedBindingInitializerNegative.js | 20 prop: [string, number]; 22 function g({ prop = [101, 1234] }: Tuples) {} 25 prop: "foo" | "bar"; 27 function h({ prop = "baz" }: StringUnion) {} 45 var _b = _a.prop, prop = _b === void 0 ? [101, 1234] : _b;
48 var _b = _a.prop, prop = _b === void 0 ? "baz" : _b;
|
H A D | tsxStatelessFunctionComponentsWithTypeArguments3.js | 5 declare function OverloadComponent<U>(attr: {b: U, a?: string, "ignore-prop": boolean}): JSX.Element; 10 let a0 = <OverloadComponent {...arg1} a="hello" ignore-prop />; 13 let a3 = <OverloadComponent {...arg1} ignore-prop />; 15 let a5 = <OverloadComponent {...arg2} ignore-prop="hello" {...arg1} />; 16 let a6 = <OverloadComponent {...arg2} ignore-prop {...arg1} />; 32 var a0 = <OverloadComponent {...arg1} a="hello" ignore-prop/>;
35 var a3 = <OverloadComponent {...arg1} ignore-prop/>;
37 var a5 = <OverloadComponent {...arg2} ignore-prop="hello" {...arg1}/>;
38 var a6 = <OverloadComponent {...arg2} ignore-prop {...arg1}/>;
|
H A D | typeGuardsObjectMethods.js | 24 get prop() { 34 set prop(param: string | number) { 50 strOrNum = typeof obj1.prop === "string" && obj1.prop;
71 get prop() {
79 set prop(param) {
92 strOrNum = typeof obj1.prop === "string" && obj1.prop;
|
/third_party/jerryscript/tests/unit-ext/ |
H A D | test-ext-module-empty.c | 44 jerry_value_t prop = jerry_get_property (module, prop_name); in main() local 47 TEST_ASSERT (jerry_value_is_string (prop)); in main() 49 bytes_copied = jerry_substring_to_utf8_char_buffer (prop, 0, 254, buffer, 256); in main() 54 jerry_release_value (prop); in main() 59 prop = jerry_get_property (module, prop_name); in main() 62 TEST_ASSERT (jerry_value_is_string (prop)); in main() 64 bytes_copied = jerry_substring_to_utf8_char_buffer (prop, 0, 254, buffer, 256); in main() 69 jerry_release_value (prop); in main()
|
/third_party/mesa3d/src/intel/genxml/ |
H A D | gen_bits_header.py | 69 <%def name="emit_per_gen_prop_func(item, prop, protect_defines)"> 70 %if item.has_prop(prop): 71 % for gen, value in sorted(item.iter_prop(prop), reverse=True): 73 #ifndef ${gen.prefix(item.token_name)}_${prop} 74 #define ${gen.prefix(item.token_name)}_${prop} ${value} 77 #define ${gen.prefix(item.token_name)}_${prop} ${value} 82 ${item.token_name}_${prop}(const struct intel_device_info *devinfo) 85 case 125: return ${item.get_prop(prop, 12.5)}; 86 case 120: return ${item.get_prop(prop, 12)}; 87 case 110: return ${item.get_prop(prop, 1 [all...] |
/third_party/lzma/CPP/7zip/UI/Common/ |
H A D | PropIDUtils.cpp | 132 void ConvertPropertyToShortString2(char *dest, const PROPVARIANT &prop, PROPID propID, int level) throw()
in ConvertPropertyToShortString2() argument 136 if (prop.vt == VT_FILETIME)
in ConvertPropertyToShortString2() 138 const FILETIME &ft = prop.filetime;
in ConvertPropertyToShortString2() 141 const unsigned prec = prop.wReserved1;
in ConvertPropertyToShortString2() 142 const unsigned ns100_Temp = prop.wReserved2;
in ConvertPropertyToShortString2() 146 && prop.wReserved3 == 0)
in ConvertPropertyToShortString2() 177 if (prop.vt != VT_UI4)
in ConvertPropertyToShortString2() 179 ConvertUInt32ToHex8Digits(prop.ulVal, dest);
in ConvertPropertyToShortString2() 184 if (prop.vt != VT_UI4)
in ConvertPropertyToShortString2() 186 const UInt32 a = prop in ConvertPropertyToShortString2() 251 ConvertPropertyToString2(UString &dest, const PROPVARIANT &prop, PROPID propID, int level) ConvertPropertyToString2() argument [all...] |
H A D | UpdateCallback.cpp | 170 NCOM::CPropVariant prop;
in GetRootProp() local 173 case kpidIsDir: prop = true; break;
in GetRootProp() 174 case kpidAttrib: if (ParentDirItem) prop = ParentDirItem->GetWinAttrib(); break;
in GetRootProp() 175 case kpidCTime: if (ParentDirItem) PropVariant_SetFrom_FiTime(prop, ParentDirItem->CTime); break;
in GetRootProp() 176 case kpidATime: if (ParentDirItem) PropVariant_SetFrom_FiTime(prop, ParentDirItem->ATime); break;
in GetRootProp() 177 case kpidMTime: if (ParentDirItem) PropVariant_SetFrom_FiTime(prop, ParentDirItem->MTime); break;
in GetRootProp() 178 case kpidArcFileName: if (!ArcFileName.IsEmpty()) prop = ArcFileName; break;
in GetRootProp() 180 prop.Detach(value);
in GetRootProp() 361 NCOM::CPropVariant prop;
in GetProperty() local 368 prop in GetProperty() [all...] |
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | Preferences.java | 24 private static Properties prop; field in Preferences 33 if (prop == null) init(); in getPreference() 34 Object o = prop.get(name); in getPreference() 47 if (prop == null) init(); in setPreference() 50 prop.remove(name); in setPreference() 52 prop.put(name, value); in setPreference() 61 if (prop == null) init(); in savePreferences() 63 prop.store(fos, "RBManager Preferences"); in savePreferences() 140 if (prop == null) init(); in getRecentFilesPreferences() 160 prop in init() [all...] |
/third_party/lzma/CPP/7zip/Archive/Common/ |
H A D | HandlerOut.cpp | 13 bool ParseSizeString(const wchar_t *s, const PROPVARIANT &prop, UInt64 percentsBase, UInt64 &res)
in ParseSizeString() argument 17 switch (prop.vt)
in ParseSizeString() 19 case VT_UI4: res = prop.ulVal; return true;
in ParseSizeString() 20 case VT_UI8: res = prop.uhVal.QuadPart; return true;
in ParseSizeString() 22 s = prop.bstrVal;
in ParseSizeString() 27 else if (prop.vt != VT_EMPTY)
in ParseSizeString() 287 static HRESULT PROPVARIANT_to_BoolPair(const PROPVARIANT &prop, CBoolPair &dest)
in PROPVARIANT_to_BoolPair() argument 289 RINOK(PROPVARIANT_to_bool(prop, dest.Val))
in PROPVARIANT_to_BoolPair() 294 HRESULT CHandlerTimeOptions::Parse(const UString &name, const PROPVARIANT &prop, bool &processed)
in Parse() argument 297 if (name.IsEqualTo_Ascii_NoCase("tm")) { return PROPVARIANT_to_BoolPair(prop, Write_MTim in Parse() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | uprops.cpp | 160 typedef UBool BinaryPropertyContains(const BinaryProperty &prop, UChar32 c, UProperty which); 168 static UBool defaultContains(const BinaryProperty &prop, UChar32 c, UProperty /*which*/) { in defaultContains() argument 170 return (u_getUnicodeProperties(c, prop.column)&prop.mask)!=0; in defaultContains() 173 static UBool caseBinaryPropertyContains(const BinaryProperty &/*prop*/, UChar32 c, UProperty which) { in caseBinaryPropertyContains() 177 static UBool isBidiControl(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isBidiControl() 181 static UBool isMirrored(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isMirrored() 185 static UBool isJoinControl(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in isJoinControl() 194 static UBool hasFullCompositionExclusion(const BinaryProperty &/*prop*/, UChar32 c, UProperty /*which*/) { in hasFullCompositionExclusion() 208 static UBool isNormInert(const BinaryProperty &/*prop*/, UChar3 370 isIDCompatMathContinue(const BinaryProperty &prop, UChar32 c, UProperty ) isIDCompatMathContinue() argument 471 const BinaryProperty &prop=binProps[which]; u_hasBinaryProperty() local 522 defaultGetValue(const IntProperty &prop, UChar32 c, UProperty ) defaultGetValue() argument 527 defaultGetMaxValue(const IntProperty &prop, UProperty ) defaultGetMaxValue() argument 531 getMaxValueFromShift(const IntProperty &prop, UProperty ) getMaxValueFromShift() argument 715 const BinaryProperty &prop=binProps[which]; u_getIntPropertyValue() local 719 const IntProperty &prop=intProps[which-UCHAR_INT_START]; u_getIntPropertyValue() local 739 const IntProperty &prop=intProps[which-UCHAR_INT_START]; u_getIntPropertyMaxValue() local 750 const BinaryProperty &prop=binProps[which]; uprops_getSource() local 759 const IntProperty &prop=intProps[which-UCHAR_INT_START]; uprops_getSource() local [all...] |
/third_party/jerryscript/tests/jerry/es2015/ |
H A D | proxy_has.js | 62 has: function(target, prop) { 63 return prop == "present"; 78 has: function(target, prop) { 79 if (prop[0] === 'f') { 82 return prop in target; 129 has: function(target, prop) { 130 return prop in target; 142 Object.defineProperty(target, "prop", { 148 has: function(target, prop) { 156 'prop' i [all...] |
/third_party/node/test/js-native-api/test_constructor/ |
H A D | test_null.c | 15 const napi_property_descriptor prop = in TestDefineClass() local 30 &prop, in TestDefineClass() 39 &prop, in TestDefineClass() 44 env, "TestClass", 0, TestConstructor, &some_data, 1, &prop, &cons); in TestDefineClass() 48 env, "TestClass", NAPI_AUTO_LENGTH, NULL, &some_data, 1, &prop, &cons); in TestDefineClass() 57 &prop, in TestDefineClass() 67 &prop, in TestDefineClass() 87 &prop, in TestDefineClass()
|