Searched refs:read (Results 226 - 250 of 2793) sorted by relevance

1234567891011>>

/external/parameter-framework/upstream/test/functional-tests-legacy/PfwTestCase/Types/
H A DtINT32_Max.py103 assert open(os.environ["PFW_RESULT"] + "/INT32_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
140 assert open(os.environ["PFW_RESULT"] + "/INT32_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
165 param_check = open(os.environ["PFW_RESULT"] + "/INT32_Max").read()[:-1]
173 assert open(os.environ["PFW_RESULT"] + "/INT32_Max").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
211 assert open(os.environ["PFW_RESULT"] + "/INT32_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
236 param_check = open(os.environ["PFW_RESULT"] + "/INT32_Max").read()[:-1]
244 assert open(os.environ["PFW_RESULT"] + "/INT32_Max").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
H A DtINT8.py103 assert open(os.environ["PFW_RESULT"] + "/INT8").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
141 assert open(os.environ["PFW_RESULT"] + "/INT8").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
166 param_check = open(os.environ["PFW_RESULT"] + "/INT8").read()[:-1]
174 assert open(os.environ["PFW_RESULT"] + "/INT8").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
212 assert open(os.environ["PFW_RESULT"] + "/INT8").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
237 param_check = open(os.environ["PFW_RESULT"] + "/INT8").read()[:-1]
245 assert open(os.environ["PFW_RESULT"] + "/INT8").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
H A DtUINT16.py107 assert open(os.environ["PFW_RESULT"] + "/UINT16").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
145 assert open(os.environ["PFW_RESULT"] + "/UINT16").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
170 param_check = open(os.environ["PFW_RESULT"] + "/UINT16").read()[:-1]
178 assert open(os.environ["PFW_RESULT"] + "/UINT16").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
216 assert open(os.environ["PFW_RESULT"] + "/UINT16").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
241 param_check = open(os.environ["PFW_RESULT"] + "/UINT16").read()[:-1]
249 assert open(os.environ["PFW_RESULT"] + "/UINT16").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
H A DtUINT16_Max.py106 assert open(os.environ["PFW_RESULT"] + "/UINT16_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
144 assert open(os.environ["PFW_RESULT"] + "/UINT16_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
169 param_check = open(os.environ["PFW_RESULT"] + "/UINT16_Max").read()[:-1]
177 assert open(os.environ["PFW_RESULT"] + "/UINT16_Max").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
215 assert open(os.environ["PFW_RESULT"] + "/UINT16_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
240 param_check = open(os.environ["PFW_RESULT"] + "/UINT16_Max").read()[:-1]
248 assert open(os.environ["PFW_RESULT"] + "/UINT16_Max").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
H A DtUINT32.py106 assert open(os.environ["PFW_RESULT"] + "/UINT32").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
144 assert open(os.environ["PFW_RESULT"] + "/UINT32").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
169 param_check = open(os.environ["PFW_RESULT"] + "/UINT32").read()[:-1]
177 assert open(os.environ["PFW_RESULT"] + "/UINT32").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
215 assert open(os.environ["PFW_RESULT"] + "/UINT32").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
240 param_check = open(os.environ["PFW_RESULT"] + "/UINT32").read()[:-1]
248 assert open(os.environ["PFW_RESULT"] + "/UINT32").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
H A DtUINT32_Max.py106 assert open(os.environ["PFW_RESULT"] + "/UINT32_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
144 assert open(os.environ["PFW_RESULT"] + "/UINT32_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
169 param_check = open(os.environ["PFW_RESULT"] + "/UINT32_Max").read()[:-1]
177 assert open(os.environ["PFW_RESULT"] + "/UINT32_Max").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
215 assert open(os.environ["PFW_RESULT"] + "/UINT32_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
240 param_check = open(os.environ["PFW_RESULT"] + "/UINT32_Max").read()[:-1]
248 assert open(os.environ["PFW_RESULT"] + "/UINT32_Max").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
H A DtUINT8.py105 assert open(os.environ["PFW_RESULT"] + "/UINT8").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
143 assert open(os.environ["PFW_RESULT"] + "/UINT8").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
168 param_check = open(os.environ["PFW_RESULT"] + "/UINT8").read()[:-1]
176 assert open(os.environ["PFW_RESULT"] + "/UINT8").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
214 assert open(os.environ["PFW_RESULT"] + "/UINT8").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
239 param_check = open(os.environ["PFW_RESULT"] + "/UINT8").read()[:-1]
247 assert open(os.environ["PFW_RESULT"] + "/UINT8").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
H A DtUINT8_Max.py106 assert open(os.environ["PFW_RESULT"] + "/UINT8_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
144 assert open(os.environ["PFW_RESULT"] + "/UINT8_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
169 param_check = open(os.environ["PFW_RESULT"] + "/UINT8_Max").read()[:-1]
177 assert open(os.environ["PFW_RESULT"] + "/UINT8_Max").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
215 assert open(os.environ["PFW_RESULT"] + "/UINT8_Max").read()[:-1] == hex_value, log.F("FILESYSTEM : parameter update error")
240 param_check = open(os.environ["PFW_RESULT"] + "/UINT8_Max").read()[:-1]
248 assert open(os.environ["PFW_RESULT"] + "/UINT8_Max").read()[:-1] == param_check, log.F("FILESYSTEM : Forbiden parameter change")
/external/apache-harmony/support/src/test/java/tests/support/
H A DSupport_HttpServer.java187 int c = is.read();
201 c = is.read();
449 // read content-length specified data
451 data.write(in.read());
454 // read chunked-encoding data
456 int len = in.read() - 48;
457 in.read();
458 in.read();
461 data.write(in.read());
463 in.read();
[all...]
/external/tremolo/Tremolo/
H A Ddpen.s59 SUBS r4,r4,#1 @ r4 = --read
62 MOV r1,r4 @ r1 = read
71 LDMIA r0,{r4,r6,r7} @ r4 = read = book->max_length
77 MOV r1,r4 @ r1 = read
84 @ r4 = read
96 RSB r1, r4, #0 @ r1 = i-read = 0-read
102 ADDS r1, r1, #1 @ r1 = i-read++ (i-read<0 => i<read)
[all...]
/external/jetty/src/java/org/eclipse/jetty/util/
H A DIO.java74 Reader read; field in class:IO.Job
81 this.read=null;
84 Job(Reader read,Writer write) argument
88 this.read=read;
102 copy(read,write,-1);
190 len=in.read(buffer,0,max);
203 len=in.read(buffer,0,bufferSize);
227 len=in.read(buffer,0,(int)byteCount);
229 len=in.read(buffe
501 public int read() throws IOException method in class:IO.ClosedIS
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DHttpConnection.java53 * <li>Open a source to read the response body. Either {@link
165 return false; // Couldn't read; socket is closed.
389 * cannot be read to completion, subsequent messages cannot be read
413 @Override public long read(Buffer sink, long byteCount) throws IOException { method in class:HttpConnection.FixedLengthSource
418 long read = source.read(sink, Math.min(bytesRemaining, byteCount));
419 if (read == -1) {
424 bytesRemaining -= read;
428 return read;
454 @Override public long read(Buffer sink, long byteCount) throws IOException { method in class:HttpConnection.ChunkedSource
510 @Override public long read(Buffer sink, long byteCount) method in class:HttpConnection.UnknownLengthSource
[all...]
/external/opencv3/modules/core/include/opencv2/core/
H A Dpersistence.hpp60 OpenCV can read and write data in XML (<http://www.w3c.org/XML>) or YAML (<http://www.yaml.org>)
87 The same functions can read and write data in both formats; the particular format is determined by
214 To read the previously written XML or YAML file, do the following:
224 Here is how to read the file created by the code sample above:
254 // you can also easily read numerical arrays using FileNode >> std::vector operator.
307 MEMORY = 4, //!< flag, read data from source or write data to the internal buffer (which is
330 @param source Name of the file to open or the text string to read the data from. Extension of the
351 @param filename Name of the file to open or the text string to read the data from.
445 XML/YAML file is read, it is first parsed and stored in the memory as a hierarchical collection of
561 @param len Number of elements to read
684 template<typename _Tp> static inline void read(const FileNode& node, Point_<_Tp>& value, const Point_<_Tp>& default_value) function in namespace:cv
690 template<typename _Tp> static inline void read(const FileNode& node, Point3_<_Tp>& value, const Point3_<_Tp>& default_value) function in namespace:cv
697 template<typename _Tp> static inline void read(const FileNode& node, Size_<_Tp>& value, const Size_<_Tp>& default_value) function in namespace:cv
703 template<typename _Tp> static inline void read(const FileNode& node, Complex<_Tp>& value, const Complex<_Tp>& default_value) function in namespace:cv
709 template<typename _Tp> static inline void read(const FileNode& node, Rect_<_Tp>& value, const Rect_<_Tp>& default_value) function in namespace:cv
716 template<typename _Tp, int cn> static inline void read(const FileNode& node, Vec<_Tp, cn>& value, const Vec<_Tp, cn>& default_value) function in namespace:cv
722 template<typename _Tp> static inline void read(const FileNode& node, Scalar_<_Tp>& value, const Scalar_<_Tp>& default_value) function in namespace:cv
729 static inline void read(const FileNode& node, Range& value, const Range& default_value) function in namespace:cv
993 void read(const FileNode& node, bool& value, bool default_value) function in namespace:cv
1001 void read(const FileNode& node, uchar& value, uchar default_value) function in namespace:cv
1009 void read(const FileNode& node, schar& value, schar default_value) function in namespace:cv
1017 void read(const FileNode& node, ushort& value, ushort default_value) function in namespace:cv
1025 void read(const FileNode& node, short& value, short default_value) function in namespace:cv
1033 void read( FileNodeIterator& it, std::vector<_Tp>& vec, size_t maxCount = (size_t)INT_MAX ) function in namespace:cv
1040 void read( const FileNode& node, std::vector<_Tp>& vec, const std::vector<_Tp>& default_value = std::vector<_Tp>() ) function in namespace:cv
[all...]
/external/guava/guava/src/com/google/common/io/
H A DCharStreams.java58 * @param from the object to read from
68 while (from.read(buf) != -1) {
81 * @param r the object to read from
93 * @param r the object to read from
112 * @param r the object to read from
128 * returns {@code false} or all lines have been read and returning the result
156 * @param reader the reader to read from
167 // force a blocking read
168 if (reader.read() == -1) {
272 public int read(cha
[all...]
H A DCharSequenceReader.java62 public synchronized int read(CharBuffer target) throws IOException { method in class:CharSequenceReader
76 public synchronized int read() throws IOException { method in class:CharSequenceReader
82 public synchronized int read(char[] cbuf, int off, int len) throws IOException { method in class:CharSequenceReader
/external/guava/guava-tests/test/com/google/common/io/
H A DFileBackedOutputStreamTest.java103 assertTrue(Arrays.equals(data, source.read()));
133 assertTrue(Arrays.equals(data, source.read()));
144 assertTrue(Arrays.equals(data, source.read()));
154 assertTrue(Arrays.equals(data, source.read()));
157 assertTrue(Arrays.equals(new byte[0], source.read()));
160 assertTrue(Arrays.equals(data, source.read()));
H A DIoTestCase.java169 for (int read = in.read(buf); read != -1; read = in.read(buf)) {
170 out.write(buf, 0, read);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/util/
H A DDataInputCompressor.java85 public int read() throws IOException { method in class:DataInputCompressor
86 return dataInput.read();
88 public int read(byte[] b) throws IOException { method in class:DataInputCompressor
89 return dataInput.read(b);
91 public int read(byte[] b, int off, int len) throws IOException { method in class:DataInputCompressor
92 return dataInput.read(b, off, len);
164 while (true) { // read sequence of 7 bits, with top bit = 1 for
/external/replicaisland/src/com/replica/replicaisland/
H A DLevelSystem.java105 signature = (byte)byteStream.read();
107 final int layerCount = (byte)byteStream.read();
108 final int backgroundIndex = (byte)byteStream.read();
117 final int type = (byte)byteStream.read();
118 final int tileIndex = (byte)byteStream.read();
119 byteStream.read(mWorkspaceBytes, 0, 4);
/external/okhttp/okio/okio/src/test/java/okio/
H A DBufferedSourceTest.java74 @Override public long read(Buffer sink, long byteCount) throws IOException {
75 return super.read(sink, Math.min(byteCount, 1L));
238 assertEquals(-1, source.read(sink, 10));
249 assertEquals(-1, source.read(sink, 0));
271 // Verify we read all that we could from the source.
297 // Verify we read all that we could from the source.
305 int read = source.read(sink);
307 assertEquals(1, read);
311 assertEquals(3, read);
[all...]
/external/autotest/client/site_tests/hardware_SAT/
H A Dhardware_SAT.py19 mchbar = struct.unpack('=I', fd.read(4))[0]
26 mad_chnl = struct.unpack('=I', fd.read(4))[0]
28 channel_hash = struct.unpack('=I', fd.read(4))[0]
/external/autotest/client/site_tests/kernel_CpufreqMinMax/
H A Dkernel_CpufreqMinMax.py65 if ('intel_pstate\n' == f.read()):
68 available_freqs = map(int, [fmin.read(), fmax.read()])
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
H A Dkeyfile.py24 Wrapper class to expose a Key being read via a partial implementaiton of the
56 # we position to one before EOF (plus pos) and then read one byte to
65 self.key.read(1)
87 def read(self, size): member in class:KeyFile
89 return self.key.read(size)
/external/emma/core/java12/com/vladium/emma/rt/
H A DClassPathProcessorST.java135 // [original class def read into m_readbuf]
234 // [original class def read into m_readbuf]
324 for (int read;
325 (totalread < length) && (read = in.read (m_readbuf, totalread, length - totalread)) >= 0;
326 totalread += read);
348 for (int read;
349 (totalread < length) && (read = in.read (m_readbuf, totalread, length - totalread)) >= 0;
350 totalread += read);
[all...]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
H A DRemoteControlReaderWriterTest.java49 reader.read();
83 assertFalse(reader.read());
91 assertTrue(reader.read());

Completed in 843 milliseconds

1234567891011>>