Home
last modified time | relevance | path

Searched refs:eps (Results 1 - 25 of 175) sorted by relevance

1234567

/third_party/benchmark/src/
H A Dcheck.h98 #define BM_CHECK_FLOAT_EQ(a, b, eps) BM_CHECK(std::fabs((a) - (b)) < (eps))
99 #define BM_CHECK_FLOAT_NE(a, b, eps) BM_CHECK(std::fabs((a) - (b)) >= (eps))
100 #define BM_CHECK_FLOAT_GE(a, b, eps) BM_CHECK((a) - (b) > -(eps))
101 #define BM_CHECK_FLOAT_LE(a, b, eps) BM_CHECK((b) - (a) > -(eps))
102 #define BM_CHECK_FLOAT_GT(a, b, eps) BM_CHECK((a) - (b) > (eps))
[all...]
/third_party/alsa-utils/topology/nhlt/
H A Dnhlt-processor.c45 static void debug_print_nhlt(struct nhlt *blob, struct endpoint_descriptor **eps) in debug_print_nhlt() argument
70 ep = eps[i]; in debug_print_nhlt()
92 struct endpoint_descriptor **eps ATTRIBUTE_UNUSED) {} in debug_print_nhlt()
181 static void save_nhlt_binary(struct nhlt *blob, struct endpoint_descriptor **eps, snd_config_t *cfg) in save_nhlt_binary() argument
207 fwrite(eps[i], eps[i]->length, sizeof(uint8_t), fp); in save_nhlt_binary()
277 static int nhlt_get_flat_buffer(struct nhlt *blob, struct endpoint_descriptor **eps, in nhlt_get_flat_buffer() argument
291 if (eps[i]) in nhlt_get_flat_buffer()
292 nhlt_size += eps[i]->length; in nhlt_get_flat_buffer()
306 ep = eps[ in nhlt_get_flat_buffer()
322 struct endpoint_descriptor *eps[MAX_ENDPOINT_COUNT]; nhlt_create() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/storage/
H A Duas-detect.h29 struct usb_host_endpoint *eps[]) in uas_find_endpoints()
41 eps[pipe_id - 1] = &endpoint[i]; in uas_find_endpoints()
49 if (!eps[0] || !eps[1] || !eps[2] || !eps[3]) in uas_find_endpoints()
59 struct usb_host_endpoint *eps[4] = { }; in uas_use_uas_driver() local
70 r = uas_find_endpoints(alt, eps); in uas_use_uas_driver()
106 } else if (usb_ss_max_streams(&eps[1]->ss_ep_comp) == 32) { in uas_use_uas_driver()
28 uas_find_endpoints(struct usb_host_interface *alt, struct usb_host_endpoint *eps[]) uas_find_endpoints() argument
/kernel/linux/linux-6.6/drivers/usb/storage/
H A Duas-detect.h29 struct usb_host_endpoint *eps[]) in uas_find_endpoints()
41 eps[pipe_id - 1] = &endpoint[i]; in uas_find_endpoints()
49 if (!eps[0] || !eps[1] || !eps[2] || !eps[3]) in uas_find_endpoints()
59 struct usb_host_endpoint *eps[4] = { }; in uas_use_uas_driver() local
70 r = uas_find_endpoints(alt, eps); in uas_use_uas_driver()
106 } else if (usb_ss_max_streams(&eps[1]->ss_ep_comp) == 32) { in uas_use_uas_driver()
28 uas_find_endpoints(struct usb_host_interface *alt, struct usb_host_endpoint *eps[]) uas_find_endpoints() argument
/kernel/linux/linux-5.10/drivers/usb/gadget/legacy/
H A Draw_gadget.c179 struct raw_ep eps[USB_RAW_EPS_NUM_MAX]; member
219 if (dev->eps[i].state == STATE_EP_DISABLED) in dev_free()
221 usb_ep_disable(dev->eps[i].ep); in dev_free()
222 usb_ep_free_request(dev->eps[i].ep, dev->eps[i].req); in dev_free()
223 kfree(dev->eps[i].ep->desc); in dev_free()
224 dev->eps[i].state = STATE_EP_DISABLED; in dev_free()
304 dev->eps[i].ep = ep; in gadget_bind()
305 dev->eps[i].addr = get_ep_addr(ep->name); in gadget_bind()
306 dev->eps[ in gadget_bind()
[all...]
/kernel/linux/linux-6.6/drivers/usb/gadget/legacy/
H A Draw_gadget.c180 struct raw_ep eps[USB_RAW_EPS_NUM_MAX]; member
220 if (dev->eps[i].state == STATE_EP_DISABLED) in dev_free()
222 usb_ep_disable(dev->eps[i].ep); in dev_free()
223 usb_ep_free_request(dev->eps[i].ep, dev->eps[i].req); in dev_free()
224 kfree(dev->eps[i].ep->desc); in dev_free()
225 dev->eps[i].state = STATE_EP_DISABLED; in dev_free()
305 dev->eps[i].ep = ep; in gadget_bind()
306 dev->eps[i].addr = get_ep_addr(ep->name); in gadget_bind()
307 dev->eps[ in gadget_bind()
[all...]
/third_party/skia/third_party/externals/angle2/scripts/
H A Dgenerate_entry_points.py1855 for category, eps in spec_json.items():
1858 for ep in eps:
2663 eps = GLEntryPoints(apis.GLES, xml, version_commands)
2664 eps.decls.insert(0, "extern \"C\" {")
2665 eps.decls.append("} // extern \"C\"")
2666 eps.defs.insert(0, "extern \"C\" {")
2667 eps.defs.append("} // extern \"C\"")
2672 libgles_ep_defs += ["\n// OpenGL ES %s" % comment] + eps.export_defs
2690 "\n".join(eps.decls), "h", header_includes, "libGLESv2", "gl.xml")
2691 write_file(annotation, "GLES " + comment, TEMPLATE_ENTRY_POINT_SOURCE, "\n".join(eps
[all...]
/third_party/jerryscript/tests/jerry-test-suite/11/11.04/11.04.04/
H A D11.04.04-006.js16 var eps = 0.00000001; variable
18 assert(++a >= 2.12 - eps && a <= 2.12 + eps);
/third_party/jerryscript/tests/jerry-test-suite/11/11.04/11.04.05/
H A D11.04.05-006.js15 var eps = 0.000000001; variable
18 assert(--a >= 0.12 - eps &&
19 a <= 0.12 + eps
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgBinaryOps.cpp513 const float eps = 0.001f; in operator ()() local
515 DE_ASSERT(de::inRange(aMin*bMin, dstMin-eps, dstMax+eps)); in operator ()()
516 DE_ASSERT(de::inRange(aMin*bMax, dstMin-eps, dstMax+eps)); in operator ()()
517 DE_ASSERT(de::inRange(aMax*bMin, dstMin-eps, dstMax+eps)); in operator ()()
518 DE_ASSERT(de::inRange(aMax*bMax, dstMin-eps, dstMax+eps)); in operator ()()
566 T eps in operator ()() local
616 T eps = T(0.001); operator ()() local
[all...]
/kernel/linux/linux-5.10/drivers/usb/dwc3/
H A Dep0.c117 __dwc3_ep0_do_control_data(dwc, dwc->eps[direction], req); in __dwc3_gadget_ep0_queue()
137 __dwc3_ep0_do_control_status(dwc, dwc->eps[direction]); in __dwc3_gadget_ep0_queue()
180 __dwc3_ep0_do_control_data(dwc, dwc->eps[direction], req); in __dwc3_gadget_ep0_queue()
226 dep = dwc->eps[1]; in dwc3_ep0_stall_and_restart()
230 dep = dwc->eps[0]; in dwc3_ep0_stall_and_restart()
280 dep = dwc->eps[0]; in dwc3_ep0_out_start()
297 dep = dwc->eps[epnum]; in dwc3_wIndex_to_dep()
369 dep = dwc->eps[0]; in dwc3_ep0_handle_status()
733 dep = dwc->eps[0]; in dwc3_ep0_set_sel()
843 ep0 = dwc->eps[ in dwc3_ep0_complete_data()
[all...]
/third_party/python/Lib/test/test_importlib/
H A Dtest_metadata_api.py77 eps = entry_points()
78 assert 'entries' in eps.groups
79 entries = eps.select(group='entries')
134 eps = dict(entry_points(group='entries'))
136 assert 'main' in eps
137 assert eps['main'] == entry_points(group='entries')['main']
151 eps = distribution('distinfo-pkg').entry_points
153 eps[0]
/third_party/ffmpeg/tests/checkasm/
H A Dcheckasm.c334 int float_near_abs_eps(float a, float b, float eps) in float_near_abs_eps() argument
337 if (abs_diff < eps) in float_near_abs_eps()
340 fprintf(stderr, "test failed comparing %g with %g (abs diff=%g with EPS=%g)\n", a, b, abs_diff, eps); in float_near_abs_eps()
345 int float_near_abs_eps_array(const float *a, const float *b, float eps, in float_near_abs_eps_array() argument
351 if (!float_near_abs_eps(a[i], b[i], eps)) in float_near_abs_eps_array()
357 int float_near_abs_eps_ulp(float a, float b, float eps, unsigned max_ulp) in float_near_abs_eps_ulp() argument
359 return float_near_ulp(a, b, max_ulp) || float_near_abs_eps(a, b, eps); in float_near_abs_eps_ulp()
362 int float_near_abs_eps_array_ulp(const float *a, const float *b, float eps, in float_near_abs_eps_array_ulp() argument
368 if (!float_near_abs_eps_ulp(a[i], b[i], eps, max_ulp)) in float_near_abs_eps_array_ulp()
374 int double_near_abs_eps(double a, double b, double eps) in double_near_abs_eps() argument
381 double_near_abs_eps_array(const double *a, const double *b, double eps, unsigned len) double_near_abs_eps_array() argument
[all...]
H A Dcheckasm.h102 int float_near_abs_eps(float a, float b, float eps);
103 int float_near_abs_eps_ulp(float a, float b, float eps, unsigned max_ulp);
106 int float_near_abs_eps_array(const float *a, const float *b, float eps,
108 int float_near_abs_eps_array_ulp(const float *a, const float *b, float eps,
110 int double_near_abs_eps(double a, double b, double eps);
111 int double_near_abs_eps_array(const double *a, const double *b, double eps,
/kernel/linux/linux-5.10/drivers/usb/host/
H A Dxhci.c1523 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
1680 ep = &vdev->eps[ep_index]; in xhci_urb_dequeue()
1826 if (xhci->devs[udev->slot_id]->eps[ep_index].ring != NULL) in xhci_drop_endpoint()
1913 if (virt_dev->eps[ep_index].ring && in xhci_add_endpoint()
1944 xhci_ring_free(xhci, virt_dev->eps[ep_index].new_ring); in xhci_add_endpoint()
1945 virt_dev->eps[ep_index].new_ring = NULL; in xhci_add_endpoint()
2721 memcpy(&ep_bw_info[i], &virt_dev->eps[i].bw_info, in xhci_reserve_bandwidth()
2728 &virt_dev->eps[i].bw_info, in xhci_reserve_bandwidth()
2731 &virt_dev->eps[i], in xhci_reserve_bandwidth()
2740 &virt_dev->eps[ in xhci_reserve_bandwidth()
3373 xhci_calculate_streams_and_bitmask(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int *num_streams, u32 *changed_ep_bitmask) xhci_calculate_streams_and_bitmask() argument
3405 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps) xhci_calculate_no_streams_bitmask() argument
3462 xhci_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags) xhci_alloc_streams() argument
3629 xhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, gfp_t mem_flags) xhci_free_streams() argument
[all...]
H A Dxhci-debugfs.c454 if (spriv->eps[ep_index]) in xhci_debugfs_create_endpoint()
461 epriv->show_ring = dev->eps[ep_index].ring; in xhci_debugfs_create_endpoint()
468 spriv->eps[ep_index] = epriv; in xhci_debugfs_create_endpoint()
478 if (!spriv || !spriv->eps[ep_index]) in xhci_debugfs_remove_endpoint()
481 epriv = spriv->eps[ep_index]; in xhci_debugfs_remove_endpoint()
483 spriv->eps[ep_index] = NULL; in xhci_debugfs_remove_endpoint()
574 if (!spriv || !spriv->eps[ep_index] || in xhci_debugfs_create_stream_files()
575 !dev->eps[ep_index].stream_info) in xhci_debugfs_create_stream_files()
578 epriv = spriv->eps[ep_index]; in xhci_debugfs_create_stream_files()
579 epriv->stream_info = dev->eps[ep_inde in xhci_debugfs_create_stream_files()
[all...]
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Ddcdbas.c509 struct smm_eps_table *eps = (struct smm_eps_table *)addr; in check_eps_table() local
511 if (strncmp(eps->smm_comm_buff_anchor, SMM_EPS_SIG, 4) != 0) in check_eps_table()
514 if (checksum(addr, eps->length) != 0) in check_eps_table()
517 return eps; in check_eps_table()
524 struct smm_eps_table *eps = NULL; in dcdbas_check_wsmt() local
553 eps = check_eps_table(addr); in dcdbas_check_wsmt()
554 if (eps) in dcdbas_check_wsmt()
558 if (!eps) { in dcdbas_check_wsmt()
562 bios_buf_paddr = eps->smm_comm_buff_addr; in dcdbas_check_wsmt()
563 remap_size = eps in dcdbas_check_wsmt()
[all...]
/kernel/linux/linux-6.6/drivers/platform/x86/dell/
H A Ddcdbas.c521 struct smm_eps_table *eps = (struct smm_eps_table *)addr; in check_eps_table() local
523 if (strncmp(eps->smm_comm_buff_anchor, SMM_EPS_SIG, 4) != 0) in check_eps_table()
526 if (checksum(addr, eps->length) != 0) in check_eps_table()
529 return eps; in check_eps_table()
536 struct smm_eps_table *eps = NULL; in dcdbas_check_wsmt() local
565 eps = check_eps_table(addr); in dcdbas_check_wsmt()
566 if (eps) in dcdbas_check_wsmt()
570 if (!eps) { in dcdbas_check_wsmt()
574 bios_buf_paddr = eps->smm_comm_buff_addr; in dcdbas_check_wsmt()
575 remap_size = eps in dcdbas_check_wsmt()
[all...]
/kernel/linux/linux-6.6/drivers/usb/dwc3/
H A Dep0.c119 __dwc3_ep0_do_control_data(dwc, dwc->eps[direction], req); in __dwc3_gadget_ep0_queue()
139 __dwc3_ep0_do_control_status(dwc, dwc->eps[direction]); in __dwc3_gadget_ep0_queue()
182 __dwc3_ep0_do_control_data(dwc, dwc->eps[direction], req); in __dwc3_gadget_ep0_queue()
228 dep = dwc->eps[1]; in dwc3_ep0_stall_and_restart()
232 dep = dwc->eps[0]; in dwc3_ep0_stall_and_restart()
247 dwc->eps[0]->trb_enqueue = 0; in dwc3_ep0_stall_and_restart()
248 dwc->eps[1]->trb_enqueue = 0; in dwc3_ep0_stall_and_restart()
285 dep = dwc->eps[0]; in dwc3_ep0_out_start()
293 dwc3_ep = dwc->eps[i]; in dwc3_ep0_out_start()
318 dep = dwc->eps[epnu in dwc3_wIndex_to_dep()
[all...]
/kernel/linux/linux-6.6/drivers/usb/host/
H A Dxhci.c1512 ep_state = &xhci->devs[slot_id]->eps[ep_index].ep_state; in xhci_urb_enqueue()
1667 ep = &vdev->eps[ep_index]; in xhci_urb_dequeue()
1815 if (xhci->devs[udev->slot_id]->eps[ep_index].ring != NULL) in xhci_drop_endpoint()
1900 if (virt_dev->eps[ep_index].ring && in xhci_add_endpoint()
2693 memcpy(&ep_bw_info[i], &virt_dev->eps[i].bw_info, in xhci_reserve_bandwidth()
2700 &virt_dev->eps[i].bw_info, in xhci_reserve_bandwidth()
2703 &virt_dev->eps[i], in xhci_reserve_bandwidth()
2712 &virt_dev->eps[i].bw_info, in xhci_reserve_bandwidth()
2715 &virt_dev->eps[i], in xhci_reserve_bandwidth()
2737 &virt_dev->eps[ in xhci_reserve_bandwidth()
3265 xhci_calculate_streams_and_bitmask(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int *num_streams, u32 *changed_ep_bitmask) xhci_calculate_streams_and_bitmask() argument
3297 xhci_calculate_no_streams_bitmask(struct xhci_hcd *xhci, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps) xhci_calculate_no_streams_bitmask() argument
3354 xhci_alloc_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, unsigned int num_streams, gfp_t mem_flags) xhci_alloc_streams() argument
3521 xhci_free_streams(struct usb_hcd *hcd, struct usb_device *udev, struct usb_host_endpoint **eps, unsigned int num_eps, gfp_t mem_flags) xhci_free_streams() argument
[all...]
H A Dxhci-debugfs.c454 if (spriv->eps[ep_index]) in xhci_debugfs_create_endpoint()
461 epriv->show_ring = dev->eps[ep_index].ring; in xhci_debugfs_create_endpoint()
468 spriv->eps[ep_index] = epriv; in xhci_debugfs_create_endpoint()
478 if (!spriv || !spriv->eps[ep_index]) in xhci_debugfs_remove_endpoint()
481 epriv = spriv->eps[ep_index]; in xhci_debugfs_remove_endpoint()
483 spriv->eps[ep_index] = NULL; in xhci_debugfs_remove_endpoint()
574 if (!spriv || !spriv->eps[ep_index] || in xhci_debugfs_create_stream_files()
575 !dev->eps[ep_index].stream_info) in xhci_debugfs_create_stream_files()
578 epriv = spriv->eps[ep_index]; in xhci_debugfs_create_stream_files()
579 epriv->stream_info = dev->eps[ep_inde in xhci_debugfs_create_stream_files()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageMisalignedCubeTests.cpp166 const float eps = 1.0f / float(2 * 256); in iterate() local
261 if (deFloatAbs(delta.x()) > eps || deFloatAbs(delta.y()) > eps || deFloatAbs(delta.z()) > eps || deFloatAbs(delta.w()) > eps) in iterate()
274 if (deFloatAbs(delta.x()) > eps || deFloatAbs(delta.y()) > eps || deFloatAbs(delta.z()) > eps || deFloatAbs(delta.w()) > eps) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageMisalignedCubeTests.cpp166 const float eps = 1.0f / float(2 * 256); in iterate() local
261 if (deFloatAbs(delta.x()) > eps || deFloatAbs(delta.y()) > eps || deFloatAbs(delta.z()) > eps || deFloatAbs(delta.w()) > eps) in iterate()
274 if (deFloatAbs(delta.x()) > eps || deFloatAbs(delta.y()) > eps || deFloatAbs(delta.z()) > eps || deFloatAbs(delta.w()) > eps) in iterate()
/kernel/linux/linux-6.6/drivers/usb/gadget/udc/cdns2/
H A Dcdns2-ep0.c45 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_ep0_enqueue()
92 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_ep0_stall()
109 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_status_stage()
193 pep = &pdev->eps[ep_sts]; in cdns2_req_ep0_handle_status()
290 pep = &pdev->eps[cdns2_w_index_to_ep_index(le16_to_cpu(ctrl->wIndex))]; in cdns2_ep0_handle_feature_endpoint()
362 request->complete(&pdev->eps[0].endpoint, request); in __pending_setup_status_handler()
381 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_handle_setup_packet()
413 pep = &pdev->eps[0]; in cdns2_handle_setup_packet()
461 struct cdns2_endpoint *pep = &pdev->eps[0]; in cdns2_transfer_completed()
491 pdev->eps[ in cdns2_handle_ep0_interrupt()
[all...]
/third_party/musl/libc-test/src/math/
H A Disless.c33 volatile double eps = DBL_EPSILON; in main() local
48 T(1.0, 1.0+eps, LESS); in main()
49 T(1.0+eps, 1.0, GREATER); in main()
81 T(1.0, 1.0+eps*0.25, LESS); in main()
86 T(1.0, 1.0+eps*0.25, EQUAL); in main()

Completed in 28 milliseconds

1234567