Home
last modified time | relevance | path

Searched refs:testErrorsSize (Results 1 – 6 of 6) sorted by relevance

/aosp_15_r20/external/cronet/third_party/libxml/src/
H A Drunxmlconf.c103 static int testErrorsSize = 0; variable
115 testErrorsSize = 0; testErrors[0] = 0; in test_log()
128 if (testErrorsSize >= 32768) in testErrorHandler()
130 res = snprintf(&testErrors[testErrorsSize], in testErrorHandler()
131 32768 - testErrorsSize, in testErrorHandler()
138 if (testErrorsSize + res >= 32768) { in testErrorHandler()
140 testErrorsSize = 32768; in testErrorHandler()
141 testErrors[testErrorsSize] = 0; in testErrorHandler()
143 testErrorsSize += res; in testErrorHandler()
145 testErrors[testErrorsSize] = 0; in testErrorHandler()
[all …]
H A Drunsuite.c159 static int testErrorsSize = 0; variable
169 testErrorsSize = 0; testErrors[0] = 0; in test_log()
183 if (testErrorsSize >= 32768) in testErrorHandler()
186 res = vsnprintf(&testErrors[testErrorsSize], in testErrorHandler()
187 32768 - testErrorsSize, in testErrorHandler()
190 if (testErrorsSize + res >= 32768) { in testErrorHandler()
192 testErrorsSize = 32768; in testErrorHandler()
193 testErrors[testErrorsSize] = 0; in testErrorHandler()
195 testErrorsSize += res; in testErrorHandler()
197 testErrors[testErrorsSize] = 0; in testErrorHandler()
[all …]
H A Druntest.c246 static int testErrorsSize = 0; variable
253 if (testErrorsSize >= 32768) in testErrorHandler()
256 res = vsnprintf(&testErrors[testErrorsSize], in testErrorHandler()
257 32768 - testErrorsSize, in testErrorHandler()
260 if (testErrorsSize + res >= 32768) { in testErrorHandler()
262 testErrorsSize = 32768; in testErrorHandler()
263 testErrors[testErrorsSize] = 0; in testErrorHandler()
265 testErrorsSize += res; in testErrorHandler()
267 testErrors[testErrorsSize] = 0; in testErrorHandler()
1744 res = compareFileMem(err, testErrors, testErrorsSize); in pushParseTest()
[all …]
/aosp_15_r20/external/libxml2/
H A Drunxmlconf.c90 static int testErrorsSize = 0; variable
102 testErrorsSize = 0; testErrors[0] = 0; in test_log()
115 if (testErrorsSize >= 32768) in testErrorHandler()
117 res = snprintf(&testErrors[testErrorsSize], in testErrorHandler()
118 32768 - testErrorsSize, in testErrorHandler()
125 if (testErrorsSize + res >= 32768) { in testErrorHandler()
127 testErrorsSize = 32768; in testErrorHandler()
128 testErrors[testErrorsSize] = 0; in testErrorHandler()
130 testErrorsSize += res; in testErrorHandler()
132 testErrors[testErrorsSize] = 0; in testErrorHandler()
[all …]
H A Drunsuite.c140 static int testErrorsSize = 0; variable
150 testErrorsSize = 0; testErrors[0] = 0; in test_log()
164 if (testErrorsSize >= 32768) in testErrorHandler()
167 res = vsnprintf(&testErrors[testErrorsSize], in testErrorHandler()
168 32768 - testErrorsSize, in testErrorHandler()
171 if (testErrorsSize + res >= 32768) { in testErrorHandler()
173 testErrorsSize = 32768; in testErrorHandler()
174 testErrors[testErrorsSize] = 0; in testErrorHandler()
176 testErrorsSize += res; in testErrorHandler()
178 testErrors[testErrorsSize] = 0; in testErrorHandler()
[all …]
H A Druntest.c263 static int testErrorsSize = 0; variable
270 if (testErrorsSize >= 32768) in testErrorHandler()
273 res = vsnprintf(&testErrors[testErrorsSize], in testErrorHandler()
274 32768 - testErrorsSize, in testErrorHandler()
277 if (testErrorsSize + res >= 32768) { in testErrorHandler()
279 testErrorsSize = 32768; in testErrorHandler()
280 testErrors[testErrorsSize] = 0; in testErrorHandler()
282 testErrorsSize += res; in testErrorHandler()
284 testErrors[testErrorsSize] = 0; in testErrorHandler()
1998 res = compareFileMem(err, testErrors, testErrorsSize); in pushParseTest()
[all …]