Searched refs:expect (Results 1 - 21 of 21) sorted by relevance

/vbox/src/libs/libxml2-2.6.31/python/tests/
H A Derror.py12 expect='--> I/O --> warning : --> failed to load external entity "missing.xml"\n' variable
30 if err != expect:
33 print "expected %s" %(expect)
H A Dreader5.py13 expect="""<bibl id="Aho" key="Aho/Ullman">Aho, Alfred V.,
30 if res != expect:
33 print "expected '%s'" % (expect)
H A Dreader7.py26 expect="""0 1 foo 0
50 if result != expect:
62 expect="""0 1 foo 0
86 if result != expect:
H A Dwalker.py26 expect="""0 1 foo 0
51 if result != expect:
65 expect="""0 1 foo 0
91 if result != expect:
105 expect="""0 1 foo 0
129 if result != expect:
H A Dindexes.py29 expect = self.ende + self.delta * (self.count - 1) + self.endd
30 if ctxt.byteConsumed() != expect:
32 ctxt.byteConsumed(), expect)
38 expect = self.starte + self.delta * self.count
39 if ctxt.byteConsumed() != expect:
41 ctxt.byteConsumed(), expect)
48 expect = self.ende + self.delta * self.count
49 if ctxt.byteConsumed() != expect:
51 ctxt.byteConsumed(), expect)
H A Dctxterror.py12 expect="""--> (3) xmlns: URI foo is not absolute
33 if err != expect:
36 print "expected %s" %(expect)
H A Dreadererr.py12 expect="""--> (3) test1:1:xmlns: URI foo is not absolute
27 if err != expect:
30 print "expected %s" %(expect)
H A Dreader2.py15 expect="""../../test/valid/rss.xml:177: element rss: validity error : Element rss does not carry attribute version
45 if err != expect:
64 expect="""10,test
91 if res != expect:
114 expect="""10 test
141 if res != expect:
166 expect="""10 test 0
195 if res != expect:
219 expect="""10 test 0
237 if res != expect
[all...]
H A Dreader4.py26 expect="""1 (test) [None] 0
34 if res != expect:
H A Dreader.py315 expect="""1 (a) [None] 0 0
324 if res != expect:
330 expect="""1 (test) [None] 0 0
336 if res != expect:
342 expect="""1 (a) [None] 0 0
352 if res != expect:
358 expect="""1 (test) [None] 1 0
362 if res != expect:
368 expect="""1 (test) [None] 0 0
376 if res != expect
[all...]
H A Dreader6.py70 #expect="""RNG validity error: file error line 3 element text
77 expect="""Type byte doesn't allow value '1000'
103 if err != expect:
H A Dreader3.py115 expect="""10 struct 0 0
137 if res != expect:
/vbox/src/libs/libxml2-2.6.31/
H A DtestRegexp.c130 int expect = -1; local
134 expect = 0;
136 expect = 1;
149 if ((expect == 1) && (ret == 1)) {
151 } else if ((expect == 0) && (ret == 0)) {
153 } else if ((expect == 1) && (ret == 0)) {
155 } else if ((expect == 0) && (ret == 1)) {
/vbox/src/libs/liblzf-3.4/
H A Dlzf_c.c83 # define expect(expr,value) __builtin_expect ((expr),(value)) macro
86 # define expect(expr,value) (expr) macro
90 #define expect_false(expr) expect ((expr) != 0, 0)
91 #define expect_true(expr) expect ((expr) != 0, 1)
/vbox/src/VBox/Additions/x11/x11include/xorg-server-1.17.1/
H A Ddriver.h127 uint32_t ms_crtc_msc_to_kernel_msc(xf86CrtcPtr crtc, uint64_t expect);
/vbox/src/VBox/Runtime/testcase/
H A DtstNoCrt-1.cpp142 #define CHECK_CCH(expect) \
145 if (cch != (expect)) \
147 RTPrintf("tstNoCrt-1(%d): cb=%zu expected=%zu\n", __LINE__, cch, (expect)); \
153 #define CHECK_PV(expect) \
156 if (pv != (expect)) \
158 RTPrintf("tstNoCrt-1(%d): pv=%p expected=%p\n", __LINE__, pv, (expect)); \
H A DtstUtf8.cpp1036 #define CHECK(expr, expect) \
1039 if ( (pszRet != NULL && (expect) == NULL) \
1040 || (pszRet == NULL && (expect) != NULL) \
1041 || strcmp(pszRet, (expect)) \
1043 RTTestFailed(hTest, "%d: %#x -> %s expected %s", __LINE__, #expr, pszRet, (expect)); \
H A DtstRTInlineAsm.cpp60 #define CHECKVAL(val, expect, fmt) \
63 if ((val) != (expect)) \
65 RTTestFailed(g_hTest, "%s, %d: " #val ": expected " fmt " got " fmt "\n", __FUNCTION__, __LINE__, (expect), (val)); \
69 #define CHECKOP(op, expect, fmt, type) \
73 if (val != (type)(expect)) \
75 RTTestFailed(g_hTest, "%s, %d: " #op ": expected " fmt " got " fmt "\n", __FUNCTION__, __LINE__, (type)(expect), val); \
/vbox/src/recompiler/Sun/
H A Dtestmath.c134 #define CHECK(operation, expect) \
136 lrdExpect = expect; \
147 #define CHECKLL(operation, expect) \
149 llExpect = expect; \
160 #define CHECKL(operation, expect) \
162 lExpect = expect; \
/vbox/src/VBox/VMM/VMMR3/
H A DPATMA.asm2344 ; check if the return address is what we expect it to be
/vbox/src/VBox/VMM/testcase/
H A DtstX86-1A.asm1724 lea xSI, [xDI + 512] ; point it to the clean state, which is what we expect.

Completed in 102 milliseconds