Home
last modified time | relevance | path

Searched +full:a +full:- +full:string +full:- +full:with +full:- +full:nulls (Results 1 – 25 of 901) sorted by relevance

12345678910>>...37

/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/filter/
DNullConversionsSkipTest.java4 import com.fasterxml.jackson.annotation.Nulls;
7 // for [databind#1402]; configurable null handling, specifically with SKIP
11 public String nullsOk = "a";
13 @JsonSetter(nulls=Nulls.SKIP)
14 public String noNulls = "b";
18 String _nullsOk = "a";
19 String _noNulls = "b";
21 public void setNullsOk(String v) { in setNullsOk()
25 @JsonSetter(nulls=Nulls.SKIP)
26 public void setNoNulls(String v) { in setNoNulls()
[all …]
DNullConversionsForContentTest.java6 import com.fasterxml.jackson.annotation.Nulls;
18 @JsonSetter(contentNulls=Nulls.FAIL)
23 @JsonSetter(contentNulls=Nulls.AS_EMPTY)
28 @JsonSetter(contentNulls=Nulls.SKIP)
33 @JsonSetter // leave with defaults
39 /* Test methods, fail-on-null
48 final String JSON = aposToQuotes("{'values':[null]}"); in testFailOnNullFromDefaults()
49 …TypeReference<NullContentUndefined<List<String>>> listType = new TypeReference<NullContentUndefine… in testFailOnNullFromDefaults()
51 // by default fine to get nulls in testFailOnNullFromDefaults()
52 NullContentUndefined<List<String>> result = MAPPER.readValue(JSON, listType); in testFailOnNullFromDefaults()
[all …]
/external/jackson-annotations/src/main/java/com/fasterxml/jackson/annotation/
DJsonSetter.java6 * Annotation that can be used to define a non-static,
7 * single-argument method to be used as a "setter" for a logical property
11 * assigning property a value during serialization.
24 String value() default ""; in value()
30 * is usually {@link Nulls#SET}, meaning that the `null` is set as
37 Nulls nulls() default Nulls.DEFAULT; in nulls() method
41 * (of a {@link java.util.Collection}, {@link java.util.Map}, array,
45 * is usually {@link Nulls#SET}, meaning that the `null` is included as usual.
47 Nulls contentNulls() default Nulls.DEFAULT; in contentNulls()
57 * Helper class used to contain information from a single {@link JsonSetter}
[all …]
/external/llvm-project/llvm/unittests/Support/
DCommandLineTest.cpp1 //===- llvm/unittest/Support/CommandLineTest.cpp - CommandLine tests ------===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
30 #include <string>
40 return std::string(std::get<0>(arg)) == std::string(std::get<1>(arg));
59 (void)name; // Suppress -Wunused-private-field. in ~TempEnvVar()
73 ~StackOption() override { this->removeArgument(); } in ~StackOption()
95 StackOption<int> TestOption("test-option", cl::desc("old description")); in TEST()
98 static const char ArgString[] = "new-test-option"; in TEST()
[all …]
/external/jackson-annotations/docs/javadoc/2.9/com/fasterxml/jackson/annotation/
DNulls.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (version 1.7.0_79) on Tue Jan 23 20:10:06 PST 2018 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>Nulls (Jackson-annotations 2.9.0 API)</title>
8 <meta name="date" content="2018-01-23">
12 <script type="text/javascript"><!--
13 if (location.href.indexOf('is-external=true') == -1) {
14 parent.document.title="Nulls (Jackson-annotations 2.9.0 API)";
16 //-->
[all …]
DJsonSetter.Value.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (version 1.7.0_79) on Tue Jan 23 20:10:06 PST 2018 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>JsonSetter.Value (Jackson-annotations 2.9.0 API)</title>
8 <meta name="date" content="2018-01-23">
12 <script type="text/javascript"><!--
13 if (location.href.indexOf('is-external=true') == -1) {
14 parent.document.title="JsonSetter.Value (Jackson-annotations 2.9.0 API)";
16 //-->
[all …]
/external/jackson-annotations/docs/javadoc/2.10/com/fasterxml/jackson/annotation/
DNulls.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (1.8.0_162) on Wed Sep 25 19:26:35 PDT 2019 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>Nulls (Jackson-annotations 2.10.0 API)</title>
8 <meta name="date" content="2019-09-25">
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="Nulls (Jackson-annotations 2.10.0 API)";
21 //-->
[all …]
DJsonSetter.Value.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (1.8.0_162) on Wed Sep 25 19:26:34 PDT 2019 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>JsonSetter.Value (Jackson-annotations 2.10.0 API)</title>
8 <meta name="date" content="2019-09-25">
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="JsonSetter.Value (Jackson-annotations 2.10.0 API)";
21 //-->
[all …]
/external/jackson-annotations/docs/javadoc/2.11/com/fasterxml/jackson/annotation/
DNulls.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (1.8.0_162) on Sat Apr 25 16:37:31 PDT 2020 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>Nulls (Jackson-annotations 2.11.0 API)</title>
8 <meta name="date" content="2020-04-25">
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="Nulls (Jackson-annotations 2.11.0 API)";
21 //-->
[all …]
DJsonSetter.Value.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (1.8.0_162) on Sat Apr 25 16:37:31 PDT 2020 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>JsonSetter.Value (Jackson-annotations 2.11.0 API)</title>
8 <meta name="date" content="2020-04-25">
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="JsonSetter.Value (Jackson-annotations 2.11.0 API)";
21 //-->
[all …]
/external/jackson-annotations/docs/javadoc/2.11.rc1/com/fasterxml/jackson/annotation/
DNulls.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (1.8.0_162) on Tue Mar 24 10:51:54 PDT 2020 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>Nulls (Jackson-annotations 2.11.0.rc1 API)</title>
8 <meta name="date" content="2020-03-24">
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="Nulls (Jackson-annotations 2.11.0.rc1 API)";
21 //-->
[all …]
DJsonSetter.Value.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (1.8.0_162) on Tue Mar 24 10:51:54 PDT 2020 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>JsonSetter.Value (Jackson-annotations 2.11.0.rc1 API)</title>
8 <meta name="date" content="2020-03-24">
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="JsonSetter.Value (Jackson-annotations 2.11.0.rc1 API)";
21 //-->
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/utils/
DArchiveUtils.java3 * contributor license agreements. See the NOTICE file distributed with
6 * (the "License"); you may not use this file except in compliance with
7 * the License. You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
38 * Generates a string containing the name, isDirectory setting and size of an entry.
42 * - 2000 main.c
49 public static String toString(final ArchiveEntry entry){ in toString()
51 sb.append(entry.isDirectory()? 'd' : '-');// c.f. "ls -l" output in toString()
52 final String size = Long.toString(entry.getSize()); in toString()
55 for(int i=7; i > size.length(); i--){ in toString()
[all …]
/external/jackson-annotations/docs/javadoc/2.11/com/fasterxml/jackson/annotation/class-use/
DNulls.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (1.8.0_162) on Sat Apr 25 16:37:32 PDT 2020 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>Uses of Class com.fasterxml.jackson.annotation.Nulls (Jackson-annotations 2.11.0 API)</title>
8 <meta name="date" content="2020-04-25">
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 …parent.document.title="Uses of Class com.fasterxml.jackson.annotation.Nulls (Jackson-annotations 2…
21 //-->
[all …]
/external/jackson-annotations/docs/javadoc/2.11.rc1/com/fasterxml/jackson/annotation/class-use/
DNulls.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (1.8.0_162) on Tue Mar 24 10:51:54 PDT 2020 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>Uses of Class com.fasterxml.jackson.annotation.Nulls (Jackson-annotations 2.11.0.rc1 API)</t…
8 <meta name="date" content="2020-03-24">
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 …parent.document.title="Uses of Class com.fasterxml.jackson.annotation.Nulls (Jackson-annotations 2…
21 //-->
[all …]
/external/jackson-annotations/docs/javadoc/2.10/com/fasterxml/jackson/annotation/class-use/
DNulls.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (1.8.0_162) on Wed Sep 25 19:26:35 PDT 2019 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>Uses of Class com.fasterxml.jackson.annotation.Nulls (Jackson-annotations 2.10.0 API)</title>
8 <meta name="date" content="2019-09-25">
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 …parent.document.title="Uses of Class com.fasterxml.jackson.annotation.Nulls (Jackson-annotations 2…
21 //-->
[all …]
/external/jackson-annotations/docs/javadoc/2.9/com/fasterxml/jackson/annotation/class-use/
DNulls.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (version 1.7.0_79) on Tue Jan 23 20:10:06 PST 2018 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>Uses of Class com.fasterxml.jackson.annotation.Nulls (Jackson-annotations 2.9.0 API)</title>
8 <meta name="date" content="2018-01-23">
12 <script type="text/javascript"><!--
13 if (location.href.indexOf('is-external=true') == -1) {
14 …parent.document.title="Uses of Class com.fasterxml.jackson.annotation.Nulls (Jackson-annotations 2…
16 //-->
[all …]
/external/jackson-databind/docs/javadoc/2.11/com/fasterxml/jackson/databind/
DPropertyMetadata.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (1.8.0_162) on Sat Apr 25 17:14:48 PDT 2020 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>PropertyMetadata (jackson-databind 2.11.0 API)</title>
8 <meta name="date" content="2020-04-25">
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="PropertyMetadata (jackson-databind 2.11.0 API)";
21 //-->
[all …]
/external/jackson-databind/docs/javadoc/2.9/com/fasterxml/jackson/databind/
DPropertyMetadata.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (1.8.0_162) on Tue Jan 23 20:22:12 PST 2018 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>PropertyMetadata (jackson-databind 2.9.0 API)</title>
8 <meta name="date" content="2018-01-23">
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="PropertyMetadata (jackson-databind 2.9.0 API)";
21 //-->
[all …]
/external/jackson-databind/docs/javadoc/2.10/com/fasterxml/jackson/databind/
DPropertyMetadata.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (1.8.0_162) on Tue Nov 05 19:39:07 PST 2019 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>PropertyMetadata (jackson-databind 2.10.0 API)</title>
8 <meta name="date" content="2019-11-05">
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="PropertyMetadata (jackson-databind 2.10.0 API)";
21 //-->
[all …]
/external/jackson-databind/docs/javadoc/2.11.rc1/com/fasterxml/jackson/databind/
DPropertyMetadata.html1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dt…
2 <!-- NewPage -->
5 <!-- Generated by javadoc (1.8.0_162) on Tue Mar 24 11:44:36 PDT 2020 -->
6 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 <title>PropertyMetadata (jackson-databind 2.11.0.rc1 API)</title>
8 <meta name="date" content="2020-03-24">
13 <script type="text/javascript"><!--
15 if (location.href.indexOf('is-external=true') == -1) {
16 parent.document.title="PropertyMetadata (jackson-databind 2.11.0.rc1 API)";
21 //-->
[all …]
/external/libchrome/base/strings/
Dsys_string_conversions_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
7 #include <string>
32 // Error case. When Windows finds a UTF-16 character going off the end of in TEST()
33 // a string, it just converts that literal value to UTF-8, even though this in TEST()
41 // Test embedded NULLs. in TEST()
42 std::wstring wide_null(L"a"); in TEST()
46 std::string expected_null("a"); in TEST()
59 // Error case. When Windows finds an invalid UTF-8 character, it just skips in TEST()
60 // it. This seems weird because it's inconsistent with the reverse conversion. in TEST()
66 // Test embedded NULLs. in TEST()
[all …]
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/deser/std/
DStdDeserializer.java7 import com.fasterxml.jackson.annotation.Nulls;
34 * base functionality for dealing with primitive values, such
35 * as (re)parsing from String.
76 // 26-Sep-2017, tatu: [databind#1764] need to add null-check back until 3.x in StdDeserializer()
82 * Copy-constructor for sub-classes to use, most often when creating
146 * deserializer Jackson uses; as opposed to a custom deserializer installed by
147 * a module or calling application. Determination is done using
166 * inclusion mechanism. Sub-classes are expected to override
177 /* High-level handling of secondary input shapes (with possible coercion)
182 * Helper method that allows easy support for array-related coercion features:
[all …]
/external/grpc-grpc/src/ruby/pb/test/
Dserver.rb6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
17 # interop_server is a Testing app that runs a gRPC interop testing server.
23 # Usage: $ path/to/interop_server.rb --port
48 # Truncates a given +text+ after a given <tt>length</tt> if +text+ is longer than <tt>length</tt>:
50 # 'Once upon a time in a world far far away'.truncate(27)
51 # # => "Once upon a time in a wo..."
53 # Pass a string or regexp <tt>:separator</tt> to truncate +text+ at a natural break:
55 # 'Once upon a time in a world far far away'.truncate(27, separator: ' ')
[all …]
/external/jsoncpp/include/json/
Dvalue.h1 // Copyright 2007-2010 Baptiste Lepilleur and The JsonCpp Authors
14 // a) suppress false positives from static code analysis
24 // Support for '= delete' with template declarations was a late addition
46 #include <string>
49 // Disable warning C4251: <data member>: <type> needs to have dll-interface to
69 Exception(String msg);
74 String msg_;
79 * E.g. out-of-memory (when we use malloc), stack-overflow, malicious input
85 RuntimeError(String const& msg);
90 * These are precondition-violations (user bugs) and internal errors (our bugs).
[all …]

12345678910>>...37