/freebsd/sys/crypto/openssl/aarch64/ |
H A D | ghashv8-armx.S | 12 ld1 {v17.2d},[x1] //load input H 14 shl v19.2d,v19.2d,#57 //0xc2.0 16 ushr v18.2d,v19.2d,#63 17 dup v17.4s,v17.s[1] 19 ushr v18.2d,v3.2d,#63 22 shl v3.2d,v3.2d,#1 25 orr v3.16b,v3.16b,v18.16b //H<<<=1 27 st1 {v20.2d},[x0],#16 //store Htable[0] 31 pmull v0.1q,v20.1d,v20.1d 33 pmull2 v2.1q,v20.2d,v20.2d [all …]
|
H A D | armv8-mont.S | 40 ldp x7,x8,[x1],#16 // ap[0..1] 44 ldp x13,x14,[x3],#16 // np[0..1] 49 mul x10,x8,x9 // ap[1]*bp[0] 57 mul x16,x14,x15 // np[1]*m1 67 // by adding -1 to x6. That's what next instruction does. 68 subs xzr,x6,#1 // (*) 89 str x12,[x22],#8 // tp[j-1] 102 sub x20,x5,#8 // i=num-1 118 mul x10,x8,x9 // ap[1]*bp[i] 128 mul x16,x14,x15 // np[1]*m1 [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | tst.index.d.out | 5 printf("perl => index(\"foobarbaz\", \"barbaz\") = %d\n", 7 printf(" D => index(\"foobarbaz\", \"barbaz\") = 3\n"); 12 printf("perl => rindex(\"foobarbaz\", \"barbaz\") = %d\n", 14 printf(" D => rindex(\"foobarbaz\", \"barbaz\") = 3\n"); 19 printf("perl => index(\"foofoofoo\", \"foo\") = %d\n", 21 printf(" D => index(\"foofoofoo\", \"foo\") = 0\n"); 26 printf("perl => rindex(\"foofoofoo\", \"foo\") = %d\n", 28 printf(" D => rindex(\"foofoofoo\", \"foo\") = 6\n"); 33 printf("perl => index(\"boofoofoo\", \"foo\") = %d\n", 35 printf(" D => index(\"boofoofoo\", \"foo\") = 3\n"); [all …]
|
/freebsd/lib/libomp/ |
H A D | kmp_i18n_default.inc | 106 "OMP: Info #%1$d: %2$s\n", 107 "OMP: Warning #%1$d: %2$s\n", 108 "OMP: Error #%1$d: %2$s\n", 109 "OMP: System error #%1$d: %2$s\n", 110 "OMP: Hint %1$s\n", 111 "%1$s pragma (at %2$s:%3$s():%4$s)", 120 "Cannot open message catalog \"%1$s\":", 122 "%1$s: Lock is uninitialized", 123 "%1$s: Lock was initialized as simple, but used as nestable", 124 "%1$s: Lock was initialized as nestable, but used as simple", [all …]
|
/freebsd/cddl/lib/libdtrace/ |
H A D | regs_x86.d | 30 #pragma D binding "1.0" R_GS 31 inline int R_FS = 1; 32 #pragma D binding "1.0" R_FS 34 #pragma D binding "1.0" R_ES 36 #pragma D binding "1.0" R_DS 39 #pragma D binding "1.0" R_EDI 41 #pragma D binding "1.0" R_ESI 43 #pragma D binding "1.0" R_EBP 45 #pragma D binding "1.0" R_ESP 47 #pragma D binding "1.0" R_EBX [all …]
|
H A D | tcp.d | 26 #pragma D depends_on library ip.d 27 #pragma D depends_on module kernel 28 #pragma D depends_on provider tcp 33 #pragma D binding "1.6.3" TCPS_CLOSED 35 #pragma D binding "1.6.3" TCPS_LISTEN 36 inline int TCPS_LISTEN = 1; 37 #pragma D binding "1.6.3" TCPS_SYN_SENT 39 #pragma D binding "1.6.3" TCPS_SYN_RECEIVED 41 #pragma D binding "1.6.3" TCPS_ESTABLISHED 43 #pragma D binding "1.6.3" TCPS_CLOSE_WAIT [all …]
|
/freebsd/contrib/elftoolchain/libelftc/ |
H A D | libelftc_dem_arm.c | 8 * 1. Redistributions of source code must retain the above copyright 71 #define VEC_PUSH_STR(d,s) vector_str_push((d), (s), strlen((s))) argument 100 struct demangle_data d; in cpp_demangle_ARM() local 108 if (init_demangle_data(&d) == false) in cpp_demangle_ARM() 114 d.p = org; in cpp_demangle_ARM() 115 if (read_func_name(&d) == false) in cpp_demangle_ARM() 118 if (d.type == ENCODE_OP_CT) { in cpp_demangle_ARM() 119 if (push_CTDT("::", 2, &d.vec) == false) in cpp_demangle_ARM() 125 if (d.type == ENCODE_OP_DT) { in cpp_demangle_ARM() 126 if (push_CTDT("::~", 3, &d.vec) == false) in cpp_demangle_ARM() [all …]
|
H A D | libelftc_dem_gnu2.c | 8 * 1. Redistributions of source code must retain the above copyright 69 #define VEC_PUSH_STR(d,s) vector_str_push((d), (s), strlen((s))) argument 98 struct demangle_data d; in cpp_demangle_gnu2() local 106 if (init_demangle_data(&d) == false) in cpp_demangle_gnu2() 112 d.p = org; in cpp_demangle_gnu2() 113 if (read_func_name(&d) == false) in cpp_demangle_gnu2() 116 switch (d.type) { in cpp_demangle_gnu2() 122 if (push_CTDT("::", 2, &d.vec) == false) in cpp_demangle_gnu2() 127 if (push_CTDT("::~", 3, &d.vec) == false) in cpp_demangle_gnu2() 130 if (VEC_PUSH_STR(&d.vec, "(void)") == false) in cpp_demangle_gnu2() [all …]
|
/freebsd/usr.bin/calendar/ |
H A D | dates.c | 10 * 1. Redistributions of source code must retain the above copyright 71 /* 1-based month, 0-based days, cumulative */ 73 {0, -1, 30, 58, 89, 119, 150, 180, 211, 242, 272, 303, 333, 364}, 74 {0, -1, 30, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 365}, 76 /* 1-based month, individual */ 86 createdate(int y, int m, int d) in createdate() argument 105 py = (struct cal_year *)calloc(1, sizeof(struct cal_year)); in createdate() 112 td.tm_mday = 1; in createdate() 135 pm = (struct cal_month *)calloc(1, sizeof(struct cal_month)); in createdate() 141 (py->firstdayofweek + pm->firstdayjulian -1) % 7; in createdate() [all …]
|
H A D | sunpos.c | 10 * 1. Redistributions of source code must retain the above copyright 81 fixup(double *d) in fixup() argument 84 if (*d < 0) { in fixup() 85 while (*d < 0) in fixup() 86 *d += 360; in fixup() 88 while (*d > 360) in fixup() 89 *d -= 360; in fixup() 92 return (*d); in fixup() 103 double ZJ, D, T, M, epsilon, lambda, alpha, HA, UTHM; in sunpos() local 110 Y = inYY - 1900; /* 1 */ in sunpos() [all …]
|
/freebsd/contrib/bsddialog/lib/ |
H A D | datebox.c | 9 * 1. Redistributions of source code must retain the above copyright 40 #define MINWCAL 36 /* 34 calendar, 1 + 1 margins */ 121 *mm = 1; in init_date() 122 *dd = (*day == 0) ? 1 : *day; in init_date() 138 if (*mm == 1) { in datectl() 139 *yy -= 1; in datectl() 142 *mm -= 1; in datectl() 152 *yy += 1; in datectl() 153 *mm = 1; in datectl() 301 calendar_redraw(struct dialog * d,WINDOW * yy_win,WINDOW * mm_win,WINDOW * dd_win) calendar_redraw() argument 338 struct dialog d; bsddialog_calendar() local 513 datebox_redraw(struct dialog * d,struct dateitem * di) datebox_redraw() argument 590 struct dialog d; bsddialog_datebox() local [all...] |
H A D | lib_util.c | 9 * 1. Redistributions of source code must retain the above copyright 39 * -1- Error and diagnostic 59 * set_buttons(); (to call 1 time after prepare_dialog()). 100 * -1- Error and diagnostic 113 strncpy(errorbuffer, str, ERRBUFLEN-1); in set_error_string() 121 vsnprintf(errorbuffer, ERRBUFLEN-1, fmt, arg_ptr); in set_fmt_error_string() 135 nchar = 1; in alloc_mbstows() 139 charlen != (size_t)-1 && charlen != (size_t)-2) { in alloc_mbstows() 156 ws[1] = L'\0'; in mvwaddwch() 174 charlen != (size_t)-1 in str_props() 268 draw_buttons(struct dialog * d) draw_buttons() argument 297 set_buttons(struct dialog * d,bool shortcut,const char * oklabel,const char * cancellabel) set_buttons() argument 921 dialog_size_position(struct dialog * d,int hnotext,int minw,int * htext) dialog_size_position() argument 939 hide_dialog(struct dialog * d) hide_dialog() argument 1035 rtextpad(struct dialog * d,int ytext,int xtext,int upnotext,int downnotext) rtextpad() argument 1047 end_dialog(struct dialog * d) end_dialog() argument 1249 draw_dialog(struct dialog * d) draw_dialog() argument 1328 prepare_dialog(struct bsddialog_conf * conf,const char * text,int rows,int cols,struct dialog * d) prepare_dialog() argument [all...] |
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/direct/ |
H A D | dio_aligned_block.ksh | 36 # 1. Create a multi-block file 60 log_must stride_dd -i /dev/urandom -o $tmp_file -b $file_size -c 1 63 check_write $TESTPOOL $tmp_file $rs 1 0 "-D" 0 1 64 check_write $TESTPOOL $tmp_file $rs 2 0 "-D" 0 2 65 check_write $TESTPOOL $tmp_file $rs 4 0 "-D" 0 4 66 check_write $TESTPOOL $tmp_file $rs 8 0 "-D" 0 8 68 # 1 recordsize aligned write which spans multiple blocks at various offsets 69 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 0 "-D" 0 2 70 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 1 "-D" 0 2 71 check_write $TESTPOOL $tmp_file $((rs * 2)) 1 2 "-D" 0 2 [all …]
|
/freebsd/contrib/libfido2/src/ |
H A D | io.c | 34 tx_pkt(fido_dev_t *d, const void *pkt, size_t len, int *ms) 40 return (-1); 42 n = d->io.write(d->io_handle, pkt, len); 45 return (-1); 51 tx_empty(fido_dev_t *d, uint8_t cmd, int *ms) in tx_empty() argument 54 unsigned char pkt[sizeof(*fp) + 1]; in tx_empty() 55 const size_t len = d->tx_len + 1; in tx_empty() 59 fp = (struct frame *)(pkt + 1); in tx_empty() 60 fp->cid = d->cid; in tx_empty() 63 if (len > sizeof(pkt) || (n = tx_pkt(d, pkt, len, ms)) < 0 || in tx_empty() [all …]
|
/freebsd/contrib/libarchive/libarchive/test/ |
H A D | test_archive_pathmatch.c | 8 * 1. Redistributions of source code must retain the above copyright 48 assertEqualInt(1, archive_pathmatch("a/b/c", "a/b/c", 0)); in DEFINE_TEST() 59 assertEqualInt(1, archive_pathmatch("","", 0)); in DEFINE_TEST() 61 assertEqualInt(1, archive_pathmatch("*","", 0)); in DEFINE_TEST() 62 assertEqualInt(1, archive_pathmatch("*","a", 0)); in DEFINE_TEST() 63 assertEqualInt(1, archive_pathmatch("*","abcd", 0)); in DEFINE_TEST() 65 assertEqualInt(1, archive_pathmatch("*","abcd/efgh/ijkl", 0)); in DEFINE_TEST() 66 assertEqualInt(1, archive_pathmatch("abcd*efgh/ijkl","abcd/efgh/ijkl", 0)); in DEFINE_TEST() 67 assertEqualInt(1, archive_pathmatch("abcd***efgh/ijkl","abcd/efgh/ijkl", 0)); in DEFINE_TEST() 68 assertEqualInt(1, archive_pathmatc in DEFINE_TEST() [all...] |
/freebsd/lib/libc/tests/gen/ |
H A D | fmtcheck_test.c | 12 * 1. Redistributions of source code must retain the above copyright 43 { "%d", "%d", 1 }, 44 { "%2d", "%2.2d", 1 }, 45 { "%x", "%d", 1 }, 46 { "%u", "%d", 1 }, 47 { "%03d", "%d", 1 }, 48 { "%-2d", "%d", 1 }, 49 { "%d", "%-12.1d", 1 }, 50 { "%d", "%-01.3d", 1 }, 51 { "%X", "%-01.3d", 1 }, [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/i18n/ |
H A D | en_US.txt | 18 # placeholders may be changed, e.g. "File %1$s line %2$d" may be safely edited to 19 # "Line %2$d file %1$s"). 21 # Incompatible changes (version must be bumbed by 1): 23 # * Changing type of placeholders (e.g. "line %1$d" -> "line %1$s"). 137 Info "OMP: Info #%1$d [all...] |
/freebsd/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_fmtcheck.c | 12 * 1. Redistributions of source code must retain the above copyright 46 { "%d", "%d", 1 }, 47 { "%2d", "%2.2d", 1 }, 48 { "%x", "%d", 1 }, 49 { "%u", "%d", 1 }, 50 { "%03d", "%d", 1 }, 51 { "%-2d", "%d", 1 }, 52 { "%d", "%-12.1d", 1 }, 53 { "%d", "%-01.3d", 1 }, 54 { "%X", "%-01.3d", 1 }, [all …]
|
/freebsd/libexec/nuageinit/ |
H A D | yaml.lua | 15 list[#list + 1] = key 69 return s:gsub("^[" .. what .. "]*(.-)["..what.."]*$", "%1") 73 stack[#stack + 1] = item 124 {"timestamp", "^(%d%d%d%d)-(%d%d?)-(%d%d?)%s+(%d%d?):(%d%d):(%d%d)%s+(%-?%d%d?):(%d%d)"}, 125 {"timestamp", "^(%d%d%d%d)-(%d%d?)-(%d%d?)%s+(%d%d?):(%d%d):(%d%d)%s+(%-?%d%d?)"}, 126 {"timestamp", "^(%d%d%d%d)-(%d%d?)-(%d%d?)%s+(%d%d?):(%d%d):(%d%d)"}, 127 {"timestamp", "^(%d%d%d%d)-(%d%d?)-(%d%d?)%s+(%d%d?):(%d%d)"}, 128 {"timestamp", "^(%d%d%d%d)-(%d%d?)-(%d%d?)%s+(%d%d?)"}, 129 {"timestamp", "^(%d%d%d%d)-(%d%d?)-(%d%d?)"}, 140 {"pipe", "^(|)(%d*[+%-]?)", sep = "\n"}, [all …]
|
/freebsd/crypto/openssl/test/recipes/04-test_pem_reading_data/ |
H A D | cert-onecolumn.pem | 7 D 47 D 78 d 82 d 100 d 109 D 136 1 174 d 178 d 195 1 [all …]
|
/freebsd/crypto/heimdal/kdc/ |
H A D | connect.c | 10 * 1. Redistributions of source code must retain the above copyright 37 int enable_http = -1; 88 ports = realloc(ports, (num_ports + 1) * sizeof(*ports)); in add_port() 90 krb5_err (context, 1, errno, "realloc"); in add_port() 222 init_descr(struct descr *d) in init_descr() argument 224 memset(d, 0, sizeof(*d)); in init_descr() 225 d->sa = (struct sockaddr *)&d->__ss; in init_descr() 226 d->s = rk_INVALID_SOCKET; in init_descr() 230 * re-initialize all `n' ->sa in `d'. 234 reinit_descrs (struct descr *d, int n) in reinit_descrs() argument [all …]
|
/freebsd/contrib/lua/src/ |
H A D | luac.c | 35 static int dumping=1; /* dump bytecodes? */ 81 for (i=1; i<argc; i++) in doargs() 98 if (output==NULL || *output==0 || (*output=='-' && output[1]!=0)) in doargs() 105 stripping=1; in doargs() 119 if (version==argc-1) exit(EXIT_SUCCESS); in doargs() 131 *size=sizeof(FUNCTION)-1; in reader() 145 if (n==1) in combine() 146 return toproto(L,-1); in combine() 151 if (lua_load(L,reader,&i,"=(" PROGNAME ")",NULL)!=LUA_OK) fatal(lua_tostring(L,-1)); in combine() 152 f=toproto(L,-1); in combine() [all …]
|
/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | keccak1600-s390x.pl | 21 # sha/keccak1600.c) with C[5] and D[5] held in register bank. Though 48 my @A = map([ 8*$_, 8*($_+1), 8*($_+2), 8*($_+3), 8*($_+4) ], (0,5,10,15,20)); 50 my @C = map("%r$_",(0,1,5..7)); 51 my @D = map("%r$_",(8..12)); 59 my @rhotates = ([ 0, 1, 62, 28, 27 ], 66 my @D = @D; 76 lg @C[1],$A[4][1]($src) 85 lg @D[0],$A[0][0]($src) 86 lg @D[1],$A[1][1]($src) 87 lg @D[2],$A[2][2]($src) [all …]
|
/freebsd/sys/dev/axgbe/ |
H A D | xgbe-txrx.c | 9 * 1. Redistributions of source code must retain the above copyright 63 axgbe_printf(1, "------Packet Info Start------\n"); in xgbe_print_pkt_info() 64 axgbe_printf(1, "pi len: %d qsidx: %d nsegs: %d ndescs: %d flags: %x pidx: %d\n", in xgbe_print_pkt_info() 66 axgbe_printf(1, "pi new_pidx: %d csum_flag in xgbe_print_pkt_info() [all...] |
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | DivisionByConstantInfo.cpp | 19 /// the divisor not be 0, 1, or -1. Taken from "Hacker's Delight", Henry S. 21 SignedDivisionByConstantInfo SignedDivisionByConstantInfo::get(const APInt &D) { in get() argument 22 assert(!D.isZero() && "Precondition violation."); in get() 24 // We'd be endlessly stuck in the loop. in get() 25 assert(D.getBitWidth() >= 3 && "Does not work at smaller bitwidths."); in get() 28 APInt SignedMin = APInt::getSignedMinValue(D.getBitWidth()); in get() 31 APInt AD = D.abs(); in get() 32 APInt T = SignedMin + (D.lshr(D.getBitWidth() - 1)); in get() 33 APInt ANC = T - 1 - T.urem(AD); // absolute value of NC in get() 34 unsigned P = D.getBitWidth() - 1; // initialize P in get() [all …]
|