/freebsd/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/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 …]
|
/freebsd/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/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/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/contrib/bmake/unit-tests/ |
H A D | deptgt-begin.mk | 1 # $NetBSD: deptgt-begin.mk,v 1.8 2025/06/30 21:44:39 rillig Exp $ 3 # Tests for the special target .BEGIN in dependency declarations, 7 .BEGIN: 11 # to directly place some commands on the '.BEGIN' target. This doesn't scale 16 # expect+3: warning: duplicate script for target ".BEGIN" ignored 17 # expect-9: warning: using previous script for ".BEGIN" defined here 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 …]
|
H A D | cmd-errors-jobs.mk | 7 echo "begin $$*" \ 19 ${RUN} begin-direct 20 ${RUN} begin-indirect 62 .if make(begin-direct) 63 begin-direct: 64 .BEGIN: 67 # expect: begin begin-direct 68 # expect: make: stopped making "begin-direct" in unit-tests 69 # expect: end begin-direct with status 1 72 .if make(begin-indirect) [all …]
|
H A D | cmd-errors-jobs.exp | 1 begin undefined-direct 5 begin undefined-indirect 9 begin parse-error-direct 26 begin parse-error-indirect 43 begin begin-direct 44 (exit 13) # .BEGIN 49 make: stopped making "begin-direct" in unit-tests 50 end begin-direct with status 1 52 begin begin-indirect 53 (exit 13) # before-begin [all …]
|
/freebsd/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/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() 109 addOpaqueData(begin + valueSize, begin + atomicSize); in addTypedData() 116 addTypedData(llvmType, begin); in addTypedData() 120 void SwiftAggLowering::addTypedData(const RecordDecl *record, CharUnits begin) { in addTypedData() argument [all …]
|
/freebsd/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/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/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/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/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/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/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], s); in segregate() 116 return equalsVariable(chunks[begin], s); in segregate() 118 size_t mid = bound - chunks.begin(); in segregate() [all …]
|
/freebsd/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/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/crypto/krb5/src/windows/leash/ |
H A D | Leash.rc | 29 BEGIN 34 BEGIN 40 BEGIN 106 BEGIN 108 BEGIN 118 BEGIN 127 BEGIN 134 BEGIN 152 BEGIN 186 BEGIN [all …]
|