/test/xts/acts/bundlemanager/bundle_standard/bundlemanager/actsbundlenativeninthapitest/entry/src/main/cpp/ |
H A D | bundlendk1.cpp | 25 napi_value result = nullptr;
in GetCurrentApplicationInfo() local 26 napi_create_object(env, &result);
in GetCurrentApplicationInfo() 29 napi_set_named_property(env, result, "bundleName", bundleName);
in GetCurrentApplicationInfo() 32 napi_set_named_property(env, result, "fingerprint", fingerprint);
in GetCurrentApplicationInfo() 37 napi_set_named_property(env, result, "appId", napi_appId);
in GetCurrentApplicationInfo() 42 napi_set_named_property(env, result, "appIdentifier", napi_appIdentifier);
in GetCurrentApplicationInfo() 48 return result;
in GetCurrentApplicationInfo()
|
/third_party/elfutils/tests/ |
H A D | dwelfgnucompressed.c | 40 int result = 0; in main() local 53 result = 1; in main() 62 result = 1; in main() 75 result = 1; in main() 83 result = 1; in main() 94 result = 1; in main() 105 return result; in main()
|
/third_party/elfutils/libelf/ |
H A D | gelf_getehdr.c | 46 GElf_Ehdr *result = NULL; in __gelf_getehdr_rdlock() local 88 result = dest; in __gelf_getehdr_rdlock() 91 result = memcpy (dest, elf->state.elf64.ehdr, sizeof (*dest)); in __gelf_getehdr_rdlock() 93 return result; in __gelf_getehdr_rdlock() 99 GElf_Ehdr *result; in gelf_getehdr() local 104 result = __gelf_getehdr_rdlock (elf, dest); in gelf_getehdr() 107 return result; in gelf_getehdr()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
H A D | LongNameMultiplexer.java | 51 LongNameMultiplexer result = new LongNameMultiplexer(parent); in forMeasureUnits() 55 result.fMeasureUnits = new ArrayList<>(); in forMeasureUnits() 56 result.fHandlers = new ArrayList<>(); in forMeasureUnits() 61 result.fMeasureUnits.add(unit); in forMeasureUnits() 65 result.fHandlers.add(mlnh); in forMeasureUnits() 68 result.fHandlers.add(lnh); in forMeasureUnits() 72 return result; in forMeasureUnits()
|
/third_party/libunwind/libunwind/tests/ |
H A D | Gtest-exc.c | 111 int result = 99; in a() local 133 result = 0; in a() 136 return result; in a() 154 int result; in main() local 168 result = a (depth); in main() 169 if (result != 0 || !got_here || nerrors > 0) in main() 172 "FAILURE: test failed: result=%d got_here=%d nerrors=%d\n", in main() 173 result, got_here, nerrors); in main()
|
/third_party/json/include/nlohmann/detail/iterators/ |
H A D | primitive_iterator.hpp | 82 auto result = *this; variable 83 result += n; 84 return result; 100 auto result = *this; variable 102 return result; 113 auto result = *this; variable 115 return result;
|
/third_party/node/test/fixtures/wpt/WebCryptoAPI/encrypt_decrypt/ |
H A D | aes_gcm_vectors.js | 12 // result - the expected result (usually just ciphertext, sometimes with added authentication) 33 var result = new Uint8Array(ciphertext[keyLength].byteLength + byteCount); 34 result.set(ciphertext[keyLength], 0); 35 result.set(tag[keyLength].slice(0, byteCount), ciphertext[keyLength].byteLength); 42 result: result 54 result: noadresult 70 result: ciphertext[keyLength]
|
/third_party/node/benchmark/napi/ref/ |
H A D | addon.c | 16 napi_value result; in GetCount() local 20 NAPI_CALL(env, napi_create_uint32(env, *count, &result)); in GetCount() 22 return result; in GetCount() 45 napi_value result; in NewWeak() local 48 NAPI_CALL(env, napi_create_object(env, &result)); in NewWeak() 51 result, in NewWeak() 57 return result; in NewWeak()
|
/third_party/mesa3d/src/virtio/vulkan/ |
H A D | vn_renderer_util.c | 14 VkResult result = in vn_renderer_submit_simple_sync() local 16 if (result != VK_SUCCESS) in vn_renderer_submit_simple_sync() 17 return result; in vn_renderer_submit_simple_sync() 38 result = vn_renderer_submit(renderer, &submit); in vn_renderer_submit_simple_sync() 39 if (result == VK_SUCCESS) in vn_renderer_submit_simple_sync() 40 result = vn_renderer_wait(renderer, &wait); in vn_renderer_submit_simple_sync() 44 return result; in vn_renderer_submit_simple_sync()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_4/ |
H A D | tirpc_svc_4.c | 90 static int result = 0; in simplePing() local 91 result = *in; in simplePing() 92 return (char *)&result; in simplePing() 105 char *result; in exm_proc() local 126 result = (char *)(*proc) ((char *)&argument); in exm_proc() 128 if ((result != NULL) in exm_proc() 129 && (svc_sendreply(transp, xdr_result, result) == FALSE)) { in exm_proc()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_freeargs/ |
H A D | rpc_svc_freeargs_svc.c | 55 //0 : launch by shell script as test case, only one printf -> result status in main() 89 static int result; in simplePing() local 90 result = inVar; in simplePing() 91 return (char *)&result; in simplePing() 99 char *result; in rcp_service() local 122 result = (char *)(*proc) (argument, transp); in rcp_service() 124 if ((result != NULL) in rcp_service() 125 && (svc_sendreply(transp, xdr_result, result) == FALSE)) { in rcp_service() 136 //This last printf gives the result status to the tests suite in rcp_service()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_suite/rpc/rpc_stdcall_svc_getargs/ |
H A D | rpc_svc_getargs.c | 55 //0 : launch by shell script as test case, only one printf -> result status in main() 89 static int result; in simplePing() local 90 result = inVar; in simplePing() 91 return (char *)&result; in simplePing() 99 char *result; in rcp_service() local 125 result = (char *)(*proc) (argument, transp); in rcp_service() 127 if ((result != NULL) in rcp_service() 128 && (svc_sendreply(transp, xdr_result, result) == FALSE)) { in rcp_service() 134 //This last printf gives the result status to the tests suite in rcp_service()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/rpc_svc_2/ |
H A D | rpc_svc_2.c | 103 static double result = 0; in calcProc() local 104 result = dt->a + (dt->b * dt->c); in calcProc() 106 return (char *)&result; in calcProc() 116 char *result; in rcp_service() local 145 result = (char *)(*proc) ((struct datas *)&argument, transp); in rcp_service() 147 if ((result != NULL) in rcp_service() 148 && (svc_sendreply(transp, xdr_result, result) == FALSE)) { in rcp_service()
|
/third_party/ltp/testcases/network/rpc/rpc-tirpc/tests_pack/tirpc_svc_11/ |
H A D | tirpc_svc_11.c | 89 static int result = 0; in simplePing() local 90 result = *in; in simplePing() 91 return (char *)&result; in simplePing() 104 char *result; in exm_proc() local 143 result = (char *)(*proc) ((char *)&argument); in exm_proc() 145 if ((result != NULL) in exm_proc() 146 && (svc_sendreply(transp, xdr_result, (char *)result) == FALSE)) { in exm_proc()
|
/third_party/node/deps/v8/src/utils/ |
H A D | utils-inl.h | 20 explicit TimedScope(double* result) in TimedScope() argument 21 : start_(TimestampMs()), result_(result) {} in TimedScope() 70 index_t result = d; in StringToIndex() local 74 if (sizeof(result) == 8) { in StringToIndex() 76 if (!TryAddIntegerIndexChar(reinterpret_cast<uint64_t*>(&result), in StringToIndex() 82 if (!TryAddArrayIndexChar(reinterpret_cast<uint32_t*>(&result), in StringToIndex() 88 *index = result; in StringToIndex()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | Trim11.cpp | 30 bool result = true; in Trim11() local 31 result = registerForRendererTrimRequest(); in Trim11() 32 ASSERT(result); in Trim11() 62 HRESULT result = GetActivationFactory( in registerForRendererTrimRequest() local 65 if (SUCCEEDED(result)) in registerForRendererTrimRequest() 72 result = in registerForRendererTrimRequest() 77 if (FAILED(result)) in registerForRendererTrimRequest()
|
/third_party/skia/src/core/ |
H A D | SkYUVPlanesCache.cpp | 61 YUVValue* result = static_cast<YUVValue*>(contextData); in Visitor() local 69 result->fData = tmpData; in Visitor() 70 result->fPixmaps = rec.fValue.fPixmaps; in Visitor() 79 YUVValue result; in FindAndRef() local 81 if (!CHECK_LOCAL(localCache, find, Find, key, YUVPlanesRec::Visitor, &result)) { in FindAndRef() 85 *pixmaps = result.fPixmaps; in FindAndRef() 86 return result.fData; in FindAndRef()
|
/third_party/openssl/demos/pkey/ |
H A D | EVP_PKEY_EC_keygen.c | 87 int result = 0; in get_key_values() local 125 result = 1; in get_key_values() 129 return result; in get_key_values() 134 int result = 0; in main() local 148 result = 1; in main() 150 if (result != 1) in main() 154 return result == 0; in main()
|
/third_party/openssl/demos/digest/ |
H A D | EVP_MD_stdin.c | 37 int result = 0; in demonstrate_digest() local 106 result = 1; in demonstrate_digest() 113 if (result != 1) in demonstrate_digest() 121 return result; in demonstrate_digest() 126 int result = 1; in main() local 130 result = demonstrate_digest(input); in main() 133 return result; in main()
|
/third_party/skia/tests/ |
H A D | SkGaussFilterTest.cpp | 35 double result[SkGaussFilter::kGaussArrayMax]; in DEF_TEST() 38 result[n++] = d; in DEF_TEST() 41 double sum = careful_add(n, result); in DEF_TEST() 44 REPORTER_ASSERT(r, std::abs(golden[i] - result[i]) < kEpsilon); in DEF_TEST() 68 double result[SkGaussFilter::kGaussArrayMax]; in DEF_TEST() 71 result[n++] = d; in DEF_TEST() 74 double sum = careful_add(n, result); in DEF_TEST()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
H A D | AsyncTaskTests.cpp | 36 void AddResult(std::unique_ptr<SimpleTaskResult> result) { in AddResult() argument 38 mTaskResults.push_back(std::move(result)); in AddResult() 56 std::unique_ptr<SimpleTaskResult> result = std::make_unique<SimpleTaskResult>(); in DoTask() local 57 result->id = id; in DoTask() 58 resultQueue->AddResult(std::move(result)); in DoTask() 85 for (std::unique_ptr<SimpleTaskResult>& result : results) { in TEST_F() 86 idset.erase(result->id); in TEST_F()
|
/third_party/optimized-routines/string/aarch64/ |
H A D | strlen-mte.S | 17 #define result x0 define 56 clz result, synd 57 lsr result, result, 2 70 sub result, src, srcin 76 add result, result, tmp, lsr 2
|
/third_party/skia/third_party/externals/tint/src/ast/ |
H A D | module_clone_test.cc | 156 auto result = writer::wgsl::Generate(&src, options); in TEST() local 157 ASSERT_TRUE(result.success) << result.error; in TEST() 158 src_wgsl = result.wgsl; in TEST() 169 auto result = writer::wgsl::Generate(&dst, options); in TEST() local 170 ASSERT_TRUE(result.success); in TEST() 171 auto dst_wgsl = result.wgsl; in TEST()
|
/third_party/toybox/toys/posix/ |
H A D | printf.c | 40 unsigned result = 0, num; in handle_slash() local 54 if (!(result = unescape(*ptr))) result = '\\'; in handle_slash() 57 return result; in handle_slash() 68 result = (result*base)+num; in handle_slash() 74 return result; in handle_slash()
|
/device/soc/hisilicon/hi3861v100/hi3861_adapter/hals/communication/wifi_lite/wifiservice/source/ |
H A D | wifi_device.c | 572 WifiErrorCode GetScanInfoList(WifiScanInfo* result, unsigned int* size) in GetScanInfoList() argument 574 if (result == NULL || size == NULL || *size == 0) { in GetScanInfoList() 599 cpyErr = memcpy_s(result[i].ssid, WIFI_MAX_SSID_LEN, pstResults[i].ssid, HI_WIFI_MAX_SSID_LEN + 1); in GetScanInfoList() 606 cpyErr = memcpy_s(result[i].bssid, WIFI_MAC_LEN, pstResults[i].bssid, HI_WIFI_MAC_LEN); in GetScanInfoList() 613 result[i].securityType = HiSecToHoSec(pstResults[i].auth); in GetScanInfoList() 614 result[i].rssi = pstResults[i].rssi; in GetScanInfoList() 615 result[i].frequency = ChannelToFrequency(pstResults[i].channel); in GetScanInfoList() 624 WifiErrorCode AddDeviceConfig(const WifiDeviceConfig* config, int* result) in AddDeviceConfig() argument 626 if (config == NULL || result == NULL) { in AddDeviceConfig() 666 *result in AddDeviceConfig() 670 GetDeviceConfigs(WifiDeviceConfig* result, unsigned int* size) GetDeviceConfigs() argument 871 GetLinkedInfo(WifiLinkedInfo* result) GetLinkedInfo() argument 982 GetDeviceMacAddress(unsigned char* result) GetDeviceMacAddress() argument [all...] |