Home
last modified time | relevance | path

Searched refs:buf_p (Results 1 - 19 of 19) sorted by relevance

/third_party/jerryscript/jerry-core/lit/
H A Dlit-strings.c376 lit_read_code_point_from_utf8 (const lit_utf8_byte_t *buf_p, /**< buffer with characters */ in lit_read_code_point_from_utf8() argument
380 JERRY_ASSERT (buf_p && buf_size); in lit_read_code_point_from_utf8()
382 lit_utf8_byte_t c = buf_p[0]; in lit_read_code_point_from_utf8()
413 ret |= (buf_p[i] & LIT_UTF8_LAST_6_BITS_MASK); in lit_read_code_point_from_utf8()
426 lit_read_code_unit_from_utf8 (const lit_utf8_byte_t *buf_p, /**< buffer with characters */ in lit_read_code_unit_from_utf8() argument
429 JERRY_ASSERT (buf_p); in lit_read_code_unit_from_utf8()
431 lit_utf8_byte_t c = buf_p[0]; in lit_read_code_unit_from_utf8()
455 ret |= (buf_p[i] & LIT_UTF8_LAST_6_BITS_MASK); in lit_read_code_unit_from_utf8()
469 lit_read_prev_code_unit_from_utf8 (const lit_utf8_byte_t *buf_p, /**< buffer with characters */ in lit_read_prev_code_unit_from_utf8() argument
472 JERRY_ASSERT (buf_p); in lit_read_prev_code_unit_from_utf8()
484 lit_cesu8_read_next(const lit_utf8_byte_t **buf_p) lit_cesu8_read_next() argument
500 lit_cesu8_read_prev(const lit_utf8_byte_t **buf_p) lit_cesu8_read_prev() argument
517 lit_cesu8_peek_next(const lit_utf8_byte_t *buf_p) lit_cesu8_peek_next() argument
533 lit_cesu8_peek_prev(const lit_utf8_byte_t *buf_p) lit_cesu8_peek_prev() argument
547 lit_utf8_incr(const lit_utf8_byte_t **buf_p) lit_utf8_incr() argument
558 lit_utf8_decr(const lit_utf8_byte_t **buf_p) lit_utf8_decr() argument
670 lit_code_unit_to_utf8(ecma_char_t code_unit, lit_utf8_byte_t *buf_p) lit_code_unit_to_utf8() argument
[all...]
H A Dlit-strings.h113 lit_utf8_size_t lit_code_unit_to_utf8 (ecma_char_t code_unit, lit_utf8_byte_t *buf_p);
128 lit_utf8_size_t lit_read_code_point_from_utf8 (const lit_utf8_byte_t *buf_p, lit_utf8_size_t buf_size,
131 lit_utf8_size_t lit_read_code_unit_from_utf8 (const lit_utf8_byte_t *buf_p,
134 lit_utf8_size_t lit_read_prev_code_unit_from_utf8 (const lit_utf8_byte_t *buf_p,
137 ecma_char_t lit_cesu8_read_next (const lit_utf8_byte_t **buf_p);
138 ecma_char_t lit_cesu8_read_prev (const lit_utf8_byte_t **buf_p);
139 ecma_char_t lit_cesu8_peek_next (const lit_utf8_byte_t *buf_p);
140 ecma_char_t lit_cesu8_peek_prev (const lit_utf8_byte_t *buf_p);
141 void lit_utf8_incr (const lit_utf8_byte_t **buf_p);
142 void lit_utf8_decr (const lit_utf8_byte_t **buf_p);
[all...]
H A Dlit-char-helpers.c439 lit_char_hex_lookup (const lit_utf8_byte_t *buf_p, /**< buffer */ in lit_char_hex_lookup() argument
445 if (JERRY_UNLIKELY (buf_p + lookup > buf_end_p)) in lit_char_hex_lookup()
454 lit_utf8_byte_t ch = *buf_p++; in lit_char_hex_lookup()
/third_party/jerryscript/jerry-ext/handler/
H A Dhandler-print.c87 for (jerry_char_t *buf_p = substr_buf; buf_p < buf_end_p; buf_p++) in jerryx_handler_print()
90 if ((*buf_p & 0xc0) != 0x80) in jerryx_handler_print()
101 for (jerry_char_t *buf_p = substr_buf; buf_p < buf_end_p; buf_p++) in jerryx_handler_print()
103 char chr = (char) *buf_p; in jerryx_handler_print()
/third_party/selinux/libselinux/src/
H A Dlabel_support.c68 char **spec_entry, *buf_p; in read_spec_entries() local
83 buf_p = line_buf; in read_spec_entries()
84 while (isspace(*buf_p)) in read_spec_entries()
85 buf_p++; in read_spec_entries()
88 if (*buf_p == '#' || *buf_p == '\0') in read_spec_entries()
98 if (len - 1 == buf_p - line_buf) { in read_spec_entries()
103 rc = read_spec_entry(spec_entry, &buf_p, &entry_len, errbuf); in read_spec_entries()
H A Dselinux_config.c163 char *line_buf = NULL, *buf_p, *value, *type = NULL, *end; in init_selinux_config() local
175 buf_p = line_buf; in init_selinux_config()
176 while (isspace(*buf_p)) in init_selinux_config()
177 buf_p++; in init_selinux_config()
178 if (*buf_p == '#' || *buf_p == 0) in init_selinux_config()
181 if (!strncasecmp(buf_p, SELINUXTYPETAG, in init_selinux_config()
183 buf_p += sizeof(SELINUXTYPETAG) - 1; in init_selinux_config()
184 while (isspace(*buf_p)) in init_selinux_config()
185 buf_p in init_selinux_config()
[all...]
H A Dlabel_media.c38 char *buf_p; in process_line() local
41 buf_p = line_buf; in process_line()
42 while (isspace(*buf_p)) in process_line()
43 buf_p++; in process_line()
45 if (*buf_p == '#' || *buf_p == 0) in process_line()
H A Dlabel_x.c40 char *buf_p; in process_line() local
43 buf_p = line_buf; in process_line()
44 while (isspace(*buf_p)) in process_line()
45 buf_p++; in process_line()
47 if (*buf_p == '#' || *buf_p == 0) in process_line()
/third_party/selinux/libsepol/src/
H A Dutil.c259 char **arg, *buf_p; in tokenize() local
264 buf_p = line_buf; in tokenize()
269 for (items = 0; items < num_args && *buf_p != '\0'; items++) { in tokenize()
274 *arg = strdup(buf_p); in tokenize()
282 rc = tokenize_str(delim, arg, &buf_p, &arg_len); in tokenize()
/third_party/jerryscript/jerry-core/ecma/base/
H A Decma-helpers-conversion.c727 lit_utf8_byte_t *buf_p = out_buffer_p + buffer_size; in ecma_uint32_to_utf8_string() local
731 JERRY_ASSERT (buf_p >= out_buffer_p); in ecma_uint32_to_utf8_string()
733 buf_p--; in ecma_uint32_to_utf8_string()
734 *buf_p = (lit_utf8_byte_t) ((value % 10) + LIT_CHAR_0); in ecma_uint32_to_utf8_string()
739 JERRY_ASSERT (buf_p >= out_buffer_p); in ecma_uint32_to_utf8_string()
741 lit_utf8_size_t bytes_copied = (lit_utf8_size_t) (out_buffer_p + buffer_size - buf_p); in ecma_uint32_to_utf8_string()
743 if (JERRY_LIKELY (buf_p != out_buffer_p)) in ecma_uint32_to_utf8_string()
745 memmove (out_buffer_p, buf_p, bytes_copied); in ecma_uint32_to_utf8_string()
/third_party/libwebsockets/lib/roles/http/
H A Dcookie.c151 lws_cookie_rm_sws(const char **buf_p, size_t *len_p) in lws_cookie_rm_sws() argument
156 if (!buf_p || !*buf_p || !len_p || !*len_p) { in lws_cookie_rm_sws()
161 buf = *buf_p; in lws_cookie_rm_sws()
170 *buf_p = buf; in lws_cookie_rm_sws()
/third_party/ffmpeg/libavcodec/
H A Dffv1dec.c865 uint8_t *buf_p; in decode_frame() local
926 buf_p = buf + buf_size; in decode_frame()
933 if (trailer > buf_p - buf) v = INT_MAX; in decode_frame()
934 else v = AV_RB24(buf_p-trailer) + trailer; in decode_frame()
935 } else v = buf_p - c->bytestream_start; in decode_frame()
936 if (buf_p - c->bytestream_start < v) { in decode_frame()
941 buf_p -= v; in decode_frame()
944 unsigned crc = av_crc(av_crc_get_table(AV_CRC_32_IEEE), 0, buf_p, v); in decode_frame()
958 av_log(avctx, AV_LOG_DEBUG, "slice %d, CRC: 0x%08"PRIX32"\n", i, AV_RB32(buf_p + v - 4)); in decode_frame()
963 ff_init_range_decoder(&fs->c, buf_p, in decode_frame()
[all...]
H A Dffv1enc.c1103 uint8_t *buf_p; in encode_frame() local
1205 buf_p = pkt->data; in encode_frame()
1218 memmove(buf_p, fs->c.bytestream_start, bytes); in encode_frame()
1220 AV_WB24(buf_p + bytes, bytes); in encode_frame()
1225 buf_p[bytes++] = 0; in encode_frame()
1226 v = av_crc(av_crc_get_table(AV_CRC_32_IEEE), 0, buf_p, bytes); in encode_frame()
1227 AV_WL32(buf_p + bytes, v); in encode_frame()
1230 buf_p += bytes; in encode_frame()
1237 pkt->size = buf_p - pkt->data; in encode_frame()
/third_party/jerryscript/jerry-core/include/
H A Djerryscript-core.h634 const uint8_t *buf_p,
638 uint8_t *buf_p,
/third_party/ltp/tools/sparse/sparse-src/
H A Dcompile-i386.c575 static void textbuf_push(struct textbuf **buf_p, const char *text) in textbuf_push() argument
577 struct textbuf *tmp, *list = *buf_p; in textbuf_push()
600 *buf_p = list; in textbuf_push()
603 static void textbuf_emit(struct textbuf **buf_p) in textbuf_emit() argument
605 struct textbuf *tmp, *list = *buf_p; in textbuf_emit()
622 *buf_p = list; in textbuf_emit()
/third_party/jerryscript/jerry-core/api/
H A Djerry.c3754 const uint8_t *buf_p, /**< buffer to copy from */ in jerry_arraybuffer_write()
3779 memcpy ((void *) (mem_buffer_p + offset), (void *) buf_p, copy_count); in jerry_arraybuffer_write()
3786 JERRY_UNUSED (buf_p); in jerry_arraybuffer_write()
3803 uint8_t *buf_p, /**< destination buffer to copy to */ in jerry_arraybuffer_read()
3828 memcpy ((void *) buf_p, (void *) (mem_buffer_p + offset), copy_count); in jerry_arraybuffer_read()
3835 JERRY_UNUSED (buf_p); in jerry_arraybuffer_read()
3752 jerry_arraybuffer_write(const jerry_value_t value, jerry_length_t offset, const uint8_t *buf_p, jerry_length_t buf_size) jerry_arraybuffer_write() argument
3801 jerry_arraybuffer_read(const jerry_value_t value, jerry_length_t offset, uint8_t *buf_p, jerry_length_t buf_size) jerry_arraybuffer_read() argument
/third_party/jerryscript/jerry-core/parser/js/
H A Djs-lexer.c3304 uint8_t buf_p[64]; in lexer_compare_identifiers() local
3308 lexer_convert_ident_to_cesu8 (buf_p, left_p->char_p, length); in lexer_compare_identifiers()
3309 return lexer_compare_identifier_to_chars (right_p->char_p, buf_p, length); in lexer_compare_identifiers()
/third_party/skia/third_party/externals/imgui/
H A Dimgui.cpp1797 char* buf_p = out_buf;
1799 while (buf_p < buf_end - 1 && (!in_text_end || in_text < in_text_end) && *in_text)
1803 *buf_p++ = (char)c;
1805 buf_p += ImTextCharToUtf8_inline(buf_p, (int)(buf_end - buf_p - 1), c);
1807 *buf_p = 0;
1808 return (int)(buf_p - out_buf);
11739 char* buf_p = buf, * buf_end = buf + IM_ARRAYSIZE(buf); in DebugNodeDrawList() local
11745 buf_p in DebugNodeDrawList()
[all...]
/third_party/mesa3d/src/imgui/
H A Dimgui.cpp9348 char *buf_p = buf, *buf_end = buf + IM_ARRAYSIZE(buf); in ShowMetricsWindow() local
9355 buf_p += ImFormatString(buf_p, buf_end - buf_p, "%s %04d: pos (%8.2f,%8.2f), uv (%.6f,%.6f), col %08X\n", in ShowMetricsWindow()

Completed in 60 milliseconds