/device/google/coral/json-c/ |
D | json_tokener.c | 118 tok->pb = printbuf_new(); in json_tokener_new_ex() 132 if (tok->pb) printbuf_free(tok->pb); in json_tokener_free() 270 printbuf_reset(tok->pb); in json_tokener_parse_ex() 271 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex() 294 printbuf_reset(tok->pb); in json_tokener_parse_ex() 300 printbuf_reset(tok->pb); in json_tokener_parse_ex() 311 printbuf_reset(tok->pb); in json_tokener_parse_ex() 319 printbuf_reset(tok->pb); in json_tokener_parse_ex() 338 printbuf_reset(tok->pb); in json_tokener_parse_ex() 359 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex() [all …]
|
D | json_object.c | 100 static int json_escape_str(struct printbuf *pb, char *str, int len) in json_escape_str() argument 118 printbuf_memappend(pb, str + start_offset, pos - start_offset); in json_escape_str() 120 if(c == '\b') printbuf_memappend(pb, "\\b", 2); in json_escape_str() 121 else if(c == '\n') printbuf_memappend(pb, "\\n", 2); in json_escape_str() 122 else if(c == '\r') printbuf_memappend(pb, "\\r", 2); in json_escape_str() 123 else if(c == '\t') printbuf_memappend(pb, "\\t", 2); in json_escape_str() 124 else if(c == '\f') printbuf_memappend(pb, "\\f", 2); in json_escape_str() 125 else if(c == '"') printbuf_memappend(pb, "\\\"", 2); in json_escape_str() 126 else if(c == '\\') printbuf_memappend(pb, "\\\\", 2); in json_escape_str() 127 else if(c == '/') printbuf_memappend(pb, "\\/", 2); in json_escape_str() [all …]
|
D | printbuf.c | 92 int printbuf_memset(struct printbuf *pb, int offset, int charvalue, int len) in printbuf_memset() argument 97 offset = pb->bpos; in printbuf_memset() 99 if (pb->size < size_needed) in printbuf_memset() 101 if (printbuf_extend(pb, size_needed) < 0) in printbuf_memset() 105 memset(pb->buf + offset, charvalue, len); in printbuf_memset() 106 if (pb->bpos < size_needed) in printbuf_memset() 107 pb->bpos = size_needed; in printbuf_memset()
|
D | json_util.c | 69 struct printbuf *pb; in json_object_from_file() local 79 if(!(pb = printbuf_new())) { in json_object_from_file() 85 printbuf_memappend(pb, buf, ret); in json_object_from_file() 91 printbuf_free(pb); in json_object_from_file() 94 obj = json_tokener_parse(pb->buf); in json_object_from_file() 95 printbuf_free(pb); in json_object_from_file()
|
/device/google/sunfish/json-c/ |
D | json_tokener.c | 118 tok->pb = printbuf_new(); in json_tokener_new_ex() 132 if (tok->pb) printbuf_free(tok->pb); in json_tokener_free() 270 printbuf_reset(tok->pb); in json_tokener_parse_ex() 271 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex() 294 printbuf_reset(tok->pb); in json_tokener_parse_ex() 300 printbuf_reset(tok->pb); in json_tokener_parse_ex() 311 printbuf_reset(tok->pb); in json_tokener_parse_ex() 319 printbuf_reset(tok->pb); in json_tokener_parse_ex() 338 printbuf_reset(tok->pb); in json_tokener_parse_ex() 359 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex() [all …]
|
D | json_object.c | 100 static int json_escape_str(struct printbuf *pb, char *str, int len) in json_escape_str() argument 118 printbuf_memappend(pb, str + start_offset, pos - start_offset); in json_escape_str() 120 if(c == '\b') printbuf_memappend(pb, "\\b", 2); in json_escape_str() 121 else if(c == '\n') printbuf_memappend(pb, "\\n", 2); in json_escape_str() 122 else if(c == '\r') printbuf_memappend(pb, "\\r", 2); in json_escape_str() 123 else if(c == '\t') printbuf_memappend(pb, "\\t", 2); in json_escape_str() 124 else if(c == '\f') printbuf_memappend(pb, "\\f", 2); in json_escape_str() 125 else if(c == '"') printbuf_memappend(pb, "\\\"", 2); in json_escape_str() 126 else if(c == '\\') printbuf_memappend(pb, "\\\\", 2); in json_escape_str() 127 else if(c == '/') printbuf_memappend(pb, "\\/", 2); in json_escape_str() [all …]
|
D | printbuf.c | 92 int printbuf_memset(struct printbuf *pb, int offset, int charvalue, int len) in printbuf_memset() argument 97 offset = pb->bpos; in printbuf_memset() 99 if (pb->size < size_needed) in printbuf_memset() 101 if (printbuf_extend(pb, size_needed) < 0) in printbuf_memset() 105 memset(pb->buf + offset, charvalue, len); in printbuf_memset() 106 if (pb->bpos < size_needed) in printbuf_memset() 107 pb->bpos = size_needed; in printbuf_memset()
|
D | json_util.c | 69 struct printbuf *pb; in json_object_from_file() local 79 if(!(pb = printbuf_new())) { in json_object_from_file() 85 printbuf_memappend(pb, buf, ret); in json_object_from_file() 91 printbuf_free(pb); in json_object_from_file() 94 obj = json_tokener_parse(pb->buf); in json_object_from_file() 95 printbuf_free(pb); in json_object_from_file()
|
/device/google/crosshatch/json-c/ |
D | json_tokener.c | 118 tok->pb = printbuf_new(); in json_tokener_new_ex() 132 if (tok->pb) printbuf_free(tok->pb); in json_tokener_free() 270 printbuf_reset(tok->pb); in json_tokener_parse_ex() 271 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex() 294 printbuf_reset(tok->pb); in json_tokener_parse_ex() 300 printbuf_reset(tok->pb); in json_tokener_parse_ex() 311 printbuf_reset(tok->pb); in json_tokener_parse_ex() 319 printbuf_reset(tok->pb); in json_tokener_parse_ex() 338 printbuf_reset(tok->pb); in json_tokener_parse_ex() 359 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex() [all …]
|
D | json_object.c | 100 static int json_escape_str(struct printbuf *pb, char *str, int len) in json_escape_str() argument 118 printbuf_memappend(pb, str + start_offset, pos - start_offset); in json_escape_str() 120 if(c == '\b') printbuf_memappend(pb, "\\b", 2); in json_escape_str() 121 else if(c == '\n') printbuf_memappend(pb, "\\n", 2); in json_escape_str() 122 else if(c == '\r') printbuf_memappend(pb, "\\r", 2); in json_escape_str() 123 else if(c == '\t') printbuf_memappend(pb, "\\t", 2); in json_escape_str() 124 else if(c == '\f') printbuf_memappend(pb, "\\f", 2); in json_escape_str() 125 else if(c == '"') printbuf_memappend(pb, "\\\"", 2); in json_escape_str() 126 else if(c == '\\') printbuf_memappend(pb, "\\\\", 2); in json_escape_str() 127 else if(c == '/') printbuf_memappend(pb, "\\/", 2); in json_escape_str() [all …]
|
D | printbuf.c | 92 int printbuf_memset(struct printbuf *pb, int offset, int charvalue, int len) in printbuf_memset() argument 97 offset = pb->bpos; in printbuf_memset() 99 if (pb->size < size_needed) in printbuf_memset() 101 if (printbuf_extend(pb, size_needed) < 0) in printbuf_memset() 105 memset(pb->buf + offset, charvalue, len); in printbuf_memset() 106 if (pb->bpos < size_needed) in printbuf_memset() 107 pb->bpos = size_needed; in printbuf_memset()
|
D | json_util.c | 69 struct printbuf *pb; in json_object_from_file() local 79 if(!(pb = printbuf_new())) { in json_object_from_file() 85 printbuf_memappend(pb, buf, ret); in json_object_from_file() 91 printbuf_free(pb); in json_object_from_file() 94 obj = json_tokener_parse(pb->buf); in json_object_from_file() 95 printbuf_free(pb); in json_object_from_file()
|
/device/google/bonito/json-c/ |
D | json_tokener.c | 118 tok->pb = printbuf_new(); in json_tokener_new_ex() 132 if (tok->pb) printbuf_free(tok->pb); in json_tokener_free() 270 printbuf_reset(tok->pb); in json_tokener_parse_ex() 271 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex() 294 printbuf_reset(tok->pb); in json_tokener_parse_ex() 300 printbuf_reset(tok->pb); in json_tokener_parse_ex() 311 printbuf_reset(tok->pb); in json_tokener_parse_ex() 319 printbuf_reset(tok->pb); in json_tokener_parse_ex() 338 printbuf_reset(tok->pb); in json_tokener_parse_ex() 359 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex() [all …]
|
D | json_object.c | 100 static int json_escape_str(struct printbuf *pb, char *str, int len) in json_escape_str() argument 118 printbuf_memappend(pb, str + start_offset, pos - start_offset); in json_escape_str() 120 if(c == '\b') printbuf_memappend(pb, "\\b", 2); in json_escape_str() 121 else if(c == '\n') printbuf_memappend(pb, "\\n", 2); in json_escape_str() 122 else if(c == '\r') printbuf_memappend(pb, "\\r", 2); in json_escape_str() 123 else if(c == '\t') printbuf_memappend(pb, "\\t", 2); in json_escape_str() 124 else if(c == '\f') printbuf_memappend(pb, "\\f", 2); in json_escape_str() 125 else if(c == '"') printbuf_memappend(pb, "\\\"", 2); in json_escape_str() 126 else if(c == '\\') printbuf_memappend(pb, "\\\\", 2); in json_escape_str() 127 else if(c == '/') printbuf_memappend(pb, "\\/", 2); in json_escape_str() [all …]
|
D | printbuf.c | 92 int printbuf_memset(struct printbuf *pb, int offset, int charvalue, int len) in printbuf_memset() argument 97 offset = pb->bpos; in printbuf_memset() 99 if (pb->size < size_needed) in printbuf_memset() 101 if (printbuf_extend(pb, size_needed) < 0) in printbuf_memset() 105 memset(pb->buf + offset, charvalue, len); in printbuf_memset() 106 if (pb->bpos < size_needed) in printbuf_memset() 107 pb->bpos = size_needed; in printbuf_memset()
|
D | json_util.c | 69 struct printbuf *pb; in json_object_from_file() local 79 if(!(pb = printbuf_new())) { in json_object_from_file() 85 printbuf_memappend(pb, buf, ret); in json_object_from_file() 91 printbuf_free(pb); in json_object_from_file() 94 obj = json_tokener_parse(pb->buf); in json_object_from_file() 95 printbuf_free(pb); in json_object_from_file()
|
/device/google/redbull/json-c/ |
D | json_tokener.c | 118 tok->pb = printbuf_new(); in json_tokener_new_ex() 132 if (tok->pb) printbuf_free(tok->pb); in json_tokener_free() 270 printbuf_reset(tok->pb); in json_tokener_parse_ex() 271 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex() 294 printbuf_reset(tok->pb); in json_tokener_parse_ex() 300 printbuf_reset(tok->pb); in json_tokener_parse_ex() 311 printbuf_reset(tok->pb); in json_tokener_parse_ex() 319 printbuf_reset(tok->pb); in json_tokener_parse_ex() 338 printbuf_reset(tok->pb); in json_tokener_parse_ex() 359 printbuf_memappend_fast(tok->pb, &c, 1); in json_tokener_parse_ex() [all …]
|
D | json_object.c | 100 static int json_escape_str(struct printbuf *pb, char *str, int len) in json_escape_str() argument 118 printbuf_memappend(pb, str + start_offset, pos - start_offset); in json_escape_str() 120 if(c == '\b') printbuf_memappend(pb, "\\b", 2); in json_escape_str() 121 else if(c == '\n') printbuf_memappend(pb, "\\n", 2); in json_escape_str() 122 else if(c == '\r') printbuf_memappend(pb, "\\r", 2); in json_escape_str() 123 else if(c == '\t') printbuf_memappend(pb, "\\t", 2); in json_escape_str() 124 else if(c == '\f') printbuf_memappend(pb, "\\f", 2); in json_escape_str() 125 else if(c == '"') printbuf_memappend(pb, "\\\"", 2); in json_escape_str() 126 else if(c == '\\') printbuf_memappend(pb, "\\\\", 2); in json_escape_str() 127 else if(c == '/') printbuf_memappend(pb, "\\/", 2); in json_escape_str() [all …]
|
D | printbuf.c | 92 int printbuf_memset(struct printbuf *pb, int offset, int charvalue, int len) in printbuf_memset() argument 97 offset = pb->bpos; in printbuf_memset() 99 if (pb->size < size_needed) in printbuf_memset() 101 if (printbuf_extend(pb, size_needed) < 0) in printbuf_memset() 105 memset(pb->buf + offset, charvalue, len); in printbuf_memset() 106 if (pb->bpos < size_needed) in printbuf_memset() 107 pb->bpos = size_needed; in printbuf_memset()
|
D | json_util.c | 69 struct printbuf *pb; in json_object_from_file() local 79 if(!(pb = printbuf_new())) { in json_object_from_file() 85 printbuf_memappend(pb, buf, ret); in json_object_from_file() 91 printbuf_free(pb); in json_object_from_file() 94 obj = json_tokener_parse(pb->buf); in json_object_from_file() 95 printbuf_free(pb); in json_object_from_file()
|
/device/linaro/bootloader/edk2/StdLib/LibC/StdLib/ |
D | Qsort.c | 127 char *pa, *pb, *pc, *pd, *pl, *pm, *pn; in qsort() local 155 pa = pb = (char *)a + es; in qsort() 159 while (pb <= pc && (cmp_result = cmp(pb, a)) <= 0) { in qsort() 162 swap(pa, pb); in qsort() 165 pb += es; in qsort() 167 while (pb <= pc && (cmp_result = cmp(pc, a)) >= 0) { in qsort() 175 if (pb > pc) in qsort() 177 swap(pb, pc); in qsort() 179 pb += es; in qsort() 192 r = MIN(pa - (char *)a, pb - pa); in qsort() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/ |
D | bufferobject.c | 158 PyBufferProcs *pb = base->ob_type->tp_as_buffer; in PyBuffer_FromObject() local 160 if ( pb == NULL || in PyBuffer_FromObject() 161 pb->bf_getreadbuffer == NULL || in PyBuffer_FromObject() 162 pb->bf_getsegcount == NULL ) in PyBuffer_FromObject() 174 PyBufferProcs *pb = base->ob_type->tp_as_buffer; in PyBuffer_FromReadWriteObject() local 176 if ( pb == NULL || in PyBuffer_FromReadWriteObject() 177 pb->bf_getwritebuffer == NULL || in PyBuffer_FromReadWriteObject() 178 pb->bf_getsegcount == NULL ) in PyBuffer_FromReadWriteObject() 372 PyBufferProcs *pb = other->ob_type->tp_as_buffer; in buffer_concat() local 378 if ( pb == NULL || in buffer_concat() [all …]
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/ |
D | bufferobject.c | 158 PyBufferProcs *pb = base->ob_type->tp_as_buffer; in PyBuffer_FromObject() local 160 if ( pb == NULL || in PyBuffer_FromObject() 161 pb->bf_getreadbuffer == NULL || in PyBuffer_FromObject() 162 pb->bf_getsegcount == NULL ) in PyBuffer_FromObject() 174 PyBufferProcs *pb = base->ob_type->tp_as_buffer; in PyBuffer_FromReadWriteObject() local 176 if ( pb == NULL || in PyBuffer_FromReadWriteObject() 177 pb->bf_getwritebuffer == NULL || in PyBuffer_FromReadWriteObject() 178 pb->bf_getsegcount == NULL ) in PyBuffer_FromReadWriteObject() 382 PyBufferProcs *pb = other->ob_type->tp_as_buffer; in buffer_concat() local 388 if ( pb == NULL || in buffer_concat() [all …]
|
/device/google/trout/agl_services_build/cmake/utils/ |
D | grpc_cpp_generator.cmake | 59 OUTPUT "${trout_GENS_DIR}/${FIL_WE}.grpc.pb.cc" 60 "${trout_GENS_DIR}/${FIL_WE}.grpc.pb.h" 61 "${trout_GENS_DIR}/${FIL_WE}.pb.cc" 62 "${trout_GENS_DIR}/${FIL_WE}.pb.h" 74 …IR}/${FIL_WE}.grpc.pb.cc" "${trout_GENS_DIR}/${FIL_WE}.grpc.pb.h" "${trout_GENS_DIR}/${FIL_WE}.pb.…
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Parser/ |
D | pgen.c | 39 nfa *nf, node *n, int *pa, int *pb); 41 nfa *nf, node *n, int *pa, int *pb); 43 nfa *nf, node *n, int *pa, int *pb); 45 nfa *nf, node *n, int *pa, int *pb); 188 compile_rhs(labellist *ll, nfa *nf, node *n, int *pa, int *pb) in compile_rhs() argument 198 compile_alt(ll, nf, n, pa, pb); in compile_rhs() 203 b = *pb; in compile_rhs() 205 *pb = addnfastate(nf); in compile_rhs() 207 addnfaarc(nf, b, *pb, EMPTY); in compile_rhs() 216 addnfaarc(nf, b, *pb, EMPTY); in compile_rhs() [all …]
|