tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Z\¬Qc@sXddlZddlZddlTdejfd„ƒYZedkrTejƒndS(iÿÿÿÿN(t*tMemFunctionsTestcBsQeZd„Zd„Zd„Zd„ZyeWnek
rEn
Xd„ZRS(cCs¢tdƒ}d}t||t|ƒƒ}|j|jdƒ|jt|ƒdƒ|jt|dƒdƒ|jt|dƒdƒ|jt|dƒdƒdS(    Ni@Bs Hello, WorlditHelloisHello, Worldit(tcreate_string_buffertmemmovetlent assertEqualtvaluet    string_at(tselftatptresult((se/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/ctypes/test/test_memfunctions.pyt test_memmoves cCs€tdƒ}t|tdƒdƒ}|j|jdƒ|jt|ƒdƒ|jt|ƒdƒ|jt|dƒdƒdS(Ni@Btxitxxxxxxxxxxxxxxxxitxxxxxxxxxxxxxxxx(RtmemsettordRRR    (R
R R ((se/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/ctypes/test/test_memfunctions.pyt test_memsets  c    CsZtdttdƒŒ}|jt|tƒjdƒ|jt|ttƒƒd dddddd    d
gƒ|jt|ttƒƒddd…dddddd    d
gƒ|jt|ttƒƒd d d …d
d    dddddgƒ|jt|ttƒƒddd …dddd
gƒ|jt|ttƒƒddd…dgƒdS(Ni tabcdefiiaibicidieifiiiÿÿÿÿi(
tc_ubytetmapRRtcasttc_char_pRtPOINTERtc_bytetNone(R
R ((se/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/ctypes/test/test_memfunctions.pyt    test_cast&s%%%%cCsktdƒ}|jdtj|ƒƒ|j|dƒ|jtddƒdƒ|jtddƒdƒdS(Nsfoo bariisfoo baritfoo(R    Rtsyst getrefcountt
assertTrue(R
ts((se/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/ctypes/test/test_memfunctions.pyttest_string_at4s
 cCs²tdƒ}tdƒ}t||t|ƒttƒƒ}|j|jdƒ|jt|ƒdƒ|jt|dƒdƒ|jt|dƒdƒ|jt|dƒdƒdS(    Ns Hello, Worldi@BiRisHello, WorldiR(tcreate_unicode_bufferRRtsizeoftc_wcharRRt
wstring_at(R
R R R ((se/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/ctypes/test/test_memfunctions.pyttest_wstring_atCs  "(    t__name__t
__module__RRRR#R$t    NameErrorR((((se/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/ctypes/test/test_memfunctions.pyRs                    
 t__main__(RtunittesttctypestTestCaseRR)tmain(((se/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/ctypes/test/test_memfunctions.pyt<module>s
 
I