Home
last modified time | relevance | path

Searched full:ulimit (Results 1 – 25 of 288) sorted by relevance

12345678910>>...12

/external/toybox/toys/posix/
Dulimit.c1 /* ulimit.c - Modify resource limits
5 * See http://pubs.opengroup.org/onlinepubs/9699919799/utilities/ulimit.html
19 USE_ULIMIT(NEWTOY(ulimit, ">1P#<1SHavutsrRqpnmlifedc[-SH][!apvutsrRqnmlifedc]", TOYFLAG_USR|TOYFLAG…
20 USE_ULIMIT(OLDTOY(prlimit, ulimit, TOYFLAG_USR|TOYFLAG_BIN))
22 config ULIMIT
23 bool "ulimit"
26 usage: ulimit [-P PID] [-SHRacdefilmnpqrstuv] [LIMIT]
30 Default is ulimit -P $PPID -Sf" (show soft filesize of your shell).
/external/ltp/testcases/kernel/syscalls/ulimit/
Dulimit01.c41 * TEST TITLE : Basic test for ulimit(2)
61 * 1.) ulimit(2) returns...(See Description)
90 * This is a Phase I test for the ulimit(2) system call. It is intended
93 * ulimit(2).
112 #include <ulimit.h>
184 * Call ulimit(2) in main()
186 TEST(ulimit(cmd, limit)); in main()
192 "ulimit(%d, %ld) Failed expectedly", in main()
196 "ulimit(%d, %ld) Failed", in main()
202 "ulimit(%d, %ld) returned %ld, succeeded unexpectedly", in main()
[all …]
/external/llvm/
Dandroid_test.sh6 ulimit -t 600
7 ulimit -d 512000
8 ulimit -m 512000
9 ulimit -s 8192
/external/mksh/src/
Dulimit.c27 __RCSID("$MirOS: src/bin/mksh/ulimit.c,v 1.3 2020/07/24 21:08:26 tg Exp $");
83 # error nonsensical m ulimit
87 # error nonsensical v ulimit
134 extern long ulimit(int, long);
219 bi_errorf("usage: ulimit [-%s] [value]", rlimits_opts); in c_ulimit()
235 internal_warningf("ulimit: %c", what); in c_ulimit()
312 /* check.t:ulimit-2 fails if we return 1 and/or do: in set_ulimit()
317 if (ulimit(l->wesource, val) != -1L) in set_ulimit()
336 if ((val = ulimit(l->resource, 0)) < 0) in print_ulimit()
/external/linux-kselftest/tools/testing/selftests/net/
Dstress_reuseport_listen.sh7 SAVED_NR_FILES=$(ulimit -n)
12 ulimit -n $NR_FILES
17 ulimit -n $SAVED_NR_FILES
Dbind_bhash.sh5 SAVED_NR_FILES=$(ulimit -n)
44 ulimit -n $NR_FILES
53 ulimit -n $SAVED_NR_FILES
/external/libvpx/vpx_dsp/mips/
Dloopfilter_filters_dspr2.c31 uint32_t uflimit, ulimit, uthresh; in vpx_lpf_horizontal_4_dspr2() local
34 ulimit = *limit; in vpx_lpf_horizontal_4_dspr2()
41 "replv.qb %[limit_vec], %[ulimit] \n\t" in vpx_lpf_horizontal_4_dspr2()
45 : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); in vpx_lpf_horizontal_4_dspr2()
116 uint32_t uflimit, ulimit, uthresh; in vpx_lpf_vertical_4_dspr2() local
119 ulimit = *limit; in vpx_lpf_vertical_4_dspr2()
126 "replv.qb %[limit_vec], %[ulimit] \n\t" in vpx_lpf_vertical_4_dspr2()
130 : [uthresh] "r"(uthresh), [uflimit] "r"(uflimit), [ulimit] "r"(ulimit)); in vpx_lpf_vertical_4_dspr2()
/external/cronet/tot/third_party/icu/source/io/
Dustream.cpp51 const char16_t *uLimit = us + str.length(); in operator <<() local
56 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, false, &errorCode); in operator <<()
91 const char16_t *uLimit = uBuffer + UPRV_LENGTHOF(uBuffer); in operator >>() local
117 ucnv_toUnicode(converter, &us, uLimit, &s, sLimit, 0, !continueReading, &errorCode); in operator >>()
/external/cronet/stable/third_party/icu/source/io/
Dustream.cpp51 const char16_t *uLimit = us + str.length(); in operator <<() local
56 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, 0, false, &errorCode); in operator <<()
91 const char16_t *uLimit = uBuffer + UPRV_LENGTHOF(uBuffer); in operator >>() local
117 ucnv_toUnicode(converter, &us, uLimit, &s, sLimit, 0, !continueReading, &errorCode); in operator >>()
/external/icu/icu4c/source/io/
Dustream.cpp51 const char16_t *uLimit = us + str.length(); in operator <<() local
56 ucnv_fromUnicode(converter, &s, sLimit, &us, uLimit, nullptr, false, &errorCode); in operator <<()
91 const char16_t *uLimit = uBuffer + UPRV_LENGTHOF(uBuffer); in operator >>() local
117 … ucnv_toUnicode(converter, &us, uLimit, &s, sLimit, nullptr, !continueReading, &errorCode); in operator >>()
/external/trusty/musl/src/legacy/
Dulimit.c2 #include <ulimit.h>
5 long ulimit(int cmd, ...) in ulimit() function
/external/musl/src/legacy/
Dulimit.c2 #include <ulimit.h>
5 long ulimit(int cmd, ...) in ulimit() function
/external/one-true-awk/
DREGRESS29 if (ulimit -c unlimited > /dev/null 2>&1)
32 ulimit -c unlimited
/external/ltp/testcases/network/stress/multicast/grp-operation/
Dmcast-group-multiple-socket.sh16 if [ $(ulimit -n) -lt $MCASTNUM_HEAVY ]; then
17 ulimit -n $MCASTNUM_HEAVY || tst_brk TCONF \
/external/cronet/tot/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/
Dplatform_thread_apple_for_testing.mm65 // limit (ulimit -s) as the default stack size. See
69 // can't be determined, or if stack size is unlimited (ulimit -s unlimited),
72 // macOS normally only applies ulimit -s to the main thread stack. On
/external/cronet/stable/base/allocator/partition_allocator/src/partition_alloc/partition_alloc_base/threading/
Dplatform_thread_apple_for_testing.mm65 // limit (ulimit -s) as the default stack size. See
69 // can't be determined, or if stack size is unlimited (ulimit -s unlimited),
72 // macOS normally only applies ulimit -s to the main thread stack. On
/external/accompanist/
Dgradlew38 # * various built-in commands including «command», «set», and «ulimit».
143 # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
145 MAX_FD=$( ulimit -H -n ) ||
151 # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
153 ulimit -n "$MAX_FD" ||
/external/dagger2/javatests/artifacts/hilt-android/viewmodel/
Dgradlew38 # * various built-in commands including «command», «set», and «ulimit».
147 # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
149 MAX_FD=$( ulimit -H -n ) ||
155 # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
157 ulimit -n "$MAX_FD" ||
/external/okio/
Dgradlew40 # * various built-in commands including «command», «set», and «ulimit».
149 # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
151 MAX_FD=$( ulimit -H -n ) ||
157 # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
159 ulimit -n "$MAX_FD" ||
/external/executorch/extension/android/
Dgradlew38 # * various built-in commands including «command», «set», and «ulimit».
147 # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
149 MAX_FD=$( ulimit -H -n ) ||
155 # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
157 ulimit -n "$MAX_FD" ||
/external/dagger2/
Dgradlew40 # * various built-in commands including «command», «set», and «ulimit».
150 # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
152 MAX_FD=$( ulimit -H -n ) ||
158 # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
160 ulimit -n "$MAX_FD" ||
/external/dagger2/javatests/artifacts/hilt-android/lazyclasskey/
Dgradlew38 # * various built-in commands including «command», «set», and «ulimit».
147 # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
149 MAX_FD=$( ulimit -H -n ) ||
155 # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
157 ulimit -n "$MAX_FD" ||
/external/kotlinpoet/
Dgradlew40 # * various built-in commands including «command», «set», and «ulimit».
150 # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
152 MAX_FD=$( ulimit -H -n ) ||
158 # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
160 ulimit -n "$MAX_FD" ||
/external/kotlinx.atomicfu/
Dgradlew38 # * various built-in commands including «command», «set», and «ulimit».
146 # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
148 MAX_FD=$( ulimit -H -n ) ||
154 # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
156 ulimit -n "$MAX_FD" ||
/external/kotlinx.coroutines/
Dgradlew38 # * various built-in commands including «command», «set», and «ulimit».
147 # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
149 MAX_FD=$( ulimit -H -n ) ||
155 # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
157 ulimit -n "$MAX_FD" ||

12345678910>>...12