/external/icu/icu4c/source/tools/icuswap/ |
icuswap.cpp | 104 FILE *in, *out; local 119 fprintf(stderr, "Warning: icuswap is an obsolete tool and it will be removed in the next ICU release.\nPlease use the icupkg tool instead.\n"); 161 in=out=NULL; 165 in=fopen(argv[1], "rb"); 166 if(in==NULL) { 172 length=fileSize(in); 195 if(length!=(int32_t)fread(data, 1, length, in)) { 201 fclose(in); 202 in=NULL; 204 /* swap the data in-place * [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
pkg_gencmn.c | 46 All item names are stored as char * strings in one block between the ToC table 53 The data items are stored in the sorted order of their names. 124 FileStream *in, *file; local 150 in = T_FileStream_stdin(); 152 in = T_FileStream_open(dataFile, "r"); 153 if(in == NULL) { 168 while((s != NULL && *s != 0) || (s=T_FileStream_readLine(in, (line=linePtr), 208 if(in!=T_FileStream_stdin()) { 209 T_FileStream_close(in); 213 fprintf(stderr, "gencmn: no files listed in %s\n", dataFile == NULL ? "<stdin>" : dataFile) [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Punycode.java | 59 * point (for use in representing integers) in the range 0 to 104 * (when used for representing integers) is d, which must be in the 106 * nonzero, in which case the uppercase form is used. 138 * convert extended ones to UTF-32 in cpBuffer (caseFlag in sign bit): 274 int n, i, bias, basicLength, j, in, oldi, w, k, digit, t, local 316 for(in=basicLength>0 ? basicLength+1 : 0; in<srcLength; /* no op */) { 318 * in is the index of the next character to be consumed, an [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
SelectFormat.java | 44 * <li>German differs from English in that the gender of nouns is rather 49 * <li>French has only two genders; as in German the gender of nouns 51 * are the opposite of those in German. The gender affects 62 * but similar in grammatical use. 65 * <p><b>Note:</b>For the gender of a <i>person</i> in a given sentence, 80 * each noun and per language, e.g., in resource bundles. 97 * move bits of the sentence in and out of the select argument of a message. 124 * <p>Each message is a MessageFormat pattern string enclosed in {curly braces}. 185 * Patterns and their interpretation are specified in the class description. 311 * @return the string buffer passed in as toAppendTo, with formatted tex [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
PunycodeReference.java | 16 and distribute it in any way that does not diminish the rights 34 * The implementation is direct port of C code in the RFC 68 /* point (for use in representing integers) in the range 0 to */ 78 /* (when used for representing integers) is d, which needs to be in */ 80 /* nonzero, in which case the uppercase form is used. The behavior */ 223 int[] in = new int[input.length()]; local 229 in[inLen++]=ch; 237 rc = encode(inLen,in,case_flags, outLen, output); 259 throw new StringPrepParseException("Illegal char found in the input",StringPrepParseException.ILLEGAL_CHAR_FOUND) 269 char[] in = input.toString().toCharArray(); local 301 b, j, in, oldi, w, k, digit, t; local [all...] |
/external/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/ |
BreakIteratorPerformanceTest.java | 39 // read in the input file, being careful with a possible BOM 40 FileInputStream in = new FileInputStream(fileName); local 41 BOMFreeReader reader = new BOMFreeReader(in, encoding);
|
/external/icu/tools/ |
ZoneCompactor.java | 27 // Maximum number of characters in a zone name, including '\0' terminator. 43 InputStream in = new FileInputStream(inFile); local 46 int nbytes = in.read(buf); 89 // Fill in fields for links. 106 // int index_offset -- so we can slip in extra header fields in a backwards-compatible way 164 // Go back and fix up the offsets in the header.
|
/external/iproute2/include/linux/ |
netfilter.h | 7 #include <linux/in.h> 74 struct in_addr in; member in union:nf_inet_addr
|
/external/iptables/iptables/ |
ip6tables-restore.c | 166 "The -t option (seen in line %u) cannot be " 167 "used in ip6tables-restore.\n", line); 190 FILE *in; local 244 in = fopen(argv[optind], "re"); 245 if (!in) { 255 else in = stdin; 264 while (fgets(buffer, sizeof(buffer), in)) { 408 /* we have counters in our input */ 472 fclose(in);
|
iptables-restore.c | 165 "The -t option (seen in line %u) cannot be " 166 "used in iptables-restore.\n", line); 190 FILE *in; local 244 in = fopen(argv[optind], "re"); 245 if (!in) { 255 else in = stdin; 264 while (fgets(buffer, sizeof(buffer), in)) { 408 /* we have counters in our input */ 472 fclose(in);
|
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/ |
MockSocketConnection.java | 74 private final InputStream in = new InputStream() { field in class:MockSocketConnection.MockSocket 131 return in;
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/instr/ |
InstrumenterTest.java | 145 InputStream in = TargetLoader.getClassData(getClass()); local 148 int count = instrumenter.instrumentAll(in, out, "Test"); 228 InputStream in = new ByteArrayInputStream("text".getBytes()); local 231 int count = instrumenter.instrumentAll(in, out, "Test");
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/tools/ |
ExecFileLoaderTest.java | 135 final InputStream in = new FileInputStream(file); local 138 final ExecutionDataReader reader = new ExecutionDataReader(in);
|
/external/jetty/src/java/org/eclipse/jetty/util/ |
TypeUtil.java | 493 public static byte[] readLine(InputStream in) throws IOException 503 ch=in.read(); 528 if (ch==CR && in.available()>=1 && in.markSupported()) 530 in.mark(1); 531 ch=in.read(); 533 in.reset();
|
/external/junit/src/junit/textui/ |
TestRunner.java | 129 System.in.read();
|
/external/kernel-headers/original/uapi/linux/ |
netfilter.h | 7 #include <linux/in.h> 76 struct in_addr in; member in union:nf_inet_addr
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/serialization/ |
PropertyInfo.java | 5 * associated documentation files (the "Software"), to deal in the Software without restriction, including 10 * The above copyright notice and this permission notice shall be included in all copies or substantial 14 * LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO 16 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 17 * USE OR OTHER DEALINGS IN THE SOFTWARE. 253 // a copy of the object back in. 254 ObjectInputStream in = new ObjectInputStream( local 256 obj = in.readObject();
|
SppPropertyInfo.java | 5 * associated documentation files (the "Software"), to deal in the Software without restriction, including 10 * The above copyright notice and this permission notice shall be included in all copies or substantial 14 * LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO 16 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE 17 * USE OR OTHER DEALINGS IN THE SOFTWARE. 253 // a copy of the object back in. 254 ObjectInputStream in = new ObjectInputStream( local 256 obj = in.readObject();
|
/external/libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/ |
GwtFileHandle.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 45 throw new GdxRuntimeException("FileType '" + type + "' Not supported in GWT backend"); 96 throw new GdxRuntimeException("Not supported in GWT backend"); 102 InputStream in = preloader.read(file); local 103 if (in == null) throw new GdxRuntimeException(file + " does not exist"); 104 return in; 225 throw new GdxRuntimeException("Cannot write to files in GWT backend"); 234 throw new GdxRuntimeException("Cannot write to files in GWT backend"); 251 throw new GdxRuntimeException("Cannot write to files in GWT backend") [all...] |
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/glutils/ |
ETC1.java | 5 * you may not use this file except in compliance with the License.
10 * Unless required by applicable law or agreed to in writing, software
39 /** The PKM header size in bytes **/
46 /** the width in pixels **/
48 /** the height in pixels **/
52 /** the offset in bytes to the actual compressed data. Might be 16 if this contains a PKM header, 0 otherwise **/
65 DataInputStream in = null;
local 67 in = new DataInputStream(new BufferedInputStream(new GZIPInputStream(pkmFile.read())));
68 int fileSize = in.readInt();
71 while ((readBytes = in.read(buffer)) != -1) { [all...] |
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
FilesTest.java | 4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the
9 * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS"
52 InputStream in = Gdx.files.internal("data/cube.obj").read();
local 53 StreamUtils.closeQuietly(in);
73 InputStream in = Gdx.files.external("test.txt").read();
local 74 StreamUtils.closeQuietly(in);
80 BufferedReader in = null;
local 82 in = new BufferedReader(new InputStreamReader(Gdx.files.external("test.txt").read()));
83 if (!in.readLine().equals("test"))
92 StreamUtils.closeQuietly(in);
117 InputStream in = Gdx.files.local("test.txt").read(); local 124 BufferedReader in = null; local [all...] |
/external/libvorbis/vq/ |
bookutil.c | 6 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. * 68 /* assumes the value patterning created by the tools in vq/ */ 85 char *get_line(FILE *in){ 87 if(feof(in))return NULL; 103 long c=fgetc(in); 131 int get_line_value(FILE *in,float *value){ 148 int get_next_value(FILE *in,float *value){ 150 if(get_line_value(in,value)){ 151 value_line_buff=get_line(in); 159 int get_next_ivalue(FILE *in,long *ivalue) 237 FILE *in=fopen(filename,"r"); local [all...] |
/external/libvpx/libvpx/vpx_dsp/ |
fwd_txfm.c | 5 * that can be found in the LICENSE file in the root of the source 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 15 // similar. In the first one, we transform the columns and transpose 16 // the results. In the second one, we transform the rows. To achieve that, 19 // in normal/row positions). 24 const tran_low_t *in = NULL; local 43 input[0] = in[0 * 4] 96 const tran_low_t *in = NULL; local 199 const tran_low_t *in = NULL; local [all...] |
/external/lzma/C/ |
Aes.c | 104 /* such order (2031) in HT16 is for VC6/K8 speed optimization) */
120 /* such order (0231) in HD16 is for VC6/K8 speed optimization) */
245 UInt32 in[4], out[4];
local 248 in[0] = GetUi32(data);
249 in[1] = GetUi32(data + 4);
250 in[2] = GetUi32(data + 8);
251 in[3] = GetUi32(data + 12);
253 Aes_Decode(p + 4, out, in);
260 p[0] = in[0];
261 p[1] = in[1]; [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_vs.h | 8 * "Software"), to deal in the Software without restriction, including 15 * next paragraph) shall be included in all copies or substantial portions 21 * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR 22 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 23 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 24 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 58 struct draw_variant_input in; member in struct:draw_variant_element 132 /* Run the shader - this interface will get cleaned up in the
|