Home
last modified time | relevance | path

Searched +defs:buffer +defs:string (Results 1 – 25 of 193) sorted by relevance

12345678

/third_party/flutter/skia/third_party/externals/wuffs/internal/cgen/
Dvar.go72 func (g *gen) writeLoadDerivedVar(b *buffer, hack string, prefix string, name t.ID, typ *a.TypeExpr…
131 func (g *gen) writeSaveDerivedVar(b *buffer, hack string, prefix string, name t.ID, typ *a.TypeExpr…
167 func (g *gen) writeLoadExprDerivedVars(b *buffer, n *a.Expr) error {
192 func (g *gen) writeSaveExprDerivedVars(b *buffer, n *a.Expr) error {
217 func (g *gen) writeResumeSuspend1(b *buffer, f *funk, n *a.Var, suspend bool) error {
256 func (g *gen) writeResumeSuspend(b *buffer, f *funk, suspend bool) error {
265 func (g *gen) writeVars(b *buffer, f *funk, inStructDecl bool) error {
Dexpr.go24 func (g *gen) writeExpr(b *buffer, n *a.Expr, depth uint32) error {
56 func (g *gen) writeExprOther(b *buffer, n *a.Expr, depth uint32) error {
233 func (g *gen) writeExprUnaryOp(b *buffer, n *a.Expr, depth uint32) error {
244 func (g *gen) writeExprBinaryOp(b *buffer, n *a.Expr, depth uint32) error {
283 func (g *gen) writeExprAs(b *buffer, lhs *a.Expr, rhs *a.TypeExpr, depth uint32) error {
298 func (g *gen) writeExprAssociativeOp(b *buffer, n *a.Expr, depth uint32) error {
318 func (g *gen) writeExprUserDefinedCall(b *buffer, n *a.Expr, depth uint32) error {
345 func (g *gen) writeCTypeName(b *buffer, n *a.TypeExpr, varNamePrefix string, varName string) error {
Dcgen.go103 func Do(args []string) error {
194 func statusMsgIsError(msg string) bool {
198 func statusMsgIsSuspension(msg string) bool {
202 func statusMsgIsWarning(msg string) bool {
206 type buffer []byte type
213 func (b *buffer) printf(format string, args ...interface{}) { fmt.Fprintf(b, format, args...) }
215 func (b *buffer) writes(s string) { *b = append(*b, s...) }
218 func expandBangBangInsert(b *buffer, s string, m map[string]func(*buffer) error) error {
252 func insertBaseAllPrivateH(buf *buffer) error {
266 func insertBaseAllPublicH(buf *buffer) error {
[all …]
Dstatement.go25 func (g *gen) writeStatement(b *buffer, n *a.Node, depth uint32) error {
78 func (g *gen) writeStatementAssign(b *buffer, op t.ID, lhs *a.Expr, rhs *a.Expr, depth uint32) erro…
101 func (g *gen) writeStatementAssign0(b *buffer, op t.ID, lhs *a.Expr, rhs *a.Expr) (bool, error) {
172 func (g *gen) writeStatementAssign1(b *buffer, op t.ID, lhs *a.Expr, rhs *a.Expr) error {
246 func (g *gen) writeStatementIOBind(b *buffer, n *a.IOBind, depth uint32) error {
331 func (g *gen) writeStatementIf(b *buffer, n *a.If, depth uint32) error {
375 func (g *gen) writeStatementIterate(b *buffer, n *a.Iterate, depth uint32) error {
419 func (g *gen) writeStatementJump(b *buffer, n *a.Jump, depth uint32) error {
432 func (g *gen) writeStatementRet(b *buffer, n *a.Ret, depth uint32) error {
484 func (g *gen) writeStatementWhile(b *buffer, n *a.While, depth uint32) error {
[all …]
Dbuiltin.go32 func (g *gen) writeBuiltinCall(b *buffer, n *a.Expr, depth uint32) error {
102 func (g *gen) writeBuiltinIO(b *buffer, recv *a.Expr, method t.ID, args []*a.Node, depth uint32) er…
127 func (g *gen) writeBuiltinIOReader(b *buffer, recv *a.Expr, method t.ID, args []*a.Node, depth uint…
204 func (g *gen) writeBuiltinIOWriter(b *buffer, recv *a.Expr, method t.ID, args []*a.Node, depth uint…
296 func (g *gen) writeBuiltinNumType(b *buffer, recv *a.Expr, method t.ID, args []*a.Node, depth uint3…
386 func (g *gen) writeBuiltinSlice(b *buffer, recv *a.Expr, method t.ID, args []*a.Node, depth uint32)…
424 func (g *gen) writeBuiltinSliceCopyFromSlice8(b *buffer, recv *a.Expr, method t.ID, args []*a.Node,…
491 func (g *gen) writeBuiltinTable(b *buffer, recv *a.Expr, method t.ID, args []*a.Node, depth uint32)…
524 func (g *gen) writeArgs(b *buffer, args []*a.Node, depth uint32) error {
537 func (g *gen) writeBuiltinQuestionCall(b *buffer, n *a.Expr, depth uint32) error {
[all …]
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dproperties.c48 prop_copy_ensure_buffer (guint8 ** buffer, guint64 * bsize, guint64 * offset, in prop_copy_ensure_buffer()
58 copy_func (void *prop, guint size, guint8 ** buffer, guint64 * bsize, in copy_func()
88 prop_copy_uint8 (guint8 prop, guint8 ** buffer, guint64 * size, in prop_copy_uint8()
95 prop_copy_uint16 (guint16 prop, guint8 ** buffer, guint64 * size, in prop_copy_uint16()
103 prop_copy_uint32 (guint32 prop, guint8 ** buffer, guint64 * size, in prop_copy_uint32()
111 prop_copy_uint64 (guint64 prop, guint8 ** buffer, guint64 * size, in prop_copy_uint64()
119 prop_copy_int32 (gint32 prop, guint8 ** buffer, guint64 * size, in prop_copy_int32()
135 prop_copy_fourcc (guint32 prop, guint8 ** buffer, guint64 * size, in prop_copy_fourcc()
157 prop_copy_fixed_size_string (guint8 * string, guint str_size, guint8 ** buffer, in prop_copy_fixed_size_string()
179 prop_copy_size_string (guint8 * string, guint str_size, guint8 ** buffer, in prop_copy_size_string()
[all …]
/third_party/grpc/src/php/ext/grpc/
Dbyte_buffer.c27 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
36 void byte_buffer_to_string(grpc_byte_buffer *buffer, char **out_string, in byte_buffer_to_string()
48 char *string = ecalloc(length + 1, sizeof(char)); in byte_buffer_to_string() local
58 zend_string* byte_buffer_to_zend_string(grpc_byte_buffer *buffer) { in byte_buffer_to_zend_string()
/third_party/cJSON/tests/
Dparse_string.c46 static void assert_parse_string(const char *string, const char *expected) in assert_parse_string()
48 parse_buffer buffer = { 0, 0, 0, 0, { 0, 0, 0 } }; in assert_parse_string() local
60 static void assert_not_parse_string(const char * const string) in assert_not_parse_string()
62 parse_buffer buffer = { 0, 0, 0, 0, { 0, 0, 0 } }; in assert_not_parse_string() local
117 …const char string[] = "\"~!@\\\\#$%^&*()\\\\\\\\-\\\\+{}[]:\\\\;\\\\\\\"\\\\<\\\\>?/.,DC=ad,DC=com… in parse_string_should_parse_bug_94() local
Dmisc_tests.c354 char buffer[10]; in cjson_functions_should_not_crash_with_null_pointers() local
447 printbuffer buffer = {NULL, 10, 0, 0, false, false, {&malloc, &free, &failing_realloc}}; in ensure_should_fail_on_failed_realloc() local
456 const unsigned char string[] = "\xEF\xBB\xBF{}"; in skip_utf8_bom_should_skip_bom() local
457 parse_buffer buffer = { 0, 0, 0, 0, { 0, 0, 0 } }; in skip_utf8_bom_should_skip_bom() local
468 const unsigned char string[] = " \xEF\xBB\xBF{}"; in skip_utf8_bom_should_not_skip_bom_if_not_at_beginning() local
469 parse_buffer buffer = { 0, 0, 0, 0, { 0, 0, 0 } }; in skip_utf8_bom_should_not_skip_bom_if_not_at_beginning() local
480 cJSON *string = cJSON_CreateString("test"); in cjson_get_string_value_should_get_a_string() local
493 cJSON *string = cJSON_CreateString("test"); in cjson_get_number_value_should_get_a_number() local
505 const char *string = "I am a string!"; in cjson_create_string_reference_should_create_a_string_reference() local
Dparse_number.c46 static void assert_parse_number(const char *string, int integer, double real) in assert_parse_number()
48 parse_buffer buffer = { 0, 0, 0, 0, { 0, 0, 0 } }; in assert_parse_number() local
Dparse_value.c44 static void assert_parse_value(const char *string, int type) in assert_parse_value()
46 parse_buffer buffer = { 0, 0, 0, 0, { 0, 0, 0 } }; in assert_parse_value() local
/third_party/node/test/cctest/
Dtest_base64.cc12 auto test = [](const char* string, const char* base64_string) { in TEST()
14 char* const buffer = new char[len + 1]; in TEST() local
48 auto test = [](const char* base64_string, const char* string) { in TEST()
50 char* const buffer = new char[len + 1]; in TEST() local
/third_party/flutter/skia/src/core/
DSkString.cpp45 #define ARGS_TO_BUFFER(format, buffer, size, written, result) \ argument
69 bool SkStrEndsWith(const char string[], const char suffixStr[]) { in SkStrEndsWith()
78 bool SkStrEndsWith(const char string[], const char suffixChar) { in SkStrEndsWith()
88 int SkStrStartsWithOneOf(const char string[], const char prefixes[]) { in SkStrStartsWithOneOf()
101 char* SkStrAppendU32(char string[], uint32_t dec) { in SkStrAppendU32()
121 char* SkStrAppendS32(char string[], int32_t dec) { in SkStrAppendS32()
130 char* SkStrAppendU64(char string[], uint64_t dec, int minDigits) { in SkStrAppendU64()
156 char* SkStrAppendS64(char string[], int64_t dec, int minDigits) { in SkStrAppendS64()
165 char* SkStrAppendFloat(char string[], float value) { in SkStrAppendFloat()
169 char buffer[SkStrAppendScalar_MaxSize + 1]; in SkStrAppendFloat() local
[all …]
/third_party/grpc/src/ruby/ext/grpc/
Drb_byte_buffer.c29 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()
/third_party/node/test/parallel/
Dtest-buffer-tojson.js25 const buffer = Buffer.from('test'); constant
26 const string = JSON.stringify(buffer); constant
/third_party/cJSON/
DcJSON.c184 static unsigned char* cJSON_strdup(const unsigned char* string, const internal_hooks * const hooks) in cJSON_strdup()
293 #define can_read(buffer, size) ((buffer != NULL) && (((buffer)->offset + size) <= (buffer)->length)) argument
295 #define can_access_at_index(buffer, index) ((buffer != NULL) && (((buffer)->offset + index) < (buff… argument
296 #define cannot_access_at_index(buffer, index) (!can_access_at_index(buffer, index)) argument
298 #define buffer_at_offset(buffer) ((buffer)->content + (buffer)->offset) argument
425 unsigned char *buffer; member
523 static void update_offset(printbuffer * const buffer) in update_offset()
1032 static parse_buffer *buffer_skip_whitespace(parse_buffer * const buffer) in buffer_skip_whitespace()
1058 static parse_buffer *skip_utf8_bom(parse_buffer * const buffer) in skip_utf8_bom()
1091 parse_buffer buffer = { 0, 0, 0, 0, { 0, 0, 0 } }; in cJSON_ParseWithLengthOpts() local
[all …]
/third_party/gstreamer/gstplugins_bad/gst/gdp/
Ddataprotocol.c142 gst_dp_payload_buffer (GstBuffer * buffer, GstDPHeaderFlag flags) in gst_dp_payload_buffer()
234 guchar *string; in gst_dp_payload_caps() local
282 guchar *string = NULL; in gst_dp_payload_event() local
380 gst_dp_crc (const guint8 * buffer, guint length) in gst_dp_crc()
410 guint8 *buffer = maps->data; in gst_dp_crc_from_memory_maps() local
500 GstBuffer *buffer; in gst_dp_buffer_from_header() local
541 gchar *string; in gst_dp_caps_from_packet() local
618 gchar *string = NULL; in gst_dp_event_from_packet_1_0() local
/third_party/musl/porting/liteos_a/user_debug/src/malloc/
Dbacktrace.c35 int backtrace(void **buffer, int size) in backtrace()
50 char **backtrace_symbols(void *const *buffer, int size) in backtrace_symbols()
56 char **string = NULL; in backtrace_symbols() local
112 static void get_backtrace_addr(void *const *buffer, int nptrs) in get_backtrace_addr()
122 void *buffer[TRACE_MAX_DEPTH]; in print_trace() local
/third_party/boost/libs/lexical_cast/example/
Dsmall_examples.cpp34 buf_t buffer = boost::lexical_cast<buf_t>(number); // No dynamic memory allocation in number_to_file() local
50 void log_message(const std::string &) {} in log_message()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djerror.c47 #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()
/third_party/libxkbcommon/test/
Dkeysym.c31 test_string(const char *string, xkb_keysym_t expected) in test_string()
44 test_casestring(const char *string, xkb_keysym_t expected) in test_casestring()
108 get_keysym_name(xkb_keysym_t keysym, char *buffer, size_t size) in get_keysym_name()
/third_party/libjpeg/
Djerror.c49 #define JMESSAGE(code,string) string , argument
101 char buffer[JMSG_LENGTH_MAX]; in output_message() local
158 format_message (j_common_ptr cinfo, char * buffer) in format_message()
/third_party/node/src/inspector/
Dnode_string.cc14 void builderAppendQuotedString(StringBuilder& builder, const String& string) { in builderAppendQuotedString()
26 std::unique_ptr<Value> parseJSON(const String& string) { in parseJSON()
37 std::unique_ptr<Value> parseJSON(v8_inspector::StringView string) { in parseJSON()
79 double toDouble(const char* buffer, size_t length, bool* ok) { in toDouble()
/third_party/e2fsprogs/e2fsck/
Dlogfile.c25 struct string { struct
31 static void alloc_string(struct string *s, int len) in alloc_string() argument
190 char buffer[4096]; in do_read() local
/third_party/flutter/skia/third_party/externals/icu/source/samples/legacy/
Dnewcol.cpp33 int32_t getSortKey_current(const char *locale, const UChar *string, int32_t sLen, uint8_t *buffer, … in getSortKey_current()

12345678