Home
last modified time | relevance | path

Searched refs:max (Results 1 – 25 of 41) sorted by relevance

12

/components/libc/compilers/common/
A Dcwchar.c20 static int bisearch(wchar_t ucs, const struct interval *table, int max) in bisearch() argument
25 if (ucs < table[0].first || ucs > table[max].last) in bisearch()
30 while (max >= min) in bisearch()
32 mid = (min + max) / 2; in bisearch()
39 max = mid - 1; in bisearch()
/components/utilities/utest/
A Dutest_assert.h65 #define uassert_in_range(value, min, max) \ argument
69 double _max = (max); \
70 …__utest_assert((_value >= _min) && (_value <= _max), "(" #value ") not in range("#min","#max")"); \
73 #define uassert_not_in_range(value, min, max) \ argument
77 double _max = (max); \
78 … __utest_assert((_value < _min) || (_value > _max), "(" #value ") in range("#min","#max")"); \
/components/net/lwip/lwip-2.1.2/src/core/
A Dstats.c110 LWIP_PLATFORM_DIAG(("max: %"MEM_SIZE_F"\n\t", mem->max)); in stats_display_mem()
131 LWIP_PLATFORM_DIAG(("sem.max: %"STAT_COUNTER_F"\n\t", sys->sem.max)); in stats_display_sys()
134 LWIP_PLATFORM_DIAG(("mutex.max: %"STAT_COUNTER_F"\n\t", sys->mutex.max)); in stats_display_sys()
137 LWIP_PLATFORM_DIAG(("mbox.max: %"STAT_COUNTER_F"\n\t", sys->mbox.max)); in stats_display_sys()
A Dmemp.c284 if (desc->stats->used > desc->stats->max) { in do_memp_malloc_pool()
285 desc->stats->max = desc->stats->used; in do_memp_malloc_pool()
/components/net/lwip/lwip-2.0.3/src/core/
A Dstats.c110 LWIP_PLATFORM_DIAG(("max: %"U32_F"\n\t", (u32_t)mem->max)); in stats_display_mem()
131 LWIP_PLATFORM_DIAG(("sem.max: %"U32_F"\n\t", (u32_t)sys->sem.max)); in stats_display_sys()
134 LWIP_PLATFORM_DIAG(("mutex.max: %"U32_F"\n\t", (u32_t)sys->mutex.max)); in stats_display_sys()
137 LWIP_PLATFORM_DIAG(("mbox.max: %"U32_F"\n\t", (u32_t)sys->mbox.max)); in stats_display_sys()
/components/net/lwip/lwip-1.4.1/src/core/
A Dstats.c118 LWIP_PLATFORM_DIAG(("max: %"U32_F"\n\t", (u32_t)mem->max)); in stats_display_mem()
143 LWIP_PLATFORM_DIAG(("sem.max: %"U32_F"\n\t", (u32_t)sys->sem.max)); in stats_display_sys()
146 LWIP_PLATFORM_DIAG(("mutex.max: %"U32_F"\n\t", (u32_t)sys->mutex.max)); in stats_display_sys()
149 LWIP_PLATFORM_DIAG(("mbox.max: %"U32_F"\n\t", (u32_t)sys->mbox.max)); in stats_display_sys()
/components/drivers/include/drivers/
A Dpci.h491 rt_ssize_t rt_pci_alloc_vector(struct rt_pci_device *pdev, int min, int max,
498 int min, int max, RT_IRQ_AFFINITY_DECLARE((*affinities)));
503 struct rt_pci_msix_entry *entries, int min, int max,
506 rt_inline rt_ssize_t rt_pci_alloc_vector(struct rt_pci_device *pdev, int min, int max, in rt_pci_alloc_vector() argument
528 int min, int max, RT_IRQ_AFFINITY_DECLARE((*affinities))) in rt_pci_msi_enable_range_affinity() argument
544 struct rt_pci_msix_entry *entries, int min, int max, in rt_pci_msix_enable_range_affinity() argument
561 int min, int max) in rt_pci_msi_enable_range() argument
563 return rt_pci_msi_enable_range_affinity(pdev, min, max, RT_NULL); in rt_pci_msi_enable_range()
573 struct rt_pci_msix_entry *entries, int min, int max) in rt_pci_msix_enable_range() argument
575 return rt_pci_msix_enable_range_affinity(pdev, entries, min, max, RT_NULL); in rt_pci_msix_enable_range()
/components/drivers/pci/msi/
A Dmsi.c365 rt_ssize_t rt_pci_alloc_vector(struct rt_pci_device *pdev, int min, int max, in rt_pci_alloc_vector() argument
370 if (!pdev || min > max) in rt_pci_alloc_vector()
389 res = rt_pci_msix_enable_range_affinity(pdev, RT_NULL, min, max, affinities); in rt_pci_alloc_vector()
399 res = rt_pci_msi_enable_range_affinity(pdev, min, max, affinities); in rt_pci_alloc_vector()
652 int min, int max, RT_IRQ_AFFINITY_DECLARE((*affinities))) in rt_pci_msi_enable_range_affinity() argument
654 int nvec = max; in rt_pci_msi_enable_range_affinity()
657 if (!pdev || min > max) in rt_pci_msi_enable_range_affinity()
880 struct rt_pci_msix_entry *entries, int min, int max, in rt_pci_msix_enable_range_affinity() argument
883 int nvec = max; in rt_pci_msix_enable_range_affinity()
886 if (!pdev || min > max) in rt_pci_msix_enable_range_affinity()
/components/net/lwip/lwip-1.4.1/src/include/lwip/
A Dstats.h96 mem_size_t max; member
103 STAT_COUNTER max; member
156 if (lwip_stats.x.max < lwip_stats.x.used) { \
157 lwip_stats.x.max = lwip_stats.x.used; \
/components/drivers/ofw/libfdt/
A Dfdt_ro.c116 uint32_t max = 0; in fdt_find_max_phandle() local
132 if (value > max) in fdt_find_max_phandle()
133 max = value; in fdt_find_max_phandle()
137 *phandle = max; in fdt_find_max_phandle()
144 uint32_t max; in fdt_generate_phandle() local
147 err = fdt_find_max_phandle(fdt, &max); in fdt_generate_phandle()
151 if (max == FDT_MAX_PHANDLE) in fdt_generate_phandle()
155 *phandle = max + 1; in fdt_generate_phandle()
/components/net/lwip/lwip-2.1.2/src/include/lwip/
A Dstats.h105 mem_size_t max; member
112 STAT_COUNTER max; member
312 if (lwip_stats.x.max < lwip_stats.x.used) { \
313 lwip_stats.x.max = lwip_stats.x.used; \
/components/net/lwip/lwip-2.0.3/src/include/lwip/
A Dstats.h105 mem_size_t max; member
112 STAT_COUNTER max; member
312 if (lwip_stats.x.max < lwip_stats.x.used) { \
313 lwip_stats.x.max = lwip_stats.x.used; \
/components/drivers/ofw/
A Dofw_internal.h73 rt_err_t ofw_phandle_hash_reset(rt_phandle min, rt_phandle max);
A Dbase.c36 rt_err_t ofw_phandle_hash_reset(rt_phandle min, rt_phandle max) in ofw_phandle_hash_reset() argument
39 rt_phandle next = max; in ofw_phandle_hash_reset()
42 max = RT_ALIGN(max, OFW_NODE_MIN_HASH); in ofw_phandle_hash_reset()
44 if (max > _phandle_range[1]) in ofw_phandle_hash_reset()
46 rt_size_t size = sizeof(*_phandle_hash) * (max - min); in ofw_phandle_hash_reset()
60 rt_memset(&hash_ptr[old_max], 0, sizeof(_phandle_hash) * (max - old_max)); in ofw_phandle_hash_reset()
72 _phandle_range[1] = max; in ofw_phandle_hash_reset()
/components/finsh/
A Dshell.c475 static int find_next_word_end(const char *line, int curpos, int max) in find_next_word_end() argument
477 if (curpos >= max) return max; in find_next_word_end()
480 while (curpos < max && (line[curpos] == ' ' || line[curpos] == '\t')) in find_next_word_end()
484 while (curpos < max && !(line[curpos] == ' ' || line[curpos] == '\t')) in find_next_word_end()
/components/drivers/sdio/
A DKconfig24 int "mmcsd max partition"
/components/drivers/hwcrypto/
A DKconfig11 int "IV max size"
15 int "Key max bit length"
/components/net/lwip/lwip-2.0.3/doc/
A Dmdns.txt22 The max number of services supported per netif is defined by MDNS_MAX_SERVICES,
96 Since a hostname struct is used for TXT storage each single item can be max
97 63 bytes long, and the total max length (including length bytes for each
/components/net/lwip/lwip-2.1.2/doc/
A Dmdns.txt22 The max number of services supported per netif is defined by MDNS_MAX_SERVICES,
96 Since a hostname struct is used for TXT storage each single item can be max
97 63 bytes long, and the total max length (including length bytes for each
/components/drivers/usb/cherryusb/
A DKconfig140 prompt "Set device control transfer max buffer size"
145 prompt "Set usb msc device max buffer size"
397 prompt "Set hubport change thread priority, 0 is the max priority"
407 prompt "Set host control transfer max buffer size"
A DKconfig.rtt147 prompt "Set device control transfer max buffer size"
152 prompt "Set usb msc device max buffer size"
416 prompt "Set hubport change thread priority, 0 is the max priority"
426 prompt "Set host control transfer max buffer size"
A DKconfig.rttpkg146 prompt "Set device control transfer max buffer size"
151 prompt "Set usb msc device max buffer size"
415 prompt "Set hubport change thread priority, 0 is the max priority"
425 prompt "Set host control transfer max buffer size"
/components/dfs/
A DKconfig238 int "page cache max total pages."
242 int "aspace max active pages."
246 int "max pre load pages."
/components/drivers/pic/
A DKconfig16 int "IRQ max handlers"
/components/drivers/virtio/
A Dvirtio_input.h52 rt_uint32_t max; /* Maximum value for the axis */ member

Completed in 40 milliseconds

12