Home
last modified time | relevance | path

Searched refs:DOC (Results 1 – 25 of 4917) sorted by relevance

12345678910>>...197

/external/jackson-core/src/test/java/com/fasterxml/jackson/core/read/
DArrayParsingTest.java15 final String DOC = "[ \n ]"; in testValidEmpty() local
17 JsonParser jp = createParserUsingStream(DOC, "UTF-8"); in testValidEmpty()
26 final String DOC = "[ "; in testInvalidEmptyMissingClose() local
28 JsonParser jp = createParserUsingStream(DOC, "UTF-8"); in testInvalidEmptyMissingClose()
42 final String DOC = "[ : 3 ] "; in testInvalidMissingFieldName() local
44 JsonParser jp = createParserUsingStream(DOC, "UTF-8"); in testInvalidMissingFieldName()
58 final String DOC = "[ 24, ] "; in testInvalidExtraComma() local
60 JsonParser jp = createParserUsingStream(DOC, "UTF-8"); in testInvalidExtraComma()
110 String DOC = "[ \"a\",,,,\"abc\", ] "; in _testMissingValueByEnablingFeature() local
115 JsonParser jp = useStream ? createParserUsingStream(f, DOC, "UTF-8") in _testMissingValueByEnablingFeature()
[all …]
DNextXxxAccessTest.java128 final String DOC = "{\"name\":123,\"name2\":14,\"x\":\"name\"}"; in _testIsNextTokenName1() local
129 JsonParser p = createParser(mode, DOC); in _testIsNextTokenName1()
165 p = createParser(mode, DOC); in _testIsNextTokenName1()
198 final String DOC = "{\"name\":123,\"name2\":14,\"x\":\"name\"}"; in _testIsNextTokenName2() local
199 JsonParser p = createParser(mode, DOC); in _testIsNextTokenName2()
234 final String DOC = "{\"name\":123,\"name2\":14,\"x\":\"name\"}"; in _testIsNextTokenName3() local
235 JsonParser p = createParser(mode, DOC); in _testIsNextTokenName3()
269 final String DOC = "{\"name\":-123,\"name2\":99}"; in _testIsNextTokenName4() local
270 JsonParser p = createParser(mode, DOC); in _testIsNextTokenName4()
289 final String DOC = "{\"name\":\t\r{ },\"name2\":null}"; in _testIsNextTokenName5() local
[all …]
DParserLinefeedsTest.java42 String DOC = "[1,@2,@-478@]"; in _testLinefeeds() local
43 DOC = DOC.replaceAll("@", lf); in _testLinefeeds()
46 createParserUsingStream(DOC, "UTF-8") in _testLinefeeds()
47 : createParserUsingReader(DOC); in _testLinefeeds()
DNumberParsingTest.java67 String DOC = "[ "+EXP_I+" ]"; in _testSimpleInt() local
68 JsonParser p = createParser(mode, DOC); in _testSimpleInt()
109 DOC = String.valueOf(EXP_I); in _testSimpleInt()
110 p = createParser(mode, DOC + " "); // DataInput requires separator in _testSimpleInt()
113 assertEquals(DOC, p.getText()); in _testSimpleInt()
124 DOC = String.valueOf(EXP_I)+".0"; in _testSimpleInt()
125 p = createParser(mode, DOC + " "); in _testSimpleInt()
131 p = createParser(mode, DOC + " "); in _testSimpleInt()
141 String DOC = "[ "+Integer.MAX_VALUE+","+Integer.MIN_VALUE+" ]"; in testIntRange() local
142 JsonParser p = createParser(mode, DOC); in testIntRange()
[all …]
DParserClosingTest.java25 final String DOC = "[ 1 ]"; in testNoAutoCloseReader() local
38 MyReader input = new MyReader(DOC); in testNoAutoCloseReader()
57 final String DOC = "[ 1 ]"; in testAutoCloseReader() local
62 MyReader input = new MyReader(DOC); in testAutoCloseReader()
71 input = new MyReader(DOC); in testAutoCloseReader()
84 final String DOC = "[ 1 ]"; in testNoAutoCloseInputStream() local
88 MyStream input = new MyStream(DOC.getBytes("UTF-8")); in testNoAutoCloseInputStream()
DUTF8NamesParseTest.java49 final String DOC = "{ \"\" : \"\" }"; in _testEmptyName() local
50 JsonParser p = createParser(mode, DOC); in _testEmptyName()
73 String DOC = "{ \""+NAME+"\" : 0 }"; in _testUtf8Name2Bytes() local
74 JsonParser p = createParser(mode, DOC); in _testUtf8Name2Bytes()
108 String DOC = "{ \""+NAME+"\" : true }"; in _testUtf8Name3Bytes() local
110 JsonParser p = createParser(mode, DOC); in _testUtf8Name3Bytes()
138 String DOC = "[ \""+VALUE+"\" ]"; in _testUtf8StringTrivial() local
139 JsonParser p = createParser(mode, DOC); in _testUtf8StringTrivial()
154 String DOC = "[ \""+VALUE+"\" ]"; in _testUtf8StringTrivial() local
155 JsonParser p = createParser(mode, DOC); in _testUtf8StringTrivial()
DCommentParsingTest.java147 final String DOC = "{\"abc\"" + commented + "}"; in _testCommentsBeforePropValue() local
148 JsonParser p = createParser(f, mode, DOC); in _testCommentsBeforePropValue()
154 throw new RuntimeException("Failed on '"+DOC+"' due to "+e, e); in _testCommentsBeforePropValue()
161 throw new RuntimeException("Failed on '"+DOC+"' due to "+e, e); in _testCommentsBeforePropValue()
188 final String DOC = "[1"+commented+"2]"; in _testCommentsBetweenArrayValues() local
189 JsonParser p = createParser(f, mode, DOC); in _testCommentsBetweenArrayValues()
195 throw new RuntimeException("Failed on '"+DOC+"' due to "+e, e); in _testCommentsBetweenArrayValues()
203 throw new RuntimeException("Failed on '"+DOC+"' due to "+e, e); in _testCommentsBetweenArrayValues()
215 final String DOC = "# foo\n" in _testYAMLComments() local
225 JsonParser p = createParser(f, mode, DOC); in _testYAMLComments()
DLocationInArrayTest.java23 final String DOC = " [10, 251,\n 3 ]"; in _testOffsetInArrays() local
26 p = useBytes ? JSON_F.createParser(DOC.getBytes("UTF-8")) in _testOffsetInArrays()
27 : JSON_F.createParser(DOC.toCharArray()); in _testOffsetInArrays()
DSimpleParserTest.java109 final String DOC = "{\n" in testKeywords() local
117 JsonParser p = createParserUsingStream(JSON_FACTORY, DOC, "UTF-8"); in testKeywords()
121 p = createParserUsingReader(JSON_FACTORY, DOC); in testKeywords()
125 p = createParserForDataInput(JSON_FACTORY, new MockDataInput(DOC)); in testKeywords()
236 String DOC = aposToQuotes( in _testSkipping() local
239 JsonParser p = createParser(mode, DOC); in _testSkipping()
254 p = createParser(mode, DOC); in _testSkipping()
313 final String DOC = "{ \""+input+"\":null}"; in _testNameEscaping() local
314 JsonParser p = createParser(mode, DOC); in _testNameEscaping()
383 final String DOC = sw.toString(); in _testLongText() local
[all …]
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/
DTestMaxErrorSize.java28 final String DOC = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" in _testLongErrorMessage() local
32 assertTrue(DOC.length() > 256); in _testLongErrorMessage()
33 JsonParser jp = createParser(JSON_F, mode, DOC); in _testLongErrorMessage()
59 final String DOC = "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA" in _testShortErrorMessage() local
61 assertTrue(DOC.length() < 256); in _testShortErrorMessage()
62 JsonParser jp = createParser(JSON_F, mode, DOC); in _testShortErrorMessage()
73 assertEquals(DOC.length(), tokenLen); in _testShortErrorMessage()
DTestCharEscaping.java52 final String DOC = "[" in _testMissingEscaping() local
55 JsonParser jp = createParser(JSON_F, readMode, DOC); in _testMissingEscaping()
78 String DOC = "[" in _testSimpleEscaping() local
82 JsonParser jp = createParser(JSON_F, readMode, DOC); in _testSimpleEscaping()
146 String DOC = "[\"\\u41=A\"]"; in _testInvalid() local
147 JsonParser jp = createParser(JSON_F, readMode, DOC); in _testInvalid()
171 String DOC = "[\"\\u00411234\"]"; in _test8DigitSequence() local
172 JsonParser jp = createParser(JSON_F, readMode, DOC); in _test8DigitSequence()
198 String DOC = quote("\\u\u0080..."); in _testInvalidEscape() local
199 JsonParser p = createParser(JSON_F, readMode, DOC); in _testInvalidEscape()
DTestRootValues.java88 final String DOC = "1 2\t3\r4\n5\r\n6\r\n 7"; in _testSimpleNumbers() local
89 JsonParser p = createParser(mode, DOC); in _testSimpleNumbers()
109 final String DOC = "14:89:FD:D3:E7:8C"; in _testBrokenNumber() local
110 JsonParser p = createParser(mode, DOC); in _testBrokenNumber()
130 final String DOC = "true false\ttrue\rfalse\ntrue\r\nfalse\r\n true"; in _testSimpleBooleans() local
131 JsonParser p = createParser(mode, DOC); in _testSimpleBooleans()
156 final String DOC = " A\u3456C "; in _testInvalidToken() local
157 JsonParser p = createParser(mode, DOC); in _testInvalidToken()
DTestParserOverrides.java44 final String DOC = "[ ]"; in _testTokenAccess() local
46 jf.createParser(new ByteArrayInputStream(DOC.getBytes("UTF-8"))) in _testTokenAccess()
47 : jf.createParser(DOC); in _testTokenAccess()
68 final String DOC = "{\"first\":{\"second\":3, \"third\":false}}"; in _testCurrentName() local
70 jf.createParser(new ByteArrayInputStream(DOC.getBytes("UTF-8"))) in _testCurrentName()
71 : jf.createParser(new StringReader(DOC)); in _testCurrentName()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/json/async/
DAsyncCommentParsingTest.java108 final String DOC = "{\"abc\"" + commented + "}"; in _testCommentsBeforePropValue() local
109 AsyncReaderWrapper p = _createParser(f, DOC, bytesPerRead); in _testCommentsBeforePropValue()
115 throw new RuntimeException("Failed on '"+DOC+"' due to "+e, e); in _testCommentsBeforePropValue()
122 throw new RuntimeException("Failed on '"+DOC+"' due to "+e, e); in _testCommentsBeforePropValue()
147 final String DOC = "[1"+commented+"2]"; in _testCommentsBetweenArrayValues() local
148 AsyncReaderWrapper p = _createParser(f, DOC, bytesPerRead); in _testCommentsBetweenArrayValues()
154 throw new RuntimeException("Failed on '"+DOC+"' due to "+e, e); in _testCommentsBetweenArrayValues()
162 throw new RuntimeException("Failed on '"+DOC+"' due to "+e, e); in _testCommentsBetweenArrayValues()
174 final String DOC = "# foo\n" in _testYAMLComments() local
184 AsyncReaderWrapper p = _createParser(f, DOC, bytesPerRead); in _testYAMLComments()
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/write/
DGeneratorCopyTest.java21 final String DOC = "\"text\\non two lines\" true false 2.0 null 1234567890123 "; in testCopyRootTokens() local
22 JsonParser jp = jf.createParser(new StringReader(DOC)); in testCopyRootTokens()
43 final String DOC = "123 [ 1, null, [ false, 1234567890124 ] ]"; in testCopyArrayTokens() local
44 JsonParser jp = jf.createParser(new StringReader(DOC)); in testCopyArrayTokens()
69 final String DOC = "{ \"a\":1, \"b\":[{ \"c\" : null, \"d\" : 0.25 }] }"; in testCopyObjectTokens() local
70 JsonParser jp = jf.createParser(new StringReader(DOC)); in testCopyObjectTokens()
/external/autotest/client/site_tests/dummy_Pass/
Ddef.star7 DOC = """
16 doc = DOC,
27 doc = DOC,
38 doc = DOC,
48 doc = DOC,
Dwifichaos.star7 DOC = """
16 doc = DOC,
/external/jackson-databind/src/test/java/com/fasterxml/jackson/failing/
DJsonIgnoreProperties2803Test.java30 final String DOC = "{\"lobby\":{\"id\":\"L1\"}}"; in testIgnoreProps2803() local
33 Museum2803 museum = MAPPER.readValue(DOC, Museum2803.class); in testIgnoreProps2803()
38 Building2803 building = MAPPER.readValue(DOC, Building2803.class); in testIgnoreProps2803()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/jdk/
DVoidProperties2675Test.java45 final String DOC = "{\"value\":null}"; in testVoidBeanDeserialization() local
50 result = DEFAULT_MAPPER.readValue(DOC, VoidBean.class); in testVoidBeanDeserialization()
57 result = VOID_MAPPER.readValue(DOC, VoidBean.class); in testVoidBeanDeserialization()
/external/tensorflow/tensorflow/python/keras/applications/
Dresnet_v2.py141 DOC = """ variable
192 setattr(ResNet50V2, '__doc__', ResNet50V2.__doc__ + DOC)
193 setattr(ResNet101V2, '__doc__', ResNet101V2.__doc__ + DOC)
194 setattr(ResNet152V2, '__doc__', ResNet152V2.__doc__ + DOC)
Ddensenet.py377 DOC = """ variable
425 setattr(DenseNet121, '__doc__', DenseNet121.__doc__ + DOC)
426 setattr(DenseNet169, '__doc__', DenseNet169.__doc__ + DOC)
427 setattr(DenseNet201, '__doc__', DenseNet201.__doc__ + DOC)
/external/jackson-core/src/test/java/com/fasterxml/jackson/core/base64/
DBase64BinaryParsingTest.java344 final String DOC = "\""+INPUT_STR+"\""; in _testSimple() local
345 JsonParser p = createParser(mode, DOC); in _testSimple()
396 String DOC = quote("VGVz\\ndCE="); // note: must double-quote to get linefeed in _testEscaped() local
397 JsonParser p = createParser(mode, DOC); in _testEscaped()
408 DOC = quote("V\\u0047V\\u007AdCE="); // note: must escape backslash... in _testEscaped()
409 p = createParser(mode, DOC); in _testEscaped()
422 final String DOC = quote("VGVzdCE\\u003d"); in _testEscapedPadding() local
425 JsonParser p = createParser(mode, DOC); in _testEscapedPadding()
434 p = createParser(mode, DOC); in _testEscapedPadding()
/external/eigen/cmake/
DFindGSL.cmake42 DOC "GSL header include dir"
49 DOC "GSL library" )
56 DOC "GSL library")
63 DOC "GSL cblas library dir" )
70 DOC "GSL library")
/external/python/cpython2/Modules/
Doperator.c231 #define spam1(OP,DOC) {#OP, OP, METH_VARARGS, PyDoc_STR(DOC)}, argument
232 #define spam2(OP,ALTOP,DOC) {#OP, op_##OP, METH_VARARGS, PyDoc_STR(DOC)}, \ argument
233 {#ALTOP, op_##OP, METH_VARARGS, PyDoc_STR(DOC)},
234 #define spam1o(OP,DOC) {#OP, OP, METH_O, PyDoc_STR(DOC)}, argument
235 #define spam2o(OP,ALTOP,DOC) {#OP, op_##OP, METH_O, PyDoc_STR(DOC)}, \ argument
236 {#ALTOP, op_##OP, METH_O, PyDoc_STR(DOC)},
/external/autotest/server/site_tests/servo_Verification/
Dcontrol.local16 DOC = """
22 For more details, please see the DOC section in the file 'control'.

12345678910>>...197