Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/
DStreams.java12 public static void drain(InputStream inStr) in drain() argument
16 while (inStr.read(bs, 0, bs.length) >= 0) in drain()
21 public static byte[] readAll(InputStream inStr) in readAll() argument
25 pipeAll(inStr, buf); in readAll()
29 public static byte[] readAllLimited(InputStream inStr, int limit) in readAllLimited() argument
33 pipeAllLimited(inStr, limit, buf); in readAllLimited()
37 public static int readFully(InputStream inStr, byte[] buf) in readFully() argument
40 return readFully(inStr, buf, 0, buf.length); in readFully()
43 public static int readFully(InputStream inStr, byte[] buf, int off, int len) in readFully() argument
49 int numRead = inStr.read(buf, off + totalRead, len - totalRead); in readFully()
[all …]
/external/chromium_org/third_party/icu/source/io/
Dsscanf.c102 UFILE inStr; in u_vsscanf_u() local
104 inStr.fConverter = NULL; in u_vsscanf_u()
105 inStr.fFile = NULL; in u_vsscanf_u()
106 inStr.fOwnFile = FALSE; in u_vsscanf_u()
108 inStr.fTranslit = NULL; in u_vsscanf_u()
110 inStr.fUCBuffer[0] = 0; in u_vsscanf_u()
111 inStr.str.fBuffer = (UChar *)buffer; in u_vsscanf_u()
112 inStr.str.fPos = (UChar *)buffer; in u_vsscanf_u()
113 inStr.str.fLimit = buffer + u_strlen(buffer); in u_vsscanf_u()
115 if(u_locbund_init(&inStr.str.fBundle, "en_US_POSIX") == 0) { in u_vsscanf_u()
[all …]
/external/icu/icu4c/source/io/
Dsscanf.c102 UFILE inStr; in u_vsscanf_u() local
104 inStr.fConverter = NULL; in u_vsscanf_u()
105 inStr.fFile = NULL; in u_vsscanf_u()
106 inStr.fOwnFile = FALSE; in u_vsscanf_u()
108 inStr.fTranslit = NULL; in u_vsscanf_u()
110 inStr.fUCBuffer[0] = 0; in u_vsscanf_u()
111 inStr.str.fBuffer = (UChar *)buffer; in u_vsscanf_u()
112 inStr.str.fPos = (UChar *)buffer; in u_vsscanf_u()
113 inStr.str.fLimit = buffer + u_strlen(buffer); in u_vsscanf_u()
115 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/libvorbis/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.cpp58 UnicodeString inStr = UNICODE_STRING_SIMPLE(" UTF-8 "); in TestStream() local
104 inTestStream >> inStr >> inStr2; in TestStream()
105 if (inStr.compare(thisMu) != 0) { in TestStream()
106 u_austrncpy(inStrC, inStr.getBuffer(), inStr.length()); in TestStream()
107 inStrC[inStr.length()] = 0; in TestStream()
111 u_austrncpy(inStrC, inStr.getBuffer(), inStr.length()); in TestStream()
112 inStrC[inStr.length()] = 0; in TestStream()
/external/chromium_org/third_party/icu/source/test/iotest/
Dstream.cpp65 UnicodeString inStr = UNICODE_STRING_SIMPLE(" UTF-8 "); in TestStream() local
111 inTestStream >> inStr >> inStr2; in TestStream()
112 if (inStr.compare(thisMu) != 0) { in TestStream()
113 u_austrncpy(inStrC, inStr.getBuffer(), inStr.length()); in TestStream()
114 inStrC[inStr.length()] = 0; in TestStream()
118 u_austrncpy(inStrC, inStr.getBuffer(), inStr.length()); in TestStream()
119 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/chromium_org/third_party/tlslite/tlslite/utils/
Dpem.py96 def pemSniff(inStr, name): argument
98 return searchStr in inStr
/external/libogg/macos/compat/sys/
Dtypes.h21 char *strdup(const char *inStr);
/external/libvorbis/macos/compat/sys/
Dtypes.h21 char *strdup(const char *inStr);
/external/svox/pico/lib/
Dpicotrns.c703 pico_status_t picotrns_stAddWithPlane(picotrns_SimpleTransducer this, picoos_char * inStr, picoos_u… in picotrns_stAddWithPlane() argument
705 while ((*inStr) && (this->possymWritePos < PICOTRNS_MAX_NUM_POSSYM)) { in picotrns_stAddWithPlane()
707 this->possymBuf[this->possymWritePos].sym = (plane << 8) + (*inStr); in picotrns_stAddWithPlane()
713 inStr++; in picotrns_stAddWithPlane()
715 if (!(*inStr)) { in picotrns_stAddWithPlane()
Dpicotrns.h174 pico_status_t picotrns_stAddWithPlane(picotrns_SimpleTransducer this, picoos_char * inStr, picoos_u…
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/util/
DPrivateKeyFactory.java66 public static AsymmetricKeyParameter createKey(InputStream inStr) throws IOException in createKey() argument
68 return createKey(PrivateKeyInfo.getInstance(new ASN1InputStream(inStr).readObject())); in createKey()
DPublicKeyFactory.java73 public static AsymmetricKeyParameter createKey(InputStream inStr) throws IOException in createKey() argument
75 return createKey(SubjectPublicKeyInfo.getInstance(new ASN1InputStream(inStr).readObject())); in createKey()
/external/chromium_org/third_party/angle/src/compiler/translator/
DOutputGLSLBase.h28 void writeTriplet(Visit visit, const char *preStr, const char *inStr, const char *postStr);
DOutputGLSLBase.cpp63 Visit visit, const char *preStr, const char *inStr, const char *postStr) in writeTriplet() argument
68 else if (visit == InVisit && inStr) in writeTriplet()
69 out << inStr; in writeTriplet()
/external/deqp/executor/tools/
DxeCommandLineExecutor.cpp66 std::istringstream inStr (src); in parseCommaSeparatedList() local
69 while (std::getline(inStr, comp, ',')) in parseCommaSeparatedList()