Home
last modified time | relevance | path

Searched refs:needed (Results 26 - 50 of 318) sorted by relevance

12345678910>>...13

/third_party/node/lib/internal/
H A Dcli_table.js43 const needed = (columnWidths[i] - len) / 2;
44 // round(needed) + ceil(needed) will always add up to the amount
46 out += StringPrototypeRepeat(' ', needed) + cell +
47 StringPrototypeRepeat(' ', MathCeil(needed));
/third_party/icu/icu4c/source/samples/numfmt/
H A Dcapi.c29 int32_t needed; in capi() local
62 in the US locale. The return value is the buffer size needed. in capi()
68 needed = unum_formatDouble(fmt, a, buf, 256, NULL, &status); in capi()
/third_party/skia/third_party/externals/icu/source/samples/numfmt/
H A Dcapi.c29 int32_t needed; in capi() local
62 in the US locale. The return value is the buffer size needed. in capi()
68 needed = unum_formatDouble(fmt, a, buf, 256, NULL, &status); in capi()
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_cs.h35 radeon_check_space(struct radeon_winsys *ws, struct radeon_cmdbuf *cs, unsigned needed) in radeon_check_space() argument
37 if (cs->max_dw - cs->cdw < needed) in radeon_check_space()
38 ws->cs_grow(cs, needed); in radeon_check_space()
39 return cs->cdw + needed; in radeon_check_space()
/kernel/linux/linux-5.10/drivers/gpu/host1x/
H A Dcdma.c237 unsigned int needed) in host1x_cdma_wait_pushbuffer_space()
244 if (space >= needed) in host1x_cdma_wait_pushbuffer_space()
562 unsigned int needed = 2, extra = 0, i; in host1x_cdma_push_wide() local
569 /* compute number of extra slots needed for padding */ in host1x_cdma_push_wide()
572 needed += extra; in host1x_cdma_push_wide()
575 host1x_cdma_wait_pushbuffer_space(host1x, cdma, needed); in host1x_cdma_push_wide()
578 cdma->slots_free = space - needed; in host1x_cdma_push_wide()
579 cdma->slots_used += needed; in host1x_cdma_push_wide()
235 host1x_cdma_wait_pushbuffer_space(struct host1x *host1x, struct host1x_cdma *cdma, unsigned int needed) host1x_cdma_wait_pushbuffer_space() argument
/kernel/linux/linux-6.6/drivers/gpu/host1x/
H A Dcdma.c237 unsigned int needed) in host1x_cdma_wait_pushbuffer_space()
244 if (space >= needed) in host1x_cdma_wait_pushbuffer_space()
629 unsigned int needed = 2, extra = 0; in host1x_cdma_push_wide() local
635 /* compute number of extra slots needed for padding */ in host1x_cdma_push_wide()
638 needed += extra; in host1x_cdma_push_wide()
641 host1x_cdma_wait_pushbuffer_space(host1x, cdma, needed); in host1x_cdma_push_wide()
644 cdma->slots_free = space - needed; in host1x_cdma_push_wide()
645 cdma->slots_used += needed; in host1x_cdma_push_wide()
235 host1x_cdma_wait_pushbuffer_space(struct host1x *host1x, struct host1x_cdma *cdma, unsigned int needed) host1x_cdma_wait_pushbuffer_space() argument
/third_party/rust/crates/cxx/gen/src/
H A Difndef.rs4 pub(super) fn write(out: &mut Content, needed: bool, guard: &str) {
14 if !needed {
/third_party/rust/crates/cxx/gen/cmd/src/gen/
H A Difndef.rs4 pub(super) fn write(out: &mut Content, needed: bool, guard: &str) {
14 if !needed {
/third_party/rust/crates/cxx/gen/build/src/gen/
H A Difndef.rs4 pub(super) fn write(out: &mut Content, needed: bool, guard: &str) {
14 if !needed {
/third_party/rust/crates/cxx/gen/lib/src/gen/
H A Difndef.rs4 pub(super) fn write(out: &mut Content, needed: bool, guard: &str) {
14 if !needed {
/third_party/python/Objects/
H A Dbytearrayobject.c517 Py_ssize_t needed; in bytearray_setslice() local
537 needed = 0; in bytearray_setslice()
546 needed = vbytes.len; in bytearray_setslice()
557 res = bytearray_setslice_linear(self, lo, hi, bytes, needed); in bytearray_setslice()
595 Py_ssize_t start, stop, step, slicelen, needed; in bytearray_ass_subscript() local
652 needed = 0; in bytearray_ass_subscript()
673 needed = Py_SIZE(values); in bytearray_ass_subscript()
680 return bytearray_setslice_linear(self, start, stop, bytes, needed); in bytearray_ass_subscript()
683 if (needed == 0) { in bytearray_ass_subscript()
728 if (needed ! in bytearray_ass_subscript()
[all...]
/kernel/linux/linux-5.10/drivers/ata/
H A Dahci_da850.c46 u32 pll_output = 1500000000, needed; in ahci_da850_calculate_mpy() local
57 needed = pll_output / (refclk_rate / 10); in ahci_da850_calculate_mpy()
65 switch (needed) { in ahci_da850_calculate_mpy()
/kernel/linux/linux-6.6/drivers/ata/
H A Dahci_da850.c46 u32 pll_output = 1500000000, needed; in ahci_da850_calculate_mpy() local
57 needed = pll_output / (refclk_rate / 10); in ahci_da850_calculate_mpy()
65 switch (needed) { in ahci_da850_calculate_mpy()
/kernel/linux/linux-6.6/drivers/md/
H A Ddm-ioctl.c595 size_t len, needed = 0; in list_devices() local
610 needed += align_val(offsetof(struct dm_name_list, name) + strlen(hc->name) + 1); in list_devices()
611 needed += align_val(sizeof(uint32_t) * 2); in list_devices()
613 needed += align_val(strlen(hc->uuid) + 1); in list_devices()
620 if (len < needed || len < sizeof(nl->dev)) { in list_devices()
624 param->data_size = param->data_start + needed; in list_devices()
665 BUG_ON((char *)nl - (char *)orig_nl != needed); in list_devices()
674 size_t *needed = needed_param; in list_version_get_needed() local
676 *needed += sizeof(struct dm_target_versions); in list_version_get_needed()
677 *needed in list_version_get_needed()
706 size_t len, needed = 0; __list_versions() local
1629 size_t len, needed; retrieve_deps() local
[all...]
/kernel/linux/linux-5.10/drivers/md/
H A Ddm-ioctl.c511 size_t len, needed = 0; in list_devices() local
524 needed += align_val(offsetof(struct dm_name_list, name) + strlen(hc->name) + 1); in list_devices()
525 needed += align_val(sizeof(uint32_t)); in list_devices()
533 if (len < needed || len < sizeof(nl->dev)) { in list_devices()
537 param->data_size = param->data_start + needed; in list_devices()
564 BUG_ON((char *)nl - (char *)orig_nl != needed); in list_devices()
573 size_t *needed = needed_param; in list_version_get_needed() local
575 *needed += sizeof(struct dm_target_versions); in list_version_get_needed()
576 *needed += strlen(tt->name) + 1; in list_version_get_needed()
577 *needed in list_version_get_needed()
607 size_t len, needed = 0; __list_versions() local
1461 size_t len, needed; retrieve_deps() local
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/include/
H A Dnapi_rdb_error.h131 ParamError(const std::string &needed, const std::string &mustbe) in ParamError() argument
133 msg_ = "Parameter error. The " + needed + " must be " + mustbe; in ParamError()
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ptrace/
H A Dperf-hwbreak.c228 unsigned long long breaks, needed; in runtestsingle() local
274 needed = 0; in runtestsingle()
276 needed += loop_num; in runtestsingle()
278 needed += loop_num; in runtestsingle()
279 needed = needed * (1 - exclude_user); in runtestsingle()
282 if (breaks != needed) { in runtestsingle()
283 printf("FAILED: 0x%lx brks:%lld needed:%lli %i %i %i\n\n", in runtestsingle()
284 (unsigned long int)ptr, breaks, needed, loop_num, readwriteflag, exclude_user); in runtestsingle()
/kernel/linux/linux-6.6/include/linux/
H A Dieee80211.h2647 u8 needed = sizeof(*he_cap_ie_elem); in ieee80211_he_capa_size_ok() local
2649 if (len < needed) in ieee80211_he_capa_size_ok()
2652 needed += ieee80211_he_mcs_nss_size(he_cap_ie_elem); in ieee80211_he_capa_size_ok()
2653 if (len < needed) in ieee80211_he_capa_size_ok()
2658 if (len < needed + 1) in ieee80211_he_capa_size_ok()
2660 needed += ieee80211_he_ppe_size(data[needed], in ieee80211_he_capa_size_ok()
2664 return len >= needed; in ieee80211_he_capa_size_ok()
3091 u8 needed = sizeof(struct ieee80211_eht_cap_elem_fixed); in ieee80211_eht_capa_size_ok() local
3093 if (len < needed || !he_cap in ieee80211_eht_capa_size_ok()
3121 u8 needed = sizeof(*elem); ieee80211_eht_oper_size_ok() local
[all...]
/third_party/libabigail/tests/data/test-diff-filter/
H A Dtest-PR27598-v0.cc7 int needed; member
/kernel/linux/linux-5.10/tools/testing/selftests/dmabuf-heaps/
H A DMakefile2 CFLAGS += -static -O3 -Wl,-no-as-needed -Wall
/kernel/linux/linux-6.6/tools/testing/selftests/nci/
H A DMakefile2 CFLAGS += -Wl,-no-as-needed -Wall
/kernel/linux/linux-6.6/tools/testing/selftests/perf_events/
H A DMakefile2 CFLAGS += -Wl,-no-as-needed -Wall $(KHDR_INCLUDES)
/kernel/linux/linux-6.6/tools/testing/selftests/tdx/
H A DMakefile3 CFLAGS += -O3 -Wl,-no-as-needed -Wall $(KHDR_INCLUDES) -static
/kernel/linux/linux-6.6/tools/testing/selftests/dmabuf-heaps/
H A DMakefile2 CFLAGS += -static -O3 -Wl,-no-as-needed -Wall $(KHDR_INCLUDES)
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/
H A DMakefile2 CFLAGS += -Wl,-no-as-needed -Wall -isystem ../../../../usr/include/

Completed in 25 milliseconds

12345678910>>...13