/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-unittests/ |
H A D | to_toml.py | 13 import numpy as np namespace 48 return np.frombuffer(self.value.tobytes(), dtype=self.int_type)[0] 53 return cls(np.frombuffer(value.tobytes(), dtype=cls.float_type)[0]) 82 biased_e = np.int32(exp_bits >> int_type(self.MANTISSA_SIZE)) 98 SIGN_MASK = np.uint32(0x80000000) 99 EXPONENT_MASK = np.uint32(0x7F800000) 100 HIDDEN_BIT_MASK = np.uint32(0x00800000) 101 MANTISSA_MASK = np.uint32(0x007FFFFF) 102 MANTISSA_SIZE = np.int32(23) 103 EXPONENT_BIAS = np [all...] |
/third_party/ffmpeg/tools/python/ |
H A D | convert_from_tensorflow.py | 21 import numpy as np namespace 179 kernel = np.frombuffer(ktensor.tensor_content, dtype=np.float32) 181 kernel = np.transpose(kernel, [3, 0, 1, 2]) 184 np.array([self.op2code[node.op], dilation, padding, self.conv_activations[activation], in_channels, out_channels, filter_height, has_bias], dtype=np.uint32).tofile(f) 201 np.array([input_operand_index, output_operand_index], dtype=np.uint32).tofile(f) 231 kernel = np.float32(ktensor.float_val[0]) 233 kernel = np [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_sparc.c | 17 const BN_ULONG *np, const BN_ULONG *n0, int num) in bn_mul_mont() 20 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont() 22 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont() 24 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont() 32 const BN_ULONG *np, in bn_mul_mont() 35 const BN_ULONG *bp, const BN_ULONG *np, in bn_mul_mont() 38 const BN_ULONG *bp, const BN_ULONG *np, in bn_mul_mont() 41 const BN_ULONG *bp, const BN_ULONG *np, in bn_mul_mont() 44 const BN_ULONG *bp, const BN_ULONG *np, in bn_mul_mont() 52 if ((*worker) (rp, ap, bp, np, n in bn_mul_mont() 16 bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np, const BN_ULONG *n0, int num) bn_mul_mont() argument [all...] |
H A D | bn_ppc.c | 16 const BN_ULONG *np, const BN_ULONG *n0, int num) in bn_mul_mont() 19 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont() 21 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont() 27 return bn_mul4x_mont_int(rp, ap, bp, np, n0, num); in bn_mul_mont() 37 return bn_mul_mont_int(rp, ap, bp, np, n0, num); in bn_mul_mont() 15 bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np, const BN_ULONG *n0, int num) bn_mul_mont() argument
|
H A D | bn_exp.c | 787 typedef int (*bn_pwr5_mont_f) (BN_ULONG *tp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 790 int bn_pwr5_mont_t4_8(BN_ULONG *tp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 793 int bn_pwr5_mont_t4_16(BN_ULONG *tp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 796 int bn_pwr5_mont_t4_24(BN_ULONG *tp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 799 int bn_pwr5_mont_t4_32(BN_ULONG *tp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 809 const void *bp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 812 const BN_ULONG *np, const BN_ULONG *n0); in BN_mod_exp_mont_consttime() 814 const void *bp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 817 const void *bp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 820 const void *bp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 843 BN_ULONG *np = mont->N.d, *n0 = mont->n0; BN_mod_exp_mont_consttime() local 954 BN_ULONG *n0 = mont->n0, *np; BN_mod_exp_mont_consttime() local [all...] |
/third_party/openssl/crypto/bn/ |
H A D | bn_sparc.c | 17 const BN_ULONG *np, const BN_ULONG *n0, int num) in bn_mul_mont() 20 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont() 22 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont() 24 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont() 32 const BN_ULONG *np, in bn_mul_mont() 35 const BN_ULONG *bp, const BN_ULONG *np, in bn_mul_mont() 38 const BN_ULONG *bp, const BN_ULONG *np, in bn_mul_mont() 41 const BN_ULONG *bp, const BN_ULONG *np, in bn_mul_mont() 44 const BN_ULONG *bp, const BN_ULONG *np, in bn_mul_mont() 52 if ((*worker) (rp, ap, bp, np, n in bn_mul_mont() 16 bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np, const BN_ULONG *n0, int num) bn_mul_mont() argument [all...] |
H A D | bn_ppc.c | 16 const BN_ULONG *np, const BN_ULONG *n0, int num) in bn_mul_mont() 19 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont() 21 const BN_ULONG *np, const BN_ULONG *n0, int num); in bn_mul_mont() 27 return bn_mul4x_mont_int(rp, ap, bp, np, n0, num); in bn_mul_mont() 37 return bn_mul_mont_int(rp, ap, bp, np, n0, num); in bn_mul_mont() 15 bn_mul_mont(BN_ULONG *rp, const BN_ULONG *ap, const BN_ULONG *bp, const BN_ULONG *np, const BN_ULONG *n0, int num) bn_mul_mont() argument
|
H A D | bn_exp.c | 779 typedef int (*bn_pwr5_mont_f) (BN_ULONG *tp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 782 int bn_pwr5_mont_t4_8(BN_ULONG *tp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 785 int bn_pwr5_mont_t4_16(BN_ULONG *tp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 788 int bn_pwr5_mont_t4_24(BN_ULONG *tp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 791 int bn_pwr5_mont_t4_32(BN_ULONG *tp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 801 const void *bp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 804 const BN_ULONG *np, const BN_ULONG *n0); in BN_mod_exp_mont_consttime() 806 const void *bp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 809 const void *bp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 812 const void *bp, const BN_ULONG *np, in BN_mod_exp_mont_consttime() 835 BN_ULONG *np = mont->N.d, *n0 = mont->n0; BN_mod_exp_mont_consttime() local 946 BN_ULONG *n0 = mont->n0, *np; BN_mod_exp_mont_consttime() local [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/asm/ |
H A D | rsaz-avx2.pl | 84 my $np="%rdx"; # const BN_ULONG *np, 126 $np="%r13"; # reassigned argument 169 mov %rdx, $np # reassigned argument 171 mov $np, $tmp 174 sub \$-128, $np 176 and \$4095, $tmp # see if $np crosses page 183 # cause >2x performance degradation here, so if $np does 187 vmovdqu 32*0-128($np), $ACC0 189 vmovdqu 32*1-128($np), [all...] |
H A D | sparct4-mont.pl | 119 # const u64 *np,const BN_ULONG *n0); 123 my ($rp,$ap,$bp,$np,$sentinel)=map("%g$_",(1..5)); 168 mov %i3,$np 196 # load np[$NUM] ######################################################## 203 ld [$np+$i*8+0],$lo 204 ld [$np+$i*8+4],@N[$i] 215 ld [$np+$i*8+0],$lo 216 ld [$np+$i*8+4],@N[$i] 227 ld [$np+$i*8+0],$lo 228 ld [$np [all...] |
H A D | vis3-mont.pl | 54 $np="%o3"; # const BN_ULONG *np, 87 # | __int64 np[1..0] | converted np[] 93 ($rp,$ap,$bp,$np,$n0p,$num)=map("%i$_",(0..5)); 123 ld [$np+0], $t0 ! np[0] 125 ld [$np+4], $t1 128 ld [$np+8], $t2 ! np[ [all...] |
H A D | ppc-mont.pl | 108 $np="r6"; 183 $LD $nj,0($np) ; np[0] 190 $UMULL $lo1,$nj,$m1 ; np[0]*m1 192 $LD $nj,$BNSZ($np) ; np[1] 196 $UMULL $nlo,$nj,$m1 ; np[1]*m1 205 $LDX $nj,$np,$j ; np[j] 211 $UMULL $nlo,$nj,$m1 ; np[ [all...] |
H A D | parisc-mont.pl | 124 $np="%r23"; 182 or $ap,$np,$ti1 183 extru,= $ti1,31,3,%r0 ; are ap and np 64-bit aligned? 202 fldds 0($np),${fni} ; np[0,1] 219 addl $arrsz,$np,$np 223 xmpyu ${fni}L,${fm0}R,${fnm0} ; np[0]*m 224 xmpyu ${fni}R,${fm0}R,${fnm1} ; np[1]*m 230 flddx $idx($np), [all...] |
H A D | armv8-mont.pl | 65 $np="x3"; # const BN_ULONG *np, 111 ldp $hi1,$nj,[$np],#16 // np[0..1] 122 // (*) mul $lo1,$hi1,$m1 // np[0]*m1 124 mul $nlo,$nj,$m1 // np[1]*m1 146 ldr $nj,[$np],#8 153 mul $nlo,$nj,$m1 // np[j]*m1 165 sub $np,$np, [all...] |
/third_party/openssl/crypto/bn/asm/ |
H A D | rsaz-avx2.pl | 84 my $np="%rdx"; # const BN_ULONG *np, 126 $np="%r13"; # reassigned argument 169 mov %rdx, $np # reassigned argument 171 mov $np, $tmp 174 sub \$-128, $np 176 and \$4095, $tmp # see if $np crosses page 183 # cause >2x performance degradation here, so if $np does 187 vmovdqu 32*0-128($np), $ACC0 189 vmovdqu 32*1-128($np), [all...] |
H A D | sparct4-mont.pl | 119 # const u64 *np,const BN_ULONG *n0); 123 my ($rp,$ap,$bp,$np,$sentinel)=map("%g$_",(1..5)); 168 mov %i3,$np 196 # load np[$NUM] ######################################################## 203 ld [$np+$i*8+0],$lo 204 ld [$np+$i*8+4],@N[$i] 215 ld [$np+$i*8+0],$lo 216 ld [$np+$i*8+4],@N[$i] 227 ld [$np+$i*8+0],$lo 228 ld [$np [all...] |
H A D | vis3-mont.pl | 54 $np="%o3"; # const BN_ULONG *np, 87 # | __int64 np[1..0] | converted np[] 93 ($rp,$ap,$bp,$np,$n0p,$num)=map("%i$_",(0..5)); 123 ld [$np+0], $t0 ! np[0] 125 ld [$np+4], $t1 128 ld [$np+8], $t2 ! np[ [all...] |
H A D | ppc-mont.pl | 108 $np="r6"; 183 $LD $nj,0($np) ; np[0] 190 $UMULL $lo1,$nj,$m1 ; np[0]*m1 192 $LD $nj,$BNSZ($np) ; np[1] 196 $UMULL $nlo,$nj,$m1 ; np[1]*m1 205 $LDX $nj,$np,$j ; np[j] 211 $UMULL $nlo,$nj,$m1 ; np[ [all...] |
H A D | parisc-mont.pl | 124 $np="%r23"; 182 or $ap,$np,$ti1 183 extru,= $ti1,31,3,%r0 ; are ap and np 64-bit aligned? 202 fldds 0($np),${fni} ; np[0,1] 219 addl $arrsz,$np,$np 223 xmpyu ${fni}L,${fm0}R,${fnm0} ; np[0]*m 224 xmpyu ${fni}R,${fm0}R,${fnm1} ; np[1]*m 230 flddx $idx($np), [all...] |
/third_party/NuttX/fs/nfs/ |
H A D | nfs_adapter.c | 194 struct file_handle *parent_fhandle, struct nfsnode *np) in nfs_fileupdate() 214 error = memcpy_s(&(np->n_fhandle), NFSX_V3FHMAX, &(fhandle.handle), fhandle.length); in nfs_fileupdate() 220 np->n_fhsize = fhandle.length; in nfs_fileupdate() 224 nfs_attrupdate(np, &fattr); in nfs_fileupdate() 234 struct nfsnode *np = NULL; in vfs_nfs_reclaim() local 241 np = (struct nfsnode*)(node->data); in vfs_nfs_reclaim() 244 if (np->n_crefs > 1) in vfs_nfs_reclaim() 246 np->n_crefs--; in vfs_nfs_reclaim() 269 if (np == curr) in vfs_nfs_reclaim() 277 prev->n_next = np in vfs_nfs_reclaim() 193 nfs_fileupdate(struct nfsmount *nmp, char *filename, struct file_handle *parent_fhandle, struct nfsnode *np) nfs_fileupdate() argument 1557 struct nfsnode *np; vfs_nfs_write() local 1776 struct nfsnode *np; vfs_nfs_writepage() local 1980 struct nfsnode *np = NULL; vfs_nfs_seek() local 2049 struct nfsnode *np; vfs_nfs_readpage() local 2199 struct nfsnode *np; vfs_nfs_read() local 2351 struct nfsnode *np = zalloc(sizeof(struct nfsnode)); vfs_nfs_create() local 2665 struct nfsnode *np = NULL; vfs_nfs_close() local 2956 struct nfsnode *np = NULL; vfs_nfs_truncate() local [all...] |
/third_party/lwip/src/netif/ppp/ |
H A D | vj.c | 162 struct pbuf *np = *pb; in vj_compress_tcp() local 163 struct ip_hdr *ip = (struct ip_hdr *)np->payload; in vj_compress_tcp() 187 if ((IPH_OFFSET(ip) & PP_HTONS(0x3fff)) || np->tot_len < 40) { in vj_compress_tcp() 198 if (np->len < hlen) { in vj_compress_tcp() 205 np = pbuf_clone(PBUF_RAW, PBUF_RAM, *pb); in vj_compress_tcp() 206 if (!np) { in vj_compress_tcp() 210 *pb = np; in vj_compress_tcp() 211 ip = (struct ip_hdr *)np->payload; in vj_compress_tcp() 410 if (pbuf_remove_header(np, hlen)){ in vj_compress_tcp() 414 cp = (u8_t*)np in vj_compress_tcp() 629 struct pbuf *np; vj_uncompress_tcp() local 662 struct pbuf *np; vj_uncompress_tcp() local [all...] |
H A D | mppe.c | 195 struct pbuf *n, *np; in mppe_compress() local 204 np = pbuf_alloc(PBUF_RAW, MPPE_OVHD + sizeof(protocol) + (*pb)->tot_len, PBUF_RAM); in mppe_compress() 205 if (!np) { in mppe_compress() 210 pbuf_remove_header(np, MPPE_OVHD + sizeof(protocol)); in mppe_compress() 212 if ((err = pbuf_copy(np, *pb)) != ERR_OK) { in mppe_compress() 213 pbuf_free(np); in mppe_compress() 218 pbuf_add_header(np, MPPE_OVHD + sizeof(protocol)); in mppe_compress() 220 *pb = np; in mppe_compress() 221 pl = (u8_t*)np->payload; in mppe_compress() 249 pbuf_remove_header(np, MPPE_OVH in mppe_compress() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
H A D | time_zone_fixed.cc | 66 const char* np = name.data() + prefix_len; in FixedOffsetFromName() local 67 if (np[0] != '+' && np[0] != '-') return false; in FixedOffsetFromName() 68 if (np[3] != ':' || np[6] != ':') // see note below about large offsets in FixedOffsetFromName() 71 int hours = Parse02d(np + 1); in FixedOffsetFromName() 73 int mins = Parse02d(np + 4); in FixedOffsetFromName() 75 int secs = Parse02d(np + 7); in FixedOffsetFromName() 80 *offset = seconds(secs * (np[0] == '-' ? -1 : 1)); // "-" means west in FixedOffsetFromName()
|
/third_party/astc-encoder/Test/testlib/ |
H A D | resultset.py | 29 import numpy as np namespace 134 dat = (np.mean(self.tTimesRel), np.std(self.tTimesRel)) 137 dat = (np.mean(self.cTimesRel), np.std(self.cTimesRel)) 140 dat = (np.mean(self.psnrRel), np.std(self.psnrRel)) 143 dat = (np.mean(self.cTime), np.std(self.cTime)) 146 dat = (np [all...] |
/third_party/skia/third_party/externals/libpng/ |
H A D | pngset.c | 1073 png_sPLT_tp np; in png_set_sPLT() local 1081 np = png_voidcast(png_sPLT_tp,png_realloc_array(png_ptr, in png_set_sPLT() 1083 sizeof *np)); in png_set_sPLT() 1085 if (np == NULL) in png_set_sPLT() 1094 info_ptr->splt_palettes = np; in png_set_sPLT() 1097 np += info_ptr->splt_palettes_num; in png_set_sPLT() 1112 np->depth = entries->depth; in png_set_sPLT() 1118 np->name = png_voidcast(png_charp, png_malloc_base(png_ptr, length)); in png_set_sPLT() 1120 if (np->name == NULL) in png_set_sPLT() 1123 memcpy(np in png_set_sPLT() 1203 png_unknown_chunkp np; png_set_unknown_chunks() local [all...] |