/packages/apps/Email/src/org/apache/commons/io/input/ |
H A D | AutoCloseInputStream.java | 106 * @param len maximum number of bytes to read
110 public int read(byte[] b, int off, int len) throws IOException {
argument 111 int n = in.read(b, off, len);
|
H A D | CountingInputStream.java | 68 * @param len the maximum number of bytes to read
73 public int read(byte[] b, int off, int len) throws IOException {
argument 74 int found = super.read(b, off, len);
|
/packages/apps/Email/src/org/apache/commons/io/output/ |
H A D | CountingOutputStream.java | 65 * @param len the maximum number of bytes to write
69 public void write(byte[] b, int off, int len) throws IOException {
argument 70 count += len;
71 super.write(b, off, len);
|
H A D | NullOutputStream.java | 42 * @param len The number of bytes to write
44 public void write(byte[] b, int off, int len) {
argument
|
H A D | TeeOutputStream.java | 58 * @param len The number of bytes to write
61 public synchronized void write(byte[] b, int off, int len) throws IOException {
argument 62 super.write(b, off, len);
63 this.branch.write(b, off, len);
|
H A D | ThresholdingOutputStream.java | 116 * Writes <code>len</code> bytes from the specified byte array starting at
121 * @param len The number of bytes to write.
125 public void write(byte b[], int off, int len) throws IOException
argument 127 checkThreshold(len);
128 getStream().write(b, off, len);
129 written += len;
|
H A D | ByteArrayOutputStream.java | 137 * @param len The number of bytes to write
139 public void write(byte[] b, int off, int len) {
argument 142 || (len < 0)
143 || ((off + len) > b.length)
144 || ((off + len) < 0)) {
146 } else if (len == 0) {
150 int newcount = count + len;
151 int remaining = len;
155 System.arraycopy(b, off + len - remaining, currentBuffer, inBufferPos, part);
|
/packages/apps/Email/src/org/apache/james/mime4j/ |
H A D | RootInputStream.java | 90 public int read(byte[] b, int off, int len) throws IOException {
argument 95 int n = is.read(b, off, len);
|
H A D | CloseShieldInputStream.java | 115 public int read(byte b[], int off, int len) throws IOException {
argument 117 return is.read(b, off, len);
|
/packages/inputmethods/OpenWnn/libs/libwnnDictionary/engine/ |
H A D | necode.c | 39 NJ_INT16 nje_convert_hira_to_kata(NJ_CHAR *hira, NJ_CHAR *kata, NJ_UINT16 len) argument 46 while (pnt < len) {
|
/packages/apps/Email/src/org/apache/james/mime4j/decoder/ |
H A D | Base64InputStream.java | 104 private void decodeAndEnqueue(int len) {
argument 112 // for the most common case of len==4
113 if (len == 4) {
119 } else if (len == 3) {
124 } else { // len == 2
|
/packages/apps/Email/src/org/apache/james/mime4j/util/ |
H A D | PartialInputStream.java | 50 public int read(byte b[], int off, int len) throws IOException {
argument 51 len = Math.min(len, getBytesLeft());
52 return super.read(b, off, len); //To change body of overridden methods use File | Settings | File Templates.
|
H A D | PositionInputStream.java | 81 public int read(byte b[], int off, int len) throws IOException {
argument 82 final int c = inputStream.read(b, off, len);
|
/packages/apps/IM/libwbxml/include/ |
H A D | wbxml_stl.h | 40 string(const char* o, size_t len) : argument 41 String8(o, len) 49 string & assign(const char* other, int len) argument 51 setTo(other, len); 74 char c[2] = {ch, 0}; // temporary workaround for String8.append(str, len) bug
|
H A D | wbxml_encoder.h | 30 virtual void wbxmlData(const char *data, uint32_t len) = 0; 58 virtual EncoderError characters(const char *chars, int len) = 0; 68 static bool parseUint(const char * s, int len, uint32_t *res); 74 EncoderError encodeInteger(const char *chars, int len); 75 EncoderError encodeDatetime(const char *chars, int len); 76 void encodeInlinedStr(const char *s, int len); 89 void appendResult(const char *s, int len) argument 91 mResult.append(s, len);
|
/packages/apps/IM/libwbxml/src/ |
H A D | csp13values_hash.c | 75 hash (str, len) 77 register unsigned int len; 108 register int hval = len; 125 return hval + asso_values[(unsigned char)str[len - 1]]; 591 findToken (str, len) 593 register unsigned int len; 595 if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH) 597 register int key = hash (str, len); 603 if (*str == *s && !strncmp (str + 1, s + 1, len 612 csp13ValueTokenToKey(const char * str, int len) argument [all...] |
H A D | expat_parser.cpp | 55 void ExpatParser::charactersWrapper(void *userData, const char *data, int len) argument 59 self->mHandler->characters(data, len); 83 int ExpatParser::parse(const char * data, int len, bool end) argument 85 return XML_Parse(mExpat, data, len, end);
|
H A D | imps_encoder.cpp | 104 EncoderError ImpsWbxmlEncoder::characters(const char *chars, int len) argument 106 if (chars == NULL || len < 0) { 109 if (!len) { 112 while (len && isXmlWhitespace(*chars)) { 114 len--; 116 while (len && isXmlWhitespace(chars[len - 1])) { 117 len--; 119 if (!len) { 124 return encodeInteger(chars, len); 132 opaque(const char *chars, int len) argument 160 encodeString(const char *chars, int len) argument [all...] |
H A D | wbxml_encoder.cpp | 27 bool WbxmlEncoder::parseUint(const char * s, int len, uint32_t *res) argument 29 string str(s, len); 39 EncoderError WbxmlEncoder::encodeInteger(const char *chars, int len) argument 42 if (!parseUint(chars, len, &val)) { 68 EncoderError WbxmlEncoder::encodeDatetime(const char *chars, int len) argument 71 if (len != 16 || chars[8] != 'T' || chars[15] != 'Z') { 99 void WbxmlEncoder::encodeInlinedStr(const char *s, int len) argument 103 appendResult(s, len); 155 int len = 0; local 157 len [all...] |
H A D | xml2wbxml.cpp | 124 void Xml2WbxmlEncoder::characters(const char *data, int len) argument 129 setError(mEncoder->characters(data, len));
|
/packages/inputmethods/PinyinIME/jni/share/ |
H A D | sync.cpp | 70 int Sync::put_lemmas(char16 * lemmas, int len) { argument 71 return userdict_->put_lemmas_no_sync_from_utf16le_string(lemmas, len);
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/ |
H A D | Builder.java | 219 private int len;
field in class:Builder.ChildNodeIterator 223 this.len = simpleNode.jjtGetNumChildren();
232 return index < len;
|
/packages/apps/IM/src/com/android/im/imps/ |
H A D | WbxmlSerializer.java | 98 * @param len 101 void onWbxmlData(byte[] data, int len) throws IOException { argument 103 mOut.write(data, 0, len);
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
H A D | SimpleCharStream.java | 383 public char[] GetSuffix(int len) argument 385 char[] ret = new char[len]; 387 if ((bufpos + 1) >= len) 388 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); 391 System.arraycopy(buffer, bufsize - (len - bufpos - 1), ret, 0, 392 len - bufpos - 1); 393 System.arraycopy(buffer, 0, ret, len - bufpos - 1, bufpos + 1); 412 int len; 416 len [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/ |
H A D | SimpleCharStream.java | 383 public char[] GetSuffix(int len) argument 385 char[] ret = new char[len]; 387 if ((bufpos + 1) >= len) 388 System.arraycopy(buffer, bufpos - len + 1, ret, 0, len); 391 System.arraycopy(buffer, bufsize - (len - bufpos - 1), ret, 0, 392 len - bufpos - 1); 393 System.arraycopy(buffer, 0, ret, len - bufpos - 1, bufpos + 1); 412 int len; 416 len [all...] |