Searched refs:builder (Results 1 - 25 of 1146) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/WebKit/Source/platform/
H A DUUID.cpp46 StringBuilder builder; local
47 builder.reserveCapacity(36);
48 appendUnsignedAsHexFixedSize(randomData[0], builder, 8, Lowercase);
49 builder.append('-');
50 appendUnsignedAsHexFixedSize(randomData[1] >> 16, builder, 4, Lowercase);
51 builder.appendLiteral("-4");
52 appendUnsignedAsHexFixedSize(randomData[1] & 0x00000fff, builder, 3, Lowercase);
53 builder.append('-');
54 appendUnsignedAsHexFixedSize((randomData[2] >> 30) | 0x8, builder, 1, Lowercase);
55 appendUnsignedAsHexFixedSize((randomData[2] >> 16) & 0x00000fff, builder,
[all...]
/external/chromium_org/third_party/libjingle/source/talk/xmllite/
H A Dxmlbuilder_unittest.cc42 XmlBuilder builder; local
43 XmlParser::ParseXml(&builder, "<testing/>");
44 EXPECT_EQ("<testing/>", builder.BuiltElement()->Str());
48 XmlBuilder builder; local
49 XmlParser::ParseXml(&builder, "<testing a='b'/>");
50 EXPECT_EQ("<testing a=\"b\"/>", builder.BuiltElement()->Str());
54 XmlBuilder builder; local
55 XmlParser::ParseXml(&builder, "<testing e='' long='some text'/>");
57 builder.BuiltElement()->Str());
61 XmlBuilder builder; local
69 XmlBuilder builder; local
80 XmlBuilder builder; local
86 XmlBuilder builder; local
93 XmlBuilder builder; local
100 XmlBuilder builder; local
107 XmlBuilder builder; local
115 XmlBuilder builder; local
121 XmlBuilder builder; local
128 XmlBuilder builder; local
135 XmlBuilder builder; local
142 XmlBuilder builder; local
150 XmlBuilder builder; local
156 XmlBuilder builder; local
163 XmlBuilder builder; local
169 XmlBuilder builder; local
175 XmlBuilder builder; local
181 XmlBuilder builder; local
188 XmlBuilder builder; local
[all...]
/external/chromium_org/third_party/webrtc/libjingle/xmllite/
H A Dxmlbuilder_unittest.cc25 XmlBuilder builder; local
26 XmlParser::ParseXml(&builder, "<testing/>");
27 EXPECT_EQ("<testing/>", builder.BuiltElement()->Str());
31 XmlBuilder builder; local
32 XmlParser::ParseXml(&builder, "<testing a='b'/>");
33 EXPECT_EQ("<testing a=\"b\"/>", builder.BuiltElement()->Str());
37 XmlBuilder builder; local
38 XmlParser::ParseXml(&builder, "<testing e='' long='some text'/>");
40 builder.BuiltElement()->Str());
44 XmlBuilder builder; local
52 XmlBuilder builder; local
63 XmlBuilder builder; local
69 XmlBuilder builder; local
76 XmlBuilder builder; local
83 XmlBuilder builder; local
90 XmlBuilder builder; local
98 XmlBuilder builder; local
104 XmlBuilder builder; local
111 XmlBuilder builder; local
118 XmlBuilder builder; local
125 XmlBuilder builder; local
133 XmlBuilder builder; local
139 XmlBuilder builder; local
146 XmlBuilder builder; local
152 XmlBuilder builder; local
158 XmlBuilder builder; local
164 XmlBuilder builder; local
171 XmlBuilder builder; local
[all...]
/external/smack/src/org/jivesoftware/smackx/pubsub/util/
H A DXmlUtils.java26 static public void appendAttribute(StringBuilder builder, String att, String value) argument
28 builder.append(" ");
29 builder.append(att);
30 builder.append("='");
31 builder.append(value);
32 builder.append("'");
/external/chromium_org/third_party/WebKit/Source/wtf/text/
H A DStringBuilderTest.cpp52 static void expectBuilderContent(const String& expected, const StringBuilder& builder) argument
54 // Not using builder.toString() because it changes internal state of builder.
55 if (builder.is8Bit())
56 EXPECT_EQ(expected, String(builder.characters8(), builder.length()));
58 EXPECT_EQ(expected, String(builder.characters16(), builder.length()));
61 void expectEmpty(const StringBuilder& builder) argument
63 EXPECT_EQ(0U, builder
70 StringBuilder builder; local
76 StringBuilder builder; local
117 StringBuilder builder; local
150 StringBuilder builder; local
158 StringBuilder builder; local
169 StringBuilder builder; local
221 StringBuilder builder; local
232 StringBuilder builder; local
260 StringBuilder builder; local
265 StringBuilder builder; local
271 StringBuilder builder; local
277 StringBuilder builder; local
283 StringBuilder builder; local
290 StringBuilder builder; local
296 StringBuilder builder; local
307 StringBuilder builder; local
312 StringBuilder builder; local
[all...]
/external/chromium_org/components/content_settings/core/common/
H A Dcontent_settings_pattern_parser_unittest.cc31 ::testing::StrictMock<MockBuilder> builder; local
35 EXPECT_CALL(builder, WithSchemeWildcard()).Times(1).WillOnce(
36 ::testing::Return(&builder));
37 EXPECT_CALL(builder, WithDomainWildcard()).Times(1).WillOnce(
38 ::testing::Return(&builder));
39 EXPECT_CALL(builder, WithPortWildcard()).Times(1).WillOnce(
40 ::testing::Return(&builder));
41 content_settings::PatternParser::Parse("*", &builder);
42 ::testing::Mock::VerifyAndClear(&builder);
44 EXPECT_CALL(builder, WithSchem
155 ::testing::StrictMock<MockBuilder> builder; local
[all...]
/external/smack/src/org/jivesoftware/smackx/pubsub/
H A DSubscribeExtension.java45 StringBuilder builder = new StringBuilder("<");
46 builder.append(getElementName());
50 builder.append(" node='");
51 builder.append(getNode());
52 builder.append("'");
54 builder.append(" jid='");
55 builder.append(getJid());
56 builder.append("'/>");
58 return builder.toString();
H A DFormNode.java81 StringBuilder builder = new StringBuilder("<");
82 builder.append(getElementName());
86 builder.append(" node='");
87 builder.append(getNode());
88 builder.append("'>");
91 builder.append('>');
92 builder.append(configForm.getDataFormToSend().toXML());
93 builder.append("</");
94 builder.append(getElementName() + '>');
95 return builder
[all...]
H A DItem.java108 StringBuilder builder = new StringBuilder("<item");
112 builder.append(" id='");
113 builder.append(id);
114 builder.append("'");
118 builder.append(" node='");
119 builder.append(getNode());
120 builder.append("'");
122 builder.append("/>");
124 return builder.toString();
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_bld_blend_logicop.c44 lp_build_logicop(LLVMBuilderRef builder, argument
59 res = LLVMBuildNot(builder, LLVMBuildOr(builder, src, dst, ""), "");
62 res = LLVMBuildAnd(builder, LLVMBuildNot(builder, src, ""), dst, "");
65 res = LLVMBuildNot(builder, src, "");
68 res = LLVMBuildAnd(builder, src, LLVMBuildNot(builder, dst, ""), "");
71 res = LLVMBuildNot(builder, dst, "");
74 res = LLVMBuildXor(builder, sr
[all...]
/external/deqp/framework/delibs/depool/
H A DdePoolStringBuilder.h23 * \brief String builder.
33 deBool dePoolStringBuilder_appendString (dePoolStringBuilder* builder, const char* str);
34 deBool dePoolStringBuilder_appendFormat (dePoolStringBuilder* builder, const char* format, ...);
37 int dePoolStringBuilder_getLength (dePoolStringBuilder* builder);
38 char* dePoolStringBuilder_dupToString (dePoolStringBuilder* builder);
39 char* dePoolStringBuilder_dupToPool (dePoolStringBuilder* builder, deMemPool* dstPool);
H A DdePoolStringBuilder.c46 dePoolStringBuilder* builder = DE_POOL_NEW(pool, dePoolStringBuilder); local
47 if (!builder)
50 builder->pool = pool;
51 builder->length = 0;
52 builder->blockListHead = DE_NULL;
53 builder->blockListTail = DE_NULL;
55 return builder;
58 deBool dePoolStringBuilder_appendString (dePoolStringBuilder* builder, const char* str) argument
60 StringBlock* block = DE_POOL_NEW(builder->pool, StringBlock);
62 char* blockStr = (char*)deMemPool_alloc(builder
92 dePoolStringBuilder_appendFormat(dePoolStringBuilder* builder, const char* format, ...) argument
108 dePoolStringBuilder_getLength(dePoolStringBuilder* builder) argument
113 dePoolStringBuilder_dupToString(dePoolStringBuilder* builder) argument
118 dePoolStringBuilder_dupToPool(dePoolStringBuilder* builder, deMemPool* pool) argument
[all...]
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_blend_logicop.c44 lp_build_logicop(LLVMBuilderRef builder, argument
59 res = LLVMBuildNot(builder, LLVMBuildOr(builder, src, dst, ""), "");
62 res = LLVMBuildAnd(builder, LLVMBuildNot(builder, src, ""), dst, "");
65 res = LLVMBuildNot(builder, src, "");
68 res = LLVMBuildAnd(builder, src, LLVMBuildNot(builder, dst, ""), "");
71 res = LLVMBuildNot(builder, dst, "");
74 res = LLVMBuildXor(builder, sr
[all...]
/external/chromium_org/mojo/services/network/
H A Dnetwork_context.cc16 net::URLRequestContextBuilder builder; local
17 builder.set_accept_language("en-us,en");
19 builder.set_user_agent("Mojo/0.1");
20 builder.set_proxy_service(net::ProxyService::CreateDirect());
21 builder.set_transport_security_persister_path(base_path);
26 builder.EnableHttpCache(cache_params);
28 builder.set_file_enabled(true);
30 url_request_context_.reset(builder.Build());
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DArrayBufferBuilderTest.cpp61 ArrayBufferBuilder builder(2 * dataSize);
63 EXPECT_EQ(dataSize, builder.append(data, dataSize));
64 EXPECT_EQ(dataSize, builder.byteLength());
65 EXPECT_EQ(dataSize * 2, builder.capacity());
67 EXPECT_EQ(dataSize, builder.append(data, dataSize));
68 EXPECT_EQ(dataSize * 2, builder.byteLength());
69 EXPECT_EQ(dataSize * 2, builder.capacity());
71 EXPECT_EQ(dataSize, builder.append(data, dataSize));
72 EXPECT_EQ(dataSize * 3, builder.byteLength());
73 EXPECT_GE(builder
95 ArrayBufferBuilder builder; local
[all...]
/external/chromium_org/components/cronet/android/java/src/org/chromium/net/
H A DUserAgent.java27 StringBuilder builder = new StringBuilder();
30 builder.append(context.getPackageName());
31 builder.append('/');
32 builder.append(versionFromContext(context));
35 builder.append(" (Linux; U; Android ");
36 builder.append(Build.VERSION.RELEASE);
37 builder.append("; ");
38 builder.append(Locale.getDefault().toString());
42 builder.append("; ");
43 builder
[all...]
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DFontBuilderTest.cpp14 RenderStyle* getStyle(const FontBuilder& builder) argument
16 return builder.m_style;
22 FontBuilder builder; local
23 EXPECT_EQ(0, getStyle(builder));
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/net/buildbot/
H A Dchromiumbuildbot_unittest.py36 builder = ChromiumBuildBot().builder_with_name('WebKit Mac10.8 (dbg)')
37 self.assertEqual(builder.results_url(),
41 builder = ChromiumBuildBot().builder_with_name('WebKit Mac10.8 (dbg)')
42 self.assertEqual(builder.accumulated_results_url(),
/external/chromium_org/build/
H A Dget_landmines.py16 builder = landmine_utils.builder variable
28 builder() == 'ninja'):
32 if platform() == 'win' and builder() == 'ninja':
34 if platform() == 'linux' and builder() == 'ninja':
41 if (platform() == 'win' and builder() == 'ninja' and
46 if (platform() == 'win' and builder() == 'ninja' and
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/
H A Dcontroller_pairing_screen_handler.cc59 LocalizedValuesBuilder* builder) {
66 builder->Add(prefix + "welcome", IDS_PAIRING_CONTROLLER_WELCOME);
67 builder->Add(prefix + "searching", IDS_PAIRING_CONTROLLER_SEARCHING);
68 builder->Add(prefix + "needHelp", IDS_PAIRING_NEED_HELP);
69 builder->Add(prefix + "troubleConnecting",
71 builder->Add(prefix + "connectingAdvice",
73 builder->Add(prefix + "adviceGotIt", IDS_PAIRING_CONTROLLER_ADVICE_GOT_IT);
74 builder->Add(prefix + "selectTitle", IDS_PAIRING_CONTROLLER_SELECT_TITLE);
75 builder->Add(prefix + "connect", IDS_PAIRING_CONTROLLER_CONNECT);
76 builder
58 DeclareLocalizedValues( LocalizedValuesBuilder* builder) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DIdentifiersFactory.cpp57 StringBuilder builder; local
58 builder.appendNumber(s_processId);
59 builder.append('.');
60 builder.append(id);
61 return builder.toString();
/external/guava/guava-tests/test/com/google/common/collect/
H A DImmutableTableTest.java28 ImmutableTable.Builder<String, Integer, Character> builder =
29 ImmutableTable.builder();
31 builder.put((String) data[i], (Integer) data[i + 1],
34 return builder.build();
38 ImmutableTable.Builder<Character, Integer, String> builder =
40 assertEquals(ImmutableTable.of(), builder.build());
41 assertEquals(ImmutableTable.of('a', 1, "foo"), builder
51 assertEquals(expectedTable, builder
57 ImmutableTable.Builder<Character, Integer, String> builder =
59 assertEquals(ImmutableTable.of('a', 1, "foo"), builder
[all...]
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/builder/
H A DFixGotoTest.java1 package org.jf.dexlib2.builder;
6 import org.jf.dexlib2.builder.instruction.BuilderInstruction10t;
7 import org.jf.dexlib2.builder.instruction.BuilderInstruction10x;
8 import org.jf.dexlib2.builder.instruction.BuilderInstruction20t;
19 MethodImplementationBuilder builder = new MethodImplementationBuilder(1);
21 Label gotoTarget = builder.getLabel("gotoTarget");
22 builder.addInstruction(new BuilderInstruction10t(Opcode.GOTO, gotoTarget));
25 builder.addInstruction(new BuilderInstruction10x(Opcode.NOP));
28 builder.addLabel("gotoTarget");
29 builder
[all...]
/external/junit/src/org/junit/internal/
H A DArrayComparisonFailure.java39 StringBuilder builder= new StringBuilder();
41 builder.append(fMessage);
42 builder.append("arrays first differed at element ");
44 builder.append("[");
45 builder.append(each);
46 builder.append("]");
48 builder.append("; ");
49 builder.append(fCause.getMessage());
50 return builder.toString();
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
H A DSpannableStringBuilderTest.java16 SpannableStringBuilder builder = new SpannableStringBuilder("abc");
17 builder.append('d').append("e").append("f");
18 assertThat(builder.toString(), equalTo("abcdef"));
23 SpannableStringBuilder builder = new SpannableStringBuilder("abc");
24 assertThat(builder.length(), equalTo(3));
29 SpannableStringBuilder builder = new SpannableStringBuilder("abc");
30 assertThat(builder.replace(2, 3, "").toString(), equalTo("ab"));
31 assertThat(builder.replace(0, 2, "xyz").toString(), equalTo("xyz"));
36 SpannableStringBuilder builder = new SpannableStringBuilder("abc");
37 assertThat(builder
[all...]

Completed in 686 milliseconds

1234567891011>>