Home
last modified time | relevance | path

Searched refs:SetString (Results 1 – 25 of 57) sorted by relevance

123

/prebuilts/go/linux-x86/src/math/big/
Dint_test.go462 x, _ := new(Int).SetString(test.x, 10)
463 y, _ := new(Int).SetString(test.y, 10)
464 expectedQ, _ := new(Int).SetString(test.q, 10)
465 expectedR, _ := new(Int).SetString(test.r, 10)
496 …x, _ := new(Int).SetString("1539803897849273317883545285945243323447099728551653406505888775727297…
497 …y, _ := new(Int).SetString("7746362281539803897849273317883545285945243323447099728551653406505888…
527 x, ok := new(Int).SetString(test.in, 0)
621 x, ok1 := new(Int).SetString(test.x, 0)
622 y, ok2 := new(Int).SetString(test.y, 0)
630 out, ok3 = new(Int).SetString(test.out, 0)
[all …]
Dratconv_test.go191 x, ok := new(Rat).SetString(test.in)
210 got, _ := new(Rat).SetString("0")
265 x, _ := new(Rat).SetString(test.in)
486 r, ok := new(Rat).SetString(input)
542 r, ok := new(Rat).SetString(input)
595 x.SetString(want)
621 _, got := x.SetString(test.input)
674 _, ok := f.SetString(test.f)
Drat_test.go55 x, ok := new(Rat).SetString(a.in)
84 x, _ := new(Rat).SetString(test.rat1)
85 y, _ := new(Rat).SetString(test.rat2)
97 x, ok := new(Rat).SetString(a.in)
112 x, ok := new(Rat).SetString(a.in)
130 x, ok := new(Rat).SetString(a.in)
145 x, ok := new(Rat).SetString(a.in)
166 x, _ := new(Rat).SetString(a.x)
167 y, _ := new(Rat).SetString(a.y)
168 z, _ := new(Rat).SetString(a.z)
[all …]
Dintconv_test.go96 _, ok := z.SetString(test.in, test.base)
121 _, ok := z.SetString(test.in, test.base)
186 n1, ok1 := new(Int).SetString(test.in, test.base)
187 n2, ok2 := tmp.SetString(test.in, test.base)
380 x, ok = new(Int).SetString(test.input, 0)
Dexample_test.go16 r.SetString("355/113")
23 i.SetString("644", 8) // octal
30 f.SetString("3.14159")
Dprime_test.go131 p, _ := new(Int).SetString(s, 10)
139 c, _ := new(Int).SetString(s, 10)
162 …p, _ := new(Int).SetString("2039568783564019774057658669290345772801939933143482630947726464532830…
Dratmarsh_test.go22 tx.SetString(test + ".14159265")
87 tx.SetString(num + "/" + denom)
109 tx.SetString(num + "/" + denom)
Dintmarsh_test.go34 tx.SetString(x, 10)
82 tx.SetString(x, 10)
118 tx.SetString(x, 0)
Dratconv.go34 if _, ok := z.SetString(string(tok)); !ok {
58 func (z *Rat) SetString(s string) (*Rat, bool) { func
66 if _, ok := z.a.SetString(s[:sep], 0); !ok {
Dnat_test.go354 in, _ := new(Int).SetString(test.in, 10)
355 d, _ := new(Int).SetString(test.dividend, 10)
356 out, _ := new(Int).SetString(test.out, 10)
Dratmarsh.go82 if _, ok := z.SetString(string(text)); !ok {
/prebuilts/go/linux-x86/src/crypto/elliptic/
Dp256_test.go41 k, _ := new(big.Int).SetString(e.k, 10)
64 x, _ := new(big.Int).SetString(e.xIn, 16)
65 y, _ := new(big.Int).SetString(e.yIn, 16)
66 k, _ := new(big.Int).SetString(e.k, 16)
67 expectedX, _ := new(big.Int).SetString(e.xOut, 16)
68 expectedY, _ := new(big.Int).SetString(e.yOut, 16)
Delliptic_test.go202 …x, _ = new(big.Int).SetString("3193192753515796370767856815220407298451758146722606822176186291540…
203 …y, _ = new(big.Int).SetString("5208467867388784005506817585327037698770365050895731383201516607147…
280 …x, _ := new(big.Int).SetString("136710333525748787770446373847120604831196753680761282322973287930…
281 …y, _ := new(big.Int).SetString("662008492790914367487943233800437013643919506893525636298850865908…
286 …x, _ := new(big.Int).SetString("136710333525748787770446373847120604831196753680761282322973287930…
287 …y, _ := new(big.Int).SetString("495912399312648120139031235693638721656941927259377505656485447180…
Dp224_test.go285 k, ok := new(big.Int).SetString(e.k, 10)
303 k, ok := new(big.Int).SetString(e.k, 10)
Dnistec.go281 b, ok := new(big.Int).SetString(s, 10)
289 b, ok := new(big.Int).SetString(s, 16)
/prebuilts/go/linux-x86/src/crypto/rsa/
Drsa_test.go641 n.SetString(test.modulus, 16)
664 n.SetString(test.modulus, 16)
665 d.SetString(test.d, 16)
700 n.SetString(testEncryptOAEPData[0].modulus, 16)
701 d.SetString(testEncryptOAEPData[0].d, 16)
722 n.SetString(test.modulus, 16)
723 d.SetString(test.d, 16)
Dboring_test.go135 n, ok := new(big.Int).SetString(hex, 16)
/prebuilts/go/linux-x86/src/crypto/x509/
Doid.go153 if _, ok := first.SetString(firstNum, 10); !ok {
156 if _, ok := second.SetString(secondNum, 10); !ok {
172 b, ok := big.NewInt(0).SetString(strNum, 10)
/prebuilts/go/linux-x86/src/encoding/xml/
Dread.go604 t.SetString(string(comment))
611 t.SetString(string(saveXMLData))
678 dst.SetString(string(src))
/prebuilts/go/linux-x86/src/database/sql/
Dconvert.go482 dv.SetString(v)
485 dv.SetString(string(v))
/prebuilts/go/linux-x86/src/crypto/internal/bigmod/
Dnat_test.go318 a, _ := new(big.Int).SetString("773608962677651230850240281261679752031633236267106044359907", 10)
319 b, _ := new(big.Int).SetString("180692823610368451951102211649591374573781973061758082626801", 10)
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/
Dmfidl.h335 HRESULT (STDMETHODCALLTYPE *SetString)(
482 #define IMFTopologyNode_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wsz…
586 return This->lpVtbl->SetString(This,guidKey,wszValue);
884 HRESULT (STDMETHODCALLTYPE *SetString)(
998 #define IMFTopology_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszValu…
1096 return This->lpVtbl->SetString(This,guidKey,wszValue);
1844 HRESULT (STDMETHODCALLTYPE *SetString)(
1925 #define IMFStreamDescriptor_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey…
2015 return This->lpVtbl->SetString(This,guidKey,wszValue);
2218 HRESULT (STDMETHODCALLTYPE *SetString)(
[all …]
Dmfobjects.h315 virtual HRESULT STDMETHODCALLTYPE SetString(
482 HRESULT (STDMETHODCALLTYPE *SetString)(
553 #define IMFAttributes_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszVa…
640 return This->lpVtbl->SetString(This,guidKey,wszValue);
1308 HRESULT (STDMETHODCALLTYPE *SetString)(
1436 #define IMFSample_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszValue)
1538 return This->lpVtbl->SetString(This,guidKey,wszValue);
2440 HRESULT (STDMETHODCALLTYPE *SetString)(
2535 #define IMFMediaType_SetString(This,guidKey,wszValue) (This)->lpVtbl->SetString(This,guidKey,wszVal…
2628 return This->lpVtbl->SetString(This,guidKey,wszValue);
[all …]
/prebuilts/clang/host/linux-x86/clang-r522817/include/lldb/Utility/
DConstString.h315 void SetString(llvm::StringRef s);
/prebuilts/go/linux-x86/src/crypto/dsa/
Ddsa_test.go77 result, ok := new(big.Int).SetString(s, 16)

123