/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/ |
H A D | HdmxEncoder.java | 58 WritableFontData result = WritableFontData.createWritableFontData(resultSize); in encode() 59 result.writeUShort(0, 0); in encode() 60 result.writeUShort(2, numRecords); in encode() 61 result.writeLong(4, hdmx.recordSize()); in encode() 63 result.writeByte(HEADER_SIZE + RECORD_SIZE * i, (byte) hdmx.pixelSize(i)); in encode() 64 result.writeByte(HEADER_SIZE + RECORD_SIZE * i + 1, (byte) hdmx.maxWidth(i)); in encode() 66 result.writeBytes(HEADER_SIZE + RECORD_SIZE * numRecords, magBytes); in encode() 67 return result; in encode()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | titletrn.cpp | 121 int32_t textPos, delta, result; in handleTransliterate() local 131 result=ucase_toFullTitle(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate() 133 result=ucase_toFullLower(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate() 144 if(result>=0) { in handleTransliterate() 145 // replace the current code point with its full case mapping result in handleTransliterate() 147 if(result<=UCASE_MAX_STRING_LENGTH) { in handleTransliterate() 148 // string s[result] in handleTransliterate() 149 tmp.setTo(FALSE, s, result); in handleTransliterate() 150 delta=result-U16_LENGTH(c); in handleTransliterate() 153 tmp.setTo(result); in handleTransliterate() [all...] |
H A D | usearch.cpp | 136 uint16_t result = g_nfcImpl->nextFCD16(temp, str + strlength); in getFCD() local 138 return result; in getFCD() 188 uint32_t *result = (uint32_t *)uprv_malloc(size); in allocateMemory() local 189 if (result == NULL) { in allocateMemory() 192 return result; in allocateMemory() 305 // error UCOL_NULLORDER the result of ucol_next(..) and 0 will be in initializePatternCETable() 321 uint16_t result = 0; in initializePatternCETable() local 341 result += (uint16_t)(ucol_getMaxExpansion(coleiter, ce) - 1); in initializePatternCETable() 348 return result; in initializePatternCETable() 377 // error UCOL_NULLORDER the result o in initializePatternPCETable() 392 uint16_t result = 0; initializePatternPCETable() local 623 UBool result = (start == startindex || isBreakUnit() local 681 int32_t result = temp; getNextBaseOffset() local 798 int32_t result = textoffset; // first contraction character getNextSafeOffset() local 835 UBool result = FALSE; checkExtraMatchAccents() local 1108 UBool result; checkRepeatedMatch() local 1139 int32_t result = ucol_getOffset(coleiter); getColElemIterOffset() local 1297 int32_t result = textoffset; getPreviousBaseOffset() local 1328 int result = 0; getUnblockedAccentIndex() local 1533 int32_t result = textoffset; // first contraction character getPreviousSafeOffset() local 1652 int32_t result = doNextCanonicalPrefixMatch(strsrch, doNextCanonicalSuffixMatch() local 1670 int32_t result = getColElemIterOffset(coleiter, FALSE); doNextCanonicalSuffixMatch() local 2316 int32_t result = doPreviousCanonicalSuffixMatch(strsrch, doPreviousCanonicalPrefixMatch() local 2334 int32_t result = ucol_getOffset(coleiter); doPreviousCanonicalPrefixMatch() local 2614 UStringSearch *result = usearch_openFromCollator(pattern, usearch_open() local 2668 UStringSearch *result; usearch_openFromCollator() local 2826 int32_t result = ucol_getOffset(strsrch->textIter); usearch_getOffset() local 2905 usearch_getMatchedText(const UStringSearch *strsrch, UChar *result, int32_t resultCapacity, UErrorCode *status) usearch_getMatchedText() argument [all...] |
/third_party/skia/third_party/externals/brotli/java/org/brotli/integration/ |
H A D | BundleHelper.java | 25 List<String> result = new ArrayList<String>(); in listEntries() 31 result.add(entry.getName()); in listEntries() 38 return result; in listEntries() 42 ByteArrayOutputStream result = new ByteArrayOutputStream(); in readStream() 46 result.write(buffer, 0, bytesRead); in readStream() 48 return result.toByteArray(); in readStream() 57 byte[] result = readStream(zis); in readEntry() 59 return result; in readEntry()
|
/third_party/optimized-routines/string/aarch64/ |
H A D | memchr-mte.S | 19 #define result x0 define 65 add result, srcin, synd, lsr 2 67 csel result, result, xzr, hi 107 add result, src, synd, lsr 2 108 csel result, result, xzr, hi 112 mov result, 0
|
/third_party/skia/third_party/externals/freetype/src/pfr/ |
H A D | pfrcmap.c | 101 FT_UInt result = 0; in FT_CALLBACK_DEF() local 120 result = mid; in FT_CALLBACK_DEF() 121 if ( result != 0 ) in FT_CALLBACK_DEF() 123 result++; in FT_CALLBACK_DEF() 143 result = min; in FT_CALLBACK_DEF() 144 if ( result != 0 ) in FT_CALLBACK_DEF() 146 result++; in FT_CALLBACK_DEF() 154 return result; in FT_CALLBACK_DEF()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/tools/subsetter/ |
H A D | subsetter.cc | 64 std::set<int32_t> result; in Subset() local 67 std::inserter(result, result.end())); in Subset() 68 table_tags = result; in Subset() 77 std::set<int32_t> result; in Subset() local 80 std::inserter(result, result.end())); in Subset() 81 table_tags = result; in Subset()
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
H A D | uldnames.h | 130 * @param result receives the display name 131 * @param maxResultSize the size of the result buffer 140 UChar *result, 150 * @param result receives the display name 151 * @param maxResultSize the size of the result buffer 160 UChar *result, 168 * @param result receives the display name 169 * @param maxResultSize the size of the result buffer 178 UChar *result, 186 * @param result receive [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | exportAsNamespace2(module=commonjs).js | 44 var result = {};
45 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
46 __setModuleDefault(result, mod);
47 return result;
74 var result = {};
75 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
76 __setModuleDefault(result, mod);
77 return result;
|
H A D | exportAsNamespace3(module=amd).js | 48 var result = {};
49 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
50 __setModuleDefault(result, mod);
51 return result;
83 var result = {};
84 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
85 __setModuleDefault(result, mod);
86 return result;
|
H A D | exportAsNamespace3(module=commonjs).js | 47 var result = {};
48 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
49 __setModuleDefault(result, mod);
50 return result;
80 var result = {};
81 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
82 __setModuleDefault(result, mod);
83 return result;
|
H A D | exportAsNamespace4(module=commonjs).js | 50 var result = {};
51 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
52 __setModuleDefault(result, mod);
53 return result;
78 var result = {};
79 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
80 __setModuleDefault(result, mod);
81 return result;
|
H A D | exportDefault.js | 65 var result = {};
66 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
67 __setModuleDefault(result, mod);
68 return result;
102 var result = {};
103 if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
104 __setModuleDefault(result, mod);
105 return result;
|
/third_party/python/Lib/unittest/test/ |
H A D | test_functiontestcase.py | 24 result = LoggingResult(events) 37 unittest.FunctionTestCase(test, setUp, tearDown).run(result) 49 result = LoggingResult(events) 63 unittest.FunctionTestCase(test, setUp, tearDown).run(result) 75 result = LoggingResult(events) 89 unittest.FunctionTestCase(test, setUp, tearDown).run(result) 101 result = LoggingResult(events) 115 unittest.FunctionTestCase(test, setUp, tearDown).run(result)
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | AnyTest.java | 50 TestAllTypes result = container.getValue().unpack(TestAllTypes.class); in testAnyGeneratedApi() 51 TestUtil.assertAllFieldsSet(result); in testAnyGeneratedApi() 87 TestAllTypes result = container.getValue().unpack(TestAllTypes.class); in testCustomTypeUrls() 88 TestUtil.assertAllFieldsSet(result); in testCustomTypeUrls() 98 result = container.getValue().unpack(TestAllTypes.class); in testCustomTypeUrls() 99 TestUtil.assertAllFieldsSet(result); in testCustomTypeUrls() 109 result = container.getValue().unpack(TestAllTypes.class); in testCustomTypeUrls() 110 TestUtil.assertAllFieldsSet(result); in testCustomTypeUrls()
|
/third_party/python/Lib/ctypes/test/ |
H A D | test_memfunctions.py | 24 result = memmove(a, p, len(p)) 27 self.assertEqual(string_at(result), b"Hello, World") 28 self.assertEqual(string_at(result, 5), b"Hello") 29 self.assertEqual(string_at(result, 16), b"Hello, World\0\0\0\0") 30 self.assertEqual(string_at(result, 0), b"") 34 result = memset(a, ord('x'), 16) 37 self.assertEqual(string_at(result), b"xxxxxxxxxxxxxxxx") 70 result = memmove(a, p, len(p) * sizeof(c_wchar))
|
/third_party/python/Lib/test/test_importlib/ |
H A D | test_open.py | 26 result = fp.read() 27 self.assertEqual(result, b'\x00\x01\x02\x03') 32 result = fp.read() 33 self.assertEqual(result, 'Hello, UTF-8 world!\n') 38 result = fp.read() 39 self.assertEqual(result, 'Hello, UTF-16 world!\n') 47 result = fp.read() 49 result,
|
/third_party/rust/crates/io-lifetimes/examples/ |
H A D | hello.rs | 31 let result = write(fd.as_fd(), "hello, world\n".as_ptr() as *const _, 13); in main() 32 match result { in main() 47 let result = write(file.as_fd(), "sup?\n".as_ptr() as *const _, 5); in main() 48 match result { in main() 80 let result = WriteFile( in main() 87 match (result, number_of_bytes_written) { in main() 103 let result = WriteFile( in main() 110 match (result, number_of_bytes_written) { in main()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | str_replace.h | 197 std::string result; in StrReplaceAll() local 198 result.reserve(s.size()); in StrReplaceAll() 199 strings_internal::ApplySubstitutions(s, &subs, &result); in StrReplaceAll() 200 return result; in StrReplaceAll() 208 std::string result; in StrReplaceAll() 209 result.reserve(target->size()); in StrReplaceAll() 211 strings_internal::ApplySubstitutions(*target, &subs, &result); in StrReplaceAll() 212 target->swap(result); in StrReplaceAll()
|
/third_party/vk-gl-cts/external/vulkancts/vkscserver/ |
H A D | vksNetwork.cpp | 76 auto result = socket->send(buffer.data() + sent_total, buffer.size() - sent_total, &sent); in Send() local 77 if (result != DE_SOCKETRESULT_SUCCESS) in Send() 87 auto result = socket->receive(data, sizeof(data), &received); in RecvSome() local 88 if (result != DE_SOCKETRESULT_SUCCESS) in RecvSome() 107 bool result = false; in RecvPacket() local 110 while (socket->isConnected() && !result) in RecvPacket() 118 result = true; in RecvPacket() 124 if (!result) throw std::runtime_error("connection lost before we could get data"); in RecvPacket()
|
/third_party/zlib/contrib/dotzlib/DotZLib/ |
H A D | GZipStream.cs | 163 int result;
in Read() 166 result = gzread(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count);
in Read() 167 if (result < 0)
in Read() 174 return result;
in Read() 210 int result = gzwrite(_gzFile, h.AddrOfPinnedObject().ToInt32() + offset, count);
in Write() 211 if (result < 0)
in Write() 231 int result = gzputc(_gzFile, (int)value);
in WriteByte() 232 if (result < 0)
in WriteByte()
|
/base/account/os_account/frameworks/account_iam/src/ |
H A D | account_iam_client.cpp | 163 ErrCode result = proxy->GetCredentialInfo(userId, authType, wrapper); in GetCredentialInfo() local 164 if ((result != ERR_OK) && (callback != nullptr)) { in GetCredentialInfo() 166 callback->OnCredentialInfo(result, infoList); in GetCredentialInfo() 168 return result; in GetCredentialInfo() 259 ErrCode result = proxy->AuthUser(authParam, wrapper, contextId); in AuthUser() local 260 if (result != ERR_OK) { in AuthUser() 262 callback->OnResult(result, emptyResult); in AuthUser() 351 ErrCode result = Security::AccessToken::AccessTokenKit::VerifyAccessToken(tokenId, permissionName); in CheckSelfPermission() local 352 return result == Security::AccessToken::TypePermissionState::PERMISSION_GRANTED; in CheckSelfPermission() 359 ErrCode result in RegisterPINInputer() local 392 ErrCode result = AccountPermissionManager::CheckSystemApp(false); RegisterInputer() local 416 ErrCode result = AccountPermissionManager::CheckSystemApp(false); UnregisterInputer() local 437 ErrCode result = AccountPermissionManager::CheckSystemApp(false); UnregisterPINInputer() local [all...] |
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/launcher_bundle_manager/ |
H A D | launcher_bundle_manager.cpp | 89 napi_value result[ARGS_SIZE_TWO] = {0}; in GetLauncherAbilityInfoComplete() local 91 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[ARGS_POS_ZERO])); in GetLauncherAbilityInfoComplete() 92 NAPI_CALL_RETURN_VOID(env, napi_create_array(env, &result[ARGS_POS_ONE])); in GetLauncherAbilityInfoComplete() 93 CommonFunc::ConvertLauncherAbilityInfos(env, asyncCallbackInfo->launcherAbilityInfos, result[ARGS_POS_ONE]); in GetLauncherAbilityInfoComplete() 95 result[0] = BusinessError::CreateCommonError(env, asyncCallbackInfo->err, GET_LAUNCHER_ABILITY_INFO, in GetLauncherAbilityInfoComplete() 97 napi_get_undefined(env, &result[ARGS_POS_ONE]); in GetLauncherAbilityInfoComplete() 99 CommonFunc::NapiReturnDeferred<GetLauncherAbilityCallbackInfo>(env, asyncCallbackInfo, result, ARGS_SIZE_TWO); in GetLauncherAbilityInfoComplete() 220 napi_value result[ARGS_SIZE_TWO] = {0}; in GetAllLauncherAbilityInfoComplete() local 222 NAPI_CALL_RETURN_VOID(env, napi_get_null(env, &result[ARGS_POS_ZERO])); in GetAllLauncherAbilityInfoComplete() 223 NAPI_CALL_RETURN_VOID(env, napi_create_array(env, &result[ARGS_POS_ON in GetAllLauncherAbilityInfoComplete() 303 napi_value result[ARGS_SIZE_TWO] = {0}; GetShortcutInfoComplete() local 446 napi_value result[ARGS_POS_TWO] = {0}; StartShortcutComplete() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/Util/src/util/ |
H A D | io_util.cpp | 45 SerializationResult result; in CheckCompatibility() local 64 result.compatibilityInfo.versionMajor = versionMajor; in CheckCompatibility() 65 result.compatibilityInfo.versionMinor = versionMinor; in CheckCompatibility() 66 result.compatibilityInfo.type = type; in CheckCompatibility() 90 return result; in CheckCompatibility() 95 result.status = Status::ERROR_COMPATIBILITY_MISMATCH; in CheckCompatibility() 96 result.error = "Unsupported version. type: '" + type + "' version: '" + version + "'"; in CheckCompatibility() 97 return result; in CheckCompatibility() 145 bool result = true; in DeleteDirectory() local 151 result in DeleteDirectory() 243 bool result = true; CopyDirectoryContents() local [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/extension/ |
H A D | extension_util.cpp | 245 DBValue result; in ConvertValue() local 251 return result; in ConvertValue() 253 DoConvertValue(content, ctLen, type, result); in ConvertValue() 254 return result; in ConvertValue() 259 DBValue result; in ConvertValues() local 267 return result; in ConvertValues() 269 DoConvertValue(content, ctLen, type, result); in ConvertValues() 270 return result; in ConvertValues() 317 DBAssets result; in ConvertAssets() local 321 return result; in ConvertAssets() 340 DBAsset result; ConvertAsset() local [all...] |