/third_party/icu/icu4c/source/test/intltest/ |
H A D | tscoll.cpp | 128 IntlTestCollator::doTestVariant(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result) in doTestVariant() argument 144 reportCResult(source, target, srckey, tgtkey, compareResult, keyResult, result, result); in doTestVariant() 151 UCollationResult compareResultIter = (UCollationResult)result; in doTestVariant() 158 if(compareResultIter != (UCollationResult)result) { in doTestVariant() 159 errln("Different result for iterative comparison "+source+" "+target); in doTestVariant() 172 UCollationResult compareResultUTF8 = (UCollationResult)result, compareResultUTF8Norm = (UCollationResult)result; in doTestVariant() 195 log("UTF-8 strcoll failed! Ignoring result\n"); in doTestVariant() 210 UCollationResult partialSKResult = (UCollationResult)result, partialNormalizedSKResul in doTestVariant() 241 doTest(Collator* col, const UChar *source, const UChar *target, Collator::EComparisonResult result) doTest() argument 246 doTest(Collator* col, const UnicodeString &source, const UnicodeString &target, Collator::EComparisonResult result) doTest() argument 341 appendCompareResult(Collator::EComparisonResult result, UnicodeString& target) appendCompareResult() argument [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | brkiter.cpp | 68 RuleBasedBreakIterator *result = NULL; in buildInstance() local 119 result = new RuleBasedBreakIterator(file, uprv_strstr(type, "phrase") != NULL, status); in buildInstance() 121 // If there is a result, set the valid locale and actual locale, and the kind in buildInstance() 122 if (U_SUCCESS(status) && result != NULL) { in buildInstance() 123 U_LOCALE_BASED(locBased, *(BreakIterator*)result); in buildInstance() 130 if (U_FAILURE(status) && result != NULL) { // Sometimes redundant check, but simple in buildInstance() 131 delete result; in buildInstance() 135 if (result == NULL) { in buildInstance() 142 return result; in buildInstance() 378 BreakIterator *result in createInstance() local 413 BreakIterator *result = NULL; makeInstance() local [all...] |
/third_party/icu/tools/unicodetools/com/ibm/rbm/ |
H A D | RBReporterScanner.java | 73 ScanResult result = (ScanResult)elems.nextElement(); in getNumberUnusedResources() 74 if (result.getOccurances().size() < 1) count++; in getNumberUnusedResources() 91 ScanResult result = (ScanResult)elems.nextElement(); in getUnusedResources() 92 if (result.getOccurances().size() < 1) { in getUnusedResources() 93 v.addElement(result); in getUnusedResources() 196 Hashtable result = new Hashtable(); in getFileRules() 200 if (frules_elem == null) return result; in getFileRules() 206 result.put(elem.getAttribute("name"), frule); in getFileRules() 208 return result; in getFileRules() 212 Hashtable result in getParseRules() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
H A D | AstroTest.java | 67 Equatorial result = astro.getSunPosition(); in TestSolarLongitude() 68 if (result.ascension != tests[i][6]) { in TestSolarLongitude() 69 if ((float)result.ascension == (float)tests[i][6]) { in TestSolarLongitude() 70 logln("result.ascension(" + result.ascension + in TestSolarLongitude() 74 errln("FAIL: result.ascension(" + result.ascension + in TestSolarLongitude() 79 if (result.declination != tests[i][7]) { in TestSolarLongitude() 80 if ((float)result.declination == (float)tests[i][7]) { in TestSolarLongitude() 81 logln("result in TestSolarLongitude() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
H A D | AstroTest.java | 64 Equatorial result = astro.getSunPosition(); in TestSolarLongitude() 65 if (result.ascension != tests[i][6]) { in TestSolarLongitude() 66 if ((float)result.ascension == (float)tests[i][6]) { in TestSolarLongitude() 67 logln("result.ascension(" + result.ascension + in TestSolarLongitude() 71 errln("FAIL: result.ascension(" + result.ascension + in TestSolarLongitude() 76 if (result.declination != tests[i][7]) { in TestSolarLongitude() 77 if ((float)result.declination == (float)tests[i][7]) { in TestSolarLongitude() 78 logln("result in TestSolarLongitude() [all...] |
/third_party/mesa3d/src/freedreno/vulkan/ |
H A D | tu_cs.c | 129 VkResult result = in tu_cs_add_bo() local 132 if (result != VK_SUCCESS) { in tu_cs_add_bo() 133 return result; in tu_cs_add_bo() 136 result = tu_bo_map(cs->device, new_bo); in tu_cs_add_bo() 137 if (result != VK_SUCCESS) { in tu_cs_add_bo() 139 return result; in tu_cs_add_bo() 210 VkResult result; in tu_cs_add_entries() local 219 result = tu_cs_reserve_entry(cs); in tu_cs_add_entries() 220 if (result != VK_SUCCESS) in tu_cs_add_entries() 221 return result; in tu_cs_add_entries() 266 VkResult result = tu_cs_reserve_space(cs, size); tu_cs_begin_sub_stream() local 372 VkResult result = tu_cs_add_bo(cs, new_size); tu_cs_reserve_space() local [all...] |
/third_party/node/deps/v8/src/maglev/ |
H A D | maglev-interpreter-frame-state.h | 413 Phi* result = merged->TryCast<Phi>(); in MergeValue() local 414 if (result != nullptr && result->merge_offset() == merge_offset) { in MergeValue() 417 DCHECK_EQ(result->owner(), owner); in MergeValue() 419 result->set_input(predecessors_so_far_, unmerged); in MergeValue() 420 return result; in MergeValue() 442 result = Node::New<Phi>(compilation_unit.zone(), predecessor_count_, owner, in MergeValue() 445 for (int i = 0; i < predecessors_so_far_; i++) result->set_input(i, merged); in MergeValue() 446 result->set_input(predecessors_so_far_, unmerged); in MergeValue() 448 phis_.Add(result); in MergeValue() 455 Phi* result = merged->TryCast<Phi>(); MergeLoopValue() local 472 Phi* result = Node::New<Phi>(zone, predecessor_count_, reg, merge_offset); NewLoopPhi() local [all...] |
/third_party/mesa3d/src/vulkan/runtime/ |
H A D | vk_sync.c | 123 VkResult result = vk_sync_init(device, sync, type, flags, initial_value); in vk_sync_create() 124 if (result != VK_SUCCESS) { in vk_sync_create() 126 return result; in vk_sync_create() 248 VkResult result = in vk_sync_wait() local 251 if (unlikely(result == VK_TIMEOUT)) in vk_sync_wait() 253 return result; in vk_sync_wait() 305 VkResult result = __vk_sync_wait(device, waits[i].sync, in __vk_sync_wait_many() local 309 if (result != VK_TIMEOUT) in __vk_sync_wait_many() 310 return result; in __vk_sync_wait_many() 317 VkResult result in __vk_sync_wait_many() local 336 VkResult result = vk_sync_wait_many() local 353 VkResult result = sync->type->import_opaque_fd(device, sync, fd); vk_sync_import_opaque_fd() local 370 VkResult result = sync->type->export_opaque_fd(device, sync, fd); vk_sync_export_opaque_fd() local [all...] |
/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/ |
H A D | WriteRawPrimitivesBenchmark.cs | 445 var result = new uint[valueCount]; in CreateRandomVarints32() 448 result[i] = (uint) ParseRawPrimitivesBenchmark.RandomUnsignedVarint(random, encodedSize, true); in CreateRandomVarints32() 450 return result; in CreateRandomVarints32() 455 var result = new ulong[valueCount]; in CreateRandomVarints64() 458 result[i] = ParseRawPrimitivesBenchmark.RandomUnsignedVarint(random, encodedSize, false); in CreateRandomVarints64() 460 return result; in CreateRandomVarints64() 465 var result = new float[valueCount]; in CreateRandomFloats() 468 result[i] = (float)random.NextDouble(); in CreateRandomFloats() 470 return result; in CreateRandomFloats() 475 var result in CreateRandomDoubles() [all...] |
/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_query.py | 36 self.result = None 46 self.assertEqual((dialog.result, dialog.destroyed), (None, False)) 53 Equal((dialog.result, dialog.destroyed), (None, False)) 62 self.assertEqual((dialog.result, dialog.destroyed), (None, False)) 67 self.assertEqual((dialog.result, dialog.destroyed), ('good', True)) 72 self.assertEqual((dialog.result, dialog.destroyed), (None, True)) 186 for path, func, result in ( 195 self.assertEqual(dialog.pathvar.get(), result) 257 for name, path, result in ((None, None, None), 263 self.assertEqual(dialog.entry_ok(), result) [all...] |
/third_party/vk-gl-cts/executor/tools/ |
H A D | xeBatchResultToXml.cpp | 21 * \brief Batch result to XML export. 165 xe::TestCaseResult result; in testCaseResultComplete() local 167 xe::parseTestCaseResultFromData(&m_resultParser, &result, *resultData.get()); in testCaseResultComplete() 169 // Write result. in testCaseResultComplete() 170 xe::writeTestResult(result, m_writer); in testCaseResultComplete() 173 XE_CHECK(de::inBounds<int>(result.statusCode, 0, xe::TESTSTATUSCODE_LAST)); in testCaseResultComplete() 174 m_totals.countByCode[result.statusCode] += 1; in testCaseResultComplete() 253 xe::TestCaseResult result; in testCaseResultComplete() local 255 xe::parseTestCaseResultFromData(&m_resultParser, &result, *resultData.get()); in testCaseResultComplete() 257 // Write result in testCaseResultComplete() 309 const xe::TestCaseResultHeader* result = resultPos != resultMap.end() ? resultPos->second : DE_NULL; writeTestCaseListNode() local [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | brkiter.cpp | 67 RuleBasedBreakIterator *result = NULL; in buildInstance() local 118 result = new RuleBasedBreakIterator(file, status); in buildInstance() 120 // If there is a result, set the valid locale and actual locale, and the kind in buildInstance() 121 if (U_SUCCESS(status) && result != NULL) { in buildInstance() 122 U_LOCALE_BASED(locBased, *(BreakIterator*)result); in buildInstance() 129 if (U_FAILURE(status) && result != NULL) { // Sometimes redundant check, but simple in buildInstance() 130 delete result; in buildInstance() 134 if (result == NULL) { in buildInstance() 141 return result; in buildInstance() 377 BreakIterator *result in createInstance() local 413 BreakIterator *result = NULL; makeInstance() local [all...] |
/third_party/vixl/test/aarch64/ |
H A D | test-utils-aarch64.h | 65 T result; in GetLane() local 66 memcpy(&result, bytes + (lane * lane_size), lane_size); in GetLane() 67 return result; in GetLane() 86 // do that because it makes the result a non-POD type, and then we can't use 337 // The Equal* methods return true if the result matches the reference value. 338 // They all print an error message to the console if the result is incorrect 343 bool Equal32(uint32_t expected, const RegisterDump*, uint32_t result); 346 uint64_t result, 350 QRegisterValue result); 352 bool EqualFP16(Float16 expected, const RegisterDump*, uint16_t result); [all...] |
/third_party/protobuf/objectivec/DevTools/ |
H A D | pddm.py | 57 expansions. All lines in-between are replaced by the result of the expansion. 280 result = '' 282 result += '\n...while expanding "%s".' % macro_ref 283 return result 303 result = self._ReplaceArgValues(macro, args, macro_ref_str, macro_stack) 307 eval_result = self._EvalMacrosRefs(result, new_macro_stack) 310 if eval_result == result: 312 result = eval_result 313 return result 448 """Section that is the result o [all...] |
/third_party/vk-gl-cts/modules/gles31/functional/ |
H A D | es31fProgramPipelineStateQueryTests.cpp | 104 tcu::ResultCollector result (m_testCtx.getLog(), " // ERROR: "); in iterate() 131 verifyStatePipelineInteger(result, gl, pipeline.getPipeline(), GL_ACTIVE_PROGRAM, 0, m_verifier); in iterate() 139 verifyStatePipelineInteger(result, gl, pipeline.getPipeline(), GL_ACTIVE_PROGRAM, (int)frgProgram.getProgram(), m_verifier); in iterate() 142 result.setTestContextResult(m_testCtx); in iterate() 167 tcu::ResultCollector result (m_testCtx.getLog(), " // ERROR: "); in iterate() 202 verifyStatePipelineInteger(result, gl, pipeline.getPipeline(), m_targetStage, 0, m_verifier); in iterate() 213 verifyStatePipelineInteger(result, gl, pipeline.getPipeline(), m_targetStage, program.getProgram(), m_verifier); in iterate() 217 result.setTestContextResult(m_testCtx); in iterate() 243 tcu::ResultCollector result (m_testCtx.getLog(), " // ERROR: "); in iterate() 269 verifyStatePipelineInteger(result, g in iterate() [all...] |
/third_party/curl/lib/vauth/ |
H A D | spnego_sspi.c | 99 CURLcode result = CURLE_OK; in Curl_auth_decode_spnego_message() local 154 result = Curl_create_sspi_identity(user, password, &nego->identity); in Curl_auth_decode_spnego_message() 155 if(result) in Curl_auth_decode_spnego_message() 156 return result; in Curl_auth_decode_spnego_message() 189 result = Curl_base64_decode(chlg64, &chlg, &chlglen); in Curl_auth_decode_spnego_message() 190 if(result) in Curl_auth_decode_spnego_message() 191 return result; in Curl_auth_decode_spnego_message() 287 return result; in Curl_auth_decode_spnego_message() 301 * holding the result will be stored upon completion. 310 CURLcode result in Curl_auth_create_spnego_message() local [all...] |
/third_party/astc-encoder/Test/ |
H A D | astc_test_result_report.py | 53 Scrape the Test/Images directory for result CSV files and return an 54 mapping of the result sets. 60 imageSet => quality => encoder => result 103 for result in testRef.records: 104 skip = [1 for filt in BLOCKSIZE_FILTER if filt.match(result.blkSz)] 106 patchedRef.add_record(result) 115 Record a single image result from N different encoders. 121 list will be used as the reference result. 145 result = [] 148 result [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/impl/ |
H A D | XMLRecordReader.java | 78 boolean[] result = new boolean[sa.length]; in boolArray() 80 result[i] = "true".equals(sa[i]); in boolArray() 82 return result; in boolArray() 100 char[] result = new char[sa.length]; in characterArray() 102 result[i] = sa[i].charAt(0); in characterArray() 104 return result; in characterArray() 126 byte[] result = new byte[sa.length]; in namedIndexArray() 131 result[i] = (byte) j; in namedIndexArray() 135 result[i] = (byte) -1; in namedIndexArray() 137 return result; in namedIndexArray() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/units/ |
H A D | ConversionRates.java | 44 UnitsConverter.Factor result = UnitsConverter.Factor.processFactor(mapToConversionRate.get(singleUnit.getSimpleUnitID()).getConversionRate()); in getFactorToBase() 49 return result.applyPrefix(unitPrefix).power(power); in getFactorToBase() 53 UnitsConverter.Factor result = new UnitsConverter.Factor(); in getFactorToBase() 56 result = result.multiply(getFactorToBase(singleUnit)); in getFactorToBase() 59 return result; in getFactorToBase() 83 MeasureUnitImpl result = new MeasureUnitImpl(); in extractCompoundBaseUnit() 86 result.appendSingleUnit(baseUnit); in extractCompoundBaseUnit() 89 return result; in extractCompoundBaseUnit() 93 ArrayList<SingleUnitImpl> result in extractBaseUnits() [all...] |
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
H A D | TestUtil.java | 122 public static boolean escapeUnprintable(StringBuffer result, int c) { in escapeUnprintable() argument 124 result.append('\\'); in escapeUnprintable() 126 result.append('U'); in escapeUnprintable() 127 result.append(DIGITS[0xF & (c >> 28)]); in escapeUnprintable() 128 result.append(DIGITS[0xF & (c >> 24)]); in escapeUnprintable() 129 result.append(DIGITS[0xF & (c >> 20)]); in escapeUnprintable() 130 result.append(DIGITS[0xF & (c >> 16)]); in escapeUnprintable() 132 result.append('u'); in escapeUnprintable() 134 result.append(DIGITS[0xF & (c >> 12)]); in escapeUnprintable() 135 result in escapeUnprintable() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/duration/impl/ |
H A D | XMLRecordReader.java | 82 boolean[] result = new boolean[sa.length]; in boolArray() 84 result[i] = "true".equals(sa[i]); in boolArray() 86 return result; in boolArray() 104 char[] result = new char[sa.length]; in characterArray() 106 result[i] = sa[i].charAt(0); in characterArray() 108 return result; in characterArray() 130 byte[] result = new byte[sa.length]; in namedIndexArray() 135 result[i] = (byte) j; in namedIndexArray() 139 result[i] = (byte) -1; in namedIndexArray() 141 return result; in namedIndexArray() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/ |
H A D | TestUtil.java | 123 public static boolean escapeUnprintable(StringBuffer result, int c) { in escapeUnprintable() argument 125 result.append('\\'); in escapeUnprintable() 127 result.append('U'); in escapeUnprintable() 128 result.append(DIGITS[0xF & (c >> 28)]); in escapeUnprintable() 129 result.append(DIGITS[0xF & (c >> 24)]); in escapeUnprintable() 130 result.append(DIGITS[0xF & (c >> 20)]); in escapeUnprintable() 131 result.append(DIGITS[0xF & (c >> 16)]); in escapeUnprintable() 133 result.append('u'); in escapeUnprintable() 135 result.append(DIGITS[0xF & (c >> 12)]); in escapeUnprintable() 136 result in escapeUnprintable() [all...] |
/third_party/jerryscript/jerry-ext/handle-scope/ |
H A D | handle-scope.c | 22 * @param result - [out value] opened scope. 26 jerryx_open_handle_scope (jerryx_handle_scope *result) in jerryx_open_handle_scope() argument 28 *result = jerryx_handle_scope_alloc (); in jerryx_open_handle_scope() 93 * @param result - [out value] opened escapable handle scope. 97 jerryx_open_escapable_handle_scope (jerryx_handle_scope *result) in jerryx_open_escapable_handle_scope() argument 99 return jerryx_open_handle_scope (result); in jerryx_open_escapable_handle_scope() 151 * @param result - [out value] escaped jerry value result. 159 jerry_value_t *result, in jerryx_escape_handle_internal() 193 *result in jerryx_escape_handle_internal() 157 jerryx_escape_handle_internal(jerryx_escapable_handle_scope scope, jerry_value_t escapee, jerry_value_t *result, bool should_promote) jerryx_escape_handle_internal() argument 274 jerryx_escape_handle(jerryx_escapable_handle_scope scope, jerry_value_t escapee, jerry_value_t *result) jerryx_escape_handle() argument 291 jerryx_remove_handle(jerryx_escapable_handle_scope scope, jerry_value_t escapee, jerry_value_t *result) jerryx_remove_handle() argument [all...] |
/third_party/libwebsockets/plugins/ |
H A D | protocol_fulltext_demo.c | 46 struct lwsac *result; member 71 struct lws_fts_result *result; in callback_fts() local 122 result = lws_fts_search(jtf, ¶ms); in callback_fts() 124 if (result) { in callback_fts() 125 pss->result = params.results_head; in callback_fts() 126 pss->ac = result->autocomplete_head; in callback_fts() 127 pss->fp = result->filepath_head; in callback_fts() 129 /* NULL result will be told in the json as "indexed": 0 */ in callback_fts() 154 if (pss && pss->result) in callback_fts() 155 lwsac_free(&pss->result); in callback_fts() [all...] |
/third_party/icu/icu4c/source/tools/ctestfw/ |
H A D | tstdtmod.cpp | 142 TestDataModule *result = NULL; in getTestDataModule() local 147 result = new RBTestDataModule(name, log, status); in getTestDataModule() 149 return result; in getTestDataModule() 151 delete result; in getTestDataModule() 219 TestData *result = NULL; in createTestData() local 228 result = new RBTestData(DataFillIn, headers, status); in createTestData() 231 return result; in createTestData() 233 delete result; in createTestData() 247 TestData *result = NULL; in createTestData() local 256 result in createTestData() [all...] |