/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | DynamicMessage.java | 195 Object result = fields.getField(field); in getField() 196 if (result == null) { in getField() 198 result = Collections.emptyList(); in getField() 200 result = getDefaultInstance(field.getMessageType()); in getField() 202 result = field.getDefaultValue(); in getField() 205 return result; in getField() 427 DynamicMessage result = in buildPartial() 430 return result; in buildPartial() 435 Builder result = new Builder(type); in clone() 436 result in clone() [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | celp_math.c | 50 unsigned int result= exp2a[power>>10] + 0x10000; in ff_exp2() local 54 result= (result<<3) + ((result*exp2b[(power>>5)&31])>>17); in ff_exp2() 55 return result + ((result*(power&31)*89)>>22); in ff_exp2()
|
/third_party/elfutils/libelf/ |
H A D | gelf_getrela.c | 45 GElf_Rela *result; in gelf_getrela() local 69 result = NULL; in gelf_getrela() 80 result = dst; in gelf_getrela() 90 result = NULL; in gelf_getrela() 93 result = memcpy (dst, &((Elf64_Rela *) data_scn->d.d_buf)[ndx], in gelf_getrela() 99 return result; in gelf_getrela()
|
H A D | gelf_getrel.c | 45 GElf_Rel *result; in gelf_getrel() local 69 result = NULL; in gelf_getrel() 79 result = dst; in gelf_getrel() 89 result = NULL; in gelf_getrel() 92 result = memcpy (dst, &((Elf64_Rel *) data_scn->d.d_buf)[ndx], in gelf_getrel() 98 return result; in gelf_getrel()
|
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | callcoll.h | 43 void doTest(UCollator*, const UChar* source, const UChar* target, UCollationResult result); 49 void genericOrderingTestWithResult(UCollator *coll, const char * const s[], uint32_t size, UCollationResult result); 52 void genericLocaleStarterWithResult(const char *locale, const char * const s[], uint32_t size, UCollationResult result); 54 void genericLocaleStarterWithOptionsAndResult(const char *locale, const char * const s[], uint32_t size, const UColAttribute *attrs, const UColAttributeValue *values, uint32_t attsize, UCollationResult result); 55 void genericRulesStarterWithResult(const char *rules, const char * const s[], uint32_t size, UCollationResult result); 57 void genericRulesStarterWithOptionsAndResult(const char *rules, const char * const s[], uint32_t size, const UColAttribute *attrs, const UColAttributeValue *values, uint32_t attsize, UCollationResult result);
|
/third_party/icu/icu4c/source/common/ |
H A D | servrbf.cpp | 75 ICUResourceBundleFactory::debug(UnicodeString& result) const in debug() 77 LocaleKeyFactory::debug(result); in debug() 78 result.append((UnicodeString)", bundle: "); in debug() 79 return result.append(_bundleName); in debug() 83 ICUResourceBundleFactory::debugClass(UnicodeString& result) const in debugClass() 85 return result.append((UnicodeString)"ICUResourceBundleFactory"); in debugClass()
|
H A D | ustack.cpp | 40 void* result = nullptr; in pop() local 42 result = orphanElementAt(n); in pop() 44 return result; in pop() 49 int32_t result = 0; in popi() local 51 result = elementAti(n); in popi() 54 return result; in popi()
|
/third_party/icu/icu4j/perf-tests/ |
H A D | Dataset.pm | 81 my $result = Dataset->new(); 82 $result->{_mean} = ($minratio + $maxratio) / 2; 83 $result->{_error} = $result->{_mean} - $minratio; 84 $result->{_scale} = $self->{_scale} / $rhs->{_scale}; 85 $result;
|
/third_party/icu/icu4c/source/i18n/ |
H A D | numparse_validators.h | 29 void postProcess(ParsedNumber& result) const U_OVERRIDE = 0; 35 void postProcess(ParsedNumber& result) const U_OVERRIDE; 43 void postProcess(ParsedNumber& result) const U_OVERRIDE; 55 void postProcess(ParsedNumber& result) const U_OVERRIDE; 66 void postProcess(ParsedNumber& result) const U_OVERRIDE; 81 void postProcess(ParsedNumber& result) const U_OVERRIDE;
|
/third_party/lzma/CPP/7zip/Archive/Common/ |
H A D | InStreamWithCRC.cpp | 10 HRESULT result = S_OK;
in Read() local 14 result = _stream->Read(data, size, &realProcessed);
in Read() 23 return result;
in Read() 36 HRESULT result = S_OK;
in Read() local 38 result = _stream->Read(data, size, &realProcessed);
in Read() 47 return result;
in Read()
|
/third_party/mesa3d/src/compiler/glsl/ |
H A D | hir_field_selection.cpp | 35 ir_rvalue *result = NULL; in _mesa_ast_field_selection_to_hir() local 50 result = new(ctx) ir_dereference_record(op, in _mesa_ast_field_selection_to_hir() 53 if (result->type->is_error()) { in _mesa_ast_field_selection_to_hir() 64 result = swiz; in _mesa_ast_field_selection_to_hir() 79 return result ? result : ir_rvalue::error_value(ctx); in _mesa_ast_field_selection_to_hir()
|
/third_party/node/test/parallel/ |
H A D | test-child-process-validate-stdio.js | 19 const result = getValidStdio(stdio1, false); 21 assert.strictEqual(Object.hasOwn(result, 'stdio'), true); 22 assert.strictEqual(Object.hasOwn(result, 'ipc'), true); 23 assert.strictEqual(Object.hasOwn(result, 'ipcFd'), true); 48 const result = getValidStdio(stdio3, false); 49 assert.deepStrictEqual(result, {
|
/third_party/node/test/common/wpt/ |
H A D | worker.js | 32 add_result_callback((result) => { 34 type: 'result', 35 result: { 36 status: result.status, 37 name: result.name, 38 message: result.message, 39 stack: result.stack,
|
/third_party/node/test/es-module/ |
H A D | test-esm-dynamic-import.js | 10 function expectModuleError(result, code, message) { 11 Promise.resolve(result).catch(common.mustCall((error) => { 17 function expectOkNamespace(result) { 18 Promise.resolve(result) 29 function expectFsNamespace(result) { 30 Promise.resolve(result)
|
/third_party/node/deps/icu-small/source/common/ |
H A D | ustack.cpp | 40 void* result = nullptr; in pop() local 42 result = orphanElementAt(n); in pop() 44 return result; in pop() 49 int32_t result = 0; in popi() local 51 result = elementAti(n); in popi() 54 return result; in popi()
|
H A D | servrbf.cpp | 75 ICUResourceBundleFactory::debug(UnicodeString& result) const in debug() 77 LocaleKeyFactory::debug(result); in debug() 78 result.append((UnicodeString)", bundle: "); in debug() 79 return result.append(_bundleName); in debug() 83 ICUResourceBundleFactory::debugClass(UnicodeString& result) const in debugClass() 85 return result.append((UnicodeString)"ICUResourceBundleFactory"); in debugClass()
|
/third_party/node/benchmark/util/ |
H A D | text-encoder.js | 32 let result; 35 result = encoder.encode(input); 37 assert.deepStrictEqual(result, expected); 42 let result; 45 result = encoder.encodeInto(input, subarray); 48 assert.deepStrictEqual(result, expectedStats);
|
/third_party/node/benchmark/url/ |
H A D | whatwg-url-parse.js | 15 let result = new URL(data[0][0], data[0][1]); // Avoid dead code elimination 19 result = new URL(item[0], item[1]); 22 return result; 27 let result = new URL(data[0]); // Avoid dead code elimination 30 result = new URL(data[i]); 33 return result;
|
/third_party/node/deps/npm/node_modules/color-convert/ |
H A D | index.js | 42 const result = fn(args); 44 // We're assuming the result is an array here. 47 if (typeof result === 'object') { 48 for (let len = result.length, i = 0; i < len; i++) { 49 result[i] = Math.round(result[i]); 53 return result;
|
/third_party/node/deps/icu-small/source/i18n/ |
H A D | numparse_validators.h | 29 void postProcess(ParsedNumber& result) const override = 0; 35 void postProcess(ParsedNumber& result) const override; 43 void postProcess(ParsedNumber& result) const override; 55 void postProcess(ParsedNumber& result) const override; 66 void postProcess(ParsedNumber& result) const override; 81 void postProcess(ParsedNumber& result) const override;
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | signalfd.c | 33 int result = sigaddset(&mask, sig); in signalfd_0100() local 34 if (result != 0) { in signalfd_0100() 35 t_error("%s failed: result = %d\n", __func__, result); in signalfd_0100() 38 result = sigprocmask(SIG_SETMASK, &mask, NULL); in signalfd_0100() 39 if (result != 0) { in signalfd_0100() 40 t_error("%s failed: result = %d\n", __func__, result); in signalfd_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/manual/network/ |
H A D | gethostbyname_r.c | 36 int result = 10; in gethostbyname_r_0100() local 42 result = gethostbyname_r("127.0.0.1", &h, buf, 1024, &res, &err); in gethostbyname_r_0100() 43 if (result == 0) { in gethostbyname_r_0100() 58 int result = 10; in gethostbyname_r_0200() local 64 result = gethostbyname_r("127.0.w.1", &h, buf, 1024, &res, &err); in gethostbyname_r_0200() 65 if (result != 0) { in gethostbyname_r_0200()
|
/third_party/musl/libc-test/src/functionalext/supplement/stat/ |
H A D | fchmodat.c | 37 int result = fchmodat(fd, in fchmodat_0100() local 43 EXPECT_EQ("fchmodat_0100", result, 0); in fchmodat_0100() 61 int result = fchmodat(fd, in fchmodat_0200() local 66 EXPECT_EQ("fchmodat_0200", result, 0); in fchmodat_0200() 79 int result = fchmodat(-1, "test.txt", S_IRWXU | S_IRWXG | S_IRWXO, AT_SYMLINK_NOFOLLOW); in fchmodat_0300() local 80 EXPECT_EQ("fchmodat_0300", result, failed); in fchmodat_0300()
|
H A D | fchmod.c | 34 int result = fchmod(fd, in fchmod_0100() local 38 EXPECT_EQ("fchmod_0100", result, 0); in fchmod_0100() 54 int result = fchmod(fd, S_IRWXU | S_IRWXG | S_IRWXO); in fchmod_0200() local 56 EXPECT_EQ("fchmod_0200", result, 0); in fchmod_0200() 69 int result = fchmod(-1, S_IRWXU | S_IRWXG | S_IRWXO); in fchmod_0300() local 70 EXPECT_EQ("fchmod_0300", result, -1); in fchmod_0300()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | __fwriting.c | 36 int result = __fwriting(fptr); in __fwriting_0100() local 37 EXPECT_NE("__fwriting_0100", result, NUM_ZERO); in __fwriting_0100() 54 int result = __fwriting(fptr); in __fwriting_0200() local 55 EXPECT_NE("__fwriting_0200", result, NUM_ZERO); in __fwriting_0200() 75 int result = __fwriting(fptr); in __fwriting_0300() local 76 EXPECT_EQ("__fwriting_0300", result, NUM_ZERO); in __fwriting_0300()
|