/third_party/glslang/glslang/CInterface/ |
H A D | glslang_c_interface.cpp | 92 glsl_include_result_t* result = variable 94 return makeIncludeResult(result); 104 glsl_include_result_t* result = variable 106 return makeIncludeResult(result); 114 virtual void releaseInclude(IncludeResult* result) override 116 if (result == nullptr) 120 this->callbacks.free_include_result(this->context, static_cast<glsl_include_result_t*>(result->userData)); 123 delete result; 129 IncludeResult* makeIncludeResult(glsl_include_result_t* result) { in makeIncludeResult() argument 130 if (!result) { in makeIncludeResult() [all...] |
/third_party/alsa-lib/src/rawmidi/ |
H A D | rawmidi_virt.c | 192 ssize_t result = 0; in snd_rawmidi_virtual_write() local 214 result += size1; in snd_rawmidi_virtual_write() 224 return result > 0 ? result : err; in snd_rawmidi_virtual_write() 228 if (result > 0) in snd_rawmidi_virtual_write() 231 return result; in snd_rawmidi_virtual_write() 237 ssize_t result = 0; in snd_rawmidi_virtual_read() local 243 if (err <= 0 && result > 0) in snd_rawmidi_virtual_read() 244 return result; in snd_rawmidi_virtual_read() 247 return result > in snd_rawmidi_virtual_read() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
H A D | LongNameHandler.java | 47 String result = strings[plural.ordinal()]; in getWithPlural() 48 if (result == null) { in getWithPlural() 49 result = strings[StandardPlural.OTHER.ordinal()]; in getWithPlural() 51 if (result == null) { in getWithPlural() 55 return result; in getWithPlural() 193 LongNameHandler result = new LongNameHandler(modifiers, rules, parent); in forCurrencyLongNames() 194 result.simpleFormatsToModifiers(simpleFormats, NumberFormat.Field.CURRENCY); in forCurrencyLongNames() 195 return result; in forCurrencyLongNames() 221 LongNameHandler result = new LongNameHandler(modifiers, rules, parent); in forMeasureUnit() 222 result in forMeasureUnit() [all...] |
/third_party/jerryscript/jerry-core/parser/js/ |
H A D | js-parser-mem.c | 40 void *result; in parser_malloc() local 43 result = jmem_heap_alloc_block_null_on_error (size); in parser_malloc() 45 if (result == NULL) in parser_malloc() 49 return result; in parser_malloc() 71 void *result; in parser_malloc_local() local 74 result = jmem_heap_alloc_block (size); in parser_malloc_local() 75 if (result == 0) in parser_malloc_local() 79 return result; in parser_malloc_local() 236 void *result; in parser_list_append() local 258 result in parser_list_append() 308 void *result; parser_list_iterator_next() local [all...] |
/third_party/node/deps/icu-small/source/i18n/ |
H A D | units_data.cpp | 376 void U_I18N_API getAllConversionRates(MaybeStackVector<ConversionRateInfo> &result, UErrorCode &status) { in getAllConversionRates() argument 378 ConversionRateDataSink sink(&result); in getAllConversionRates() 399 CharString result; in getKeyWordValue() local 400 if (U_FAILURE(status)) { return result; } in getKeyWordValue() 402 CharStringByteSink sink(&result); in getKeyWordValue() 405 if (U_SUCCESS(status) && result.isEmpty()) { in getKeyWordValue() 408 return result; in getKeyWordValue() 415 MaybeStackVector<UnitPreference> result; in getPreferencesFor() local 434 result.emplaceBackAndCheckErrorCode(status, unitPref); in getPreferencesFor() 435 return result; in getPreferencesFor() [all...] |
/third_party/node/deps/v8/src/inspector/ |
H A D | string-util.cc | 38 std::basic_string<UChar> result; in toBase64() 39 result.reserve(4 * ((size() + 2) / 3)); in toBase64() 43 result.push_back(table[split.first | last]); in toBase64() 47 result.push_back(table[split.second]); in toBase64() 53 result.push_back(table[last]); in toBase64() 54 while (result.size() % 4 > 0) result.push_back('='); in toBase64() 55 return String16(std::move(result)); in toBase64() 71 std::vector<uint8_t> result; in fromBase64() local 72 result in fromBase64() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/vl/ |
H A D | vl_compositor_cs.c | 616 /* Make the result visible to all clients. */ in cs_launch() 626 struct u_rect result; in calc_drawn_area() local 634 result.x0 = tl.x * layer->viewport.scale[0] + layer->viewport.translate[0]; in calc_drawn_area() 635 result.y0 = tl.y * layer->viewport.scale[1] + layer->viewport.translate[1]; in calc_drawn_area() 636 result.x1 = br.x * layer->viewport.scale[0] + layer->viewport.translate[0]; in calc_drawn_area() 637 result.y1 = br.y * layer->viewport.scale[1] + layer->viewport.translate[1]; in calc_drawn_area() 640 result.x0 = MAX2(result.x0, s->scissor.minx); in calc_drawn_area() 641 result.y0 = MAX2(result in calc_drawn_area() [all...] |
/third_party/node/deps/undici/src/lib/fetch/ |
H A D | util.js | 40 // 2. Let location be the result of extracting header list values given 44 // 3. If location is a header value, then set location to the result of 197 // 1. Let policy be the result of executing § 8.1 Parse a referrer policy 201 // 1. Let policy-tokens be the result of extracting header list values given `Referrer-Policy` and response’s header list. 276 // 1. Let serializedOrigin be the result of byte-serializing a request origin with request. 385 // 4. Let request’s referrerURL be the result of stripping referrerSource for 389 // 5. Let referrerOrigin be the result of stripping referrerSource for use as 393 // 6. If the result of serializing referrerURL is a string whose length is 541 // 1. Let parsedMetadata be the result of parsing metadataList. 557 // 5. Let metadata be the result o [all...] |
/third_party/libcoap/src/ |
H A D | coap_option.c | 41 coap_opt_parse(const coap_opt_t *opt, size_t length, coap_option_t *result) { in coap_opt_parse() argument 46 assert(result); in coap_opt_parse() 51 result->delta = (*opt & 0xf0) >> 4; in coap_opt_parse() 52 result->length = *opt & 0x0f; in coap_opt_parse() 54 switch (result->delta) { in coap_opt_parse() 65 result->delta = ((*opt & 0xff) << 8) + 269; in coap_opt_parse() 66 if (result->delta < 269) { in coap_opt_parse() 73 result->delta += *opt & 0xff; in coap_opt_parse() 80 switch (result->length) { in coap_opt_parse() 89 result in coap_opt_parse() [all...] |
/third_party/openssl/test/ |
H A D | ct_test.c | 131 int result = 0; in STACK_OF() local 145 result = 1; in STACK_OF() 149 return result; in STACK_OF() 157 int result = 0; in compare_extension_printout() local 176 result = 1; in compare_extension_printout() 180 return result; in compare_extension_printout() 344 return result; in test_no_scts_in_certificate() 357 return result; in test_one_sct_in_certificate() 370 return result; in test_multiple_scts_in_certificate() 382 return result; in test_verify_one_sct() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
H A D | esextcGeometryShaderLayeredRenderingBoundaryCondition.cpp | 223 static const char* result = "${VERSION}\n" in getFragmentShaderCode() local 234 return result; in getFragmentShaderCode() 243 static const char* result = "${VERSION}\n" in getVertexShaderCode() local 254 return result; in getVertexShaderCode() 303 * Sets the test result to QP_TEST_RESULT_FAIL if the test failed, QP_TEST_RESULT_PASS otherwise. 505 static const char* result = "${VERSION}\n" in getFragmentShaderCode() local 527 return result; in getFragmentShaderCode() 536 static const char* result = "${VERSION}\n" in getGeometryShaderCode() local 579 return result; in getGeometryShaderCode() 582 /** Get reference color for test result verificatio 653 static const char* result = "${VERSION}\\n" getVertexShaderCode() local 703 static const char* result = "${VERSION}\\n" getGeometryShaderCode() local 790 static const char* result = "${VERSION}\\n" getGeometryShaderCode() local [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/ |
H A D | esextcTessellationShaderIsolines.cpp | 214 } /* if (current test result's irrelelvant tessellation levels match what we're after) */ in checkIrrelevantTessellationLevelsHaveNoEffect() 226 * @param test_result Test result descriptor to perform the check on. 259 /* Count unique line segments found in all the line segments making up the result data set. */ in checkSecondOuterTessellationLevelEffect() 323 * @param test_result Test result descriptor to perform the check on. 408 * @param test_result Test result instance to update. 485 /** Retrieves test result structure for a particular set of properties. 487 * @param irrelevant_tess_level Irrelevant tessellation level the test result descriptor should be using. 488 * @param outer1_tess_level First outer tessellation level value the test result descriptor should be using. 489 * @param outer2_tess_level Second outer tessellation level value the test result descriptor should be using. 490 * @param vertex_spacing_mode Vertex spacing mode the test result descripto 504 TessellationShadersIsolines::_test_result result; findTestResult() local 695 _test_result result; iterate() local [all...] |
/third_party/vk-gl-cts/executor/ |
H A D | xeTcpIpLink.cpp | 211 deSocketResult result = DE_SOCKETRESULT_LAST; in run() local 226 result = m_socket.send(&buf[numSent], numToSend-numSent, &numSent); in run() 228 if (result == DE_SOCKETRESULT_CONNECTION_CLOSED) in run() 230 else if (result == DE_SOCKETRESULT_CONNECTION_TERMINATED) in run() 232 else if (result == DE_SOCKETRESULT_ERROR) in run() 234 else if (result == DE_SOCKETRESULT_WOULD_BLOCK) in run() 241 DE_ASSERT(result == DE_SOCKETRESULT_SUCCESS); in run() 315 deSocketResult result = DE_SOCKETRESULT_LAST; in run() local 320 result = m_socket.receive(&m_curMsgBuf[m_curMsgPos], bytesToRecv, &numRecv); in run() 322 if (result in run() [all...] |
/third_party/skia/src/pathops/ |
H A D | SkOpSegment.h | 236 SkOpSpan* result = globalState->allocator()->make<SkOpSpan>(); in insert() local 238 result->setPrev(prev); in insert() 239 prev->setNext(result); in insert() 240 SkDEBUGCODE(result->ptT()->fT = 0); in insert() 241 result->setNext(next); in insert() 243 next->setPrev(result); in insert() 245 return result; in insert() 282 bool markAngle(int maxWinding, int sumWinding, const SkOpAngle* angle, SkOpSpanBase** result); 284 const SkOpAngle* angle, SkOpSpanBase** result); 301 int result in OppSign() local 375 int result = start->t() < end->t() ? -start->upCast()->windValue() SpanSign() local [all...] |
/third_party/skia/tools/fonts/ |
H A D | create_test_font.cpp | 169 unsigned result = 1; in offset_str_len() local 172 ++result; in offset_str_len() 175 return result; in offset_str_len() 179 SkString result(str); in strip_final() 180 if (result.endsWith("\n")) { in strip_final() 181 result.remove(result.size() - 1, 1); in strip_final() 183 if (result.endsWith(" ")) { in strip_final() 184 result.remove(result in strip_final() [all...] |
/third_party/typescript/tests/baselines/reference/ |
H A D | parserRealSource4.js | 40 var result: string[] = []; 43 result[result.length] = k; 46 return result; 226 var result = null; variable 231 result = current.data; 243 return result; 325 var result = [];
328 result[result [all...] |
/third_party/protobuf/src/google/protobuf/io/ |
H A D | tokenizer.cc | 842 bool result = Next(); in NextWithComments() local 843 if (!result || current_.text == "}" || current_.text == "]" || in NextWithComments() 849 return result; in NextWithComments() 883 uint64 result = 0; in ParseInteger() local 891 if (digit > max_value || result > (max_value - digit) / base) { in ParseInteger() 895 result = result * base + digit; in ParseInteger() 898 *output = result; in ParseInteger() 905 double result = NoLocaleStrtod(start, &end); in ParseFloat() local 925 return result; in ParseFloat() 960 ReadHexDigits(const char* ptr, int len, uint32* result) ReadHexDigits() argument [all...] |
/third_party/python/Objects/ |
H A D | methodobject.c | 427 PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs); in cfunction_vectorcall_FASTCALL() local 429 return result; in cfunction_vectorcall_FASTCALL() 443 PyObject *result = meth(PyCFunction_GET_SELF(func), args, nargs, kwnames); in cfunction_vectorcall_FASTCALL_KEYWORDS() local 445 return result; in cfunction_vectorcall_FASTCALL_KEYWORDS() 459 PyObject *result = meth(PyCFunction_GET_SELF(func), cls, args, nargs, kwnames); in cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD() local 461 return result; in cfunction_vectorcall_FASTCALL_KEYWORDS_METHOD() 486 PyObject *result = _PyCFunction_TrampolineCall( in cfunction_vectorcall_NOARGS() local 489 return result; in cfunction_vectorcall_NOARGS() 514 PyObject *result = _PyCFunction_TrampolineCall( in cfunction_vectorcall_O() local 517 return result; in cfunction_vectorcall_O() 540 PyObject *result; cfunction_call() local [all...] |
/third_party/python/Modules/_io/ |
H A D | iobase.c | 535 PyObject *peek, *buffer, *result; in _io__IOBase_readline_impl() local 628 result = PyBytes_FromStringAndSize(PyByteArray_AS_STRING(buffer), in _io__IOBase_readline_impl() 632 return result; in _io__IOBase_readline_impl() 683 PyObject *result, *it = NULL; in _io__IOBase_readlines_impl() local 685 result = PyList_New(0); in _io__IOBase_readlines_impl() 686 if (result == NULL) in _io__IOBase_readlines_impl() 693 PyObject *ret = PyObject_CallMethodObjArgs(result, &_Py_ID(extend), in _io__IOBase_readlines_impl() 699 return result; in _io__IOBase_readlines_impl() 718 if (PyList_Append(result, line) < 0) { in _io__IOBase_readlines_impl() 733 return result; in _io__IOBase_readlines_impl() 953 PyObject *result; _io__RawIOBase_readall_impl() local [all...] |
/third_party/skia/infra/bots/recipes/ |
H A D | compute_buildstats.py | 31 def add_binary_size_output_property(result, source, binary_size): 32 result.presentation.properties['binary_size_%s' % source] = binary_size 154 result = api.step.active_result 155 logs = result.presentation.logs 158 add_binary_size_output_property(result, api.path.basename(f), ( 182 result = api.step.active_result 183 logs = result.presentation.logs 186 add_binary_size_output_property(result, api.path.basename(f), ( 215 result = api.step.active_result 216 logs = result [all...] |
/kernel/linux/linux-5.10/kernel/ |
H A D | auditsc.c | 484 int result = 0; in audit_filter_rules() local 490 result = audit_comparator(pid, f->op, f->val); in audit_filter_rules() 496 result = audit_comparator(ctx->ppid, f->op, f->val); in audit_filter_rules() 500 result = audit_exe_compare(tsk, rule->exe); in audit_filter_rules() 502 result = !result; in audit_filter_rules() 505 result = audit_uid_comparator(cred->uid, f->op, f->uid); in audit_filter_rules() 508 result = audit_uid_comparator(cred->euid, f->op, f->uid); in audit_filter_rules() 511 result = audit_uid_comparator(cred->suid, f->op, f->uid); in audit_filter_rules() 514 result in audit_filter_rules() [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | auditsc.c | 484 int result = 0; in audit_filter_rules() local 490 result = audit_comparator(pid, f->op, f->val); in audit_filter_rules() 496 result = audit_comparator(ctx->ppid, f->op, f->val); in audit_filter_rules() 500 result = audit_exe_compare(tsk, rule->exe); in audit_filter_rules() 502 result = !result; in audit_filter_rules() 505 result = audit_uid_comparator(cred->uid, f->op, f->uid); in audit_filter_rules() 508 result = audit_uid_comparator(cred->euid, f->op, f->uid); in audit_filter_rules() 511 result = audit_uid_comparator(cred->suid, f->op, f->uid); in audit_filter_rules() 514 result in audit_filter_rules() [all...] |
/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
H A D | firmware_if.c | 356 u16 len, u32 timeout, u64 *result) in hl_fw_send_cpu_message() 462 if (result) in hl_fw_send_cpu_message() 463 *result = rc; in hl_fw_send_cpu_message() 467 } else if (result) { in hl_fw_send_cpu_message() 468 *result = le64_to_cpu(pkt->result); in hl_fw_send_cpu_message() 491 u64 result; in hl_fw_unmask_irq() local 501 0, &result); in hl_fw_unmask_irq() 514 u64 result; in hl_fw_unmask_irq_arr() local 540 total_pkt_size, 0, &result); in hl_fw_unmask_irq_arr() 355 hl_fw_send_cpu_message(struct hl_device *hdev, u32 hw_queue_id, u32 *msg, u16 len, u32 timeout, u64 *result) hl_fw_send_cpu_message() argument 553 u64 result; hl_fw_test_cpu_queue() local 626 u64 result; hl_fw_send_heartbeat() local 860 u64 result; hl_fw_cpucp_info_get() local 934 u64 result; hl_fw_send_msi_info_msg() local 1005 u64 result; hl_fw_get_eeprom_data() local 1050 u64 result; hl_fw_get_monitor_dump() local 1093 u64 result; hl_fw_cpucp_pci_counters_get() local 1145 u64 result; hl_fw_cpucp_total_energy_get() local 1216 u64 result; hl_fw_cpucp_pll_info_get() local 1247 u64 result; hl_fw_cpucp_power_get() local 1274 u64 result; hl_fw_dram_replaced_row_get() local 1313 u64 result; hl_fw_dram_pending_row_get() local 3126 u64 result; hl_fw_get_frequency() local 3180 u64 result; hl_fw_get_max_power() local 3267 u64 result; hl_fw_send_generic_request() local [all...] |
/third_party/spirv-tools/source/opt/ |
H A D | const_folding_rules.cpp | 316 // Check result type. in FoldVectorTimesScalar() 330 // Get a float vector that is the result of vector-times-scalar. in FoldVectorTimesScalar() 337 utils::FloatProxy<float> result(c1_components[i]->GetFloat() * scalar); in FoldVectorTimesScalar() 338 std::vector<uint32_t> words = result.GetWords(); in FoldVectorTimesScalar() 347 utils::FloatProxy<double> result(c1_components[i]->GetDouble() * in FoldVectorTimesScalar() 349 std::vector<uint32_t> words = result.GetWords(); in FoldVectorTimesScalar() 360 // Returns to the constant that results from tranposing |matrix|. The result 362 // result constant will also exist in |context|. 389 // Create the constant for each row in the result, and collect the ids. 444 // Check result typ [all...] |
/kernel/linux/linux-5.10/sound/core/ |
H A D | pcm_native.c | 851 int result = 0; in do_hw_free() local 855 result = substream->ops->hw_free(substream); in do_hw_free() 858 return result; in do_hw_free() 864 int result = 0; in snd_pcm_hw_free() local 869 result = snd_pcm_buffer_access_lock(runtime); in snd_pcm_hw_free() 870 if (result < 0) in snd_pcm_hw_free() 871 return result; in snd_pcm_hw_free() 877 result = -EBADFD; in snd_pcm_hw_free() 880 result = -EBADFD; in snd_pcm_hw_free() 884 if (result) in snd_pcm_hw_free() 1836 int result; snd_pcm_xrun() local 2081 int result = 0; snd_pcm_drain() local 2191 int result = 0; snd_pcm_drop() local 3178 snd_pcm_sframes_t result; snd_pcm_xferi_frames_ioctl() local 3201 snd_pcm_sframes_t result; snd_pcm_xfern_frames_ioctl() local 3229 snd_pcm_sframes_t result; snd_pcm_rewind_ioctl() local 3245 snd_pcm_sframes_t result; snd_pcm_forward_ioctl() local 3391 snd_pcm_sframes_t result; snd_pcm_kernel_ioctl() local 3428 snd_pcm_sframes_t result; snd_pcm_read() local 3452 snd_pcm_sframes_t result; snd_pcm_write() local 3475 snd_pcm_sframes_t result; snd_pcm_readv() local 3511 snd_pcm_sframes_t result; snd_pcm_writev() local [all...] |