/external/grpc-grpc/src/php/ext/grpc/ |
D | byte_buffer.c | 27 grpc_byte_buffer *string_to_byte_buffer(char *string, size_t length) { in string_to_byte_buffer() 29 grpc_byte_buffer *buffer = grpc_raw_byte_buffer_create(&slice, 1); in string_to_byte_buffer() local 34 void byte_buffer_to_string(grpc_byte_buffer *buffer, char **out_string, in byte_buffer_to_string() 46 char *string = ecalloc(length + 1, sizeof(char)); in byte_buffer_to_string() local
|
/external/skqp/src/core/ |
D | SkString.cpp | 46 #define ARGS_TO_BUFFER(format, buffer, size, written, result) \ argument 70 bool SkStrEndsWith(const char string[], const char suffixStr[]) { in SkStrEndsWith() 79 bool SkStrEndsWith(const char string[], const char suffixChar) { in SkStrEndsWith() 89 int SkStrStartsWithOneOf(const char string[], const char prefixes[]) { in SkStrStartsWithOneOf() 102 char* SkStrAppendU32(char string[], uint32_t dec) { in SkStrAppendU32() 122 char* SkStrAppendS32(char string[], int32_t dec) { in SkStrAppendS32() 131 char* SkStrAppendU64(char string[], uint64_t dec, int minDigits) { in SkStrAppendU64() 157 char* SkStrAppendS64(char string[], int64_t dec, int minDigits) { in SkStrAppendS64() 166 char* SkStrAppendFloat(char string[], float value) { in SkStrAppendFloat() 170 char buffer[SkStrAppendScalar_MaxSize + 1]; in SkStrAppendFloat() local [all …]
|
/external/proguard/src/proguard/util/ |
D | ListUtil.java | 44 StringBuffer buffer = new StringBuffer(); in commaSeparatedString() local 53 String string = (String)list.get(index); in commaSeparatedString() local 70 public static List commaSeparatedList(String string) in commaSeparatedList() 121 private static int skipWhitespace(String string, int index) in skipWhitespace() 135 private static String quotedString(String string) in quotedString() 175 String string = commaSeparatedString(list, true); in main() local
|
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
D | gtest-string.h | 208 String(const char* buffer, size_t a_length) { in String() 230 operator ::std::string() const { return ::std::string(c_str(), length()); } in string() function 237 operator ::string() const { return ::string(c_str(), length()); } in string() function 302 void ConstructNonNull(const char* buffer, size_t a_length) { in ConstructNonNull()
|
/external/okhttp/okio/okio/src/main/java/okio/ |
D | RealBufferedSink.java | 24 public final Buffer buffer; field in RealBufferedSink 28 public RealBufferedSink(Sink sink, Buffer buffer) { in RealBufferedSink() 38 @Override public Buffer buffer() { in buffer() method in RealBufferedSink 55 @Override public BufferedSink writeUtf8(String string) throws IOException { in writeUtf8() 61 @Override public BufferedSink writeUtf8(String string, int beginIndex, int endIndex) in writeUtf8() 74 @Override public BufferedSink writeString(String string, Charset charset) throws IOException { in writeString() 80 @Override public BufferedSink writeString(String string, int beginIndex, int endIndex, in writeString()
|
D | BufferedSink.java | 28 Buffer buffer(); in buffer() method 54 BufferedSink writeUtf8(String string) throws IOException; in writeUtf8() 60 BufferedSink writeUtf8(String string, int beginIndex, int endIndex) throws IOException; in writeUtf8() 66 BufferedSink writeString(String string, Charset charset) throws IOException; in writeString() 72 BufferedSink writeString(String string, int beginIndex, int endIndex, Charset charset) in writeString()
|
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
D | RealBufferedSink.java | 25 public final Buffer buffer; field in RealBufferedSink 29 public RealBufferedSink(Sink sink, Buffer buffer) { in RealBufferedSink() 39 @Override public Buffer buffer() { in buffer() method in RealBufferedSink 56 @Override public BufferedSink writeUtf8(String string) throws IOException { in writeUtf8() 62 @Override public BufferedSink writeUtf8(String string, int beginIndex, int endIndex) in writeUtf8() 75 @Override public BufferedSink writeString(String string, Charset charset) throws IOException { in writeString() 81 @Override public BufferedSink writeString(String string, int beginIndex, int endIndex, in writeString()
|
D | BufferedSink.java | 30 Buffer buffer(); in buffer() method 56 BufferedSink writeUtf8(String string) throws IOException; in writeUtf8() 62 BufferedSink writeUtf8(String string, int beginIndex, int endIndex) throws IOException; in writeUtf8() 68 BufferedSink writeString(String string, Charset charset) throws IOException; in writeString() 74 BufferedSink writeString(String string, int beginIndex, int endIndex, Charset charset) in writeString()
|
/external/grpc-grpc/src/ruby/ext/grpc/ |
D | rb_byte_buffer.c | 29 grpc_byte_buffer* grpc_rb_s_to_byte_buffer(char* string, size_t length) { in grpc_rb_s_to_byte_buffer() 31 grpc_byte_buffer* buffer = grpc_raw_byte_buffer_create(&slice, 1); in grpc_rb_s_to_byte_buffer() local 36 VALUE grpc_rb_byte_buffer_to_s(grpc_byte_buffer* buffer) { in grpc_rb_byte_buffer_to_s()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | socket_connection.c | 16 # define WRITE(h, buffer, length) send((SOCKET)h, buffer, length, 0) argument 17 # define READ(h, buffer, length) recv((SOCKET)h, buffer, length, 0) argument 20 # define WRITE(h, buffer, length) write(h, buffer, length) argument 21 # define READ(h, buffer, length) read(h, buffer, length) argument 45 _conn_sendall(HANDLE h, char *string, size_t length) in _conn_sendall() 72 _conn_recvall(HANDLE h, char *buffer, size_t length) in _conn_recvall() 103 conn_send_string(ConnectionObject *conn, char *string, size_t length) in conn_send_string() 146 conn_recv_string(ConnectionObject *conn, char *buffer, in conn_recv_string()
|
/external/pigweed/pw_string/size_report/ |
D | format_multiple.cc | 56 bool ProcessResult(char* buffer, unsigned* total, unsigned size, int result) { in ProcessResult() 83 namespace pw::string { namespace 93 char* buffer = get_buffer_1; in OutputStringsToBuffer() local 94 const char* string = get_buffer_2; in OutputStringsToBuffer() local
|
D | string_builder_size_report.cc | 38 unsigned BytesWritten(char* buffer, unsigned size, int result) { in BytesWritten() 54 char string[64] = "hello"; variable 78 char buffer[64]; in main() local
|
D | format_many_without_error_handling.cc | 39 namespace pw::string { namespace 50 auto buffer = std::span(get_buffer_1, get_size); in OutputStringsToBuffer() local 56 const char* string = get_buffer_2; in OutputStringsToBuffer() local
|
D | string_builder_size_report_incremental.cc | 46 bool ProcessResult(char* buffer, unsigned* total, unsigned size, int result) { in ProcessResult() 72 auto string = get_string; in main() local 74 char* buffer = get_buffer; in main() local
|
D | format_single.cc | 32 namespace pw::string { namespace 42 char* buffer = get_buffer_1; in OutputStringsToBuffer() local
|
/external/skia/src/core/ |
D | SkString.cpp | 58 bool SkStrEndsWith(const char string[], const char suffixStr[]) { in SkStrEndsWith() 67 bool SkStrEndsWith(const char string[], const char suffixChar) { in SkStrEndsWith() 77 int SkStrStartsWithOneOf(const char string[], const char prefixes[]) { in SkStrStartsWithOneOf() 90 char* SkStrAppendU32(char string[], uint32_t dec) { in SkStrAppendU32() 110 char* SkStrAppendS32(char string[], int32_t dec) { in SkStrAppendS32() 119 char* SkStrAppendU64(char string[], uint64_t dec, int minDigits) { in SkStrAppendU64() 145 char* SkStrAppendS64(char string[], int64_t dec, int minDigits) { in SkStrAppendS64() 154 char* SkStrAppendScalar(char string[], SkScalar value) { in SkStrAppendScalar() 174 char buffer[kSkStrAppendScalar_MaxSize + 1]; in SkStrAppendScalar() local 451 char buffer[SkUTF::kMaxBytesInUTF8Sequence]; in insertUnichar() local [all …]
|
/external/pigweed/pw_string/ |
D | format.cc | 19 namespace pw::string { namespace 21 StatusWithSize Format(std::span<char> buffer, const char* format, ...) { in Format() 30 StatusWithSize FormatVaList(std::span<char> buffer, in FormatVaList()
|
D | format_test.cc | 22 namespace pw::string { namespace 26 char buffer[32]; in TEST() local 35 char buffer[32]; in TEST() local 51 char buffer[5]; in TEST() local 60 char buffer[5]; in TEST() local 68 StatusWithSize CallFormatWithVaList(std::span<char> buffer, in CallFormatWithVaList() 81 char buffer[8]; in TEST() local
|
D | type_to_string.cc | 22 namespace pw::string { namespace 50 StatusWithSize HandleExhaustedBuffer(std::span<char> buffer) { in HandleExhaustedBuffer() 75 StatusWithSize IntToString(uint64_t value, std::span<char> buffer) { in IntToString() 114 std::span<char> buffer, in IntToHexString() 132 StatusWithSize IntToString(int64_t value, std::span<char> buffer) { in IntToString() 151 StatusWithSize FloatAsIntToString(float value, std::span<char> buffer) { in FloatAsIntToString() 172 StatusWithSize BoolToString(bool value, std::span<char> buffer) { in BoolToString() 176 StatusWithSize PointerToString(const void* pointer, std::span<char> buffer) { in PointerToString() 184 std::span<char> buffer) { in CopyString() 198 std::span<char> buffer) { in CopyEntireString()
|
/external/libbrillo/brillo/streams/ |
D | memory_containers.cc | 33 bool ContiguousBufferBase::Read(void* buffer, in Read() 57 bool ContiguousBufferBase::Write(const void* buffer, in Write() 104 StringPtr::StringPtr(std::string* string) : string_ptr_(string) {} in StringPtr() 120 ReadOnlyStringRef::ReadOnlyStringRef(const std::string& string) in ReadOnlyStringRef() 128 ReadOnlyStringCopy::ReadOnlyStringCopy(std::string string) in ReadOnlyStringCopy()
|
/external/iperf3/src/ |
D | cjson.c | 195 static unsigned char* cJSON_strdup(const unsigned char* string, const internal_hooks * const hooks) in cJSON_strdup() 304 #define can_read(buffer, size) ((buffer != NULL) && (((buffer)->offset + size) <= (buffer)->length)) argument 306 #define can_access_at_index(buffer, index) ((buffer != NULL) && (((buffer)->offset + index) < (buff… argument 307 #define cannot_access_at_index(buffer, index) (!can_access_at_index(buffer, index)) argument 309 #define buffer_at_offset(buffer) ((buffer)->content + (buffer)->offset) argument 436 unsigned char *buffer; member 534 static void update_offset(printbuffer * const buffer) in update_offset() 1043 static parse_buffer *buffer_skip_whitespace(parse_buffer * const buffer) in buffer_skip_whitespace() 1069 static parse_buffer *skip_utf8_bom(parse_buffer * const buffer) in skip_utf8_bom() 1102 parse_buffer buffer = { 0, 0, 0, 0, { 0, 0, 0 } }; in cJSON_ParseWithLengthOpts() local [all …]
|
/external/okhttp/okio/okio/src/test/java/okio/ |
D | Utf8Test.java | 80 Buffer buffer = new Buffer(); in stringSpansSegments() local 91 Buffer buffer = new Buffer(); in readEmptyBufferThrowsEofException() local 100 Buffer buffer = new Buffer(); in readLeadingContinuationByteReturnsReplacementCharacter() local 107 Buffer buffer = new Buffer(); in readMissingContinuationBytesThrowsEofException() local 119 Buffer buffer = new Buffer(); in readTooLargeCodepointReturnsReplacementCharacter() local 131 Buffer buffer = new Buffer(); in readNonContinuationBytesReturnsReplacementCharacter() local 140 Buffer buffer = new Buffer(); in readCodePointBeyondUnicodeMaximum() local 147 Buffer buffer = new Buffer(); in readSurrogateCodePoint() local 158 Buffer buffer = new Buffer(); in readOverlongCodePoint() local 165 Buffer buffer = new Buffer(); in writeSurrogateCodePoint() local [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/utils/ |
D | Utils.java | 56 public static String escapeEndOfLines(String string) { in escapeEndOfLines() 75 final char[] buffer = new char[8 * 1024]; in readerToString() local 87 final char[] buffer = new char[8 * 1024]; in providerToString() local
|
/external/okio/okio/src/jvmTest/java/okio/ |
D | Utf8Test.java | 96 Buffer buffer = new Buffer(); in stringSpansSegments() local 107 Buffer buffer = new Buffer(); in readEmptyBufferThrowsEofException() local 116 Buffer buffer = new Buffer(); in readLeadingContinuationByteReturnsReplacementCharacter() local 123 Buffer buffer = new Buffer(); in readMissingContinuationBytesThrowsEofException() local 135 Buffer buffer = new Buffer(); in readTooLargeCodepointReturnsReplacementCharacter() local 147 Buffer buffer = new Buffer(); in readNonContinuationBytesReturnsReplacementCharacter() local 156 Buffer buffer = new Buffer(); in readCodePointBeyondUnicodeMaximum() local 163 Buffer buffer = new Buffer(); in readSurrogateCodePoint() local 174 Buffer buffer = new Buffer(); in readOverlongCodePoint() local 188 Buffer buffer = new Buffer(); in writeCodePointBeyondUnicodeMaximum() local [all …]
|
/external/libjpeg-turbo/ |
D | jerror.c | 47 #define JMESSAGE(code, string) string, argument 99 char buffer[JMSG_LENGTH_MAX]; in output_message() local 156 format_message(j_common_ptr cinfo, char *buffer) in format_message()
|