| /external/icu/icu4c/source/samples/layout/ |
| FontMap.cpp | 44 char *c, *scriptName, *fontName, *line, buffer[BUFFER_SIZE]; local 56 while (fgets(buffer, BUFFER_SIZE, file) != NULL) { 60 line = strip(buffer);
|
| /external/icu/icu4c/source/samples/ustring/ |
| ustring.cpp | 159 UChar buffer[32]; local 164 buffer[0]=0; /* empty, NUL-terminated string */ 165 u_strncat(buffer, text, 1); /* append just n=1 character ('A') */ 166 u_strcat(buffer, appendText); /* buffer=="Aabc" */ 167 length=u_strlen(buffer); /* length=4 */ 168 printUString("should be \"Aabc\": ", buffer, -1); 170 /* bitwise comparing buffer with text */ 171 compare=u_strcmp(buffer, text); 176 /* Build "A<sharp s>C" in the buffer... * 204 UChar buffer[32]; local 575 UChar buffer[200]; local [all...] |
| /external/icu/icu4c/source/test/intltest/ |
| nptrans.cpp | 161 const UChar* buffer = rsource.getBuffer(); local 168 U16_NEXT(buffer, bufIndex, bufLen, ch); 177 u_memcpy(dest, buffer, bufLen); 215 /* we do not have enough room so grow the buffer*/
|
| tsdcfmsy.cpp | 302 UnicodeString buffer; local 304 buffer = df.format(value, buffer, pos); 305 if(buffer != expected){ 307 expected + ", Got " + buffer);
|
| /external/icu/icu4c/source/test/perf/utrie2perf/ |
| utrie2perf.cpp | 60 countInputCodePoints = u_countChar32(buffer, bufferLen); 63 u_strToUTF8(NULL, 0, &utf8Length, buffer, bufferLen, &status); 68 u_strToUTF8(utf8, utf8Length, NULL, buffer, bufferLen, &status); 86 const UChar *getBuffer() const { return buffer; } 217 const UChar *buffer=testcase.getBuffer(); local 223 U16_NEXT(buffer, i, length, c);
|
| /external/icu/icu4c/source/tools/ctestfw/unicode/ |
| uperf.h | 180 UChar* buffer; member in class:UPerfTest
|
| /external/icu/icu4c/source/tools/gennorm2/ |
| norms.cpp | 127 void Norms::reorder(UnicodeString &mapping, BuilderReorderingBuffer &buffer) const { 135 buffer.append(c, getCC(c)); 137 if(buffer.didReorder()) { 138 buffer.toString(mapping); 297 UChar buffer[3]; local 298 int32_t hangulLength=Hangul::decompose(c, buffer); 311 decomposed->append(buffer, hangulLength);
|
| /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
| CharsetMatch.java | 93 char[] buffer = new char[1024]; local 98 while ((bytesRead = reader.read(buffer, 0, Math.min(max, 1024))) >= 0) { 99 sb.append(buffer, 0, bytesRead);
|
| /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
| UnicodeNormalizer.java | 52 * replacing contents of the target buffer. 90 * replacing contents of the target buffer. 99 StringBuffer buffer = new StringBuffer(); local 103 buffer.setLength(0); 106 data.getRecursiveDecomposition(canonical, ch, buffer); 112 for (int j = 0; j < buffer.length();) { 113 ch = UTF16Util.nextCodePoint(buffer, j);
|
| /external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
| TestBoilerplate.java | 169 StringBuilder buffer = new StringBuilder(); local 172 buffer.append(key + "=>" + m.get(key) + "\r\n"); 174 return buffer.toString(); 189 StringBuilder buffer = new StringBuilder(); local 191 buffer.append(it.next() + "\r\n"); 193 return buffer.toString();
|
| /external/iproute2/tc/ |
| q_htb.c | 117 unsigned buffer = 0, cbuffer = 0; local 159 strcmp(*argv, "buffer") == 0 || 162 if (get_size_and_cell(&buffer, &cell_log, *argv) < 0) { 163 explain1("buffer"); 224 sute that buffer is larger than mtu and to have some safeguard space */ 225 if (!buffer) 226 buffer = rate64 / get_hz() + mtu; 240 opt.buffer = tc_calc_xmittime(rate64, buffer); 269 double buffer, cbuffer local [all...] |
| /external/iptables/extensions/ |
| libebt_ip.c | 69 char *buffer; local 72 buffer = strdup(portstring); 73 if ((cp = strchr(buffer, ':')) == NULL) 74 ports[0] = ports[1] = xtables_parse_port(buffer, NULL); 79 ports[0] = buffer[0] ? xtables_parse_port(buffer, NULL) : 0; 86 free(buffer);
|
| libip6t_icmp6.c | 124 char buffer[strlen(icmpv6type) + 1]; local 127 strcpy(buffer, icmpv6type); 128 slash = strchr(buffer, '/'); 133 if (!xtables_strtoui(buffer, NULL, &number, 0, UINT8_MAX)) 135 "Invalid ICMPv6 type `%s'\n", buffer);
|
| libip6t_ipv6header.c | 148 char *buffer; local 150 buffer = strdup(flags); 152 for (ptr = strtok(buffer, ","); ptr; ptr = strtok(NULL, ",")) 155 free(buffer);
|
| libip6t_mh.c | 107 char *buffer; local 110 buffer = strdup(mhtype); 111 if ((cp = strchr(buffer, ':')) == NULL) 112 types[0] = types[1] = name_to_type(buffer); 117 types[0] = buffer[0] ? name_to_type(buffer) : 0; 124 free(buffer);
|
| libip6t_rt.c | 74 char *buffer, *cp, *next; local 77 buffer = strdup(addrstr); 78 if (!buffer) xtables_error(OTHER_PROBLEM, "strdup failed"); 80 for (cp=buffer, i=0; cp && i<IP6T_RT_HOPS; cp=next,i++) 93 free(buffer);
|
| libipt_icmp.c | 144 char buffer[strlen(icmptype) + 1]; local 147 strcpy(buffer, icmptype); 148 slash = strchr(buffer, '/'); 153 if (!xtables_strtoui(buffer, NULL, &number, 0, UINT8_MAX)) 155 "Invalid ICMP type `%s'\n", buffer);
|
| libxt_dccp.c | 83 char *ptr, *buffer; local 85 buffer = strdup(typestring); 87 for (ptr = strtok(buffer, ","); ptr; ptr = strtok(NULL, ",")) { 99 free(buffer);
|
| libxt_tcp.c | 43 char *buffer; local 46 buffer = strdup(portstring); 47 if ((cp = strchr(buffer, ':')) == NULL) 48 ports[0] = ports[1] = xtables_parse_port(buffer, "tcp"); 53 ports[0] = buffer[0] ? xtables_parse_port(buffer, "tcp") : 0; 60 free(buffer); 84 char *buffer; local 86 buffer = strdup(flags); 88 for (ptr = strtok(buffer, ","); ptr; ptr = strtok(NULL, ",")) [all...] |
| /external/jacoco/org.jacoco.core/src/org/jacoco/core/data/ |
| ExecutionDataWriter.java | 118 final ByteArrayOutputStream buffer = new ByteArrayOutputStream(); local 120 new ExecutionDataWriter(buffer); 125 return buffer.toByteArray();
|
| /external/jacoco/org.jacoco.report.test/src/org/jacoco/report/ |
| ZipMultiReportOutputTest.java | 38 private ByteArrayOutputStream buffer; field in class:ZipMultiReportOutputTest 44 buffer = new ByteArrayOutputStream(); 45 zipOutput = new ZipMultiReportOutput(buffer); 176 final byte[] bytes = buffer.toByteArray();
|
| /external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/page/ |
| SourceHighlighterTest.java | 38 private StringWriter buffer; field in class:SourceHighlighterTest 52 buffer = new StringWriter(); 53 html = new HTMLDocument(buffer, "UTF-8"); 64 final Document doc = htmlSupport.parse(buffer.toString()); 74 final Document doc = htmlSupport.parse(buffer.toString()); 84 final Document doc = htmlSupport.parse(buffer.toString()); 98 final Document doc = htmlSupport.parse(buffer.toString()); 113 final Document doc = htmlSupport.parse(buffer.toString()); 123 final Document doc = htmlSupport.parse(buffer.toString()); 135 final Document doc = htmlSupport.parse(buffer.toString()) [all...] |
| /external/jsilver/src/com/google/clearsilver/jsilver/adaptor/ |
| JCs.java | 135 Appendable buffer = jSilver.createAppendableBuffer(); local 137 Appendable output = buffer; 150 jSilver.releaseAppendableBuffer(buffer);
|
| /external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
| VariableTranslator.java | 150 StringWriter buffer = new StringWriter(); local 151 PrintWriter out = new PrintWriter(buffer); 160 return literal(Type.VAR_NAME, buffer.toString());
|
| /external/jsoncpp/src/jsontestrunner/ |
| main.cpp | 18 char buffer[32]; local 20 sprintf_s(buffer, sizeof(buffer), "%.16g", value); 22 snprintf(buffer, sizeof(buffer), "%.16g", value); 24 buffer[sizeof(buffer) - 1] = 0; 25 std::string s(buffer); 53 char* buffer = new char[size + 1]; local 54 buffer[size] = 0 99 static char buffer[16]; local [all...] |