/freebsd-src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/ |
H A D | tst.func_access.ksh | 32 BEGIN { 37 BEGIN { trace(mutex_owned(&`pidlock)); } 38 BEGIN { trace(mutex_owner(&`pidlock)); } 39 BEGIN { trace(mutex_type_adaptive(&`pidlock)); } 40 BEGIN { trace(mutex_type_spin(&`pidlock)); } 42 BEGIN { trace(rw_read_held(&`ksyms_lock)); } 43 BEGIN { trace(rw_write_held(&`ksyms_lock)); } 44 BEGIN { trace(rw_iswriter(&`ksyms_lock)); } 46 BEGIN { x = alloca(10); bcopy(`initname, x, 10); trace(stringof(x)); } 49 BEGIN { trace(strlen(`initname)); } [all …]
|
H A D | tst.unpriv_funcs.ksh | 38 BEGIN { trace("trace\n"); } 39 BEGIN { printf("%s\n", "printf"); } 40 BEGIN { printf("strlen(\"strlen\") = %d\n", strlen("strlen")); } 41 BEGIN { x = alloca(10); 45 BEGIN { printf("index(\"index\", \"x\") = %d\n", 47 BEGIN { printf("strchr(\"strchr\", \'t\') = %s\n", 50 BEGIN { printf("strtok(\"strtok\", \"t\") = %s\n", 52 BEGIN { printf("strtok(NULL, \"t\") = %s\n", 54 BEGIN { printf("strtok(NULL, \"t\") = %s\n", 56 BEGIN { printf("substr(\"substr\", 2, 2) = %s\n", [all …]
|
/freebsd-src/contrib/dialog/samples/ |
H A D | wheel | 27 --begin "`scaley 27`" "`scalex 98`" --infobox "pushd /var/log >/dev/null" 0 0 --and-widget \ 28 --begin "`scaley 35`" "`scalex 95`" --infobox "mkdir -p news -m 755" 0 0 --and-widget \ 29 --begin "`scaley 45`" "`scalex 86`" --infobox "chown news.news news" 0 0 --and-widget \ 30 --begin "`scaley 48`" "`scalex 78`" --infobox "cd /var/log/news" 0 0 --and-widget \ 31 --begin "`scaley 51`" "`scalex 61`" --infobox "mkdir -p OLD -m 755" 0 0 --and-widget \ 32 --begin "`scaley 52`" "`scalex 47`" --infobox "chown news.news OLD" 0 0 --and-widget \ 33 --begin "`scaley 51`" "`scalex 40`" --infobox "cd /var/spool" 0 0 --and-widget \ 34 --begin "`scaley 48`" "`scalex 25`" --infobox "mkdir -p news -m 775" 0 0 --and-widget \ 35 --begin "`scaley 42`" "`scalex 13`" --infobox "chown news.news news" 0 0 --and-widget \ 36 --begin "`scaley 35`" "`scalex 4`" --infobox "cd /var/spool/news" 0 0 --and-widget \ [all …]
|
/freebsd-src/crypto/openssl/test/recipes/30-test_evp_data/ |
H A D | evppkey_brainpool.txt | 17 -----BEGIN PRIVATE KEY----- 22 -----BEGIN PUBLIC KEY----- 30 -----BEGIN PRIVATE KEY----- 35 -----BEGIN PUBLIC KEY----- 55 -----BEGIN PRIVATE KEY----- 60 -----BEGIN PUBLIC KEY----- 68 -----BEGIN PRIVATE KEY----- 73 -----BEGIN PUBLIC KEY----- 93 -----BEGIN PRIVATE KEY----- 99 -----BEGIN PUBLIC KEY----- [all …]
|
H A D | evppkey_ecdh.txt | 24 -----BEGIN PRIVATE KEY----- 30 -----BEGIN PUBLIC KEY----- 39 -----BEGIN PRIVATE KEY----- 45 -----BEGIN PUBLIC KEY----- 68 -----BEGIN PRIVATE KEY----- 74 -----BEGIN PUBLIC KEY----- 83 -----BEGIN PRIVATE KEY----- 89 -----BEGIN PUBLIC KEY----- 114 -----BEGIN PRIVATE KEY----- 120 -----BEGIN PUBLIC KEY----- [all …]
|
H A D | evppkey_ecc.txt | 17 -----BEGIN PRIVATE KEY----- 22 -----BEGIN PUBLIC KEY----- 31 -----BEGIN PRIVATE KEY----- 36 -----BEGIN PUBLIC KEY----- 71 -----BEGIN PUBLIC KEY----- 95 -----BEGIN PRIVATE KEY----- 100 -----BEGIN PUBLIC KEY----- 109 -----BEGIN PRIVATE KEY----- 114 -----BEGIN PUBLIC KEY----- 149 -----BEGIN PUBLIC KEY----- [all …]
|
H A D | evppkey_kas.txt | 26 -----BEGIN PRIVATE KEY----- 33 -----BEGIN PUBLIC KEY----- 42 -----BEGIN PUBLIC KEY----- 60 -----BEGIN PRIVATE KEY----- 67 -----BEGIN PUBLIC KEY----- 76 -----BEGIN PUBLIC KEY----- 89 -----BEGIN PRIVATE KEY----- 96 -----BEGIN PUBLIC KEY----- 105 -----BEGIN PUBLIC KEY----- 118 -----BEGIN PRIVATE KEY----- [all …]
|
H A D | evppkey_ecx.txt | 22 -----BEGIN PRIVATE KEY----- 27 -----BEGIN PUBLIC KEY----- 34 -----BEGIN PRIVATE KEY----- 39 -----BEGIN PUBLIC KEY----- 88 -----BEGIN PRIVATE KEY----- 94 -----BEGIN PUBLIC KEY----- 102 -----BEGIN PRIVATE KEY----- 108 -----BEGIN PUBLIC KEY----- 165 -----BEGIN PRIVATE KEY----- 170 -----BEGIN PRIVATE KEY----- [all …]
|
/freebsd-src/contrib/netbsd-tests/lib/libc/ssp/ |
H A D | t_ssp.sh | 37 # Begin FreeBSD 44 # Begin FreeBSD 59 # Begin FreeBSD 65 # Begin FreeBSD 80 # Begin FreeBSD 86 # Begin FreeBSD 101 # Begin FreeBSD 107 # Begin FreeBSD 122 # Begin FreeBSD 128 # Begin FreeBSD [all …]
|
/freebsd-src/contrib/one-true-awk/testdir/ |
H A D | T.errmsg | 19 illegal break, continue, next or nextfile from BEGIN 20 BEGIN { nextfile } 41 BEGIN { s = "[x"; if (1 ~ s) print "foo"} 44 BEGIN { if ("x" ~ /$^/) print "ugh" } 50 BEGIN { print 1/0 } 53 BEGIN { x = 1; print x /= 0 } 56 BEGIN { x = 1; print x %= 0 } 59 BEGIN { print 1%0 } 62 BEGIN { x[1] = 0; split("a b c", y, x) } 77 BEGIN { f(f) } [all …]
|
H A D | T.clv | 11 BEGIN { x=0; print x; getline; print x, $0 } 20 BEGIN { x=0; print x; getline; print x, $0 } 29 BEGIN { x=0; print x; getline; print x, $0 } 39 BEGIN { x=0; print x; getline; print x, $0 } 47 $awk 'BEGIN { getline; print x}' x=4 /dev/null >foo2 52 $awk 'BEGIN { x=0; getline <"/dev/null"; print x}' x=5 /dev/null >foo2 61 $awk 'BEGIN { x=0; getline; print x} 68 $awk 'BEGIN { x=0; getline <"/dev/null"; print x} 75 $awk 'BEGIN { _=0; getline <"/dev/null"; print _} 83 # these test the new -v option: awk ... -v a=1 -v b=2 'prog' does before BEGIN [all …]
|
/freebsd-src/contrib/bmake/unit-tests/ |
H A D | deptgt-begin.mk | 1 # $NetBSD: deptgt-begin.mk,v 1.7 2023/06/01 20:56:35 rillig Exp $ 3 # Tests for the special target .BEGIN in dependency declarations, 7 # expect+2: warning: using previous script for ".BEGIN" defined here 8 .BEGIN: 12 # to directly place some commands on the '.BEGIN' target. This doesn't scale 17 # expect+2: warning: duplicate script for target ".BEGIN" ignored 18 .BEGIN: 22 # make the .BEGIN depend on that target. This way, the commands from the 23 # custom target are run even before the .BEGIN target. 24 .BEGIN: before-begin [all …]
|
/freebsd-src/contrib/processor-trace/libipt/src/ |
H A D | pt_event_queue.c | 69 uint8_t begin, end, gap, idx; in pt_evq_enqueue() local 77 begin = evq->begin[evb]; in pt_evq_enqueue() 80 if (evq_max <= begin) in pt_evq_enqueue() 90 if (begin == gap) in pt_evq_enqueue() 101 uint8_t begin, end; in pt_evq_dequeue() local 109 begin = evq->begin[evb]; in pt_evq_dequeue() 112 if (evq_max <= begin) in pt_evq_dequeue() 118 if (begin == end) in pt_evq_dequeue() 121 evq->begin[evb] = pt_evq_inc(begin); in pt_evq_dequeue() 123 return &evq->queue[evb][begin]; in pt_evq_dequeue() [all …]
|
/freebsd-src/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | SwiftCallingConv.cpp | 65 void SwiftAggLowering::addTypedData(QualType type, CharUnits begin) { in addTypedData() argument 70 addTypedData(recType->getDecl(), begin); in addTypedData() 82 addTypedData(eltType, begin + i * eltSize); in addTypedData() 90 addTypedData(eltLLVMType, begin, begin + eltSize); in addTypedData() 91 addTypedData(eltLLVMType, begin + eltSize, begin + 2 * eltSize); in addTypedData() 96 addOpaqueData(begin, begin + CGM.getContext().getTypeSizeInChars(type)); in addTypedData() 104 addTypedData(atomicType->getValueType(), begin); in addTypedData() 120 addTypedData(const RecordDecl * record,CharUnits begin) addTypedData() argument 124 addTypedData(const RecordDecl * record,CharUnits begin,const ASTRecordLayout & layout) addTypedData() argument 208 addTypedData(llvm::Type * type,CharUnits begin) addTypedData() argument 214 addTypedData(llvm::Type * type,CharUnits begin,CharUnits end) addTypedData() argument 247 addLegalTypedData(llvm::Type * type,CharUnits begin,CharUnits end) addLegalTypedData() argument 274 addEntry(llvm::Type * type,CharUnits begin,CharUnits end) addEntry() argument 410 CharUnits begin = Entries[index].Begin; splitVectorEntry() local 517 auto begin = orig[i].Begin; finish() local [all...] |
/freebsd-src/contrib/llvm-project/clang/include/clang/Analysis/Support/ |
H A D | BumpVector.h | 69 T *Begin = nullptr; variable 82 destroy_range(Begin, End); in ~BumpVector() 101 iterator begin() { return Begin; } in begin() function 102 const_iterator begin() const { return Begin; } in begin() function 109 reverse_iterator rend() { return reverse_iterator(begin()); } in rend() 111 return const_reverse_iterator(begin()); in rend() 114 bool empty() const { return Begin == End; } in empty() 115 size_type size() const { return End-Begin; } in size() 118 assert(Begin + idx < End); 119 return Begin[idx]; [all …]
|
/freebsd-src/crypto/openssl/test/recipes/80-test_policy_tree_data/ |
H A D | large_policy_tree.pem | 1 -----BEGIN CERTIFICATE----- 15 -----BEGIN CERTIFICATE----- 29 -----BEGIN CERTIFICATE----- 43 -----BEGIN CERTIFICATE----- 57 -----BEGIN CERTIFICATE----- 71 -----BEGIN CERTIFICATE----- 85 -----BEGIN CERTIFICATE----- 99 -----BEGIN CERTIFICATE----- 113 -----BEGIN CERTIFICATE----- 127 -----BEGIN CERTIFICATE----- [all …]
|
/freebsd-src/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTVector.h | 38 T *Begin = nullptr; 54 ASTVector(ASTVector &&O) : Begin(O.Begin), End(O.End), Capacity(O.Capacity) { in ASTVector() 55 O.Begin = O.End = nullptr; in ASTVector() 69 swap(Begin, O.Begin); 78 destroy_range(Begin, End); in ~ASTVector() 97 iterator begin() { return Begin; } in begin() function 98 const_iterator begin() const { return Begin; } in begin() function 105 reverse_iterator rend() { return reverse_iterator(begin()); } in rend() 106 const_reverse_iterator rend() const { return const_reverse_iterator(begin());} in rend() 108 bool empty() const { return Begin == End; } in empty() [all …]
|
/freebsd-src/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_leb128.h | 18 It EncodeSLEB128(T value, It begin, It end) { in EncodeSLEB128() argument 28 if (UNLIKELY(begin == end)) in EncodeSLEB128() 30 *(begin++) = byte; in EncodeSLEB128() 32 return begin; in EncodeSLEB128() 36 It DecodeSLEB128(It begin, It end, T* v) { in DecodeSLEB128() argument 41 if (UNLIKELY(begin == end)) in DecodeSLEB128() 42 return begin; in DecodeSLEB128() 43 byte = *(begin++); in DecodeSLEB128() 51 return begin; in DecodeSLEB128() 55 It EncodeULEB128(T value, It begin, It end) { in EncodeULEB128() argument [all …]
|
/freebsd-src/crypto/openssl/test/ |
H A D | danetest.in | 47 # << 'EOF' perl -pe 'BEGIN {$t = 0; $/="\n\n"} if (s/\A\s*# \d+\s*?\n//sm) {printf "# %d\n", ++$t}' 58 -----BEGIN CERTIFICATE----- 73 -----BEGIN CERTIFICATE----- 88 -----BEGIN CERTIFICATE----- 103 -----BEGIN CERTIFICATE----- 118 -----BEGIN CERTIFICATE----- 133 -----BEGIN CERTIFICATE----- 148 -----BEGIN CERTIFICATE----- 163 -----BEGIN CERTIFICATE----- 178 -----BEGIN CERTIFICATE----- [all …]
|
/freebsd-src/contrib/flex/src/ |
H A D | scan.l | 193 BEGIN(SECT2PROLOG); 200 ^"%option" BEGIN(OPTION); return TOK_OPTION; 220 BEGIN(PICKUPDEF); 344 BEGIN(INITIAL); 351 {NL} ++linenum; BEGIN(INITIAL); 478 BEGIN(RECOVER); 482 <RECOVER>.*{NL} ++linenum; BEGIN(INITIAL); 498 BEGIN(SECT2); 521 BEGIN(PERCENT_BRACE_ACTION); 527 BEGIN(SC); [all …]
|
/freebsd-src/contrib/llvm-project/lld/COFF/ |
H A D | ICF.cpp | 46 void segregate(size_t begin, size_t end, bool constant); 55 size_t findBoundary(size_t begin, size_t end); 57 void forEachClassRange(size_t begin, size_t end, 108 void ICF::segregate(size_t begin, size_t end, bool constant) { in segregate() argument 109 while (begin < end) { in segregate() 110 // Divide [Begin, End) into two. Let Mid be the start index of the in segregate() 113 chunks.begin() + begin + 1, chunks.begin() + end, [&](SectionChunk *s) { in segregate() 115 return equalsConstant(chunks[begin], in segregate() 203 findBoundary(size_t begin,size_t end) findBoundary() argument 210 forEachClassRange(size_t begin,size_t end,std::function<void (size_t,size_t)> fn) forEachClassRange() argument 299 __anon87cd619c0b02(size_t begin, size_t end) run() argument 305 __anon87cd619c0c02(size_t begin, size_t end) run() argument 311 __anon87cd619c0d02(size_t begin, size_t end) run() argument [all...] |
/freebsd-src/contrib/byacc/test/ |
H A D | grammar.y | 135 long begin; /* offset in temporary file */ member 152 long begin; /* offset in temporary file */ member 159 long begin_comment; /* begin offset of comment */ 168 long begin; /* offset in temporary file */ member 169 long begin_comment; /* begin offset of comment */ 535 new_decl_spec(&decl_spec, dft_decl_spec(), $1->begin, DS_NONE); 577 new_decl_spec(&$$, $1.text, $1.begin, DS_NONE); 581 new_decl_spec(&$$, $1.text, $1.begin, DS_EXTERN); 585 new_decl_spec(&$$, $1.text, $1.begin, DS_NONE); 589 new_decl_spec(&$$, $1.text, $1.begin, DS_STATIC); [all …]
|
/freebsd-src/contrib/processor-trace/libipt/test/src/ |
H A D | ptunit-sync.c | 56 sfix->config.begin = sfix->buffer; in sfix_init() 81 errcode = pt_sync_forward(NULL, sfix->config.begin, &sfix->config); in sync_fwd_null() 87 errcode = pt_sync_forward(&sync, sfix->config.begin, NULL); in sync_fwd_null() 98 errcode = pt_sync_backward(NULL, sfix->config.begin, &sfix->config); in sync_bwd_null() 104 errcode = pt_sync_backward(&sync, sfix->config.begin, NULL); in sync_bwd_null() 115 sfix->config.end = sfix->config.begin; in sync_fwd_empty() 117 errcode = pt_sync_forward(&sync, sfix->config.begin, &sfix->config); in sync_fwd_empty() 128 sfix->config.end = sfix->config.begin; in sync_bwd_empty() 141 errcode = pt_sync_forward(&sync, sfix->config.begin, &sfix->config); in sync_fwd_none() 163 sfix_encode_psb(sfix->config.begin); in sync_fwd_here() [all …]
|
/freebsd-src/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/begin/ |
H A D | tst.multibegin.d | 31 * Multiple BEGIN providers 40 BEGIN 42 printf("Begin fired first\n"); 44 BEGIN 46 printf("Begin fired second\n"); 48 BEGIN 50 printf("Begin fired third\n"); 52 BEGIN 54 printf("Begin fired fourth\n"); 56 BEGIN [all …]
|
/freebsd-src/contrib/llvm-project/libcxx/include/__iterator/ |
H A D | access.h | 23 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR _Tp* begin(_Tp (&__array)[_Np]) _NOEXCEPT { in begin() function 35 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto begin(_Cp& __c) -> decltype(__c.begin()) { 36 return __c.begin(); 40 _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX17 auto begin(const _Cp& __c) -> decltype(__c.begin()) { 41 return __c.begin(); 58 cbegin(const _Cp& __c) noexcept(noexcept(std::begin(__c))) -> decltype(std::begin(__c)) { 59 return std::begin(__ 72 _LIBCPP_HIDE_FROM_ABI typename _Cp::iterator begin(_Cp& __c) { begin() function 77 _LIBCPP_HIDE_FROM_ABI typename _Cp::const_iterator begin(const _Cp& __c) { begin() function [all...] |