/third_party/gn/src/gn/ |
H A D | functions.cc | 447 don't use the result of exec_script() to set the default value. If you 594 bool result = base->scope_value()->GetValue(scope_member) != nullptr; in RunDefined() local 595 return Value(function, result); in RunDefined() 638 std::string result; in RunGetEnv() local 639 if (!env->GetVar(args[0].string_value().c_str(), &result)) in RunGetEnv() 641 return Value(function, result); in RunGetEnv() 662 build. Files must either be imported or implicitly loaded as a result of deps 1091 result = split_list(input, n) 1095 result will always be a list of size N. If N is greater than the number of 1131 *err = Err(function, "Requested result siz [all...] |
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_query.c | 89 union pipe_query_result *result); 128 /* The application doesn't care for the pending query result. in begin_query_vgpu9() 131 * by the host when it determines the query result. So the only in begin_query_vgpu9() 132 * option here is to wait for the existing query's result -- not a in begin_query_vgpu9() 135 uint64_t result; in begin_query_vgpu9() local 136 svga_get_query_result(&svga->pipe, &sq->base, TRUE, (void*)&result); in begin_query_vgpu9() 157 bool wait, uint64_t *result) in get_query_result_vgpu9() 185 *result = (uint64_t)sq->queryResult->result32; in get_query_result_vgpu9() 194 * query types. The mob is used to hold queries's state and result. Since 195 * each query result typ 156 get_query_result_vgpu9(struct svga_context *svga, struct svga_query *sq, bool wait, uint64_t *result) get_query_result_vgpu9() argument 585 get_query_result_vgpu10(struct svga_context *svga, struct svga_query *sq, bool wait, void *result, int resultLen) get_query_result_vgpu10() argument 1092 uint64_t *result = (uint64_t *)vresult; svga_get_query_result() local 1288 union pipe_query_result result; svga_get_timestamp() local [all...] |
/third_party/icu/icu4c/source/io/ |
H A D | uscanf_p.cpp | 654 /* stash the result in num */ in u_scanf_scidbl_handler() 660 /* stash the result in num */ in u_scanf_scidbl_handler() 703 int64_t result; in u_scanf_integer_handler() local 739 result = unum_parseInt64(localFormat, input->str.fPos, len, &parsePos, &status); in u_scanf_integer_handler() 744 *(int16_t*)num = (int16_t)(UINT16_MAX & result); in u_scanf_integer_handler() 746 *(int64_t*)num = result; in u_scanf_integer_handler() 748 *(int32_t*)num = (int32_t)(UINT32_MAX & result); in u_scanf_integer_handler() 1083 int64_t result; in u_scanf_hex_handler() local 1108 result = ufmt_uto64(input->str.fPos, &len, 16); in u_scanf_hex_handler() 1116 *(int16_t*)num = (int16_t)(UINT16_MAX & result); in u_scanf_hex_handler() 1142 int64_t result; u_scanf_octal_handler() local 1191 void *result; u_scanf_pointer_handler() local [all...] |
/third_party/node/deps/v8/src/debug/ |
H A D | liveedit.cc | 46 // Receives compare result as a series of chunks. 49 // Puts another chunk in result list. Note that technically speaking 74 // Makes sure that result for the full problem is calculated and stored 149 // Computes result for a subtask and optionally caches it in the buffer table. 363 // Stores compare result in std::vector. Converts substring positions 465 // Stores compare result in std::vector. For each chunk tries to conduct 598 FunctionLiteralChanges* result) { in CalculateFunctionLiteralChanges() 626 result->insert(literal_stack.top()); in CalculateFunctionLiteralChanges() 757 debug::LiveEditResult* result) { in ParseScript() 777 result in ParseScript() 595 CalculateFunctionLiteralChanges( const std::vector<FunctionLiteral*>& literals, const std::vector<SourceChangeRange>& diffs, FunctionLiteralChanges* result) CalculateFunctionLiteralChanges() argument 755 ParseScript(Isolate* isolate, Handle<Script> script, ParseInfo* parse_info, bool compile_as_well, std::vector<FunctionLiteral*>* literals, debug::LiveEditResult* result) ParseScript() argument 910 CanPatchScript(const LiteralMap& changed, Handle<Script> script, Handle<Script> new_script, FunctionDataMap& function_data_map, debug::LiveEditResult* result) CanPatchScript() argument 975 PatchScript(Isolate* isolate, Handle<Script> script, Handle<String> new_source, bool preview, debug::LiveEditResult* result) PatchScript() argument [all...] |
/third_party/node/deps/v8/src/objects/ |
H A D | js-function.cc | 34 CodeKinds result = GetAttachedCodeKinds(); in GetAvailableCodeKinds() local 36 if ((result & CodeKindFlag::INTERPRETED_FUNCTION) == 0) { in GetAvailableCodeKinds() 39 result |= CodeKindFlag::INTERPRETED_FUNCTION; in GetAvailableCodeKinds() 43 if ((result & CodeKindFlag::BASELINE) == 0) { in GetAvailableCodeKinds() 46 result |= CodeKindFlag::BASELINE; in GetAvailableCodeKinds() 55 result |= CodeKindToCodeKindFlag(code.kind()); in GetAvailableCodeKinds() 58 DCHECK_EQ((result & ~kJSFunctionCodeKindsMask), 0); in GetAvailableCodeKinds() 59 return result; in GetAvailableCodeKinds() 63 CodeKinds result = GetAttachedCodeKinds(); in HasAttachedOptimizedCode() local 64 return (result in HasAttachedOptimizedCode() 68 CodeKinds result = GetAvailableCodeKinds(); HasAvailableOptimizedCode() local 73 CodeKinds result = GetAttachedCodeKinds(); HasAttachedCodeKind() local 78 CodeKinds result = GetAvailableCodeKinds(); HasAvailableCodeKind() local [all...] |
/third_party/skia/third_party/externals/icu/source/io/ |
H A D | uscanf_p.cpp | 654 /* stash the result in num */ in u_scanf_scidbl_handler() 660 /* stash the result in num */ in u_scanf_scidbl_handler() 703 int64_t result; in u_scanf_integer_handler() local 739 result = unum_parseInt64(localFormat, input->str.fPos, len, &parsePos, &status); in u_scanf_integer_handler() 744 *(int16_t*)num = (int16_t)(UINT16_MAX & result); in u_scanf_integer_handler() 746 *(int64_t*)num = result; in u_scanf_integer_handler() 748 *(int32_t*)num = (int32_t)(UINT32_MAX & result); in u_scanf_integer_handler() 1083 int64_t result; in u_scanf_hex_handler() local 1108 result = ufmt_uto64(input->str.fPos, &len, 16); in u_scanf_hex_handler() 1116 *(int16_t*)num = (int16_t)(UINT16_MAX & result); in u_scanf_hex_handler() 1142 int64_t result; u_scanf_octal_handler() local 1191 void *result; u_scanf_pointer_handler() local [all...] |
/third_party/python/Lib/test/ |
H A D | lock_tests.py | 132 result = [] 134 result.append(lock.acquire(False)) 136 self.assertFalse(result[0]) 353 result = [] 355 result.append(lock._is_owned()) 357 self.assertFalse(result[0]) 517 result = cond.wait() 519 results1.append((result, phase_num)) 522 result = cond.wait() 524 results2.append((result, phase_nu [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/video/ |
H A D | vktVideoCapabilitiesTests.cpp | 280 const VkResult result = vk.getPhysicalDeviceVideoFormatPropertiesKHR(physicalDevice, &videoFormatInfo, &videoFormatPropertiesCount, DE_NULL); in iterate() local 282 if (result != VK_SUCCESS) in iterate() 286 failMsg << "Failed query call to vkGetPhysicalDeviceVideoFormatPropertiesKHR with " << result; in iterate() local 310 const VkResult result = vk.getPhysicalDeviceVideoFormatPropertiesKHR(physicalDevice, &videoFormatInfo, &videoFormatPropertiesCount, videoFormatProperties.data()); in iterate() local 312 if (result != VK_SUCCESS) in iterate() 316 failMsg << "Failed query data call to vkGetPhysicalDeviceVideoFormatPropertiesKHR with " << result; in iterate() local 571 VkResult result = vk.getPhysicalDeviceVideoCapabilitiesKHR(physicalDevice, &videoProfile, &videoCapabilites[ndx]); in iterate() local 573 if (result != VK_SUCCESS) in iterate() 577 failMsg << "Failed query call to vkGetPhysicalDeviceVideoCapabilitiesKHR with " << result << " at iteration " << ndx; in iterate() 660 VkResult result in iterate() local 846 VkResult result = vk.getPhysicalDeviceVideoCapabilitiesKHR(physicalDevice, &videoProfile, &videoCapabilites[ndx]); iterate() local 933 VkResult result = vk.getPhysicalDeviceVideoCapabilitiesKHR(physicalDevice, &videoProfile, &videoCapabilites[ndx]); iterate() local [all...] |
/third_party/vk-gl-cts/framework/opengl/ |
H A D | gluShaderLibrary.cpp | 133 print("ERROR: Invalid expected result!\n"); in isValid() 381 void parseValueElement (DataType dataType, Value& result); 924 void ShaderParser::parseValueElement (DataType expectedDataType, Value& result) in parseValueElement() argument 985 result.elements.push_back(elems[scalarNdx]); in parseValueElement() 1225 parseError(string("invalid expected result value: " + m_curTokenStr)); in parseExpectResult() 1648 ostringstream result; in dumpValue() local 1650 result << " " << storageName << " "; in dumpValue() 1652 result << getDataTypeName(dataType) << " " << valueName << ":"; in dumpValue() 1655 result << " "; in dumpValue() 1657 result << " [ "; in dumpValue() [all...] |
/kernel/linux/linux-5.10/drivers/mmc/core/ |
H A D | sdio_uart.c | 917 int result; in sdio_uart_break_ctl() local 919 result = sdio_uart_claim_func(port); in sdio_uart_break_ctl() 920 if (result != 0) in sdio_uart_break_ctl() 921 return result; in sdio_uart_break_ctl() 936 int result; in sdio_uart_tiocmget() local 938 result = sdio_uart_claim_func(port); in sdio_uart_tiocmget() 939 if (!result) { in sdio_uart_tiocmget() 940 result = port->mctrl | sdio_uart_get_mctrl(port); in sdio_uart_tiocmget() 944 return result; in sdio_uart_tiocmget() 951 int result; in sdio_uart_tiocmset() local [all...] |
/kernel/linux/linux-5.10/drivers/pinctrl/cirrus/ |
H A D | pinctrl-madera-core.c | 744 unsigned int result = 0; in madera_pin_conf_get() local 763 result = 1; in madera_pin_conf_get() 768 result = 1; in madera_pin_conf_get() 773 result = 1; in madera_pin_conf_get() 778 result = 1; in madera_pin_conf_get() 782 result = 1; in madera_pin_conf_get() 786 result = 1; in madera_pin_conf_get() 789 result = madera_pin_unmake_drv_str(priv, conf[1]); in madera_pin_conf_get() 793 result = 1; in madera_pin_conf_get() 797 result in madera_pin_conf_get() [all...] |
/kernel/linux/linux-5.10/fs/exfat/ |
H A D | super.c | 261 struct fs_parse_result result; in exfat_parse_param() local 264 opt = fs_parse(fc, exfat_parameters, param, &result); in exfat_parse_param() 270 opts->fs_uid = make_kuid(current_user_ns(), result.uint_32); in exfat_parse_param() 273 opts->fs_gid = make_kgid(current_user_ns(), result.uint_32); in exfat_parse_param() 276 opts->fs_fmask = result.uint_32; in exfat_parse_param() 277 opts->fs_dmask = result.uint_32; in exfat_parse_param() 280 opts->fs_dmask = result.uint_32; in exfat_parse_param() 283 opts->fs_fmask = result.uint_32; in exfat_parse_param() 286 opts->allow_utime = result.uint_32 & 0022; in exfat_parse_param() 294 opts->errors = result in exfat_parse_param() [all...] |
/kernel/linux/linux-5.10/drivers/greybus/ |
H A D | operation.c | 110 * Set an operation's result. 116 * At that point nobody should be looking at the result until the 119 * The first time the result gets set after the request has been 120 * sent, that result "sticks." That is, if two concurrent threads 121 * race to set the result, the first one wins. The return value 122 * tells the caller whether its result was recorded; if not the 125 * The result value -EILSEQ is reserved to signal an implementation 128 * the result to -EBADR, and attempts to do so result in a warning, 129 * and -EILSEQ is used instead. Similarly, the only valid result 134 gb_operation_result_set(struct gb_operation *operation, int result) gb_operation_result_set() argument 182 int result = operation->errno; gb_operation_result() local [all...] |
/kernel/linux/linux-6.6/drivers/mmc/core/ |
H A D | sdio_uart.c | 903 int result; in sdio_uart_break_ctl() local 905 result = sdio_uart_claim_func(port); in sdio_uart_break_ctl() 906 if (result != 0) in sdio_uart_break_ctl() 907 return result; in sdio_uart_break_ctl() 922 int result; in sdio_uart_tiocmget() local 924 result = sdio_uart_claim_func(port); in sdio_uart_tiocmget() 925 if (!result) { in sdio_uart_tiocmget() 926 result = port->mctrl | sdio_uart_get_mctrl(port); in sdio_uart_tiocmget() 930 return result; in sdio_uart_tiocmget() 937 int result; in sdio_uart_tiocmset() local [all...] |
/kernel/linux/linux-6.6/fs/exfat/ |
H A D | super.c | 255 struct fs_parse_result result; in exfat_parse_param() local 258 opt = fs_parse(fc, exfat_parameters, param, &result); in exfat_parse_param() 264 opts->fs_uid = make_kuid(current_user_ns(), result.uint_32); in exfat_parse_param() 267 opts->fs_gid = make_kgid(current_user_ns(), result.uint_32); in exfat_parse_param() 270 opts->fs_fmask = result.uint_32; in exfat_parse_param() 271 opts->fs_dmask = result.uint_32; in exfat_parse_param() 274 opts->fs_dmask = result.uint_32; in exfat_parse_param() 277 opts->fs_fmask = result.uint_32; in exfat_parse_param() 280 opts->allow_utime = result.uint_32 & 0022; in exfat_parse_param() 288 opts->errors = result in exfat_parse_param() [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/cirrus/ |
H A D | pinctrl-madera-core.c | 747 unsigned int result = 0; in madera_pin_conf_get() local 766 result = 1; in madera_pin_conf_get() 771 result = 1; in madera_pin_conf_get() 776 result = 1; in madera_pin_conf_get() 781 result = 1; in madera_pin_conf_get() 785 result = 1; in madera_pin_conf_get() 789 result = 1; in madera_pin_conf_get() 792 result = madera_pin_unmake_drv_str(priv, conf[1]); in madera_pin_conf_get() 796 result = 1; in madera_pin_conf_get() 800 result in madera_pin_conf_get() [all...] |
/kernel/linux/linux-6.6/drivers/greybus/ |
H A D | operation.c | 110 * Set an operation's result. 116 * At that point nobody should be looking at the result until the 119 * The first time the result gets set after the request has been 120 * sent, that result "sticks." That is, if two concurrent threads 121 * race to set the result, the first one wins. The return value 122 * tells the caller whether its result was recorded; if not the 125 * The result value -EILSEQ is reserved to signal an implementation 128 * the result to -EBADR, and attempts to do so result in a warning, 129 * and -EILSEQ is used instead. Similarly, the only valid result 134 gb_operation_result_set(struct gb_operation *operation, int result) gb_operation_result_set() argument 182 int result = operation->errno; gb_operation_result() local [all...] |
/kernel/linux/linux-6.6/drivers/i2c/busses/ |
H A D | i2c-mpc.c | 785 int result; in fsl_i2c_probe() local 806 result = devm_request_irq(&op->dev, i2c->irq, mpc_i2c_isr, in fsl_i2c_probe() 808 if (result < 0) { in fsl_i2c_probe() 810 return result; in fsl_i2c_probe() 832 result = of_property_read_u32(op->dev.of_node, in fsl_i2c_probe() 834 if (result) in fsl_i2c_probe() 852 result = of_property_read_u32(op->dev.of_node, in fsl_i2c_probe() 855 if (result == -EINVAL) in fsl_i2c_probe() 856 result = of_property_read_u32(op->dev.of_node, in fsl_i2c_probe() 859 if (!result) { in fsl_i2c_probe() [all...] |
/kernel/liteos_m/testsuites/sample/posix/ |
H A D | pthread_func_test.c | 557 int *result = (int *)pthread_getspecific(g_pthreadKey1); in PthreadFunc08() local 558 if (result == NULL) { in PthreadFunc08() 562 if (*result != (100 + (int)pthread_self())) { /* 100: test data */ in PthreadFunc08() 566 result = (int *)pthread_getspecific(g_pthreadKey2); in PthreadFunc08() 567 if (result == NULL) { in PthreadFunc08() 571 if (*result != (200 + (int)pthread_self())) { /* 200: test data */ in PthreadFunc08() 588 int result = 0; variable 616 ret = pthread_join(newTh1, (void **)&result); 618 ICUNIT_ASSERT_EQUAL(result, 0, result); [all...] |
/kernel/liteos_m/testsuites/unittest/posix/src/pthread/ |
H A D | pthread_cond_func_test.c | 58 * @return : setup result, TRUE is success, FALSE is fail 67 * @return : teardown result, TRUE is success, FALSE is fail 575 int *result = (int *)pthread_getspecific(g_pthreadKey1); in pthread_f08() local 576 if (result == NULL) { in pthread_f08() 580 if (*result != (100 + (int)pthread_self())) { /* 100: test data */ in pthread_f08() 584 result = (int *)pthread_getspecific(g_pthreadKey2); in pthread_f08() 585 if (result == NULL) { in pthread_f08() 589 if (*result != (200 + (int)pthread_self())) { /* 200: test data */ in pthread_f08() 606 int result = 0; variable 634 ret = pthread_join(newTh1, (void **)&result); [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | checksum_kunit.c | 249 __sum16 result, expec; in test_csum_fixed_random_inputs() local 261 result = full_csum(&tmp_buf[align], len, sum); in test_csum_fixed_random_inputs() 263 CHECK_EQ(result, expec); in test_csum_fixed_random_inputs() 275 __sum16 result, expec; in test_csum_all_carry_inputs() local 286 result = full_csum(&tmp_buf[align], len, sum); in test_csum_all_carry_inputs() 288 CHECK_EQ(result, expec); in test_csum_all_carry_inputs() 294 result = full_csum(&tmp_buf[align], len, sum); in test_csum_all_carry_inputs() 301 CHECK_EQ(result, expec); in test_csum_all_carry_inputs() 315 __sum16 result, expec; in test_csum_no_carry_inputs() local 326 result in test_csum_no_carry_inputs() [all...] |
/third_party/curl/tests/server/ |
H A D | tftpd.c | 562 int result = 0; in main() local 664 result = 1; in main() 674 result = 1; in main() 700 result = 1; in main() 743 result = 2; in main() 750 result = 1; in main() 757 result = 1; in main() 780 result = 3; in main() 794 result = 2; in main() 799 result in main() [all...] |
/third_party/glfw/src/ |
H A D | win32_joystick.c | 197 GLFWbool result = GLFW_FALSE; in supportsXInput() local 246 result = GLFW_TRUE; in supportsXInput() 252 return result; in supportsXInput() 609 HRESULT result; in _glfwPollJoystickWin32() local 613 result = IDirectInputDevice8_GetDeviceState(js->win32.device, in _glfwPollJoystickWin32() 616 if (result == DIERR_NOTACQUIRED || result == DIERR_INPUTLOST) in _glfwPollJoystickWin32() 620 result = IDirectInputDevice8_GetDeviceState(js->win32.device, in _glfwPollJoystickWin32() 625 if (FAILED(result)) in _glfwPollJoystickWin32() 687 DWORD result; in _glfwPollJoystickWin32() local [all...] |
/third_party/backends/backend/ |
H A D | canon_pp-dev.c | 804 /* The result of our calculations */ in adjust_output() 805 unsigned long result; in adjust_output() local 874 /* Start with the pixel value in result */ in adjust_output() 875 result = MAKE_SHORT(*(image->image_data + in adjust_output() 880 result = result >> 6; /* Range now = 0-1023 */ in adjust_output() 885 result); in adjust_output() 887 result *= 54; /* Range now = 0-54k */ in adjust_output() 890 if (result < lo) result in adjust_output() [all...] |
/third_party/libuv/src/unix/ |
H A D | aix.c | 380 int result = perfstat_memory_total(NULL, &mem_total, sizeof(mem_total), 1); in uv_get_free_memory() local 381 if (result == -1) { in uv_get_free_memory() 390 int result = perfstat_memory_total(NULL, &mem_total, sizeof(mem_total), 1); in uv_get_total_memory() local 391 if (result == -1) { in uv_get_total_memory() 410 int result = perfstat_cpu_total(NULL, &ps_total, sizeof(ps_total), 1); in uv_loadavg() local 411 if (result == -1) { in uv_loadavg() 1065 int result, ncpus, idx = 0; in uv_cpu_info() local 1067 result = perfstat_cpu_total(NULL, &ps_total, sizeof(ps_total), 1); in uv_cpu_info() 1068 if (result == -1) { in uv_cpu_info() 1072 ncpus = result in uv_cpu_info() [all...] |