/third_party/typescript/tests/baselines/reference/ |
H A D | numericIndexerConstraint1.js | 4 var result: Foo = x["one"]; // error variable 15 var result = x["one"]; // error
variable
|
/third_party/skia/docs/examples/ |
H A D | Bitmap_rowBytes.cpp | 9 bool result = bitmap.setInfo(SkImageInfo::MakeA8(4, 4), rowBytes); in REG_FIDDLE() local 11 result ? "true " : "false", bitmap.rowBytes()); in REG_FIDDLE()
|
/third_party/elfutils/tests/ |
H A D | backtrace.c | 350 int result = dwfl_linux_proc_report (dwfl, pid); in report_pid() local 351 if (result < 0) in report_pid() 353 else if (result > 0) in report_pid() 354 error (2, result, "dwfl_linux_proc_report"); in report_pid() 359 result = dwfl_linux_proc_attach (dwfl, pid, true); in report_pid() 360 if (result < 0) in report_pid() 362 else if (result > 0) in report_pid() 363 error (2, result, "dwfl_linux_proc_attach"); in report_pid()
|
/third_party/gn/src/base/ |
H A D | stl_util.h | 104 ResultType result; in STLSetUnion() local 106 std::inserter(result, result.end())); in STLSetUnion() 107 return result; in STLSetUnion() 116 ResultType result; in STLSetIntersection() local 118 std::inserter(result, result.end())); in STLSetIntersection() 119 return result; in STLSetIntersection()
|
/third_party/alsa-utils/seq/aseqnet/ |
H A D | aseqnet.c | 350 struct addrinfo *result, *rp; in init_server() local 361 if (getaddrinfo(NULL, port, &hints, &result) < 0) { in init_server() 365 for (rp = result; rp != NULL; rp = rp->ai_next) { in init_server() 388 freeaddrinfo(result); in init_server() 435 struct addrinfo *result, *rp; in init_client() local 446 if (getaddrinfo(server, port, &hints, &result) < 0) { in init_client() 450 for (rp = result; rp != NULL; rp = rp->ai_next) { in init_client() 473 freeaddrinfo(result); in init_client()
|
/third_party/backends/backend/ |
H A D | pie-scsidef.h | 73 unsigned int result = 0; in getnbyte() local 77 result = (result << 8) | (pnt[i] & 0xff); in getnbyte() 78 return result; in getnbyte() 85 unsigned int result = 0; in getnbyte1() local 89 result = (result << 8) | (pnt[i] & 0xff); in getnbyte1() 90 return result; in getnbyte1()
|
/third_party/curl/lib/ |
H A D | dynhds.c | 170 CURLcode result = CURLE_OUT_OF_MEMORY; in Curl_dynhds_add() local 203 result = CURLE_OK; in Curl_dynhds_add() 208 return result; in Curl_dynhds_add() 355 CURLcode result = CURLE_OK; in Curl_dynhds_h1_dprint() local 359 return result; in Curl_dynhds_h1_dprint() 362 result = Curl_dyn_addf(dbuf, "%.*s: %.*s\r\n", in Curl_dynhds_h1_dprint() 365 if(result) in Curl_dynhds_h1_dprint() 369 return result; in Curl_dynhds_h1_dprint()
|
H A D | getinfo.c | 582 CURLcode result = CURLE_UNKNOWN_OPTION; in Curl_getinfo() local 594 result = getinfo_char(data, info, param_charp); in Curl_getinfo() 599 result = getinfo_long(data, info, param_longp); in Curl_getinfo() 604 result = getinfo_double(data, info, param_doublep); in Curl_getinfo() 609 result = getinfo_offt(data, info, param_offt); in Curl_getinfo() 614 result = getinfo_slist(data, info, param_slistp); in Curl_getinfo() 619 result = getinfo_socket(data, info, param_socketp); in Curl_getinfo() 627 return result; in Curl_getinfo()
|
/third_party/gn/src/gn/ |
H A D | scope_unittest.cc | 256 std::unique_ptr<Scope> result = setup.scope()->MakeClosure(); in TEST() local 257 EXPECT_FALSE(result->containing()); // Should have no containing scope. in TEST() 258 EXPECT_TRUE(result->GetValue("on_root")); // Value should be copied. in TEST() 261 result = nested2.MakeClosure(); in TEST() 263 result->containing()); // Containing scope should be the root. in TEST() 264 EXPECT_TRUE(HasStringValueEqualTo(result.get(), "on_root", "on_root")); in TEST() 265 EXPECT_TRUE(HasStringValueEqualTo(result.get(), "on_one", "on_two")); in TEST() 266 EXPECT_TRUE(HasStringValueEqualTo(result.get(), "on_two", "on_two2")); in TEST()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | astrotst.cpp | 104 CalendarAstronomer::Equatorial result; in TestSolarLongitude() local 105 astro->getSunPosition(result); in TestSolarLongitude() 106 logln((UnicodeString)"Sun position is " + result.toString() + (UnicodeString)"; " /* + result.toHmsString()*/ + " Sun longitude is " + longitude ); in TestSolarLongitude() 129 const CalendarAstronomer::Equatorial& result = astro->getMoonPosition(); in TestLunarPosition() local 130 logln((UnicodeString)"Moon position is " + result.toString() + (UnicodeString)"; " /* + result->toHmsString()*/); in TestLunarPosition() 144 CalendarAstronomer::Equatorial result; in TestCoordinates() local 145 astro->eclipticToEquatorial(result, 139.686111 * CalendarAstronomer::PI / 180.0, 4.875278* CalendarAstronomer::PI / 180.0); in TestCoordinates() 146 logln((UnicodeString)"result i in TestCoordinates() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | BasicTimeZone.java | 211 * of this time zone object. The first element in the result array will 226 * element in the result array will be the <code>InitialTimeZoneRule</code> 381 * specified date. Thus, the result may be only valid for dates around the 421 // even raw offset is changed. This will result that the result in getSimpleTimeZoneRulesNear() 524 TimeZoneRule[] result = null; in getSimpleTimeZoneRulesNear() 526 result = new TimeZoneRule[1]; in getSimpleTimeZoneRulesNear() 527 result[0] = initialRule; in getSimpleTimeZoneRulesNear() 529 result = new TimeZoneRule[3]; in getSimpleTimeZoneRulesNear() 530 result[ in getSimpleTimeZoneRulesNear() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
H A D | TrieTest.java | 318 RangeValueIterator.Element result = new RangeValueIterator.Element(); in _testTrieRanges() 319 while (iter.next(result)) { in _testTrieRanges() 320 if (result.start != checkRanges[enumRanges -1].limit in _testTrieRanges() 321 || result.limit != checkRanges[enumRanges].limit in _testTrieRanges() 322 || (result.value ^ 0x5555) != checkRanges[enumRanges].value) { in _testTrieRanges() 324 + Integer.toHexString(result.start) + "..U+" in _testTrieRanges() 325 + Integer.toHexString(result.limit) + "].0x" in _testTrieRanges() 326 + Integer.toHexString(result.value ^ 0x5555) in _testTrieRanges()
|
/third_party/icu/vendor/double-conversion/upstream/double-conversion/ |
H A D | string-to-double.cc | 106 // mean of 2 adjacent doubles (that could have up to 769 digits) the result 320 // result. in RadixStringToIeee() 414 double result = Double(DiyFp(number, exponent)).value(); in RadixStringToIeee() 415 return sign ? -result : result; in RadixStringToIeee() 537 double result = RadixStringToIeee<4>(¤t, 550 return result; 707 double result; 710 result = RadixStringToIeee<3>(&start, 721 return result; [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | DataDrivenNumberFormatTestData.java | 498 StringBuilder result = new StringBuilder(); in toString() 499 result.append("{"); in toString() 509 result.append(", "); in toString() 512 result.append(fieldName); in toString() 513 result.append(": "); in toString() 514 result.append(optionalValue); in toString() 523 result.append("}"); in toString() 524 return result.toString(); in toString()
|
H A D | PluralFormatUnitTest.java | 72 String result = numberFmt.format(n); in TestConstructor() 75 result, plFmts[k].format(n)); in TestConstructor() 83 String result = numberFmt.format(n*n); in TestConstructor() 87 TestFmwk.assertEquals("PluralFormat's output is not as expected", result, pfResult); in TestConstructor() 144 errln("Not defining plural case other should result in an " + in TestApplyPatternAndFormat() 158 errln("Defining a message for an invalid keyword should result in " + in TestApplyPatternAndFormat() 344 String result = pf.format(i); in TestExtendedPluralFormat() 345 assertEquals("PluralFormat.format(value " + i + ")", targets[i], result); in TestExtendedPluralFormat() 347 result = mf.format(args); in TestExtendedPluralFormat() 348 assertEquals("MessageFormat.format(value " + i + ")", targets[i], result); in TestExtendedPluralFormat() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
H A D | PluralFormatUnitTest.java | 74 String result = numberFmt.format(n); in TestConstructor() 77 result, plFmts[k].format(n)); in TestConstructor() 85 String result = numberFmt.format(n*n); in TestConstructor() 89 TestFmwk.assertEquals("PluralFormat's output is not as expected", result, pfResult); in TestConstructor() 146 errln("Not defining plural case other should result in an " + in TestApplyPatternAndFormat() 160 errln("Defining a message for an invalid keyword should result in " + in TestApplyPatternAndFormat() 346 String result = pf.format(i); in TestExtendedPluralFormat() 347 assertEquals("PluralFormat.format(value " + i + ")", targets[i], result); in TestExtendedPluralFormat() 349 result = mf.format(args); in TestExtendedPluralFormat() 350 assertEquals("MessageFormat.format(value " + i + ")", targets[i], result); in TestExtendedPluralFormat() [all...] |
H A D | ListFormatterTest.java | 233 FormattedList result = fmt.formatToValue(Arrays.asList(inputs)); in TestFormattedValue() 246 result, in TestFormattedValue() 292 String result = fmt1.format(Arrays.asList(inputs)); in TestCreateStyled() 293 assertEquals(message, expected, result); in TestCreateStyled() 295 result = fmt2.format(Arrays.asList(inputs)); in TestCreateStyled() 296 assertEquals(message, expected, result); in TestCreateStyled() 354 String result = fmt.format(inputs); in TestContextual() 355 assertEquals(message, expected, result); in TestContextual()
|
H A D | DataDrivenNumberFormatTestData.java | 501 StringBuilder result = new StringBuilder(); in toString() 502 result.append("{"); in toString() 512 result.append(", "); in toString() 515 result.append(fieldName); in toString() 516 result.append(": "); in toString() 517 result.append(optionalValue); in toString() 526 result.append("}"); in toString() 527 return result.toString(); in toString()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
H A D | TrieTest.java | 315 RangeValueIterator.Element result = new RangeValueIterator.Element(); in _testTrieRanges() 316 while (iter.next(result)) { in _testTrieRanges() 317 if (result.start != checkRanges[enumRanges -1].limit in _testTrieRanges() 318 || result.limit != checkRanges[enumRanges].limit in _testTrieRanges() 319 || (result.value ^ 0x5555) != checkRanges[enumRanges].value) { in _testTrieRanges() 321 + Integer.toHexString(result.start) + "..U+" in _testTrieRanges() 322 + Integer.toHexString(result.limit) + "].0x" in _testTrieRanges() 323 + Integer.toHexString(result.value ^ 0x5555) in _testTrieRanges()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | BasicTimeZone.java | 204 * of this time zone object. The first element in the result array will 217 * element in the result array will be the <code>InitialTimeZoneRule</code> 370 * specified date. Thus, the result may be only valid for dates around the 408 // even raw offset is changed. This will result that the result in getSimpleTimeZoneRulesNear() 511 TimeZoneRule[] result = null; in getSimpleTimeZoneRulesNear() 513 result = new TimeZoneRule[1]; in getSimpleTimeZoneRulesNear() 514 result[0] = initialRule; in getSimpleTimeZoneRulesNear() 516 result = new TimeZoneRule[3]; in getSimpleTimeZoneRulesNear() 517 result[ in getSimpleTimeZoneRulesNear() [all...] |
/third_party/icu/icu4c/source/i18n/ |
H A D | cpdtrans.cpp | 443 void CompoundTransliterator::handleGetSourceSet(UnicodeSet& result) const { in handleGetSourceSet() 445 result.clear(); in handleGetSourceSet() 447 result.addAll(trans[i]->getSourceSet(set)); in handleGetSourceSet() 456 if (!result.isEmpty()) { in handleGetSourceSet() 465 UnicodeSet& CompoundTransliterator::getTargetSet(UnicodeSet& result) const { in getTargetSet() 467 result.clear(); in getTargetSet() 470 result.addAll(trans[i]->getTargetSet(set)); in getTargetSet() 472 return result; in getTargetSet()
|
H A D | double-conversion-string-to-double.cpp | 127 // mean of 2 adjacent doubles (that could have up to 769 digits) the result 341 // result. in RadixStringToIeee() 435 double result = Double(DiyFp(number, exponent)).value(); in RadixStringToIeee() 436 return sign ? -result : result; in RadixStringToIeee() 558 double result = RadixStringToIeee<4>(¤t, 571 return result; 728 double result; 731 result = RadixStringToIeee<3>(&start, 742 return result; [all...] |
H A D | number_modifiers.cpp | 206 SimpleModifier::formatAsPrefixSuffix(FormattedStringBuilder &result, int32_t startIndex, int32_t endIndex, in formatAsPrefixSuffix() argument 210 return result.splice(startIndex, endIndex, fCompiledPattern, 2, 2 + fPrefixLength, fField, status); in formatAsPrefixSuffix() 213 result.insert(startIndex, fCompiledPattern, 2, 2 + fPrefixLength, fField, status); in formatAsPrefixSuffix() 216 result.insert( in formatAsPrefixSuffix() 230 SimpleModifier::formatTwoArgPattern(const SimpleFormatter& compiled, FormattedStringBuilder& result, in formatTwoArgPattern() argument 241 int32_t length = 0; // chars added to result in formatTwoArgPattern() 250 result.insert(index + length, compiledPattern, offset, offset + prefixLength, field, status); in formatTwoArgPattern() 263 result.insert(index + length, compiledPattern, offset, offset + infixLength, field, status); in formatTwoArgPattern() 276 result.insert(index + length, compiledPattern, offset, offset + suffixLength, field, status); in formatTwoArgPattern()
|
/third_party/lzma/CPP/Windows/ |
H A D | Shell.cpp | 556 const bool result = BOOLToBool(::SHGetPathFromIDList(itemIDList, path.GetBuf(len)));
in GetPathFromIDList() local 558 return result;
in GetPathFromIDList() 569 bool result = BOOLToBool(::SHGetPathFromIDList(itemIDList, path.GetBuf(len)));
in GetPathFromIDList() local 578 bool result = BOOLToBool(shGetPathFromIDListW(itemIDList, path.GetBuf(len)));
in GetPathFromIDList() 581 if (!result)
in GetPathFromIDList() 598 result = BOOLToBool(func_SHGetPathFromIDListEx(itemIDList, path.GetBuf(len), len, 0));
in GetPathFromIDList() 599 if (result)
in GetPathFromIDList() 607 return result;
in GetPathFromIDList()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
H A D | ecma-literal-storage.c | 206 jmem_cpointer_t result; in ecma_find_or_create_literal_string() local 207 JMEM_CP_SET_NON_NULL_POINTER (result, string_p); in ecma_find_or_create_literal_string() 211 *empty_cpointer_p = result; in ecma_find_or_create_literal_string() 219 new_item_p->values[0] = result; in ecma_find_or_create_literal_string() 284 jmem_cpointer_t result; in ecma_find_or_create_literal_number() local 285 JMEM_CP_SET_NON_NULL_POINTER (result, num_p); in ecma_find_or_create_literal_number() 289 *empty_cpointer_p = result; in ecma_find_or_create_literal_number() 296 new_item_p->values[0] = result; in ecma_find_or_create_literal_number()
|