/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_memory.cpp | 131 dng_memory_block * result = allocator.Allocate (size); in Clone() local 133 DoCopyBytes (Buffer (), result->Buffer (), size); in Clone() 135 return result; in Clone() 221 dng_memory_block *result = new dng_malloc_block (size); in Allocate() local 223 if (!result) in Allocate() 230 return result; in Allocate()
|
H A D | dng_orientation.h | 74 dng_orientation result; in AdobeToDNG() local 76 result.SetAdobe (adobe); in AdobeToDNG() 78 return result; in AdobeToDNG() 85 dng_orientation result; in TIFFtoDNG() local 87 result.SetTIFF (tiff); in TIFFtoDNG() 89 return result; in TIFFtoDNG()
|
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/ |
H A D | BinaryProtocolTest.java | 59 Proto3Message result = in proto3Roundtrip() 61 assertEquals(expected, result); in proto3Roundtrip() 64 byte[] actualBytes = ExperimentalSerializationUtil.toByteArray(result); in proto3Roundtrip() 78 Proto2Message result = in proto2Roundtrip() 80 assertEquals(expected, result); in proto2Roundtrip() 83 byte[] actualBytes = ExperimentalSerializationUtil.toByteArray(result); in proto2Roundtrip()
|
/third_party/python/Lib/unittest/ |
H A D | signals.py | 38 for result in _results.keys(): 39 result.stop() 42 def registerResult(result): 43 _results[result] = 1 45 def removeResult(result): 46 return bool(_results.pop(result, None))
|
/third_party/skia/fuzz/oss_fuzz/ |
H A D | FuzzSkRuntimeEffect.cpp | 39 SkRuntimeEffect::Result result = SkRuntimeEffect::MakeForShader(shaderText, options); in FuzzSkRuntimeEffect_Once() local 40 SkRuntimeEffect* effect = result.effect.get(); in FuzzSkRuntimeEffect_Once() 68 bool result = FuzzSkRuntimeEffect_Once(bytes, options); in FuzzSkRuntimeEffect() local 72 result = FuzzSkRuntimeEffect_Once(bytes, options) || result; in FuzzSkRuntimeEffect() 74 return result; in FuzzSkRuntimeEffect()
|
/third_party/rust/crates/nix/src/sys/ |
H A D | timer.rs | 77 Errno::result(unsafe { in new() 134 Errno::result(unsafe { in set() 149 Errno::result(unsafe { in get() 181 let result = Errno::result(unsafe { libc::timer_delete(self.0) }); in drop() 182 if let Err(Errno::EINVAL) = result { in drop()
|
/third_party/spirv-tools/source/fuzz/ |
H A D | instruction_message.cpp | 25 protobufs::Instruction result; in MakeInstructionMessage() local 26 result.set_opcode(uint32_t(opcode)); in MakeInstructionMessage() 27 result.set_result_type_id(result_type_id); in MakeInstructionMessage() 28 result.set_result_id(result_id); in MakeInstructionMessage() 30 auto operand_message = result.add_input_operand(); in MakeInstructionMessage() 36 return result; in MakeInstructionMessage() 55 // if it has a result id. in InstructionFromMessage()
|
/third_party/spirv-tools/test/opt/loop_optimizations/ |
H A D | unswitch.cpp | 878 auto result = in TEST_F() local 881 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 912 auto result = in TEST_F() local 914 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F() 960 auto result = in TEST_F() local 962 EXPECT_EQ(Pass::Status::SuccessWithoutChange, std::get<1>(result)); in TEST_F()
|
/third_party/spirv-tools/test/ |
H A D | preserve_numeric_ids_test.cpp | 38 spv_result_t result = in ToBinaryAndBack() local 41 if (result != SPV_SUCCESS) { in ToBinaryAndBack() 42 return result; in ToBinaryAndBack() 45 result = spvBinaryToText(ctx.context, binary->code, binary->wordCount, in ToBinaryAndBack() 47 if (result != SPV_SUCCESS) { in ToBinaryAndBack() 48 return result; in ToBinaryAndBack()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineCombinationsIterator.hpp | 63 deUint32 result = 1; in seriesProduct() local 66 result *= i; in seriesProduct() 68 return result; in seriesProduct() 130 deUint32 result = 1; in factorial() local 133 result *= value; in factorial() 135 return result; in factorial()
|
/third_party/elfutils/libdw/ |
H A D | libdw.h | 359 Dwarf_Die *result) __nonnull_attribute__ (3); 363 Dwarf_Die *result) 373 extern Dwarf_Die *dwarf_diecu (Dwarf_Die *die, Dwarf_Die *result, 383 Dwarf_Die which you want to refer to later. The addr, and the result 386 Dwarf_Die *result) 397 extern Dwarf_Die *dwarf_cu_die (Dwarf_CU *cu, Dwarf_Die *result, 408 Dwarf_Die *result) __nonnull_attribute__ (3); 411 extern int dwarf_child (Dwarf_Die *die, Dwarf_Die *result) 420 extern int dwarf_siblingof (Dwarf_Die *die, Dwarf_Die *result) 447 extern int dwarf_peel_type (Dwarf_Die *die, Dwarf_Die *result) [all...] |
/third_party/curl/lib/ |
H A D | curl_ntlm_core.c | 431 CURLcode result; in Curl_ntlm_core_mk_nt_hash() local 441 result = Curl_md4it(ntbuffer, pw, 2 * len); in Curl_ntlm_core_mk_nt_hash() 442 if(!result) in Curl_ntlm_core_mk_nt_hash() 447 return result; in Curl_ntlm_core_mk_nt_hash() 513 CURLcode result = CURLE_OK; in Curl_ntlm_core_mk_ntlmv2_hash() local 527 result = Curl_hmacit(Curl_HMAC_MD5, ntlmhash, 16, identity, identity_len, in Curl_ntlm_core_mk_ntlmv2_hash() 531 return result; in Curl_ntlm_core_mk_ntlmv2_hash() 577 CURLcode result = CURLE_OK; in Curl_ntlm_core_mk_ntlmv2_resp() local 612 result = Curl_hmacit(Curl_HMAC_MD5, ntlmv2hash, HMAC_MD5_LENGTH, ptr + 8, in Curl_ntlm_core_mk_ntlmv2_resp() 614 if(result) { in Curl_ntlm_core_mk_ntlmv2_resp() 650 CURLcode result = CURLE_OK; Curl_ntlm_core_mk_lmv2_resp() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/ |
H A D | LocaleDistance.java | 406 BytesTrie.Result result = iter.resetToState64(startState).next('*'); // <*, *> in getDesSuppScriptDistance() 407 assert result.hasValue(); in getDesSuppScriptDistance() 414 if (result == BytesTrie.Result.FINAL_VALUE) { in getDesSuppScriptDistance() 427 BytesTrie.Result result = iter.next(desiredPartitions.charAt(0) | END_OF_SUBTAG); in getRegionPartitionsDistance() 428 if (result.hasNext()) { in getRegionPartitionsDistance() 429 result = iter.next(supportedPartitions.charAt(0) | END_OF_SUBTAG); in getRegionPartitionsDistance() 430 if (result.hasValue()) { in getRegionPartitionsDistance() 443 BytesTrie.Result result = iter.next(desiredPartitions.charAt(di++) | END_OF_SUBTAG); in getRegionPartitionsDistance() 444 if (result.hasNext()) { in getRegionPartitionsDistance() 447 result in getRegionPartitionsDistance() [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | unumberformattertst.c | 62 UFormattedNumber* result = NULL; in TestSkeletonFormatToString() local 68 result = unumf_openResult(&ec); in TestSkeletonFormatToString() 69 assertSuccess("Should create result without error", &ec); in TestSkeletonFormatToString() 72 unumf_formatInt(f, -444444, result, &ec); in TestSkeletonFormatToString() 75 unumf_resultToString(result, buffer, CAPACITY, &ec); in TestSkeletonFormatToString() 77 assertUEquals("Should produce expected string result", u"($444,444)", buffer); in TestSkeletonFormatToString() 80 unumf_formatDouble(f, -5142.3, result, &ec); in TestSkeletonFormatToString() 82 unumf_resultToString(result, buffer, CAPACITY, &ec); in TestSkeletonFormatToString() 84 assertUEquals("Should produce expected string result", u"($5,142)", buffer); in TestSkeletonFormatToString() 87 unumf_formatDecimal(f, "9.876E2", -1, result, in TestSkeletonFormatToString() 390 UFormattedNumber* result = NULL; Test21674_State() local 451 UChar result[200]; TestNegativeDegrees() local [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | normlzr.cpp | 130 UnicodeString& result, in normalize() 133 result.setToBogus(); in normalize() 141 if(&source!=&result) { in normalize() 142 dest=&result; in normalize() 144 // the source and result strings are the same object, use a temporary one in normalize() 157 result=*dest; in normalize() 165 UnicodeString& result, in compose() 167 normalize(source, compat ? UNORM_NFKC : UNORM_NFC, options, result, status); in compose() 173 UnicodeString& result, in decompose() 175 normalize(source, compat ? UNORM_NFKD : UNORM_NFD, options, result, statu in decompose() 128 normalize(const UnicodeString& source, UNormalizationMode mode, int32_t options, UnicodeString& result, UErrorCode &status) normalize() argument 163 compose(const UnicodeString& source, UBool compat, int32_t options, UnicodeString& result, UErrorCode &status) compose() argument 171 decompose(const UnicodeString& source, UBool compat, int32_t options, UnicodeString& result, UErrorCode &status) decompose() argument 213 concatenate(const UnicodeString &left, const UnicodeString &right, UnicodeString &result, UNormalizationMode mode, int32_t options, UErrorCode &errorCode) concatenate() argument 466 getText(UnicodeString& result) getText() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/timezone/ |
H A D | TimeZoneAliasTest.java | 136 StringBuffer result = new StringBuffer(); in join() 139 if (!isFirst) result.append(separator); in join() 141 result.append(it.next().toString()); in join() 143 return result.toString(); in join() 221 Zone result = (Zone)idToZone.get(id); in make() 222 if (result != null) return result; in make() 223 result = new Zone(id); in make() 224 idToZone.put(id, result); in make() 225 return result; in make() [all...] |
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
H A D | TimeZoneAliasTest.java | 133 StringBuffer result = new StringBuffer(); in join() 136 if (!isFirst) result.append(separator); in join() 138 result.append(it.next().toString()); in join() 140 return result.toString(); in join() 218 Zone result = (Zone)idToZone.get(id); in make() 219 if (result != null) return result; in make() 220 result = new Zone(id); in make() 221 idToZone.put(id, result); in make() 222 return result; in make() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/locale/ |
H A D | LocaleDistance.java | 411 BytesTrie.Result result = iter.resetToState64(startState).next('*'); // <*, *> in getDesSuppScriptDistance() 412 assert result.hasValue(); in getDesSuppScriptDistance() 419 if (result == BytesTrie.Result.FINAL_VALUE) { in getDesSuppScriptDistance() 432 BytesTrie.Result result = iter.next(desiredPartitions.charAt(0) | END_OF_SUBTAG); in getRegionPartitionsDistance() 433 if (result.hasNext()) { in getRegionPartitionsDistance() 434 result = iter.next(supportedPartitions.charAt(0) | END_OF_SUBTAG); in getRegionPartitionsDistance() 435 if (result.hasValue()) { in getRegionPartitionsDistance() 448 BytesTrie.Result result = iter.next(desiredPartitions.charAt(di++) | END_OF_SUBTAG); in getRegionPartitionsDistance() 449 if (result.hasNext()) { in getRegionPartitionsDistance() 452 result in getRegionPartitionsDistance() [all...] |
/third_party/libuv/test/ |
H A D | test-fs-readdir.c | 52 ASSERT_OK(req->result); in empty_closedir_cb() 63 ASSERT_OK(req->result); in empty_readdir_cb() 79 ASSERT_OK(req->result); in empty_opendir_cb() 120 ASSERT_OK(opendir_req.result); in TEST_IMPL() 139 ASSERT_OK(closedir_req.result); in TEST_IMPL() 173 ASSERT_EQ(req->result, UV_ENOENT); in non_existing_opendir_cb() 193 ASSERT_EQ(opendir_req.result, UV_ENOENT); in TEST_IMPL() 225 ASSERT_EQ(req->result, UV_ENOTDIR); in file_opendir_cb() 246 ASSERT_EQ(opendir_req.result, UV_ENOTDIR); in TEST_IMPL() 277 ASSERT_OK(req->result); in non_empty_closedir_cb() [all...] |
/third_party/mesa3d/src/imagination/vulkan/ |
H A D | pvr_pass.c | 100 * initialized with the result of the load op. Since the input attachment in pvr_is_subpass_initops_flush_needed() 171 VkResult result; in pvr_pds_unitex_state_program_create_and_upload() local 188 result = pvr_gpu_upload_pds(device, in pvr_pds_unitex_state_program_create_and_upload() 197 if (result != VK_SUCCESS) { in pvr_pds_unitex_state_program_create_and_upload() 199 return result; in pvr_pds_unitex_state_program_create_and_upload() 216 VkResult result; in pvr_load_op_create() local 235 result = pvr_gpu_upload_usc(device, in pvr_load_op_create() 240 if (result != VK_SUCCESS) in pvr_load_op_create() 243 result = pvr_pds_fragment_program_create_and_upload( in pvr_load_op_create() 251 if (result ! in pvr_load_op_create() 319 VkResult result; pvr_CreateRenderPass2() local [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | normlzr.cpp | 130 UnicodeString& result, in normalize() 133 result.setToBogus(); in normalize() 141 if(&source!=&result) { in normalize() 142 dest=&result; in normalize() 144 // the source and result strings are the same object, use a temporary one in normalize() 157 result=*dest; in normalize() 165 UnicodeString& result, in compose() 167 normalize(source, compat ? UNORM_NFKC : UNORM_NFC, options, result, status); in compose() 173 UnicodeString& result, in decompose() 175 normalize(source, compat ? UNORM_NFKD : UNORM_NFD, options, result, statu in decompose() 128 normalize(const UnicodeString& source, UNormalizationMode mode, int32_t options, UnicodeString& result, UErrorCode &status) normalize() argument 163 compose(const UnicodeString& source, UBool compat, int32_t options, UnicodeString& result, UErrorCode &status) compose() argument 171 decompose(const UnicodeString& source, UBool compat, int32_t options, UnicodeString& result, UErrorCode &status) decompose() argument 213 concatenate(const UnicodeString &left, const UnicodeString &right, UnicodeString &result, UNormalizationMode mode, int32_t options, UErrorCode &errorCode) concatenate() argument 466 getText(UnicodeString& result) getText() argument [all...] |
/third_party/ltp/testcases/kernel/syscalls/kill/ |
H A D | kill10.c | 367 struct pid_list_item findit, *result; in ack_ready() local 371 result = bsearch(&findit, child_checklist, child_checklist_total, in ack_ready() 373 if (result) { in ack_ready() 374 if (!(result->flag & 0x01)) { in ack_ready() 379 result->flag = result->flag | 0x01; in ack_ready() 394 struct pid_list_item findit, *result; in ack_done() local 398 result = bsearch(&findit, child_checklist, child_checklist_total, in ack_done() 400 if (result) { in ack_done() 401 if (!(result in ack_done() 645 struct pid_list_item findit, *result; reply_to_child() local [all...] |
/third_party/mesa3d/src/gallium/auxiliary/driver_rbug/ |
H A D | rbug_screen.c | 214 struct pipe_context *result; in rbug_screen_context_create() local 216 result = screen->context_create(screen, priv, flags); in rbug_screen_context_create() 217 if (result) in rbug_screen_context_create() 218 return rbug_context_create(_screen, result); in rbug_screen_context_create() 239 struct pipe_resource *result; in rbug_screen_resource_create() local 241 result = screen->resource_create(screen, in rbug_screen_resource_create() 244 if (result) in rbug_screen_resource_create() 245 return rbug_resource_create(rb_screen, result); in rbug_screen_resource_create() 256 struct pipe_resource *result; in rbug_screen_resource_create_with_modifiers() local 258 result in rbug_screen_resource_create_with_modifiers() 276 struct pipe_resource *result; rbug_screen_resource_from_handle() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/ui/ |
H A D | ui_openssl.c | 280 char result[BUFSIZ]; in read_string_inner() local 297 result[0] = '\0'; in read_string_inner() 315 result, sizeof(result), NULL, 0) > 0) in read_string_inner() 316 p = result; in read_string_inner() 323 result, maxsize, &numread, NULL)) { in read_string_inner() 325 result[numread-2] == '\r' && result[numread-1] == '\n') { in read_string_inner() 326 result[numread-2] = '\n'; in read_string_inner() 329 result[numrea in read_string_inner() [all...] |
/third_party/openssl/crypto/ui/ |
H A D | ui_openssl.c | 280 char result[BUFSIZ]; in read_string_inner() local 297 result[0] = '\0'; in read_string_inner() 315 result, sizeof(result), NULL, 0) > 0) in read_string_inner() 316 p = result; in read_string_inner() 323 result, maxsize, &numread, NULL)) { in read_string_inner() 325 result[numread-2] == '\r' && result[numread-1] == '\n') { in read_string_inner() 326 result[numread-2] = '\n'; in read_string_inner() 329 result[numrea in read_string_inner() [all...] |