Home
last modified time | relevance | path

Searched refs:product (Results 1 - 25 of 322) sorted by relevance

12345678910>>...13

/third_party/icu/vendor/double-conversion/upstream/test/cctest/
H A Dtest-diy-fp.cc54 DiyFp product = DiyFp::Times(diy_fp1, diy_fp2); in TEST() local
56 CHECK(0 == product.f()); // NOLINT in TEST()
57 CHECK_EQ(64, product.e()); in TEST()
64 product = DiyFp::Times(diy_fp1, diy_fp2); in TEST()
65 CHECK(1 == product.f()); // NOLINT in TEST()
66 CHECK_EQ(11 + 13 + 64, product.e()); in TEST()
71 product = DiyFp::Times(diy_fp1, diy_fp2); in TEST()
72 CHECK(1 == product.f()); // NOLINT in TEST()
73 CHECK_EQ(11 + 13 + 64, product.e()); in TEST()
77 product in TEST()
[all...]
/third_party/python/Lib/test/
H A Dtest_tuple.py130 from itertools import product namespace
195 tryone("range(100) by 3", list(product(range(100), repeat=3)),
206 tryone("-10 .. 8 by 4", list(product(cands, repeat=4)),
217 tryone("0..99 << 60 by 3", list(product(L, repeat=3)),
222 tryone("[-3, 3] by 18", list(product([-3, 3], repeat=18)),
227 tryone("[0, 0.5] by 18", list(product([0, 0.5], repeat=18)),
240 list(product("abcdefghijklmnopqrstuvwxyz", repeat=4)),
250 xp = list(product(base, repeat=2))
251 inps = base + list(product(base, xp)) + \
252 list(product(x
[all...]
H A Dtest_peepholer.py2 from itertools import combinations, product namespace
529 *product(('', '1234', 'абвг'), 'sra'),
530 *product((1234, -1234), 'duioxX'),
531 *product((1234.5678901, -1234.5678901), 'duifegFEG'),
532 *product((float('inf'), -float('inf')), 'fegFEG'),
535 *product(('', '1', '30'), ('', '.', '.0', '.2')),
618 for a, b, c in product("_a", "_b", "_c"):
631 for a, b, c in product("_a", "_b", "_c"):
641 for a, b, c in product("_a", "_b", "_c"):
/third_party/backends/testsuite/sanei/
H A Dsanei_usb_test.c132 device->product = 0xbeef; in create_mock_device()
549 * and product id by name.
558 SANE_Word vendor, product; in test_vendor_by_devname() local
568 &vendor, &product); in test_vendor_by_devname()
575 if (vendor == 0 || product == 0) in test_vendor_by_devname()
581 printf ("%s is %04x:%04x\n", devices[i].devname, vendor, product); in test_vendor_by_devname()
588 status = sanei_usb_get_vendor_product_byname ("mock", &vendor, &product); in test_vendor_by_devname()
594 if (vendor != mock.vendor || product != mock.product) in test_vendor_by_devname()
596 printf ("ERROR: wrong vendor/product fo in test_vendor_by_devname()
628 SANE_Word vendor, product; test_vendor_by_id() local
[all...]
/third_party/icu/tools/multi/proj/icu4jscan/src/com/ibm/icu/dev/scan/
H A DCapScan.java72 Element product = out.createElement(IcuInfo.ICU_PRODUCT); in createProduct()
73 product.setAttribute(IcuInfo.TYPE, productName); in createProduct()
74 products.appendChild(product); in createProduct()
75 return product; in createProduct()
78 protected Element createRelease(Element product, String version) { in createRelease() argument
80 product.appendChild(releases); in createRelease()
95 Element product = createProduct(getProduct()); in runMain()
97 Element release = createRelease(product, getRelease()); in runMain()
H A DSimpleScan.java70 CapElement product = out.createCapElement(IcuInfo.ICU_PRODUCT); in createProduct()
71 product.setAttribute(IcuInfo.TYPE, productName); in createProduct()
72 products.appendChild(product); in createProduct()
73 return product; in createProduct()
76 protected CapElement createRelease(CapElement product, String version) { in createRelease() argument
78 product.appendChild(releases); in createRelease()
92 CapElement product = createProduct(getProduct()); in runMain()
94 CapElement release = createRelease(product, getRelease()); in runMain()
/third_party/backends/tools/
H A Dsane-find-scanner.c251 unsigned char product[17]; in scanner_identify_scsi_scanner() local
281 get_scsi_inquiry_product ((char *) buffer, (char *) product); in scanner_identify_scsi_scanner()
289 pp = &product[15]; in scanner_identify_scsi_scanner()
290 product[16] = '\0'; in scanner_identify_scsi_scanner()
291 while (pp >= product && (*pp == ' ' || *pp >= 127)) in scanner_identify_scsi_scanner()
302 vendor, product, version, devicename); in scanner_identify_scsi_scanner()
354 SANE_Word vendor, product; in check_usb_file() local
385 result = sanei_usb_get_vendor_product (fd, &vendor, &product); in check_usb_file()
389 printf (" open ok, vendor and product ids were identified\n"); in check_usb_file()
391 "product in check_usb_file()
496 char *product; check_libusb_device() local
828 char *product; check_libusb_device() local
[all...]
/third_party/mesa3d/ohos/
H A Dmeson_cross_process.py121 def prepare_environment(project_path, product):
124 product = product.lower()
126 sysroot_stub = os.path.join(project_stub, "out", product, "obj", "third_party", "musl")
128 process_pkgconfig(project_path, product)
132 print("must input the OpenHarmony directory and the product name")
/third_party/node/deps/openssl/openssl/util/perl/OpenSSL/
H A DUtil.pm261 my $product; # Finished product, or reference to a function that
263 # The following are only used when $product is a function reference
271 $product = $opts{delimiters} ? '[]' : '';
273 $product = sub {
283 $product = $opts{delimiters} ? '{}' : '';
285 $product = sub {
294 $product = defined $$ref ? quotify1 $$ref : "undef";
296 $product = defined $ref ? quotify1 $ref : "undef";
299 if (ref($product) e
[all...]
/third_party/openssl/util/perl/OpenSSL/
H A DUtil.pm261 my $product; # Finished product, or reference to a function that
263 # The following are only used when $product is a function reference
271 $product = $opts{delimiters} ? '[]' : '';
273 $product = sub {
283 $product = $opts{delimiters} ? '{}' : '';
285 $product = sub {
294 $product = defined $$ref ? quotify1 $$ref : "undef";
296 $product = defined $ref ? quotify1 $ref : "undef";
299 if (ref($product) e
[all...]
/third_party/backends/backend/
H A Du12-if.c187 * string(vendor and product ID), is supported by this backend or not
189 * @param usbIdStr - string consisting out of product and vendor ID
227 * @param product - pointer to receive product ID
231 static SANE_Bool usbDev_autodetect( SANE_Word *vendor, SANE_Word *product ) in usbDev_autodetect()
249 *product = p; in usbDev_autodetect()
266 SANE_Word vendor, product; in u12if_open() local
284 if( !usbDev_autodetect( &vendor, &product )) { in u12if_open()
292 product = strtol( &dev->usbId[7], 0, 0 ); in u12if_open()
294 sanei_usb_find_devices( vendor, product, u12if_usbattac in u12if_open()
[all...]
H A Dkvs1025_usb.c49 SANE_Word vendor, product; in attach_scanner_usb() local
53 sanei_usb_get_vendor_product_byname(device_name,&vendor,&product); in attach_scanner_usb()
80 product == (int) KV_S1020C ? "KV-S1020C" : in attach_scanner_usb()
81 product == (int) KV_S1025C ? "KV-S1025C" : in attach_scanner_usb()
82 product == (int) KV_S1045C ? "KV-S1045C" : in attach_scanner_usb()
H A Dpieusb.c178 * where the first two hex numbers are vendor and product id, and the last in sane_init()
188 pieusb_supported_usb_device_list[0].product = 0x0145; in sane_init()
193 pieusb_supported_usb_device_list[1].product = 0x0145; in sane_init()
198 pieusb_supported_usb_device_list[2].product = 0x0142; in sane_init()
203 pieusb_supported_usb_device_list[3].product = 0; in sane_init()
218 /* Parse vendor-id, product-id and model number and add to list */ in sane_init()
244 pieusb_supported_usb_device.product = pieusb_supported_usb_device_list[i].product; in sane_init()
250 pieusb_supported_usb_device.product, in sane_init()
253 sanei_usb_find_devices (pieusb_supported_usb_device.vendor, pieusb_supported_usb_device.product, sanei_pieusb_find_device_callbac in sane_init()
350 SANE_Word product; sane_open() local
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fShaderAtomicOpTests.cpp57 static inline T product (const tcu::Vector<T, Size>& v) in product() function
123 const deUint32 numValues = product(m_workGroupSize)*product(m_numWorkGroups); in init()
134 << " " << (isSSBO ? "coherent " : "") << precName << " " << outTypeName << " groupValues[" << product(m_numWorkGroups) << "];\n" in init()
203 const deUint32 numValues = product(m_workGroupSize)*product(m_numWorkGroups); in iterate()
207 groupVarInfo.arraySize == product(m_numWorkGroups)); in iterate()
220 for (deUint32 valNdx = 0; valNdx < product(m_numWorkGroups); valNdx++) in iterate()
279 const int workGroupSize = (int)product(m_workGroupSize); in verify()
432 const int workGroupSize = (int)product(m_workGroupSiz
[all...]
/third_party/libinput/udev/
H A Dlibinput-device-group.c159 const char *product; in main() local
198 product = udev_device_get_property_value(device, "PRODUCT"); in main()
199 if (!product) in main()
200 product = "00/00/00/00"; in main()
202 if (sscanf(product, in main()
208 snprintf(group, sizeof(group), "%s:%s", product, phys); in main()
/third_party/backends/backend/genesys/
H A Dusb_device.cpp86 int product = 0; in get_vendor_id() local
87 TIE(sanei_usb_get_vendor_product(device_num_, &vendor, &product)); in get_vendor_id()
96 int product = 0; in get_product_id() local
97 TIE(sanei_usb_get_vendor_product(device_num_, &vendor, &product)); in get_product_id()
98 return static_cast<std::uint16_t>(product); in get_product_id()
/third_party/libinput/tools/
H A Dlibinput-list-kernel-devices.py59 def __init__(self, name, driver, vendor, product, devpath):
63 self.product = product
77 _, vendor, product = (int(x, 16) for x in id.split(":"))
78 devices.append(HidDevice(name, driver, vendor, product, devpath))
98 print(f" id: '{d.vendor:04x}:{d.product:04x}'")
/third_party/skia/third_party/externals/oboe/apps/OboeTester/app/src/main/java/com/mobileer/miditools/
H A DMidiTools.java27 * @return a device that matches the manufacturer and product or null
30 String manufacturer, String product) { in findDevice()
38 if ((product != null) && product.equals(deviceProduct)) { in findDevice()
29 findDevice(MidiManager midiManager, String manufacturer, String product) findDevice() argument
/third_party/python/Objects/
H A Drangeobject.c945 PyObject *product, *stop=NULL; in longrangeiter_reduce() local
949 product = PyNumber_Multiply(r->len, r->step); in longrangeiter_reduce()
950 if (product == NULL) in longrangeiter_reduce()
952 stop = PyNumber_Add(r->start, product); in longrangeiter_reduce()
953 Py_DECREF(product); in longrangeiter_reduce()
1020 PyObject *product, *new_index, *result; in longrangeiter_next() local
1028 product = PyNumber_Multiply(r->index, r->step); in longrangeiter_next()
1029 if (!product) { in longrangeiter_next()
1034 result = PyNumber_Add(r->start, product); in longrangeiter_next()
1035 Py_DECREF(product); in longrangeiter_next()
1144 PyObject *sum, *diff, *product; range_reverse() local
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/random/
H A Duniform_int_distribution.h248 auto product = helper::multiply(bits, Lim); in Generate()
255 if (ABSL_PREDICT_FALSE(helper::lo(product) < Lim)) { in Generate()
263 while (helper::lo(product) < threshold) { in Generate()
265 product = helper::multiply(bits, Lim); in Generate()
269 return helper::hi(product); in Generate()
/third_party/skia/experimental/lowp-basic/
H A Dlowp_experiments.cpp62 const Q15 product = _mm_mulhrs_epi16(a, b); in ssse3_vqrdmulhq_s16() local
63 const Q15 eq = _mm_cmpeq_epi16(product, limit); in ssse3_vqrdmulhq_s16()
64 return _mm_xor_si128(eq, product); in ssse3_vqrdmulhq_s16()
/third_party/gn/src/gn/
H A Dohos_components.cc306 void OhosComponentsImpl::LoadToolchain(const Value *product) in LoadToolchain() argument
308 if (!product) { in LoadToolchain()
311 std::string path = "out/preloader/" + product->string_value() + "/build_config.json"; in LoadToolchain()
337 const Value *indep, const Value *product, Err *err) in LoadOhosComponents()
363 LoadToolchain(product); in LoadOhosComponents()
490 const Value *enable, const Value *indep, const Value *product, Err *err) in LoadOhosComponents()
507 if (!mgr->LoadOhosComponents(build_dir, enable, indep, product, err)) { in LoadOhosComponents()
336 LoadOhosComponents(const std::string &build_dir, const Value *enable, const Value *indep, const Value *product, Err *err) LoadOhosComponents() argument
489 LoadOhosComponents(const std::string &build_dir, const Value *enable, const Value *indep, const Value *product, Err *err) LoadOhosComponents() argument
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djcdctmgr.c418 UDCTELEM2 product; in quantize() local
428 product = (UDCTELEM2)(temp + corr) * recip; in quantize()
429 product >>= shift + sizeof(DCTELEM) * 8; in quantize()
430 temp = (DCTELEM)product; in quantize()
433 product = (UDCTELEM2)(temp + corr) * recip; in quantize()
434 product >>= shift + sizeof(DCTELEM) * 8; in quantize()
435 temp = (DCTELEM)product; in quantize()
/third_party/benchmark/test/
H A Dargs_product_test.cc64 int64_t product = in BENCHMARK_DEFINE_F() local
66 for (int64_t x = 0; x < product; x++) { in BENCHMARK_DEFINE_F()
/third_party/backends/include/sane/
H A Dsanei_usb.h266 /** Get the vendor and product ids by device name.
270 * @param product product id
280 SANE_Word * vendor, SANE_Word * product);
282 /** Get the vendor and product ids.
290 * @param product product id
298 SANE_Word * product);
300 /** Find devices that match given vendor and product ids.
306 * @param product produc
[all...]

Completed in 14 milliseconds

12345678910>>...13