Home
last modified time | relevance | path

Searched refs:cp (Results 1 - 25 of 1106) sorted by relevance

12345678910>>...45

/third_party/libunwind/libunwind/src/
H A Dos-linux.h43 char *cp = buf, tmp; in unw_ltoa() local
48 *cp++ = '0' + (val % 10); in unw_ltoa()
54 len = cp - buf; in unw_ltoa()
55 --cp; in unw_ltoa()
59 buf[i] = cp[-i]; in unw_ltoa()
60 cp[-i] = tmp; in unw_ltoa()
68 char path[sizeof ("/proc/0123456789/maps")], *cp; in maps_init() local
71 cp = unw_ltoa (path + 6, pid); in maps_init()
72 assert (cp + 6 < path + sizeof (path)); in maps_init()
73 memcpy (cp, "/map in maps_init()
99 skip_whitespace(char *cp) skip_whitespace() argument
110 scan_hex(char *cp, unsigned long *valp) scan_hex() argument
140 scan_dec(char *cp, unsigned long *valp) scan_dec() argument
167 scan_char(char *cp, char *valp) scan_char() argument
183 scan_string(char *cp, char *valp, size_t buf_size) scan_string() argument
207 char perm[16], dash = 0, colon = 0, *cp; maps_next() local
[all...]
/third_party/protobuf/src/google/protobuf/util/internal/
H A Djson_escaping.cc87 // Returns true if the given unicode code point cp is a valid
88 // unicode code point (i.e. in the range 0 <= cp <= kMaxCodePoint).
89 inline bool IsValidCodePoint(uint32 cp) { in IsValidCodePoint() argument
90 return cp <= JsonEscaping::kMaxCodePoint; in IsValidCodePoint()
95 inline uint16 ToLowSurrogate(uint32 cp) { in ToLowSurrogate() argument
96 return (cp & in ToLowSurrogate()
103 inline uint16 ToHighSurrogate(uint32 cp) { in ToHighSurrogate() argument
104 return (cp >> 10) + (JsonEscaping::kMinHighSurrogate - in ToHighSurrogate()
114 // code point from the previous iteration (cp), together with the number
120 // The code point read (partial or complete) is stored in (cp)
128 ReadCodePoint(StringPiece str, int index, uint32* cp, int* num_left, int* num_read) ReadCodePoint() argument
193 ToHex(uint16 cp, char* buffer) ToHex() argument
207 ToSurrogateHex(uint32 cp, char* buffer) ToSurrogateHex() argument
237 EscapeCodePoint(uint32 cp, char* buffer) EscapeCodePoint() argument
275 EscapeCodePoint(uint32 cp, char* buffer, bool force_output) EscapeCodePoint() argument
304 uint32 cp = 0; // Current unicode code point. Escape() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Daf_afwtdn.c429 ChannelParams *cp; member
572 ChannelParams *cp = &s->cp[ch]; in reallocate_outputs() local
579 av_freep(&cp->subbands_to_free[level]); in reallocate_outputs()
583 cp->subbands_to_free[level] = av_calloc(add + temp_length + 1, sizeof(**out)); in reallocate_outputs()
584 if (!cp->subbands_to_free[level]) in reallocate_outputs()
587 out[level] = cp->subbands_to_free[level] + add; in reallocate_outputs()
597 av_freep(&cp->subbands_to_free[levels]); in reallocate_outputs()
600 cp->subbands_to_free[levels] = av_calloc(temp_length + 1, sizeof(**out)); in reallocate_outputs()
601 if (!cp in reallocate_outputs()
625 ChannelParams *cp = &s->cp[ch]; forward() local
767 ChannelParams *cp = &s->cp[ch]; inverse() local
933 ChannelParams *cp = &s->cp[ch]; filter_channel() local
1180 ChannelParams *cp = &s->cp[ch]; config_output() local
1249 ChannelParams *cp = &s->cp[ch]; uninit() local
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/api/
H A Dtest-collect-unicodes.c35 hb_codepoint_t cp; in test_collect_unicodes_format4() local
39 cp = HB_SET_VALUE_INVALID; in test_collect_unicodes_format4()
40 g_assert (hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4()
41 g_assert_cmpuint (0x61, ==, cp); in test_collect_unicodes_format4()
42 g_assert (hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4()
43 g_assert_cmpuint (0x62, ==, cp); in test_collect_unicodes_format4()
44 g_assert (hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4()
45 g_assert_cmpuint (0x63, ==, cp); in test_collect_unicodes_format4()
46 g_assert (!hb_set_next (codepoints, &cp)); in test_collect_unicodes_format4()
57 hb_codepoint_t cp; in test_collect_unicodes_format12_notdef() local
78 hb_codepoint_t cp; test_collect_unicodes_format12() local
100 hb_codepoint_t cp; test_collect_unicodes() local
[all...]
H A Dtest-ot-face.c37 test_font (hb_font_t *font, hb_codepoint_t cp) in test_font() argument
53 hb_face_collect_variation_unicodes (face, cp, set); in test_font()
55 hb_font_get_nominal_glyph (font, cp, &g); in test_font()
56 hb_font_get_variation_glyph (font, cp, cp, &g); in test_font()
57 hb_font_get_glyph_h_advance (font, cp); in test_font()
58 hb_font_get_glyph_v_advance (font, cp); in test_font()
59 hb_font_get_glyph_h_origin (font, cp, &x, &y); in test_font()
60 hb_font_get_glyph_v_origin (font, cp, &x, &y); in test_font()
61 hb_font_get_glyph_extents (font, cp, in test_font()
[all...]
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-japanese/iso-2022-jp/
H A Diso2022jp-encoder.js3 var jis0208CPs = []; // index is unicode cp, value is pointer
121 var cp, ptr;
124 if (cps.length == 0) cp = endofstream;
125 else cp = cps.shift();
126 if (cp == endofstream && encState != "ascii") {
127 cps.unshift(cp);
132 if (cp == endofstream && encState == "ascii") {
138 (cp === 0x0e || cp === 0x0f || cp
[all...]
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
H A Dcommand_parser_test.cc36 CommandParser cp(&script, &pipeline, 1, data); in TEST_F()
37 Result r = cp.Parse(); in TEST_F()
40 auto& cmds = cp.Commands(); in TEST_F()
74 CommandParser cp(&script, &pipeline, 1, data); in TEST_F()
75 Result r = cp.Parse(); in TEST_F()
78 auto& cmds = cp.Commands(); in TEST_F()
96 CommandParser cp(&script, &pipeline, 1, data); in TEST_F()
97 Result r = cp.Parse(); in TEST_F()
100 auto& cmds = cp.Commands(); in TEST_F()
118 CommandParser cp( in TEST_F()
[all...]
/third_party/python/Modules/_decimal/libmpdec/
H A Dio.c464 char *decstring = NULL, *cp = NULL; in _mpd_to_string() local
475 cp = decstring = mpd_alloc(mem, sizeof *decstring); in _mpd_to_string()
476 if (cp == NULL) { in _mpd_to_string()
482 *cp++ = '-'; in _mpd_to_string()
485 *cp++ = ' '; in _mpd_to_string()
488 *cp++ = '+'; in _mpd_to_string()
493 strcpy(cp, "NaN"); in _mpd_to_string()
494 cp += 3; in _mpd_to_string()
497 strcpy(cp, "sNaN"); in _mpd_to_string()
498 cp in _mpd_to_string()
692 const unsigned char *cp = (const unsigned char *)s; _mpd_copy_utf8() local
770 const char *cp = spec->grouping; mpd_validate_lconv() local
791 char *cp = (char *)fmt; mpd_parse_fmt_str() local
964 char *cp = dest->data + dest->cur; _mbstr_copy_pad() local
1159 char *cp; _mpd_add_pad() local
1468 char *cp; mpd_snprint_flags() local
1493 char *cp; mpd_lsnprint_flags() local
1529 char *cp; mpd_lsnprint_signals() local
[all...]
/third_party/ltp/testcases/kernel/fs/doio/
H A Dpattern.c43 char *cp; in pattern_check() local
48 cp = buf; in pattern_check()
60 return (memcmp(cp, pat + patshift, nleft) ? -1 : 0); in pattern_check()
62 if (memcmp(cp, pat + patshift, nb)) in pattern_check()
66 cp += nb; in pattern_check()
72 return (memcmp(cp, pat, nleft) ? -1 : 0); in pattern_check()
74 if (memcmp(cp, pat, nb)) in pattern_check()
78 cp += nb; in pattern_check()
87 ncmp = cp - buf; in pattern_check()
90 if (memcmp(buf, cp, n in pattern_check()
104 char *cp; pattern_fill() local
[all...]
/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
H A Dlibcpuset.c613 struct cpuset *cp = NULL; in cpuset_alloc() local
616 if ((cp = calloc(1, sizeof(struct cpuset))) == NULL) in cpuset_alloc()
620 if ((cp->cpus = bitmask_alloc(nbits)) == NULL) in cpuset_alloc()
624 if ((cp->mems = bitmask_alloc(nbits)) == NULL) in cpuset_alloc()
627 return cp; in cpuset_alloc()
629 if (cp && cp->cpus) in cpuset_alloc()
630 bitmask_free(cp->cpus); in cpuset_alloc()
631 if (cp && cp in cpuset_alloc()
638 cpuset_free(struct cpuset *cp) cpuset_free() argument
666 cpuset_setcpus(struct cpuset *cp, const struct bitmask *cpus) cpuset_setcpus() argument
680 cpuset_setmems(struct cpuset *cp, const struct bitmask *mems) cpuset_setmems() argument
694 cpuset_set_iopt(struct cpuset *cp, const char *optionname, int value) cpuset_set_iopt() argument
742 cpuset_set_sopt(UNUSED struct cpuset *cp, UNUSED const char *optionname, UNUSED const char *value) cpuset_set_sopt() argument
783 resolve_cp(const struct cpuset *cp, struct cpuset **cp_tofree) resolve_cp() argument
807 cpuset_getcpus(const struct cpuset *cp, struct bitmask *cpus) cpuset_getcpus() argument
827 cpuset_getmems(const struct cpuset *cp, struct bitmask *mems) cpuset_getmems() argument
847 cpuset_cpus_weight(const struct cpuset *cp) cpuset_cpus_weight() argument
867 cpuset_mems_weight(const struct cpuset *cp) cpuset_mems_weight() argument
887 cpuset_get_iopt(const struct cpuset *cp, const char *optionname) cpuset_get_iopt() argument
914 cpuset_get_sopt(UNUSED const struct cpuset *cp, UNUSED const char *optionname) cpuset_get_sopt() argument
1733 apply_cpuset_settings(const char *path, const struct cpuset *cp) apply_cpuset_settings() argument
1916 cpuset_would_crash_kernel(const struct cpuset *cp) cpuset_would_crash_kernel() argument
2013 cr_or_mod(const char *relpath, const struct cpuset *cp, int new) cr_or_mod() argument
2064 cpuset_create(const char *relpath, const struct cpuset *cp) cpuset_create() argument
2087 cpuset_query(struct cpuset *cp, const char *relpath) cpuset_query() argument
2171 cpuset_modify(const char *relpath, const struct cpuset *cp) cpuset_modify() argument
2220 cpuset_cpusetofpid(struct cpuset *cp, pid_t pid) cpuset_cpusetofpid() argument
2606 const char *cp; pidcount() local
2948 cpuset_c_rel_to_sys_cpu(const struct cpuset *cp, int cpu) cpuset_c_rel_to_sys_cpu() argument
2964 cpuset_c_sys_to_rel_cpu(const struct cpuset *cp, int cpu) cpuset_c_sys_to_rel_cpu() argument
2980 cpuset_c_rel_to_sys_mem(const struct cpuset *cp, int mem) cpuset_c_rel_to_sys_mem() argument
2996 cpuset_c_sys_to_rel_mem(const struct cpuset *cp, int mem) cpuset_c_sys_to_rel_mem() argument
3014 struct cpuset *cp; cpuset_p_rel_to_sys_cpu() local
3030 struct cpuset *cp; cpuset_p_sys_to_rel_cpu() local
3046 struct cpuset *cp; cpuset_p_rel_to_sys_mem() local
3062 struct cpuset *cp; cpuset_p_sys_to_rel_mem() local
3111 struct cpuset *cp = NULL; cpuset_get_placement() local
3467 cpuset_export(const struct cpuset *cp, char *buf, int buflen) cpuset_export() argument
3533 cpuset_import(struct cpuset *cp, const char *buf, int *elinenum, char *emsg, int elen) cpuset_import() argument
[all...]
H A Dcpuset.h47 * cpuset_free(struct cpuset *cp) - Free struct cpuset *cp
56 * cpuset_setcpus(cp, cpus) - Set CPUs in cpuset cp to bitmask cpus
57 * cpuset_setmems(cp, mems) - Set Memory Nodes in cpuset cp to bitmask mems
58 * cpuset_set_iopt(cp, optname, val) - Set integer value optname of cpuset cp
59 * cpuset_set_sopt(cp, optname, val) - [optional] Set string value optname
63 * cpuset_getcpus(cp, cpu
[all...]
/third_party/libunwind/libunwind/src/mi/
H A Dstrerror.c33 const char *cp; in unw_strerror() local
37 case UNW_ESUCCESS: cp = "no error"; break; in unw_strerror()
38 case UNW_EUNSPEC: cp = "unspecified (general) error"; break; in unw_strerror()
39 case UNW_ENOMEM: cp = "out of memory"; break; in unw_strerror()
40 case UNW_EBADREG: cp = "bad register number"; break; in unw_strerror()
41 case UNW_EREADONLYREG: cp = "attempt to write read-only register"; break; in unw_strerror()
42 case UNW_ESTOPUNWIND: cp = "stop unwinding"; break; in unw_strerror()
43 case UNW_EINVALIDIP: cp = "invalid IP"; break; in unw_strerror()
44 case UNW_EBADFRAME: cp = "bad frame"; break; in unw_strerror()
45 case UNW_EINVAL: cp in unw_strerror()
[all...]
/third_party/curl/lib/
H A Dcurl_path.c120 const char *cp = *cpp, *end; in Curl_get_pathname() local
128 if(!*cp || !homedir) { in Curl_get_pathname()
134 cp += strspn(cp, WHITESPACE); in Curl_get_pathname()
136 fullPathLength = strlen(cp) + strlen(homedir) + 2; in Curl_get_pathname()
142 if(*cp == '\"' || *cp == '\'') { in Curl_get_pathname()
143 quot = *cp++; in Curl_get_pathname()
146 for(i = j = 0; i <= strlen(cp); i++) { in Curl_get_pathname()
147 if(cp[ in Curl_get_pathname()
[all...]
/third_party/lwip/src/netif/ppp/
H A Dvj.c77 *cp++ = 0; \
78 cp[1] = (u8_t)(n); \
79 cp[0] = (u8_t)((n) >> 8); \
80 cp += 2; \
82 *cp++ = (u8_t)(n); \
87 *cp++ = 0; \
88 cp[1] = (u8_t)(n); \
89 cp[0] = (u8_t)((n) >> 8); \
90 cp += 2; \
92 *cp
173 u8_t *cp = new_seq; vj_compress_tcp() local
499 u8_t *cp; vj_uncompress_tcp() local
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
H A DPatternTokenizer.java167 int cp; in quoteLiteral()
168 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) { in quoteLiteral()
169 cp = UTF16.charAt(string, i); in quoteLiteral()
170 if (escapeCharacters.contains(cp)) { in quoteLiteral()
176 appendEscaped(result, cp); in quoteLiteral()
180 if (needingQuoteCharacters.contains(cp)) { in quoteLiteral()
183 UTF16.append(result, cp); in quoteLiteral()
184 if (usingQuote && cp == SINGLE_QUOTE) { // double it in quoteLiteral()
192 UTF16.append(result, cp); in quoteLiteral()
196 if (cp in quoteLiteral()
226 appendEscaped(StringBuffer result, int cp) appendEscaped() argument
[all...]
H A DTrie2_16.java183 int cp = startingCP; in rangeEnd()
194 if (cp >= limit) { in rangeEnd()
197 if (cp < 0x0d800 || (cp > 0x0dbff && cp <= 0x0ffff)) { in rangeEnd()
202 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; in rangeEnd()
203 } else if (cp < 0xffff) { in rangeEnd()
204 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 in rangeEnd()
206 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
207 } else if (cp < highStar in rangeEnd()
[all...]
H A DTrie2_32.java180 int cp = startingCP; in rangeEnd()
191 if (cp >= limit) { in rangeEnd()
194 if (cp < 0x0d800 || (cp > 0x0dbff && cp <= 0x0ffff)) { in rangeEnd()
199 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; in rangeEnd()
200 } else if (cp < 0xffff) { in rangeEnd()
201 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 in rangeEnd()
203 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
204 } else if (cp < highStar in rangeEnd()
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
H A DPatternTokenizer.java169 int cp; in quoteLiteral()
170 for (int i = 0; i < string.length(); i += UTF16.getCharCount(cp)) { in quoteLiteral()
171 cp = UTF16.charAt(string, i); in quoteLiteral()
172 if (escapeCharacters.contains(cp)) { in quoteLiteral()
178 appendEscaped(result, cp); in quoteLiteral()
182 if (needingQuoteCharacters.contains(cp)) { in quoteLiteral()
185 UTF16.append(result, cp); in quoteLiteral()
186 if (usingQuote && cp == SINGLE_QUOTE) { // double it in quoteLiteral()
194 UTF16.append(result, cp); in quoteLiteral()
198 if (cp in quoteLiteral()
228 appendEscaped(StringBuffer result, int cp) appendEscaped() argument
[all...]
H A DTrie2_16.java185 int cp = startingCP; in rangeEnd()
196 if (cp >= limit) { in rangeEnd()
199 if (cp < 0x0d800 || (cp > 0x0dbff && cp <= 0x0ffff)) { in rangeEnd()
204 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; in rangeEnd()
205 } else if (cp < 0xffff) { in rangeEnd()
206 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 in rangeEnd()
208 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
209 } else if (cp < highStar in rangeEnd()
[all...]
H A DTrie2_32.java182 int cp = startingCP; in rangeEnd()
193 if (cp >= limit) { in rangeEnd()
196 if (cp < 0x0d800 || (cp > 0x0dbff && cp <= 0x0ffff)) { in rangeEnd()
201 block = index[cp >> UTRIE2_SHIFT_2] << UTRIE2_INDEX_SHIFT; in rangeEnd()
202 } else if (cp < 0xffff) { in rangeEnd()
203 // Lead Surrogate Code Point, 0xd800 <= cp < 0xdc00 in rangeEnd()
205 block = index[index2Block + ((cp - 0xd800) >> UTRIE2_SHIFT_2)] << UTRIE2_INDEX_SHIFT; in rangeEnd()
206 } else if (cp < highStar in rangeEnd()
[all...]
/third_party/ltp/testcases/kernel/mem/shmt/
H A Dshmt06.c67 char *cp = NULL; in main() local
96 cp = shmat(shmid, NULL, 0); in main()
98 if (cp == (char *)-1) { in main()
114 *cp = 'A'; in main()
115 *(cp + 1) = 'B'; in main()
116 *(cp + 2) = 'C'; in main()
132 if (shmdt(cp) < 0) { in main()
147 char *cp; in child() local
159 cp = shmat(shmid, NULL, 0); in child()
161 if (cp in child()
[all...]
/third_party/skia/third_party/externals/harfbuzz/test/fuzzing/
H A Dhb-draw-fuzzer.cc81 static void misc_calls_for_gid (hb_face_t *face, hb_font_t *font, hb_set_t *set, hb_codepoint_t cp) in misc_calls_for_gid() argument
84 hb_face_collect_variation_unicodes (face, cp, set); in misc_calls_for_gid()
87 hb_font_get_nominal_glyph (font, cp, &g); in misc_calls_for_gid()
88 hb_font_get_variation_glyph (font, cp, cp, &g); in misc_calls_for_gid()
89 hb_font_get_glyph_h_advance (font, cp); in misc_calls_for_gid()
90 hb_font_get_glyph_v_advance (font, cp); in misc_calls_for_gid()
92 hb_font_get_glyph_h_origin (font, cp, &x, &y); in misc_calls_for_gid()
93 hb_font_get_glyph_v_origin (font, cp, &x, &y); in misc_calls_for_gid()
94 hb_font_get_glyph_contour_point (font, cp, in misc_calls_for_gid()
[all...]
/third_party/skia/modules/canvaskit/
H A DMakefile12 cp ../../out/canvaskit_wasm/canvaskit.js ./build/
13 cp ../../out/canvaskit_wasm/canvaskit.wasm ./build/
20 cp ../../out/canvaskit_wasm/canvaskit.js ./build/
21 cp ../../out/canvaskit_wasm/canvaskit.wasm ./build/
28 cp ../../out/canvaskit_wasm/canvaskit.js ./build/
29 cp ../../out/canvaskit_wasm/canvaskit.wasm ./build/
36 cp ../../out/canvaskit_wasm_debug/canvaskit.js ./build/
37 cp ../../out/canvaskit_wasm_debug/canvaskit.wasm ./build/
44 cp ../../out/canvaskit_wasm_debug/canvaskit.js ./build/
45 cp
[all...]
/third_party/icu/icu4j/perf-tests/src/com/ibm/icu/dev/test/perf/
H A DUnicodeSetPerf.java54 for (int cp = it.codepoint; cp <= it.codepointEnd; ++cp) { in testUnicodeSetAdd()
55 us.add(cp); in testUnicodeSetAdd()
74 for (int cp = it.codepoint; cp <= it.codepointEnd; ++cp) { in testHashSetAdd()
75 hs.add(new Integer(cp)); in testHashSetAdd()
94 for (int cp = 0; cp < in testUnicodeSetContains()
[all...]
/third_party/elfutils/libebl/
H A Deblmachineflagname.c50 char *cp = buf; in ebl_machine_flag_name() local
59 if (cp + 2 >= buf + len) in ebl_machine_flag_name()
61 *cp++ = ','; in ebl_machine_flag_name()
62 *cp++ = ' '; in ebl_machine_flag_name()
69 snprintf (cp, buf + len - cp, "%#x", flags); in ebl_machine_flag_name()
74 if ((size_t) (buf + len - cp) < machstrlen) in ebl_machine_flag_name()
76 *((char *) mempcpy (cp, machstr, buf + len - cp - 1)) = '\0'; in ebl_machine_flag_name()
80 cp in ebl_machine_flag_name()
[all...]

Completed in 18 milliseconds

12345678910>>...45