Home
last modified time | relevance | path

Searched refs:inStr (Results 1 – 12 of 12) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
DStreams.java21 public static void drain(InputStream inStr) in drain() argument
25 while (inStr.read(bs, 0, bs.length) >= 0) in drain()
37 public static byte[] readAll(InputStream inStr) in readAll() argument
41 pipeAll(inStr, buf); in readAll()
54 public static byte[] readAllLimited(InputStream inStr, int limit) in readAllLimited() argument
58 pipeAllLimited(inStr, limit, buf); in readAllLimited()
70 public static int readFully(InputStream inStr, byte[] buf) in readFully() argument
73 return readFully(inStr, buf, 0, buf.length); in readFully()
86 public static int readFully(InputStream inStr, byte[] buf, int off, int len) in readFully() argument
92 int numRead = inStr.read(buf, off + totalRead, len - totalRead); in readFully()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/util/io/
DStreams.java23 public static void drain(InputStream inStr) in drain() argument
27 while (inStr.read(bs, 0, bs.length) >= 0) in drain()
39 public static byte[] readAll(InputStream inStr) in readAll() argument
43 pipeAll(inStr, buf); in readAll()
56 public static byte[] readAllLimited(InputStream inStr, int limit) in readAllLimited() argument
60 pipeAllLimited(inStr, limit, buf); in readAllLimited()
72 public static int readFully(InputStream inStr, byte[] buf) in readFully() argument
75 return readFully(inStr, buf, 0, buf.length); in readFully()
88 public static int readFully(InputStream inStr, byte[] buf, int off, int len) in readFully() argument
94 int numRead = inStr.read(buf, off + totalRead, len - totalRead); in readFully()
[all …]
/external/icu/icu4c/source/io/
Dsscanf.cpp104 UFILE inStr; in u_vsscanf_u() local
106 inStr.fConverter = NULL; in u_vsscanf_u()
107 inStr.fFile = NULL; in u_vsscanf_u()
108 inStr.fOwnFile = FALSE; in u_vsscanf_u()
110 inStr.fTranslit = NULL; in u_vsscanf_u()
112 inStr.fUCBuffer[0] = 0; in u_vsscanf_u()
113 inStr.str.fBuffer = (UChar *)buffer; in u_vsscanf_u()
114 inStr.str.fPos = (UChar *)buffer; in u_vsscanf_u()
115 inStr.str.fLimit = buffer + u_strlen(buffer); in u_vsscanf_u()
117 if(u_locbund_init(&inStr.str.fBundle, "en_US_POSIX") == 0) { in u_vsscanf_u()
[all …]
/external/libogg/macos/compat/
Dstrdup.c6 char *strdup(const char *inStr) in strdup() argument
10 if (inStr == NULL) { in strdup()
14 outStr = _ogg_malloc(strlen(inStr) + 1); in strdup()
17 strcpy(outStr, inStr); in strdup()
/external/icu/icu4c/source/test/iotest/
Dstream.cpp60 UnicodeString inStr = UNICODE_STRING_SIMPLE(" UTF-8 "); in TestStream() local
106 inTestStream >> inStr >> inStr2; in TestStream()
107 if (inStr.compare(thisMu) != 0) { in TestStream()
108 u_austrncpy(inStrC, toUCharPtr(inStr.getBuffer()), inStr.length()); in TestStream()
109 inStrC[inStr.length()] = 0; in TestStream()
113 u_austrncpy(inStrC, toUCharPtr(inStr.getBuffer()), inStr.length()); in TestStream()
114 inStrC[inStr.length()] = 0; in TestStream()
/external/bzip2/
Dbzip2.c1135 FILE *inStr; in compress() local
1228 inStr = stdin; in compress()
1242 inStr = fopen ( inName, "rb" ); in compress()
1250 if ( inStr != NULL ) fclose ( inStr ); in compress()
1254 if ( inStr == NULL ) { in compress()
1263 inStr = fopen ( inName, "rb" ); in compress()
1268 if ( inStr != NULL ) fclose ( inStr ); in compress()
1272 if ( inStr == NULL ) { in compress()
1295 compressStream ( inStr, outStr ); in compress()
1316 FILE *inStr; in uncompress() local
[all …]
/external/libogg/macos/compat/sys/
Dtypes.h21 char *strdup(const char *inStr);
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPrivateKeyFactory.java81 public static AsymmetricKeyParameter createKey(InputStream inStr) in createKey() argument
84 return createKey(PrivateKeyInfo.getInstance(new ASN1InputStream(inStr).readObject())); in createKey()
DPublicKeyFactory.java124 public static AsymmetricKeyParameter createKey(InputStream inStr) in createKey() argument
127 return createKey(SubjectPublicKeyInfo.getInstance(new ASN1InputStream(inStr).readObject())); in createKey()
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/util/
DPrivateKeyFactory.java83 public static AsymmetricKeyParameter createKey(InputStream inStr) in createKey() argument
86 return createKey(PrivateKeyInfo.getInstance(new ASN1InputStream(inStr).readObject())); in createKey()
DPublicKeyFactory.java126 public static AsymmetricKeyParameter createKey(InputStream inStr) in createKey() argument
129 return createKey(SubjectPublicKeyInfo.getInstance(new ASN1InputStream(inStr).readObject())); in createKey()
/external/deqp/executor/tools/
DxeCommandLineExecutor.cpp80 std::istringstream inStr (src); in parseCommaSeparatedList() local
83 while (std::getline(inStr, comp, ',')) in parseCommaSeparatedList()