/external/chromium_org/base/strings/ |
H A D | utf_string_conversion_utils.cc | 71 size_t WriteUnicodeCharacter(uint32 code_point, std::string* output) { argument 74 output->push_back(code_point); 80 size_t char_offset = output->length(); 82 output->resize(char_offset + CBU8_MAX_LENGTH); 84 CBU8_APPEND_UNSAFE(&(*output)[0], char_offset, code_point); 88 output->resize(char_offset); 92 size_t WriteUnicodeCharacter(uint32 code_point, string16* output) { argument 95 output->push_back(static_cast<char16>(code_point)); 99 size_t char_offset = output->length(); 100 output 108 PrepareForUTF8Output(const CHAR* src, size_t src_len, std::string* output) argument 128 PrepareForUTF16Or32Output(const char* src, size_t src_len, STRING* output) argument [all...] |
/external/chromium_org/tools/grit/grit/format/ |
H A D | rc_header_unittest.py | 27 output = rc_header.FormatDefines(grd, grd.ShouldOutputAllResourceDefines()) 28 return ''.join(output).replace(' ', '') 51 output = self.FormatAll(grd) 52 self.failUnless(output.count('IDS_GREETING10000')) 53 self.failUnless(output.count('ID_LOGO300')) 88 output = self.FormatAll(grd) 89 self.failUnless(output.count('IDS_FIRSTPRESENTSTRING10000')) 90 self.failIf(output.count('IDS_MISSINGSTRING')) 91 self.failIf(output.count('10001')) # IDS_MISSINGSTRING should get this ID 92 self.failUnless(output [all...] |
/external/chromium_org/tools/grit/grit/tool/ |
H A D | buildinfo_unittest.py | 47 output = self.buf.getvalue().replace('\\', '/') 48 self.failUnless(output.count(r'rc_all|sv_sidebar_loading.html')) 49 self.failUnless(output.count(r'rc_header|resource.h')) 50 self.failUnless(output.count(r'rc_all|en_generated_resources.rc')) 51 self.failUnless(output.count(r'rc_all|sv_generated_resources.rc')) 52 self.failUnless(output.count(r'input|../grit/testdata/substitute.xmb')) 53 self.failUnless(output.count(r'input|../grit/testdata/pr.bmp')) 54 self.failUnless(output.count(r'input|../grit/testdata/pr2.bmp')) 56 output.count(r'input|../grit/testdata/sidebar_loading.html')) 57 self.failUnless(output [all...] |
/external/chromium_org/url/ |
H A D | url_canon_pathurl.cc | 16 // Canonicalize the given |component| from |source| into |output| and 23 CanonOutput* output, 28 output->push_back(seperator); 32 new_component->begin = output->length(); 37 success &= AppendUTF8EscapedChar(source, &i, end, output); 39 output->push_back(static_cast<char>(uch)); 41 new_component->len = output->length() - new_component->begin; 52 CanonOutput* output, 56 output, &new_parsed->scheme); 67 source.path, parsed.path, 0, output, 20 DoCanonicalizePathComponent(const CHAR* source, const Component& component, CHAR seperator, CanonOutput* output, Component* new_component) argument 50 DoCanonicalizePathURL(const URLComponentSource<CHAR>& source, const Parsed& parsed, CanonOutput* output, Parsed* new_parsed) argument 78 CanonicalizePathURL(const char* spec, int spec_len, const Parsed& parsed, CanonOutput* output, Parsed* new_parsed) argument 87 CanonicalizePathURL(const base::char16* spec, int spec_len, const Parsed& parsed, CanonOutput* output, Parsed* new_parsed) argument 96 ReplacePathURL(const char* base, const Parsed& base_parsed, const Replacements<char>& replacements, CanonOutput* output, Parsed* new_parsed) argument 108 ReplacePathURL(const char* base, const Parsed& base_parsed, const Replacements<base::char16>& replacements, CanonOutput* output, Parsed* new_parsed) argument [all...] |
H A D | url_canon_etc.cc | 42 // return the input as the output. 86 CanonOutput* output, 90 *out_scheme = Component(output->length(), 0); 91 output->push_back(':'); 95 // The output scheme starts from the current position. 96 out_scheme->begin = output->length(); 119 output->push_back(replacement); 125 output->push_back('%'); 130 // This will escape the output and also handle encoding issues. 132 AppendUTF8EscapedChar(spec, &i, end, output); 84 DoScheme(const CHAR* spec, const Component& scheme, CanonOutput* output, Component* out_scheme) argument 148 DoUserInfo(const CHAR* username_spec, const Component& username, const CHAR* password_spec, const Component& password, CanonOutput* output, Component* out_username, Component* out_password) argument 188 WritePortInt(char* output, int output_len, int port) argument 194 DoPort(const CHAR* spec, const Component& port, int default_port_for_scheme, CanonOutput* output, Component* out_port) argument 232 DoCanonicalizeRef(const CHAR* spec, const Component& ref, CanonOutput* output, Component* out_ref) argument 257 AppendEscapedChar(static_cast<unsigned char>(spec[i]), output); local 296 CanonicalizeScheme(const char* spec, const Component& scheme, CanonOutput* output, Component* out_scheme) argument 303 CanonicalizeScheme(const base::char16* spec, const Component& scheme, CanonOutput* output, Component* out_scheme) argument 310 CanonicalizeUserInfo(const char* username_source, const Component& username, const char* password_source, const Component& password, CanonOutput* output, Component* out_username, Component* out_password) argument 322 CanonicalizeUserInfo(const base::char16* username_source, const Component& username, const base::char16* password_source, const Component& password, CanonOutput* output, Component* out_username, Component* out_password) argument 334 CanonicalizePort(const char* spec, const Component& port, int default_port_for_scheme, CanonOutput* output, Component* out_port) argument 344 CanonicalizePort(const base::char16* spec, const Component& port, int default_port_for_scheme, CanonOutput* output, Component* out_port) argument 353 CanonicalizeRef(const char* spec, const Component& ref, CanonOutput* output, Component* out_ref) argument 360 CanonicalizeRef(const base::char16* spec, const Component& ref, CanonOutput* output, Component* out_ref) argument [all...] |
H A D | url_canon_host.cc | 48 // escape sequence like "%zz", we'll add "%25zz" to the output and fail. 74 // Scans a host name and fills in the output flags according to what we find. 98 // the output. 113 // The return value indicates if the output is a potentially valid host name. 117 CanonOutputT<OUTCHAR>* output, 132 AppendEscapedChar('%', output); 143 AppendEscapedChar(source, output); 147 AppendEscapedChar(source, output); 152 output->push_back(replacement); 155 // It's a non-ascii char. Just push it to the output 115 DoSimpleHost(const INCHAR* host, int host_len, CanonOutputT<OUTCHAR>* output, bool* has_non_ascii) argument 167 DoIDNHost(const base::char16* src, int src_len, CanonOutput* output) argument 197 DoComplexHost(const char* host, int host_len, bool has_non_ascii, bool has_escaped, CanonOutput* output) argument 260 DoComplexHost(const base::char16* host, int host_len, bool has_non_ascii, bool has_escaped, CanonOutput* output) argument 291 DoHost(const CHAR* spec, const Component& host, CanonOutput* output, CanonHostInfo* host_info) argument 344 CanonicalizeHost(const char* spec, const Component& host, CanonOutput* output, Component* out_host) argument 354 CanonicalizeHost(const base::char16* spec, const Component& host, CanonOutput* output, Component* out_host) argument 364 CanonicalizeHostVerbose(const char* spec, const Component& host, CanonOutput* output, CanonHostInfo* host_info) argument 371 CanonicalizeHostVerbose(const base::char16* spec, const Component& host, CanonOutput* output, CanonHostInfo* host_info) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/ |
H A D | JSONValues.cpp | 83 void writeIndent(int depth, StringBuilder* output) argument 86 output->appendLiteral(" "); 126 bool JSONValue::asValue(RefPtr<JSONValue>* output) argument 128 *output = this; 168 void JSONValue::writeJSON(StringBuilder* output) const 171 output->append(nullString, 4); 174 void JSONValue::prettyWriteJSON(StringBuilder* output) const 176 prettyWriteJSONInternal(output, 0); 177 output->append('\n'); 180 void JSONValue::prettyWriteJSONInternal(StringBuilder* output, in argument 266 asObject(RefPtr<JSONObject>* output) argument 396 prettyWriteJSONInternal(StringBuilder* output, int depth) const argument 425 asArray(RefPtr<JSONArray>* output) argument 449 prettyWriteJSONInternal(StringBuilder* output, int depth) const argument [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
H A D | concatenate_application_code.py | 39 def concatenate_autostart_modules(descriptors, application_dir, output_dir, output): 51 output.write('\n/* Module %s */\n' % name) 52 modular_build.concatenate_scripts(desc.get('scripts'), path.join(application_dir, name), output_dir, output) 59 output = StringIO() 60 output.write('/* Runtime.js */\n') 61 output.write(read_file(path.join(application_dir, 'Runtime.js'))) 62 output.write('\n/* Autostart modules */\n') 63 concatenate_autostart_modules(descriptors, application_dir, output_dir, output) 64 output.write('/* Application descriptor %s */\n' % (application_name + '.json')) 65 output [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
H A D | AudioNodeInput.cpp | 56 void AudioNodeInput::connect(AudioNodeOutput& output) argument 60 // Check if we're already connected to this output. 61 if (m_outputs.contains(&output)) 64 output.addInput(*this); 65 m_outputs.add(&output); 69 void AudioNodeInput::disconnect(AudioNodeOutput& output) argument 74 if (m_outputs.contains(&output)) { 75 m_outputs.remove(&output); 77 output.removeInput(*this); 84 if (m_disabledOutputs.contains(&output)) { 95 disable(AudioNodeOutput& output) argument 108 enable(AudioNodeOutput& output) argument 149 AudioNodeOutput* output = *i; local 196 AudioNodeOutput* output = renderingOutput(i); local 214 AudioNodeOutput* output = this->renderingOutput(0); local [all...] |
H A D | ChannelMergerNode.cpp | 66 AudioNodeOutput* output = this->output(0); local 67 ASSERT(output); 68 ASSERT_UNUSED(framesToProcess, framesToProcess == output->bus()->length()); 70 // Output bus not updated yet, so just output silence. 71 if (m_desiredNumberOfOutputChannels != output->numberOfChannels()) { 72 output->bus()->zero(); 76 // Merge all the channels from all the inputs into one output. 78 unsigned maxAllowedOutputChannels = output->numberOfChannels(); 86 // output channel 123 AudioNodeOutput* output = this->output(0); local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
H A D | normal.cc | 31 AudioMultiVector* output) { 34 output->Clear(); 38 assert(output->Empty()); 40 if (length % output->Channels() != 0) { 42 output->Clear(); 45 output->PushBackInterleaved(input, length); 46 int16_t* signal = &(*output)[0][0]; 63 AudioMultiVector expanded(output->Channels()); 67 for (size_t channel_ix = 0; channel_ix < output->Channels(); ++channel_ix) { 73 int16_t* signal = &(*output)[channel_i 27 Process(const int16_t* input, size_t length, Modes last_mode, int16_t* external_mute_factor_array, AudioMultiVector* output) argument [all...] |
/external/chromium_org/tools/grit/grit/format/policy_templates/writers/ |
H A D | json_writer_unittest.py | 36 def CompareOutputs(self, output, expected_output): 37 '''Compares the output of the json_writer with its expected output. 40 output: The output of the json writer as returned by grit. 41 expected_output: The expected output. 47 output.strip(), 58 output = self.GetOutput(grd, 'fr', {'_chromium': '1',}, 'json', 'en') 60 self.CompareOutputs(output, expected_output) 79 output [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/test/functional/main/ |
H A D | main-scripts.rb | 50 output = StringIO.new 52 LexerMainWithSourceFile::Lexer.main( [], :input => input, :output => output ) 54 out_lines = output.string.split( /\n/ ) 63 output = StringIO.new 73 LexerMainFromStdIO::Lexer.main( [], :input => input, :output => output ) 74 lines = output.string.split( /\n/ ) 88 output = StringIO.new 93 :input => input, :output [all...] |
/external/chromium_org/components/os_crypt/ |
H A D | os_crypt_win.cc | 36 DATA_BLOB output; local 38 0, &output); 43 ciphertext->assign(reinterpret_cast<std::string::value_type*>(output.pbData), 44 output.cbData); 46 LocalFree(output.pbData); 57 DATA_BLOB output; local 59 0, &output); 63 plaintext->assign(reinterpret_cast<char*>(output.pbData), output.cbData); 64 LocalFree(output [all...] |
/external/chromium_org/content/common/ |
H A D | common_param_traits_unittest.cc | 34 GURL output; local 36 EXPECT_TRUE(IPC::ParamTraits<GURL>::Read(&msg, &iter, &output)); 40 EXPECT_EQ(input.possibly_invalid_spec(), output.possibly_invalid_spec()); 41 EXPECT_EQ(input.is_valid(), output.is_valid()); 42 EXPECT_EQ(input.scheme(), output.scheme()); 43 EXPECT_EQ(input.username(), output.username()); 44 EXPECT_EQ(input.password(), output.password()); 45 EXPECT_EQ(input.host(), output.host()); 46 EXPECT_EQ(input.port(), output.port()); 47 EXPECT_EQ(input.path(), output 56 GURL output; local 64 GURL output; local 77 TestPair output; local 94 SkBitmap output; local 134 base::ListValue output; local 168 base::DictionaryValue output; local 188 net::HostPortPair output; local [all...] |
/external/chromium_org/sandbox/win/sandbox_poc/pocdll/ |
H A D | spyware.cc | 16 FILE *output = handle2file.Translate(log, "w"); local 19 fprintf(output, "[GRANTED] successfully registered hotkey\r\n"); 22 fprintf(output, "[BLOCKED] Failed to register hotkey. Error = %ld\r\n", 26 fprintf(output, "[INFO] Logging keystrokes for 15 seconds\r\n"); 27 fflush(output); 43 fprintf(output, "[GRANTED] Spyed keystrokes \"%S\"\r\n", 46 fprintf(output, "[BLOCKED] Spyed keystrokes \"(null)\"\r\n"); 52 FILE *output = handle2file.Translate(log, "w"); local 60 fprintf(output, "[GRANTED] Read pixel on screen\r\n"); 66 fprintf(output, "[BLOCKE [all...] |
/external/chromium_org/testing/gtest/scripts/ |
H A D | gtest-config.in | 28 Compiler flag queries output the union of the sets of flags when combined. 182 # Compiler flag output 265 # Do the output in the correct order so that these can be used in-line of 267 output="" 268 test "$echo_cppflags" = "yes" && output="$output $gtest_cppflags" 269 test "$echo_cxxflags" = "yes" && output="$output $gtest_cxxflags" 270 test "$echo_ldflags" = "yes" && output="$output [all...] |
/external/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ |
H A D | Android.mk | 17 test_makefile := external/libcxx/test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/Android.mk 19 test_name := input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/ostream 23 test_name := input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/basic_ios 27 test_name := input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters/streambuf 31 test_name := input.output/iostream.format/output [all...] |
/external/protobuf/gtest/scripts/ |
H A D | gtest-config.in | 28 Compiler flag queries output the union of the sets of flags when combined. 182 # Compiler flag output 265 # Do the output in the correct order so that these can be used in-line of 267 output="" 268 test "$echo_cppflags" = "yes" && output="$output $gtest_cppflags" 269 test "$echo_cxxflags" = "yes" && output="$output $gtest_cxxflags" 270 test "$echo_ldflags" = "yes" && output="$output [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
H A D | gcc-fat.sh | 71 -o) output=$2;; 80 if test x"$output" = x; then 82 output=a.out 84 output=`echo $source | sed -e 's|.*/||' -e 's|\(.*\)\.[^\.]*|\1|'`.o 88 if test x"$output" != x; then 89 dir=ppc/`dirname $output` 98 if test -f "ppc/$1" && test "$1" != "$output"; then 106 if test x"$output" != x; then 107 cp $output ppc/$output [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H A D | PasswordTransformationMethodTest.java | 24 CharSequence output = transformationMethod.getTransformation("foobar", null); 25 assertThat(output.toString(), is("\u2022\u2022\u2022\u2022\u2022\u2022")); //using the escaped characters for cross platform compatibility. 30 CharSequence output = transformationMethod.getTransformation(" baz ", null); 31 assertThat(output.toString(), is("\u2022\u2022\u2022\u2022\u2022")); 36 CharSequence output = transformationMethod.getTransformation(" ", null); 37 assertThat(output.toString(), is("\u2022\u2022\u2022\u2022")); 42 CharSequence output = transformationMethod.getTransformation("", null); 43 assertThat(output.toString(), is("")); 48 CharSequence output = transformationMethod.getTransformation(null, null); 49 assertThat(output [all...] |
/external/stlport/test/unit/ |
H A D | unary_test.cpp | 78 double output[3]; local 79 transform((int*)input, (int*)input + 3, output, unary_compose<square_root, negate<int> >(square_root(), negate<int>())); 81 CPPUNIT_ASSERT(output[0]==1); 82 CPPUNIT_ASSERT(output[1]==2); 83 CPPUNIT_ASSERT(output[2]==4); 91 double output [3]; local 92 transform((int*)input, (int*)input + 3, output, compose1(square_root(), negate<int>())); 94 CPPUNIT_ASSERT(output[0]==1); 95 CPPUNIT_ASSERT(output[1]==2); 96 CPPUNIT_ASSERT(output[ [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
H A D | MessageDigest2Test.java | 99 DataOutputStream output = new DataOutputStream(out); 103 output 105 output.writeInt(0); // class modifiers 106 output.writeUTF("java.io.Serializable"); // interfaces 109 output.writeUTF("sub_toBeNotSerialized"); // name 110 output.writeInt(9); // modifiers 111 output.writeUTF("Ljava/lang/String;"); // signature 113 output.writeUTF("sub_toBeNotSerialized2"); // name 114 output.writeInt(9); // modifiers 115 output [all...] |
/external/chromium_org/ppapi/tests/ |
H A D | test_network_proxy.cc | 31 pp::Var output = callback.output(); local 32 ASSERT_TRUE(output.is_string()); 34 ASSERT_EQ("DIRECT", callback.output().AsString()); 42 output = callback.output(); 44 ASSERT_TRUE(output.is_string()); 52 output = callback.output(); 53 ASSERT_TRUE(output [all...] |
/external/smali/util/src/main/java/org/jf/util/ |
H A D | StringWrapper.java | 46 * @param output If given, try to use this array as the return value. If there are more values than will fit 54 public static String[] wrapString(@Nonnull String str, int maxWidth, @Nullable String[] output) { argument 55 if (output == null) { 56 output = new String[(int)((str.length() / maxWidth) * 1.5d + 1)]; 66 output = addString(output, str.substring(lineStart, i), arrayIndex++); 69 output = addString(output, str.substring(lineStart, i), arrayIndex++); 74 output = addString(output, st [all...] |