Searched refs:buffer (Results 251 - 275 of 3377) sorted by relevance

<<11121314151617181920>>

/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dsha1_i.h15 unsigned char buffer[64]; member in struct:SHA1Context
21 void SHA1Transform(u32 state[5], const unsigned char buffer[64]);
/external/icu/icu4c/source/test/cintltst/
H A Dcstrcase.c40 UChar buffer[32]; local
45 buffer[0]=0xabcd;
47 length=u_strToLower(buffer, sizeof(buffer)/U_SIZEOF_UCHAR,
53 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)!=0 ||
54 buffer[length]!=0
59 uprv_memcmp(lowerRoot, buffer, length*U_SIZEOF_UCHAR)==0 &&
60 buffer[length]==0 ? "yes" : "no",
62 aescstrdup(buffer,-1));
65 /* lowercase with turkish locale and in the same buffer */
138 UChar buffer[32]; local
234 UChar buffer[32]; local
338 UChar buffer[32]; local
431 UChar buffer[32]; local
873 UChar buffer[32]; local
[all...]
/external/protobuf/src/google/protobuf/stubs/
H A Dstrutil.cc46 // char buffer[32];
47 // snprintf(buffer, 32, "%.*g\n", FLT_DIG, 1.23e10f);
69 // string manipulation is all in relation to the protocol buffer and C++
425 // a dest buffer. This should be used for non performance critical
721 // Offset into buffer where FastInt64ToBuffer places the end of string
725 char *FastInt64ToBuffer(int64 i, char* buffer) {
729 char* p = buffer + kFastInt64ToBufferOffset;
763 // Offset into buffer where FastInt32ToBuffer places the end of string
770 char *FastInt32ToBuffer(int32 i, char* buffer) { argument
774 char* p = buffer
808 FastHexToBuffer(int i, char* buffer) argument
821 InternalFastHexToBuffer(uint64 value, char* buffer, int num_byte) argument
838 FastHex64ToBuffer(uint64 value, char* buffer) argument
842 FastHex32ToBuffer(uint32 value, char* buffer) argument
892 FastUInt32ToBufferLeft(uint32 u, char* buffer) argument
974 FastInt32ToBufferLeft(int32 i, char* buffer) argument
983 FastUInt64ToBufferLeft(uint64 u64, char* buffer) argument
1025 FastInt64ToBufferLeft(int64 i, char* buffer) argument
1042 char buffer[kFastToBufferSize]; local
1049 char buffer[kFastToBufferSize]; local
1056 char buffer[kFastToBufferSize]; local
1063 char buffer[kFastToBufferSize]; local
1070 char buffer[kFastToBufferSize]; local
1077 char buffer[kFastToBufferSize]; local
1125 char buffer[kDoubleToBufferSize]; local
1130 char buffer[kFloatToBufferSize]; local
1140 DelocalizeRadix(char* buffer) argument
1167 DoubleToBuffer(double value, char* buffer) argument
1222 FloatToBuffer(float value, char* buffer) argument
[all...]
/external/nist-sip/java/gov/nist/core/
H A DStringTokenizer.java43 protected String buffer; field in class:StringTokenizer
51 public StringTokenizer(String buffer) { argument
52 this.buffer = buffer;
53 bufferLen = buffer.length();
61 char c = buffer.charAt(ptr);
68 return buffer.substring(startIdx, ptr);
114 while (ptr < bufferLen && buffer.charAt(ptr) != '\n') {
117 if (ptr < bufferLen && buffer.charAt(ptr) == '\n') {
120 return buffer
[all...]
/external/apache-http/src/org/apache/http/auth/
H A DBasicUserPrincipal.java87 StringBuilder buffer = new StringBuilder();
88 buffer.append("[principal: ");
89 buffer.append(this.username);
90 buffer.append("]");
91 return buffer.toString();
/external/apache-http/src/org/apache/http/impl/cookie/
H A DBasicClientCookie.java329 StringBuilder buffer = new StringBuilder();
330 buffer.append("[version: ");
331 buffer.append(Integer.toString(this.cookieVersion));
332 buffer.append("]");
333 buffer.append("[name: ");
334 buffer.append(this.name);
335 buffer.append("]");
336 buffer.append("[value: ");
337 buffer.append(this.value);
338 buffer
[all...]
/external/apache-http/src/org/apache/http/message/
H A DLineParser.java72 * @param buffer a buffer holding the protocol version to parse
74 * the bounds within the buffer for the parsing operation
81 CharArrayBuffer buffer,
94 * @param buffer a buffer holding the line to inspect
105 CharArrayBuffer buffer,
112 * @param buffer a buffer holding the line to parse
114 * the bounds within the buffer fo
80 parseProtocolVersion( CharArrayBuffer buffer, ParserCursor cursor) argument
104 hasProtocolVersion( CharArrayBuffer buffer, ParserCursor cursor) argument
120 parseRequestLine( CharArrayBuffer buffer, ParserCursor cursor) argument
136 parseStatusLine( CharArrayBuffer buffer, ParserCursor cursor) argument
156 parseHeader(CharArrayBuffer buffer) argument
[all...]
/external/easymock/src/org/easymock/internal/matchers/
H A DAnd.java43 public void appendTo(StringBuffer buffer) { argument
44 buffer.append("and(");
46 it.next().appendTo(buffer);
48 buffer.append(", ");
51 buffer.append(")");
H A DOr.java43 public void appendTo(StringBuffer buffer) { argument
44 buffer.append("or(");
46 it.next().appendTo(buffer);
48 buffer.append(", ");
51 buffer.append(")");
/external/guava/guava/src/com/google/common/hash/
H A DAbstractStreamingHashFunction.java87 private final ByteBuffer buffer; field in class:AbstractStreamingHashFunction.AbstractStreamingHasher
108 * size, using an internal buffer of {@code bufferSize} size, which must be a multiple of
113 * @param bufferSize the size of the internal buffer. Must be a multiple of chunkSize
119 // TODO(user): benchmark performance difference with longer buffer
120 this.buffer = ByteBuffer
128 * Processes the available bytes of the buffer (at most {@code chunk} bytes).
163 if (readBuffer.remaining() <= buffer.remaining()) {
164 buffer.put(readBuffer);
169 // First add just enough to fill buffer size, and munch that
170 int bytesToCopy = bufferSize - buffer
[all...]
/external/junit/src/junit/framework/
H A DTestFailure.java41 StringBuffer buffer= new StringBuffer();
42 buffer.append(fFailedTest+": "+fThrownException.getMessage());
43 return buffer.toString();
49 StringBuffer buffer= stringWriter.getBuffer();
50 return buffer.toString();
/external/junit/src/org/junit/runner/notification/
H A DFailure.java55 StringBuffer buffer= new StringBuffer();
56 buffer.append(getTestHeader() + ": "+fThrownException.getMessage());
57 return buffer.toString();
68 StringBuffer buffer= stringWriter.getBuffer();
69 return buffer.toString();
/external/mesa3d/src/gallium/auxiliary/vl/
H A Dvl_zscan.h84 vl_zscan_init_buffer(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer,
88 vl_zscan_cleanup_buffer(struct vl_zscan_buffer *buffer);
91 vl_zscan_set_layout(struct vl_zscan_buffer *buffer, struct pipe_sampler_view *layout);
94 vl_zscan_upload_quant(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer,
98 vl_zscan_render(struct vl_zscan *zscan, struct vl_zscan_buffer *buffer, unsigned num_instances);
/external/srtp/crypto/replay/
H A Dut_sim.c62 utc->buffer[i] = i;
64 qsort(utc->buffer, UT_BUF, sizeof(uint32_t), ut_compar);
73 tmp = utc->buffer[0];
75 utc->buffer[0] = utc->index;
77 qsort(utc->buffer, UT_BUF, sizeof(uint32_t), ut_compar);
/external/valgrind/memcheck/tests/linux/
H A Dstack_switch.c25 char buffer[1024]; local
27 memset( buffer, 1, sizeof( buffer ) );
30 return memchr( buffer, 1, sizeof( buffer ) ) == NULL;
/external/webrtc/src/modules/audio_processing/test/testsupport/
H A Dframe_writer_unittest.cc47 WebRtc_UWord8 buffer[kFrameLength]; local
48 memset(buffer, 9, kFrameLength); // Write lots of 9s to the buffer
49 bool result = frame_writer_->WriteFrame(buffer);
58 WebRtc_UWord8 buffer[3]; local
60 ASSERT_FALSE(frame_writer.WriteFrame(buffer));
/external/webrtc/test/testsupport/
H A Dframe_writer_unittest.cc47 WebRtc_UWord8 buffer[kFrameLength]; local
48 memset(buffer, 9, kFrameLength); // Write lots of 9s to the buffer
49 bool result = frame_writer_->WriteFrame(buffer);
58 WebRtc_UWord8 buffer[3]; local
60 ASSERT_FALSE(frame_writer.WriteFrame(buffer));
/external/harfbuzz_ng/src/
H A Dhb-buffer-deserialize-json.hh2 #line 1 "../../src/hb-buffer-deserialize-json.rl"
35 #line 36 "hb-buffer-deserialize-json.hh.tmp"
438 #line 97 "../../src/hb-buffer-deserialize-json.rl"
442 _hb_buffer_deserialize_glyphs_json (hb_buffer_t *buffer, argument
451 (void) hb_buffer_get_glyph_positions (buffer, NULL);
455 if (p < pe && *p == (buffer->len ? ',' : '['))
465 #line 466 "hb-buffer-deserialize-json.hh.tmp"
470 #line 471 "hb-buffer-deserialize-json.hh.tmp"
496 #line 38 "../../src/hb-buffer-deserialize-json.rl"
503 #line 43 "../../src/hb-buffer
[all...]
/external/icu/icu4c/source/common/
H A Dcharstr.h41 CharString() : len(0) { buffer[0]=0; }
43 buffer[0]=0;
47 buffer[0]=0;
51 buffer[0]=0;
66 char operator[](int32_t index) const { return buffer[index]; }
67 StringPiece toStringPiece() const { return StringPiece(buffer.getAlias(), len); }
69 const char *data() const { return buffer.getAlias(); }
70 char *data() { return buffer.getAlias(); }
72 CharString &clear() { len=0; buffer[0]=0; return *this; }
84 * Returns a writable buffer fo
118 MaybeStackArray<char, 40> buffer; member in class:CharString
[all...]
/external/selinux/libsepol/cil/test/unit/
H A Dtest_cil_lexer.c40 char *buffer = malloc(str_size + 2); local
42 memset(buffer+str_size, 0, 2);
43 strncpy(buffer, test_str, str_size);
45 int rc = cil_lexer_setup(buffer, str_size + 2);
48 free(buffer);
54 char *buffer = malloc(str_size + 2); local
56 memset(buffer+str_size, 0, 2);
57 strcpy(buffer, test_str);
59 cil_lexer_setup(buffer, str_size + 2);
98 free(buffer);
[all...]
/external/icu/icu4c/source/tools/pkgdata/
H A Dpkgtypes.c30 char buffer[1024]; local
35 uprv_strncpy(buffer, l->str, 1020);
36 buffer[1019]=0;
39 if(buffer[uprv_strlen(buffer)-1] == '"') {
40 buffer[uprv_strlen(buffer)-1] = '\0';
42 if(buffer[0] == '"') {
43 uprv_strcpy(buffer, buffer
75 char buffer[1024]; local
[all...]
/external/skia/tests/
H A DToUnicodeTest.cpp15 const char* buffer, size_t len) {
20 if (len != strlen(buffer)) {
23 return memcmp(data->bytes() + offset, buffer, len) == 0;
74 SkDynamicMemoryWStream buffer; local
76 append_cmap_sections(glyphToUnicode, &subset, &buffer, true, 0, 0xFFFF);
92 REPORTER_ASSERT(reporter, stream_equals(buffer, 0, expectedResult,
93 buffer.getOffset()));
96 buffer.reset();
98 append_cmap_sections(glyphToUnicode, &subset, &buffer, true, 8, 0x00FF);
110 REPORTER_ASSERT(reporter, stream_equals(buffer,
14 stream_equals(const SkDynamicMemoryWStream& stream, size_t offset, const char* buffer, size_t len) argument
[all...]
/external/apache-http/src/org/apache/http/client/utils/
H A DURIUtils.java86 StringBuilder buffer = new StringBuilder();
89 buffer.append(scheme);
90 buffer.append("://");
92 buffer.append(host);
94 buffer.append(':');
95 buffer.append(port);
99 buffer.append('/');
102 buffer.append(path);
105 buffer.append('?');
106 buffer
[all...]
/external/linux-tools-perf/src/tools/lib/traceevent/
H A Dtrace-seq.c35 if ((s)->buffer == TRACE_SEQ_POISON) \
48 s->buffer = malloc_or_die(s->buffer_size);
66 * @s: a pointer to the trace_seq to free the buffer
68 * Only frees the buffer, not the trace_seq struct itself.
75 free(s->buffer);
76 s->buffer = TRACE_SEQ_POISON;
82 s->buffer = realloc(s->buffer, s->buffer_size);
83 if (!s->buffer)
84 die("Can't allocate trace_seq buffer memor
[all...]
/external/ppp/pppd/plugins/radius/
H A Dradrealms.c48 char buffer[512], *p; local
75 while ((fgets(buffer, sizeof(buffer), fd) != NULL)) {
78 if ((*buffer == '\n') || (*buffer == '#') || (*buffer == '\0'))
81 buffer[strlen(buffer)-1] = '\0';
83 p = strtok(buffer, "\t ");
89 line, buffer);
[all...]

Completed in 785 milliseconds

<<11121314151617181920>>