Home
last modified time | relevance | path

Searched refs:bops (Results 1 – 25 of 244) sorted by relevance

12345678910

/dports/security/keybase/client-v5.7.1/go/kbfs/libkbfs/
H A Dblock_ops_test.go166 err := bops.Shutdown(ctx)
175 bops := NewBlockOpsStandard(
217 bops := NewBlockOpsStandard(
245 bops := NewBlockOpsStandard(
274 bops := NewBlockOpsStandard(
370 err = bops.Get(ctx, kmd2,
398 err = bops.Get(ctx, kmd,
448 err = bops.Get(ctx, kmd,
480 err = bops.Get(ctx, kmd,
553 err = bops.Get(ctx, kmd,
[all …]
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/range-v3/test/numeric/
H A Dinner_product.cpp109 CHECK(bops(a, 0, b, 1) == 1); in test()
110 CHECK(bops(a, 0, b, 10) == 10); in test()
111 CHECK(bops(a, 1, b, 1) == 7); in test()
112 CHECK(bops(a, 1, b, 10) == 70); in test()
113 CHECK(bops(a, 2, b, 1) == 49); in test()
114 CHECK(bops(a, 2, b, 10) == 490); in test()
171 CHECK(bops(a, 0, b, 1) == 1); in main()
172 CHECK(bops(a, 0, b, 10) == 10); in main()
173 CHECK(bops(a, 1, b, 1) == 7); in main()
174 CHECK(bops(a, 1, b, 10) == 70); in main()
[all …]
/dports/devel/range-v3/range-v3-0.11.0/test/numeric/
H A Dinner_product.cpp109 CHECK(bops(a, 0, b, 1) == 1); in test()
110 CHECK(bops(a, 0, b, 10) == 10); in test()
111 CHECK(bops(a, 1, b, 1) == 7); in test()
112 CHECK(bops(a, 1, b, 10) == 70); in test()
113 CHECK(bops(a, 2, b, 1) == 49); in test()
114 CHECK(bops(a, 2, b, 10) == 490); in test()
171 CHECK(bops(a, 0, b, 1) == 1); in main()
172 CHECK(bops(a, 0, b, 10) == 10); in main()
173 CHECK(bops(a, 1, b, 1) == 7); in main()
174 CHECK(bops(a, 1, b, 10) == 70); in main()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/iio/adc/
H A Dad7606_spi.c138 st->d16[0] = cpu_to_be16(st->bops->rd_wr_cmd(addr, 0) << 8); in ad7606_spi_reg_read()
153 st->d16[0] = cpu_to_be16((st->bops->rd_wr_cmd(addr, 1) << 8) | in ad7606_spi_reg_write()
166 readval = st->bops->reg_read(st, addr); in ad7606_spi_write_mask()
173 return st->bops->reg_write(st, addr, readval); in ad7606_spi_write_mask()
243 return st->bops->write_mask(st, in ad7616_sw_mode_config()
272 st->bops->reg_write(st, in ad7606B_sw_mode_config()
310 const struct ad7606_bus_ops *bops; in ad7606_spi_probe() local
314 bops = &ad7616_spi_bops; in ad7606_spi_probe()
317 bops = &ad7606B_spi_bops; in ad7606_spi_probe()
320 bops = &ad7606_spi_bops; in ad7606_spi_probe()
[all …]
H A Dad7606.c73 ret = st->bops->reg_read(st, reg); in ad7606_reg_access()
79 ret = st->bops->reg_write(st, reg, writeval); in ad7606_reg_access()
103 ret = st->bops->read_block(st->dev, 1, data); in ad7606_read_samples()
116 return st->bops->read_block(st->dev, num, data); in ad7606_read_samples()
568 const struct ad7606_bus_ops *bops) in ad7606_probe() argument
583 st->bops = bops; in ad7606_probe()
647 if (st->bops->sw_mode_config) in ad7606_probe()
660 ret = st->bops->sw_mode_config(indio_dev); in ad7606_probe()
H A Dad7606.h96 const struct ad7606_bus_ops *bops; member
154 const struct ad7606_bus_ops *bops);
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/iio/adc/
H A Dad7606_spi.c138 st->d16[0] = cpu_to_be16(st->bops->rd_wr_cmd(addr, 0) << 8); in ad7606_spi_reg_read()
153 st->d16[0] = cpu_to_be16((st->bops->rd_wr_cmd(addr, 1) << 8) | in ad7606_spi_reg_write()
166 readval = st->bops->reg_read(st, addr); in ad7606_spi_write_mask()
173 return st->bops->reg_write(st, addr, readval); in ad7606_spi_write_mask()
243 return st->bops->write_mask(st, in ad7616_sw_mode_config()
272 st->bops->reg_write(st, in ad7606B_sw_mode_config()
310 const struct ad7606_bus_ops *bops; in ad7606_spi_probe() local
314 bops = &ad7616_spi_bops; in ad7606_spi_probe()
317 bops = &ad7606B_spi_bops; in ad7606_spi_probe()
320 bops = &ad7606_spi_bops; in ad7606_spi_probe()
[all …]
H A Dad7606.c73 ret = st->bops->reg_read(st, reg); in ad7606_reg_access()
79 ret = st->bops->reg_write(st, reg, writeval); in ad7606_reg_access()
103 ret = st->bops->read_block(st->dev, 1, data); in ad7606_read_samples()
116 return st->bops->read_block(st->dev, num, data); in ad7606_read_samples()
568 const struct ad7606_bus_ops *bops) in ad7606_probe() argument
583 st->bops = bops; in ad7606_probe()
647 if (st->bops->sw_mode_config) in ad7606_probe()
660 ret = st->bops->sw_mode_config(indio_dev); in ad7606_probe()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/iio/adc/
H A Dad7606_spi.c138 st->d16[0] = cpu_to_be16(st->bops->rd_wr_cmd(addr, 0) << 8); in ad7606_spi_reg_read()
153 st->d16[0] = cpu_to_be16((st->bops->rd_wr_cmd(addr, 1) << 8) | in ad7606_spi_reg_write()
166 readval = st->bops->reg_read(st, addr); in ad7606_spi_write_mask()
173 return st->bops->reg_write(st, addr, readval); in ad7606_spi_write_mask()
243 return st->bops->write_mask(st, in ad7616_sw_mode_config()
272 st->bops->reg_write(st, in ad7606B_sw_mode_config()
310 const struct ad7606_bus_ops *bops; in ad7606_spi_probe() local
314 bops = &ad7616_spi_bops; in ad7606_spi_probe()
317 bops = &ad7606B_spi_bops; in ad7606_spi_probe()
320 bops = &ad7606_spi_bops; in ad7606_spi_probe()
[all …]
H A Dad7606.c73 ret = st->bops->reg_read(st, reg); in ad7606_reg_access()
79 ret = st->bops->reg_write(st, reg, writeval); in ad7606_reg_access()
103 ret = st->bops->read_block(st->dev, 1, data); in ad7606_read_samples()
116 return st->bops->read_block(st->dev, num, data); in ad7606_read_samples()
568 const struct ad7606_bus_ops *bops) in ad7606_probe() argument
583 st->bops = bops; in ad7606_probe()
647 if (st->bops->sw_mode_config) in ad7606_probe()
660 ret = st->bops->sw_mode_config(indio_dev); in ad7606_probe()
/dports/textproc/translate-toolkit/translate-toolkit-3.5.1/.venv/lib/python3.9/site-packages/Levenshtein/
H A D_levenshtein.c1488 if (!bops) in extract_opcodes()
5440 if (bops->sbeg || bops->dbeg in lev_opcodes_check_errors()
5445 b = bops; in lev_opcodes_check_errors()
6327 spos += bops->send - bops->sbeg; in lev_opcodes_apply()
6328 dpos += bops->dend - bops->dbeg; in lev_opcodes_apply()
6387 spos += bops->send - bops->sbeg; in lev_u_opcodes_apply()
6388 dpos += bops->dend - bops->dbeg; in lev_u_opcodes_apply()
6415 bops->dbeg = bops->sbeg; in lev_opcodes_invert()
6418 bops->dend = bops->send; in lev_opcodes_invert()
6729 sum += (bops->send - bops->sbeg); in lev_opcodes_total_cost()
[all …]
/dports/devel/py-python-Levenshtein/python-Levenshtein-0.12.2/Levenshtein/
H A D_levenshtein.c1488 if (!bops) in extract_opcodes()
5440 if (bops->sbeg || bops->dbeg in lev_opcodes_check_errors()
5445 b = bops; in lev_opcodes_check_errors()
6327 spos += bops->send - bops->sbeg; in lev_opcodes_apply()
6328 dpos += bops->dend - bops->dbeg; in lev_opcodes_apply()
6387 spos += bops->send - bops->sbeg; in lev_u_opcodes_apply()
6388 dpos += bops->dend - bops->dbeg; in lev_u_opcodes_apply()
6415 bops->dbeg = bops->sbeg; in lev_opcodes_invert()
6418 bops->dend = bops->send; in lev_opcodes_invert()
6729 sum += (bops->send - bops->sbeg); in lev_opcodes_total_cost()
[all …]
H A D_levenshtein.h267 const LevOpCode *bops);
277 LevOpCode *bops);
292 const LevOpCode *bops,
322 const LevOpCode *bops,
332 const LevOpCode *bops,
354 const LevOpCode *bops,
374 const LevOpCode *bops);
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns/
H A Dhnae.h560 struct hnae_buf_ops *bops; /* operation for the buffer */ member
569 struct hnae_buf_ops *bops);
589 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_reserve_buffer_map() local
592 ret = bops->alloc_buffer(ring, cb); in hnae_reserve_buffer_map()
596 ret = bops->map_buffer(ring, cb); in hnae_reserve_buffer_map()
603 bops->free_buffer(ring, cb); in hnae_reserve_buffer_map()
622 ring->q->handle->bops->unmap_buffer(ring, &ring->desc_cb[i]); in hnae_buffer_detach()
628 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_free_buffer_detach() local
635 bops->free_buffer(ring, cb); in hnae_free_buffer_detach()
642 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_replace_buffer() local
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns/
H A Dhnae.h560 struct hnae_buf_ops *bops; /* operation for the buffer */ member
569 struct hnae_buf_ops *bops);
589 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_reserve_buffer_map() local
592 ret = bops->alloc_buffer(ring, cb); in hnae_reserve_buffer_map()
596 ret = bops->map_buffer(ring, cb); in hnae_reserve_buffer_map()
603 bops->free_buffer(ring, cb); in hnae_reserve_buffer_map()
622 ring->q->handle->bops->unmap_buffer(ring, &ring->desc_cb[i]); in hnae_buffer_detach()
628 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_free_buffer_detach() local
635 bops->free_buffer(ring, cb); in hnae_free_buffer_detach()
642 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_replace_buffer() local
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/hisilicon/hns/
H A Dhnae.h560 struct hnae_buf_ops *bops; /* operation for the buffer */ member
569 struct hnae_buf_ops *bops);
589 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_reserve_buffer_map() local
592 ret = bops->alloc_buffer(ring, cb); in hnae_reserve_buffer_map()
596 ret = bops->map_buffer(ring, cb); in hnae_reserve_buffer_map()
603 bops->free_buffer(ring, cb); in hnae_reserve_buffer_map()
622 ring->q->handle->bops->unmap_buffer(ring, &ring->desc_cb[i]); in hnae_buffer_detach()
628 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_free_buffer_detach() local
635 bops->free_buffer(ring, cb); in hnae_free_buffer_detach()
642 struct hnae_buf_ops *bops = ring->q->handle->bops; in hnae_replace_buffer() local
[all …]
/dports/science/PETSc/petsc-3.14.1/src/sys/objects/
H A Dinherit.c55 h->bops->destroy = destroy; in PetscHeaderCreate_Private()
56 h->bops->view = view; in PetscHeaderCreate_Private()
57 h->bops->getcomm = PetscObjectGetComm_Petsc; in PetscHeaderCreate_Private()
58 h->bops->compose = PetscObjectCompose_Petsc; in PetscHeaderCreate_Private()
59 h->bops->query = PetscObjectQuery_Petsc; in PetscHeaderCreate_Private()
60 h->bops->composefunction = PetscObjectComposeFunction_Petsc; in PetscHeaderCreate_Private()
61 h->bops->queryfunction = PetscObjectQueryFunction_Petsc; in PetscHeaderCreate_Private()
615 if (obj->bops->destroy) { in PetscObjectDereference()
616 ierr = (*obj->bops->destroy)(&obj);CHKERRQ(ierr); in PetscObjectDereference()
729 ierr = (*obj->bops->compose)(obj,name,ptr);CHKERRQ(ierr); in PetscObjectCompose()
[all …]
H A Dgcomm.c62 if (obj->bops->getcomm) { in PetscObjectGetComm()
63 ierr = obj->bops->getcomm(obj,comm);CHKERRQ(ierr); in PetscObjectGetComm()
H A Ddestroy.c58 if (*obj && (*obj)->bops->destroy) { in PetscObjectDestroy()
59 ierr = (*(*obj)->bops->destroy)(obj);CHKERRQ(ierr); in PetscObjectDestroy()
89 if (obj->bops->view) { in PetscObjectView()
90 ierr = (*obj->bops->view)(obj,viewer);CHKERRQ(ierr); in PetscObjectView()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/misc/
H A Dad525x_dpot-i2c.c44 static const struct ad_dpot_bus_ops bops = { variable
58 .bops = &bops, in ad_dpot_i2c_probe()
H A Dad525x_dpot-spi.c73 static const struct ad_dpot_bus_ops bops = { variable
85 .bops = &bops, in ad_dpot_spi_probe()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/misc/
H A Dad525x_dpot-i2c.c44 static const struct ad_dpot_bus_ops bops = { variable
58 .bops = &bops, in ad_dpot_i2c_probe()
H A Dad525x_dpot-spi.c73 static const struct ad_dpot_bus_ops bops = { variable
85 .bops = &bops, in ad_dpot_spi_probe()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/misc/
H A Dad525x_dpot-i2c.c44 static const struct ad_dpot_bus_ops bops = { variable
58 .bops = &bops, in ad_dpot_i2c_probe()
H A Dad525x_dpot-spi.c73 static const struct ad_dpot_bus_ops bops = { variable
85 .bops = &bops, in ad_dpot_spi_probe()

12345678910