Home
last modified time | relevance | path

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

12345678910>>...14

/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 …]
/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* string, const char* base64_string) { in TEST()
50 char* const buffer = new char[len + 1]; in TEST() local
62 auto test = [](const char* base64_string, const char* string) { in TEST()
64 char* const buffer = new char[len + 1]; in TEST() local
/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/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
/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/mbedtls/programs/psa/
Dpsa_constant_names.c55 static void append(char **buffer, size_t buffer_size, in append()
57 const char *string, size_t length) in append()
66 static void append_integer(char **buffer, size_t buffer_size, in append_integer()
81 static void append_with_curve(char **buffer, size_t buffer_size, in append_with_curve()
83 const char *string, size_t length, in append_with_curve()
99 static void append_with_group(char **buffer, size_t buffer_size, in append_with_group()
101 const char *string, size_t length, in append_with_group()
119 static void append_with_alg(char **buffer, size_t buffer_size, in append_with_alg()
136 static int psa_snprint_status(char *buffer, size_t buffer_size, in psa_snprint_status()
153 static int psa_snprint_ecc_curve(char *buffer, size_t buffer_size, in psa_snprint_ecc_curve()
[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/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
34 zend_string* byte_buffer_to_zend_string(grpc_byte_buffer *buffer) { in byte_buffer_to_zend_string()
/third_party/skia/src/core/
DSkString.cpp59 bool SkStrEndsWith(const char string[], const char suffixStr[]) { in SkStrEndsWith()
68 bool SkStrEndsWith(const char string[], const char suffixChar) { in SkStrEndsWith()
78 int SkStrStartsWithOneOf(const char string[], const char prefixes[]) { in SkStrStartsWithOneOf()
91 char* SkStrAppendU32(char string[], uint32_t dec) { in SkStrAppendU32()
111 char* SkStrAppendS32(char string[], int32_t dec) { in SkStrAppendS32()
120 char* SkStrAppendU64(char string[], uint64_t dec, int minDigits) { in SkStrAppendU64()
146 char* SkStrAppendS64(char string[], int64_t dec, int minDigits) { in SkStrAppendS64()
155 char* SkStrAppendScalar(char string[], SkScalar value) { in SkStrAppendScalar()
175 char buffer[kSkStrAppendScalar_MaxSize + 1]; in SkStrAppendScalar() local
460 char buffer[SkUTF::kMaxBytesInUTF8Sequence]; in insertUnichar() local
[all …]
/third_party/gettext/gettext-tools/src/
Dx-perl.c306 static char *buffer; in get_here_document() local
454 static char *buffer; in phase2_getc() local
585 char *string; /* for: in encoding: member
680 char *buffer = XNMALLOC (bufmax, char); in extract_quotelike_pass1() local
777 char *string = extract_quotelike_pass1 (delim); in extract_quotelike_pass1_utf8() local
811 extract_hex (const char *string, size_t len, unsigned int *result) in extract_hex()
842 extract_oct (const char *string, size_t len, unsigned int *result) in extract_oct()
871 char *string = extract_quotelike_pass1_utf8 (delim); in extract_quotelike() local
892 char *string; in extract_triple_quotelike() local
927 static char *buffer; in extract_quotelike_pass3() local
[all …]
Dxg-message.c40 #define CONVERT_STRING(string, lcontext) \ argument
49 flag_context_ty context, const char *string, in set_format_flags_from_context()
84 char buffer[21]; in set_format_flags_from_context() local
214 warn_format_string (enum is_format is_format[NFORMATS], const char *string, in warn_format_string()
220 char buffer[21]; in warn_format_string() local
289 char buffer[21]; in remember_a_message() local
554 remember_a_message_plural (message_ty *mp, char *string, bool is_utf8, in remember_a_message_plural()
/third_party/skia/experimental/graphite/src/mtl/
DMtlBlitCommandEncoder.h31 void pushDebugGroup(NSString* string) { in pushDebugGroup()
38 void synchronizeResource(id<MTLBuffer> buffer) { in synchronizeResource()
45 id<MTLBuffer> buffer, in copyFromTexture()
/third_party/gettext/libtextstyle/gnulib-local/lib/glib/
Dgstring.c274 g_string_maybe_expand (GString* string, in g_string_maybe_expand()
287 GString *string = g_slice_new (GString); in g_string_sized_new() local
302 GString *string; in g_string_new() local
323 GString *string; in g_string_new_len() local
339 g_string_free (GString *string, in g_string_free()
465 g_string_insert_len (GString *string, in g_string_insert_len()
536 g_string_append (GString *string, in g_string_append()
546 g_string_append_len (GString *string, in g_string_append_len()
560 g_string_append_c (GString *string, in g_string_append_c()
579 g_string_append_unichar (GString *string, in g_string_append_unichar()
[all …]
/third_party/mindspore/mindspore/core/ir/dtype/
Dcontainer.cc95 const std::unordered_map<std::string, ValuePtr> &methods) in Class()
99 std::ostringstream buffer; in DumpContent() local
125 std::ostringstream buffer; in DumpContent() local
181 std::ostringstream buffer; in DumpContent() local
199 …[](const std::pair<std::string, TypePtr> &item) { return std::make_pair(item.first, item.second->D… in DeepCopy()
205 std::ostringstream buffer; in DumpKeyVector() local
213 std::ostringstream buffer; in DumpContent() local
/third_party/mindspore/mindspore/core/ir/
Dcell.cc46 …auto all = std::all_of(attrs_.begin(), attrs_.end(), [&other](const std::pair<std::string, ValuePt… in operator ==()
61 std::ostringstream buffer; in GetAttrString() local
77 std::ostringstream buffer; in ToString() local
/third_party/node/test/parallel/
Dtest-buffer-tojson.js25 const buffer = Buffer.from('test'); constant
26 const string = JSON.stringify(buffer); constant
/third_party/icu/tools/colprobe/
Dstrengthprobe.h75 int getSortKey(const Line &l, uint8_t *buffer, int32_t buffCap) { in getSortKey()
79 int getSortKey(UChar *string, int32_t sLen, uint8_t *buffer, int32_t buffCap) { in getSortKey()
/third_party/cJSON/
DcJSON.c188 static unsigned char* cJSON_strdup(const unsigned char* string, const internal_hooks * const hooks) in cJSON_strdup()
297 #define can_read(buffer, size) ((buffer != NULL) && (((buffer)->offset + size) <= (buffer)->length)) argument
299 #define can_access_at_index(buffer, index) ((buffer != NULL) && (((buffer)->offset + index) < (buff… argument
300 #define cannot_access_at_index(buffer, index) (!can_access_at_index(buffer, index)) argument
302 #define buffer_at_offset(buffer) ((buffer)->content + (buffer)->offset) argument
429 unsigned char *buffer; member
525 static void update_offset(printbuffer * const buffer) in update_offset()
1034 static parse_buffer *buffer_skip_whitespace(parse_buffer * const buffer) in buffer_skip_whitespace()
1060 static parse_buffer *skip_utf8_bom(parse_buffer * const buffer) in skip_utf8_bom()
1093 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/mindspore/mindspore/ccsrc/debug/
Danf_ir_dump.cc53 void PrintKernelFormatAndType(std::ostringstream &buffer, const std::string &fmt, const TypeId &typ… in PrintKernelFormatAndType()
62 void PrintNodeOutputType(std::ostringstream &buffer, const AnfNodePtr &nd) { in PrintNodeOutputType()
91 void PrintNodeInputType(std::ostringstream &buffer, const AnfNodePtr &nd) { in PrintNodeInputType()
110 void PrintInputAndOutputInferType(std::ostringstream &buffer, const AnfNodePtr &nd) { in PrintInputAndOutputInferType()
120 std::ostringstream buffer; member
124 void DumpGlobalInfoEntry(const FuncGraphPtr &graph, std::ostringstream &buffer) { in DumpGlobalInfoEntry()
177 int32_t DumpParams(const FuncGraphPtr &graph, std::ostringstream &buffer, OrderedMap<AnfNodePtr, in… in DumpParams()
314 void DumpAttrs(const std::unordered_map<std::string, ValuePtr> &attrs, const std::shared_ptr<SubGra… in DumpAttrs()
597 std::ostringstream buffer; in DumpIR() local
639 std::ostringstream buffer; in DumpIRForRDR() local
[all …]

12345678910>>...14