/external/libmojo/mojo/public/cpp/bindings/ |
string_traits_string_piece.h | 24 static void SetToNull(base::StringPiece* output) { 26 output->set(nullptr, 0); 35 static bool Read(StringDataView input, base::StringPiece* output) { 36 output->set(input.storage(), input.size());
|
/external/protobuf/gtest/test/ |
gtest_help_test.py | 61 [PROGRAM_PATH, LIST_TESTS_FLAG]).output 73 FLAG_PREFIX + r'output=.*' + 83 the exit code and the text output as a tuple. 93 return child.exit_code, child.output 109 exit_code, output = RunWithFlag(flag) 111 self.assert_(HELP_REGEX.search(output), output) 113 self.assert_(CATCH_EXCEPTIONS_FLAG in output, output) 115 self.assert_(CATCH_EXCEPTIONS_FLAG not in output, output [all...] |
/external/protobuf/objectivec/ |
GPBUnknownField_PackagePrivate.h | 41 - (void)writeToOutput:(GPBCodedOutputStream *)output; 44 - (void)writeAsMessageSetExtensionToOutput:(GPBCodedOutputStream *)output;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue51/ |
UnicodeStyleTest.java | 31 String output = yaml.dump("í"); local 32 // System.out.println(output); 33 assertEquals("í\n", output); 40 String output = yaml.dump("í"); local 41 // System.out.println(output); 42 assertEquals("\"í\"\n", output);
|
/external/v8/testing/gtest/test/ |
gtest_help_test.py | 62 [PROGRAM_PATH, LIST_TESTS_FLAG]).output 74 FLAG_PREFIX + r'output=.*' + 85 the exit code and the text output as a tuple. 95 return child.exit_code, child.output 111 exit_code, output = RunWithFlag(flag) 113 self.assert_(HELP_REGEX.search(output), output) 116 self.assert_(STREAM_RESULT_TO_FLAG in output, output) 118 self.assert_(STREAM_RESULT_TO_FLAG not in output, output [all...] |
/external/vulkan-validation-layers/tests/gtest-1.7.0/test/ |
gtest_help_test.py | 62 [PROGRAM_PATH, LIST_TESTS_FLAG]).output 74 FLAG_PREFIX + r'output=.*' + 85 the exit code and the text output as a tuple. 95 return child.exit_code, child.output 111 exit_code, output = RunWithFlag(flag) 113 self.assert_(HELP_REGEX.search(output), output) 116 self.assert_(STREAM_RESULT_TO_FLAG in output, output) 118 self.assert_(STREAM_RESULT_TO_FLAG not in output, output [all...] |
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
JsonParser.java | 42 JSONObject output = new JSONObject(); local 49 if (output.has(fieldName)) { 57 output.put(fieldName, new JSONArray(parseArray(reader))); 59 output.put(fieldName, reader.nextString()); 62 output.put(fieldName, parse(reader)); 77 return output; 84 ArrayList<String> output = new ArrayList<>(); local 88 output.add(reader.nextString()); 92 return output;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
UTF8CharsetTest.java | 41 char[] output = "ab\u5D14\u654F".toCharArray(); local 42 internalTestDecode(input, output); 52 byte[] output = new byte[] { 97, 98, -27, -76, -108, -26, -107, -113 }; 53 internalTestEncode(input, output);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/ |
StreamUtils.java | 27 * Copies the input byte array into the output int array with the given 31 public static boolean byteToIntArray(int[] output, byte[] input, ByteOrder endianness) { 33 if (output.length * 4 < length) { 34 throw new ArrayIndexOutOfBoundsException("Output array is too short to hold input"); 37 for (int i = 0, j = 0; i < output.length; i++, j += 4) { 38 output[i] = ((input[j] & 0xFF) << 24) | ((input[j + 1] & 0xFF) << 16) 42 for (int i = 0, j = 0; i < output.length; i++, j += 4) { 43 output[i] = ((input[j + 3] & 0xFF) << 24) | ((input[j + 2] & 0xFF) << 16) 51 int[] output = new int[input.length / 4]; local 52 byteToIntArray(output, input, endianness) [all...] |
/prebuilts/misc/common/robolectric/ |
wrapper_test.sh | 52 if [ "$(cat output-wrap)" != '' ]; then 53 echo 'Wrap should not generate any output' 54 diff testfile output || true 60 if ! diff testfile output; then 61 echo 'Should have saved the correct output' 62 diff testfile output || true 68 if ! diff testfileWithModule output-eval; then 69 echo 'Should have printed the full output' 70 diff testfileWithModule output || true 76 if ! diff testfileWithModuleTruncated output-eval; the [all...] |
/prebuilts/misc/darwin-x86_64/protobuf2.5/include/google/protobuf/ |
message_lite.h | 172 // Write a protocol buffer of this message to the given output. Returns 175 bool SerializeToCodedStream(io::CodedOutputStream* output) const; 177 bool SerializePartialToCodedStream(io::CodedOutputStream* output) const; 178 // Write the message to the given zero-copy output stream. All required 180 bool SerializeToZeroCopyStream(io::ZeroCopyOutputStream* output) const; 182 bool SerializePartialToZeroCopyStream(io::ZeroCopyOutputStream* output) const; 185 bool SerializeToString(string* output) const; 187 bool SerializePartialToString(string* output) const; 206 bool AppendToString(string* output) const; 208 bool AppendPartialToString(string* output) const [all...] |
/prebuilts/misc/linux-x86_64/protobuf2.5/include/google/protobuf/ |
message_lite.h | 172 // Write a protocol buffer of this message to the given output. Returns 175 bool SerializeToCodedStream(io::CodedOutputStream* output) const; 177 bool SerializePartialToCodedStream(io::CodedOutputStream* output) const; 178 // Write the message to the given zero-copy output stream. All required 180 bool SerializeToZeroCopyStream(io::ZeroCopyOutputStream* output) const; 182 bool SerializePartialToZeroCopyStream(io::ZeroCopyOutputStream* output) const; 185 bool SerializeToString(string* output) const; 187 bool SerializePartialToString(string* output) const; 206 bool AppendToString(string* output) const; 208 bool AppendPartialToString(string* output) const [all...] |
/prebuilts/misc/windows/protobuf2.5/include/google/protobuf/ |
message_lite.h | 172 // Write a protocol buffer of this message to the given output. Returns 175 bool SerializeToCodedStream(io::CodedOutputStream* output) const; 177 bool SerializePartialToCodedStream(io::CodedOutputStream* output) const; 178 // Write the message to the given zero-copy output stream. All required 180 bool SerializeToZeroCopyStream(io::ZeroCopyOutputStream* output) const; 182 bool SerializePartialToZeroCopyStream(io::ZeroCopyOutputStream* output) const; 185 bool SerializeToString(string* output) const; 187 bool SerializePartialToString(string* output) const; 206 bool AppendToString(string* output) const; 208 bool AppendPartialToString(string* output) const [all...] |
/prebuilts/ndk/r11/sources/third_party/googletest/googletest/test/ |
gtest_help_test.py | 62 [PROGRAM_PATH, LIST_TESTS_FLAG]).output 74 FLAG_PREFIX + r'output=.*' + 85 the exit code and the text output as a tuple. 95 return child.exit_code, child.output 111 exit_code, output = RunWithFlag(flag) 113 self.assert_(HELP_REGEX.search(output), output) 116 self.assert_(STREAM_RESULT_TO_FLAG in output, output) 118 self.assert_(STREAM_RESULT_TO_FLAG not in output, output [all...] |
/prebuilts/ndk/r13/sources/third_party/googletest/googletest/test/ |
gtest_help_test.py | 62 [PROGRAM_PATH, LIST_TESTS_FLAG]).output 74 FLAG_PREFIX + r'output=.*' + 85 the exit code and the text output as a tuple. 95 return child.exit_code, child.output 111 exit_code, output = RunWithFlag(flag) 113 self.assert_(HELP_REGEX.search(output), output) 116 self.assert_(STREAM_RESULT_TO_FLAG in output, output) 118 self.assert_(STREAM_RESULT_TO_FLAG not in output, output [all...] |
/prebuilts/tools/linux-x86_64/protoc/include/google/protobuf/ |
message_lite.h | 172 // Write a protocol buffer of this message to the given output. Returns 175 bool SerializeToCodedStream(io::CodedOutputStream* output) const; 177 bool SerializePartialToCodedStream(io::CodedOutputStream* output) const; 178 // Write the message to the given zero-copy output stream. All required 180 bool SerializeToZeroCopyStream(io::ZeroCopyOutputStream* output) const; 182 bool SerializePartialToZeroCopyStream(io::ZeroCopyOutputStream* output) const; 185 bool SerializeToString(string* output) const; 187 bool SerializePartialToString(string* output) const; 206 bool AppendToString(string* output) const; 208 bool AppendPartialToString(string* output) const [all...] |
/tools/loganalysis/tests/src/com/android/loganalysis/item/ |
SmartMonkeyLogItemTest.java | 41 JSONObject output = new JSONObject(item.toJson().toString()); local 43 assertTrue(output.has(SmartMonkeyLogItem.APPLICATIONS)); 44 assertTrue(output.get(SmartMonkeyLogItem.APPLICATIONS) instanceof JSONArray); 45 assertTrue(output.has(SmartMonkeyLogItem.PACKAGES)); 46 assertTrue(output.get(SmartMonkeyLogItem.PACKAGES) instanceof JSONArray); 47 assertTrue(output.has(SmartMonkeyLogItem.ANR_TIMES)); 48 assertTrue(output.get(SmartMonkeyLogItem.ANR_TIMES) instanceof JSONArray); 49 assertTrue(output.has(SmartMonkeyLogItem.CRASH_TIMES)); 50 assertTrue(output.get(SmartMonkeyLogItem.CRASH_TIMES) instanceof JSONArray);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Demo/zlib/ |
minigzip.py | 12 def write32(output, value):
13 output.write(chr(value & 255)) ; value=value // 256
14 output.write(chr(value & 255)) ; value=value // 256
15 output.write(chr(value & 255)) ; value=value // 256
16 output.write(chr(value & 255))
25 def compress (filename, input, output):
26 output.write('\037\213\010') # Write the header, ...
27 output.write(chr(FNAME)) # ... flag byte ...
31 write32(output, mtime)
32 output.write('\002') # ... slowest compression alg. ... [all...] |
/external/libmojo/mojo/public/cpp/bindings/lib/ |
handle_interface_serialization.h | 25 AssociatedInterface_Data* output, 30 output->version = input.version(); 31 output->interface_id = input.PassHandle().release(); 35 AssociatedInterfacePtrInfo<T>* output, 37 output->set_handle(context->group_controller->CreateLocalEndpointHandle( 39 output->set_version(input->version); 48 AssociatedInterfaceRequest_Data* output, 53 output->interface_id = input.PassHandle().release(); 57 AssociatedInterfaceRequest<T>* output, 59 output->Bind(context->group_controller->CreateLocalEndpointHandle [all...] |
/external/protobuf/src/google/protobuf/ |
descriptor_database.h | 70 // Find a file by file name. Fills in in *output and returns true if found. 71 // Otherwise, returns false, leaving the contents of *output undefined. 73 FileDescriptorProto* output) = 0; 76 // If found, fills in *output and returns true, otherwise returns false 77 // and leaves *output undefined. 79 FileDescriptorProto* output) = 0; 82 // with the given field number. If found, fills in *output and returns true, 83 // otherwise returns false and leaves *output undefined. containing_type 87 FileDescriptorProto* output) = 0; 90 // extendee_type, and appends them to output in an undefine [all...] |
wire_format_lite.cc | 167 io::CodedInputStream* input, uint32 tag, io::CodedOutputStream* output) { 172 output->WriteVarint32(tag); 173 output->WriteVarint64(value); 179 output->WriteVarint32(tag); 180 output->WriteLittleEndian64(value); 186 output->WriteVarint32(tag); 187 output->WriteVarint32(length); 191 output->WriteString(temp); 195 output->WriteVarint32(tag); 197 if (!SkipMessage(input, output)) return false [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/ |
descriptor_database.h | 70 // Find a file by file name. Fills in in *output and returns true if found. 71 // Otherwise, returns false, leaving the contents of *output undefined. 73 FileDescriptorProto* output) = 0; 76 // If found, fills in *output and returns true, otherwise returns false 77 // and leaves *output undefined. 79 FileDescriptorProto* output) = 0; 82 // with the given field number. If found, fills in *output and returns true, 83 // otherwise returns false and leaves *output undefined. containing_type 87 FileDescriptorProto* output) = 0; 90 // extendee_type, and appends them to output in an undefine [all...] |
/external/libchrome/base/strings/ |
utf_string_conversions.cc | 22 // determine the source, and the given output STL string will be replaced by 27 DEST_STRING* output) { 34 WriteUnicodeCharacter(code_point, output); 36 WriteUnicodeCharacter(0xFFFD, output); 48 bool WideToUTF8(const wchar_t* src, size_t src_len, std::string* output) { 50 output->assign(src, src + src_len); 53 PrepareForUTF8Output(src, src_len, output); 54 return ConvertUnicode(src, src_len, output); 69 bool UTF8ToWide(const char* src, size_t src_len, std::wstring* output) { 71 output->assign(src, src + src_len) [all...] |
string_number_conversions.cc | 27 // So round up to allocate 3 output characters per byte, plus 1 for '-'. 137 value_type* output) { 147 *output = 0; 149 } else if (!Negative::Invoke(begin + 1, end, output)) { 156 if (!Positive::Invoke(begin, end, output)) { 174 typename traits::value_type* output) { 175 *output = 0; 196 if (!Sign::CheckBounds(output, new_digit)) { 199 *output *= traits::kBase; 202 Sign::Increment(new_digit, output); [all...] |
/art/runtime/base/ |
transform_array_ref_test.cc | 43 std::vector<int> output; local 55 std::copy(taref.begin(), taref.end(), std::back_inserter(output)); 56 ASSERT_EQ(std::vector<int>({ 8, 7, 5, 1 }), output); 57 output.clear(); 59 std::copy(taref.cbegin(), taref.cend(), std::back_inserter(output)); 60 ASSERT_EQ(std::vector<int>({ 8, 7, 5, 1 }), output); 61 output.clear(); 63 std::copy(taref.rbegin(), taref.rend(), std::back_inserter(output)); 64 ASSERT_EQ(std::vector<int>({ 1, 5, 7, 8 }), output); 65 output.clear() 84 std::vector<int> output; local 120 std::vector<int> output; local [all...] |