Home
last modified time | relevance | path

Searched refs:pv (Results 1 - 25 of 97) sorted by relevance

1234

/third_party/icu/icu4c/source/common/
H A Dpropsvec.cpp45 UPropsVectors *pv; in upvec_open() local
58 pv=(UPropsVectors *)uprv_malloc(sizeof(UPropsVectors)); in upvec_open()
60 if(pv==NULL || v==NULL) { in upvec_open()
61 uprv_free(pv); in upvec_open()
66 uprv_memset(pv, 0, sizeof(UPropsVectors)); in upvec_open()
67 pv->v=v; in upvec_open()
68 pv->columns=columns; in upvec_open()
69 pv->maxRows=UPVEC_INITIAL_ROWS; in upvec_open()
70 pv->rows=2+(UPVEC_MAX_CP-UPVEC_FIRST_SPECIAL_CP); in upvec_open()
73 row=pv in upvec_open()
87 upvec_close(UPropsVectors *pv) upvec_close() argument
95 _findRow(UPropsVectors *pv, UChar32 rangeStart) _findRow() argument
154 upvec_setValue(UPropsVectors *pv, UChar32 start, UChar32 end, int32_t column, uint32_t value, uint32_t mask, UErrorCode *pErrorCode) upvec_setValue() argument
280 upvec_getValue(const UPropsVectors *pv, UChar32 c, int32_t column) upvec_getValue() argument
293 upvec_getRow(const UPropsVectors *pv, int32_t rowIndex, UChar32 *pRangeStart, UChar32 *pRangeEnd) upvec_getRow() argument
316 const UPropsVectors *pv=(const UPropsVectors *)context; upvec_compareRows() local
336 upvec_compact(UPropsVectors *pv, UPVecCompactHandler *handler, void *context, UErrorCode *pErrorCode) upvec_compact() argument
438 upvec_getArray(const UPropsVectors *pv, int32_t *pRows, int32_t *pColumns) upvec_getArray() argument
452 upvec_cloneArray(const UPropsVectors *pv, int32_t *pRows, int32_t *pColumns, UErrorCode *pErrorCode) upvec_cloneArray() argument
481 upvec_compactToUTrie2WithRowIndexes(UPropsVectors *pv, UErrorCode *pErrorCode) upvec_compactToUTrie2WithRowIndexes() argument
[all...]
H A Dpropsvec.h79 upvec_close(UPropsVectors *pv);
88 upvec_setValue(UPropsVectors *pv,
95 * Logically const but must not be used on the same pv concurrently!
99 upvec_getValue(const UPropsVectors *pv, UChar32 c, int32_t column);
107 upvec_getRow(const UPropsVectors *pv, int32_t rowIndex,
135 upvec_compact(UPropsVectors *pv, UPVecCompactHandler *handler, void *context, UErrorCode *pErrorCode);
143 upvec_getArray(const UPropsVectors *pv, int32_t *pRows, int32_t *pColumns);
151 upvec_cloneArray(const UPropsVectors *pv,
159 upvec_compactToUTrie2WithRowIndexes(UPropsVectors *pv, UErrorCode *pErrorCode);
/third_party/node/deps/icu-small/source/common/
H A Dpropsvec.cpp45 UPropsVectors *pv; in upvec_open() local
58 pv=(UPropsVectors *)uprv_malloc(sizeof(UPropsVectors)); in upvec_open()
60 if(pv==nullptr || v==nullptr) { in upvec_open()
61 uprv_free(pv); in upvec_open()
66 uprv_memset(pv, 0, sizeof(UPropsVectors)); in upvec_open()
67 pv->v=v; in upvec_open()
68 pv->columns=columns; in upvec_open()
69 pv->maxRows=UPVEC_INITIAL_ROWS; in upvec_open()
70 pv->rows=2+(UPVEC_MAX_CP-UPVEC_FIRST_SPECIAL_CP); in upvec_open()
73 row=pv in upvec_open()
87 upvec_close(UPropsVectors *pv) upvec_close() argument
95 _findRow(UPropsVectors *pv, UChar32 rangeStart) _findRow() argument
154 upvec_setValue(UPropsVectors *pv, UChar32 start, UChar32 end, int32_t column, uint32_t value, uint32_t mask, UErrorCode *pErrorCode) upvec_setValue() argument
280 upvec_getValue(const UPropsVectors *pv, UChar32 c, int32_t column) upvec_getValue() argument
293 upvec_getRow(const UPropsVectors *pv, int32_t rowIndex, UChar32 *pRangeStart, UChar32 *pRangeEnd) upvec_getRow() argument
316 const UPropsVectors *pv=(const UPropsVectors *)context; upvec_compareRows() local
336 upvec_compact(UPropsVectors *pv, UPVecCompactHandler *handler, void *context, UErrorCode *pErrorCode) upvec_compact() argument
438 upvec_getArray(const UPropsVectors *pv, int32_t *pRows, int32_t *pColumns) upvec_getArray() argument
452 upvec_cloneArray(const UPropsVectors *pv, int32_t *pRows, int32_t *pColumns, UErrorCode *pErrorCode) upvec_cloneArray() argument
481 upvec_compactToUTrie2WithRowIndexes(UPropsVectors *pv, UErrorCode *pErrorCode) upvec_compactToUTrie2WithRowIndexes() argument
[all...]
H A Dpropsvec.h79 upvec_close(UPropsVectors *pv);
88 upvec_setValue(UPropsVectors *pv,
95 * Logically const but must not be used on the same pv concurrently!
99 upvec_getValue(const UPropsVectors *pv, UChar32 c, int32_t column);
107 upvec_getRow(const UPropsVectors *pv, int32_t rowIndex,
135 upvec_compact(UPropsVectors *pv, UPVecCompactHandler *handler, void *context, UErrorCode *pErrorCode);
143 upvec_getArray(const UPropsVectors *pv, int32_t *pRows, int32_t *pColumns);
151 upvec_cloneArray(const UPropsVectors *pv,
159 upvec_compactToUTrie2WithRowIndexes(UPropsVectors *pv, UErrorCode *pErrorCode);
/third_party/skia/third_party/externals/icu/source/common/
H A Dpropsvec.cpp45 UPropsVectors *pv; in upvec_open() local
58 pv=(UPropsVectors *)uprv_malloc(sizeof(UPropsVectors)); in upvec_open()
60 if(pv==NULL || v==NULL) { in upvec_open()
61 uprv_free(pv); in upvec_open()
66 uprv_memset(pv, 0, sizeof(UPropsVectors)); in upvec_open()
67 pv->v=v; in upvec_open()
68 pv->columns=columns; in upvec_open()
69 pv->maxRows=UPVEC_INITIAL_ROWS; in upvec_open()
70 pv->rows=2+(UPVEC_MAX_CP-UPVEC_FIRST_SPECIAL_CP); in upvec_open()
73 row=pv in upvec_open()
87 upvec_close(UPropsVectors *pv) upvec_close() argument
95 _findRow(UPropsVectors *pv, UChar32 rangeStart) _findRow() argument
154 upvec_setValue(UPropsVectors *pv, UChar32 start, UChar32 end, int32_t column, uint32_t value, uint32_t mask, UErrorCode *pErrorCode) upvec_setValue() argument
280 upvec_getValue(const UPropsVectors *pv, UChar32 c, int32_t column) upvec_getValue() argument
293 upvec_getRow(const UPropsVectors *pv, int32_t rowIndex, UChar32 *pRangeStart, UChar32 *pRangeEnd) upvec_getRow() argument
316 const UPropsVectors *pv=(const UPropsVectors *)context; upvec_compareRows() local
336 upvec_compact(UPropsVectors *pv, UPVecCompactHandler *handler, void *context, UErrorCode *pErrorCode) upvec_compact() argument
438 upvec_getArray(const UPropsVectors *pv, int32_t *pRows, int32_t *pColumns) upvec_getArray() argument
452 upvec_cloneArray(const UPropsVectors *pv, int32_t *pRows, int32_t *pColumns, UErrorCode *pErrorCode) upvec_cloneArray() argument
481 upvec_compactToUTrie2WithRowIndexes(UPropsVectors *pv, UErrorCode *pErrorCode) upvec_compactToUTrie2WithRowIndexes() argument
[all...]
H A Dpropsvec.h79 upvec_close(UPropsVectors *pv);
88 upvec_setValue(UPropsVectors *pv,
95 * Logically const but must not be used on the same pv concurrently!
99 upvec_getValue(const UPropsVectors *pv, UChar32 c, int32_t column);
107 upvec_getRow(const UPropsVectors *pv, int32_t rowIndex,
135 upvec_compact(UPropsVectors *pv, UPVecCompactHandler *handler, void *context, UErrorCode *pErrorCode);
143 upvec_getArray(const UPropsVectors *pv, int32_t *pRows, int32_t *pColumns);
151 upvec_cloneArray(const UPropsVectors *pv,
159 upvec_compactToUTrie2WithRowIndexes(UPropsVectors *pv, UErrorCode *pErrorCode);
/third_party/libwebsockets/lib/system/fault-injection/
H A Dfault-injection.c33 lws_fi_priv_t *pv = lws_container_of(p, lws_fi_priv_t, list); in lws_fi_lookup() local
35 if (!strcmp(pv->fi.name, name)) in lws_fi_lookup()
36 return pv; in lws_fi_lookup()
46 lws_fi_priv_t *pv; in lws_fi() local
49 pv = lws_fi_lookup(fic, name); in lws_fi()
51 if (!pv) in lws_fi()
54 switch (pv->fi.type) { in lws_fi()
59 pv->fi.times++; in lws_fi()
60 if (pv->fi.times >= pv in lws_fi()
94 lws_fi_priv_t *pv; lws_fi_range() local
146 lws_fi_priv_t *pv; lws_fi_add() local
167 lws_fi_priv_t *pv = lws_fi_lookup(fic, name); lws_fi_remove() local
185 lws_fi_priv_t *pv = lws_container_of(p, lws_fi_priv_t, list); lws_fi_import() local
228 lws_fi_priv_t *pv = lws_container_of(p, lws_fi_priv_t, list); lws_fi_inherit_copy() local
254 lws_fi_priv_t *pv = lws_container_of(p, lws_fi_priv_t, list); lws_fi_destroy() local
[all...]
/third_party/skia/third_party/externals/harfbuzz/src/
H A Dtest-number.cc38 int pv; in main() local
39 assert (hb_parse_int (&pp, end, &pv)); in main()
40 assert (pv == 123); in main()
51 unsigned int pv; in main() local
52 assert (hb_parse_uint (&pp, end, &pv)); in main()
53 assert (pv == 123); in main()
64 unsigned int pv; in main() local
65 assert (hb_parse_uint (&pp, end, &pv, true, 16)); in main()
66 assert (pv == 0x12F); in main()
77 unsigned int pv; in main() local
91 int pv; main() local
105 unsigned int pv; main() local
118 unsigned int pv; main() local
131 unsigned int pv; main() local
143 double pv; main() local
155 double pv; main() local
167 double pv; main() local
179 double pv; main() local
191 double pv; main() local
203 double pv; main() local
216 double pv; main() local
[all...]
H A Dhb-number.cc33 _parse_number (const char **pp, const char *end, T *pv, in _parse_number() argument
45 *pv = f (p, &pend); in _parse_number()
56 hb_parse_int (const char **pp, const char *end, int *pv, bool whole_buffer) in hb_parse_int() argument
58 return _parse_number<int> (pp, end, pv, whole_buffer, in hb_parse_int()
64 hb_parse_uint (const char **pp, const char *end, unsigned *pv,
67 return _parse_number<unsigned> (pp, end, pv, whole_buffer,
73 hb_parse_double (const char **pp, const char *end, double *pv, bool whole_buffer)
76 *pv = strtod_rl (*pp, &pend);
H A Dhb-number.hh30 hb_parse_int (const char **pp, const char *end, int *pv,
34 hb_parse_uint (const char **pp, const char *end, unsigned int *pv,
38 hb_parse_double (const char **pp, const char *end, double *pv,
H A Dhb-common.cc713 parse_uint (const char **pp, const char *end, unsigned int *pv) in parse_uint() argument
720 *pv = v; in parse_uint()
725 parse_uint32 (const char **pp, const char *end, uint32_t *pv) in parse_uint32() argument
732 *pv = v; in parse_uint32()
737 parse_bool (const char **pp, const char *end, uint32_t *pv) in parse_bool() argument
749 *pv = 1; in parse_bool()
754 *pv = 0; in parse_bool()
/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_pv.c66 void ngtcp2_pv_del(ngtcp2_pv *pv) { in ngtcp2_pv_del() argument
67 if (pv == NULL) { in ngtcp2_pv_del()
70 ngtcp2_mem_free(pv->mem, pv); in ngtcp2_pv_del()
73 void ngtcp2_pv_add_entry(ngtcp2_pv *pv, const uint8_t *data, in ngtcp2_pv_add_entry() argument
78 assert(pv->probe_pkt_left); in ngtcp2_pv_add_entry()
80 if (ngtcp2_ringbuf_len(&pv->ents.rb) == 0) { in ngtcp2_pv_add_entry()
81 pv->started_ts = ts; in ngtcp2_pv_add_entry()
84 ent = ngtcp2_ringbuf_push_back(&pv->ents.rb); in ngtcp2_pv_add_entry()
87 pv in ngtcp2_pv_add_entry()
91 ngtcp2_pv_validate(ngtcp2_pv *pv, uint8_t *pflags, const uint8_t *data) ngtcp2_pv_validate() argument
112 ngtcp2_pv_handle_entry_expiry(ngtcp2_pv *pv, ngtcp2_tstamp ts) ngtcp2_pv_handle_entry_expiry() argument
129 ngtcp2_pv_should_send_probe(ngtcp2_pv *pv) ngtcp2_pv_should_send_probe() argument
133 ngtcp2_pv_validation_timed_out(ngtcp2_pv *pv, ngtcp2_tstamp ts) ngtcp2_pv_validation_timed_out() argument
151 ngtcp2_pv_next_expiry(ngtcp2_pv *pv) ngtcp2_pv_next_expiry() argument
164 ngtcp2_pv_cancel_expired_timer(ngtcp2_pv *pv, ngtcp2_tstamp ts) ngtcp2_pv_cancel_expired_timer() argument
[all...]
H A Dngtcp2_pv.h137 * ngtcp2_pv_del deallocates |pv|. This function frees memory |pv|
140 void ngtcp2_pv_del(ngtcp2_pv *pv);
146 void ngtcp2_pv_add_entry(ngtcp2_pv *pv, const uint8_t *data,
150 * ngtcp2_pv_full returns nonzero if |pv| is full of ngtcp2_pv_entry.
152 int ngtcp2_pv_full(ngtcp2_pv *pv);
165 * |pv| includes no entry
167 * |pv| does not have an entry which has |data| and |path|
169 int ngtcp2_pv_validate(ngtcp2_pv *pv, uint8_t *pflags, const uint8_t *data);
174 void ngtcp2_pv_handle_entry_expiry(ngtcp2_pv *pv, ngtcp2_tstam
[all...]
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_replace.py64 pv = self.engine.patvar
70 equal(self.engine.getpat(), pv.get())
73 pv.set('a')
80 pv.set('is')
86 pv.set('string')
95 pv.set(r'[a-z][\d]+')
102 pv.set('i')
117 pv.set('foobar')
128 pv = self.engine.patvar
135 pv
[all...]
/third_party/node/deps/npm/node_modules/fastest-levenshtein/
H A Dmod.js9 var pv = -1;
19 eq |= ((eq & pv) + pv) ^ pv;
20 mv |= ~(eq | pv);
21 pv &= eq;
25 if (pv & lst) {
29 pv = (pv << 1) | ~(xv | mv);
82 var pv
[all...]
/third_party/libexif/libexif/huawei/
H A Dmnote-huawei-entry.c89 char *token = NULL, *pv = NULL; in mnote_huawei_entry_rational_timestamp_process() local
93 pv = exif_mem_alloc(mem, strlen + 1); in mnote_huawei_entry_rational_timestamp_process()
94 if (!pv) { in mnote_huawei_entry_rational_timestamp_process()
98 *(pv + strlen) = 0; in mnote_huawei_entry_rational_timestamp_process()
99 memcpy(pv, v, strlen); in mnote_huawei_entry_rational_timestamp_process()
101 token = strtok(pv, " "); in mnote_huawei_entry_rational_timestamp_process()
126 if (pv) in mnote_huawei_entry_rational_timestamp_process()
127 exif_mem_free(mem, pv); in mnote_huawei_entry_rational_timestamp_process()
149 char *token = NULL, *pv = NULL; in mnote_huawei_entry_value_process() local
152 pv in mnote_huawei_entry_value_process()
[all...]
/third_party/ffmpeg/libswscale/x86/
H A Dyuv2rgb_template.c40 const uint8_t *pv = src[2] + (y >> vshift) * srcStride[2]; \
85 RENAME(ff_yuv_420_rgb15)(index, image, pu - index, pv - index, &(c->redDither), py - 2 * index); in yuv420_rgb15()
105 RENAME(ff_yuv_420_rgb16)(index, image, pu - index, pv - index, &(c->redDither), py - 2 * index);
119 RENAME(ff_yuv_420_rgb32)(index, image, pu - index, pv - index, &(c->redDither), py - 2 * index);
133 RENAME(ff_yuv_420_bgr32)(index, image, pu - index, pv - index, &(c->redDither), py - 2 * index);
147 RENAME(ff_yuva_420_rgb32)(index, image, pu - index, pv - index, &(c->redDither), py - 2 * index, pa - 2 * index);
162 RENAME(ff_yuva_420_bgr32)(index, image, pu - index, pv - index, &(c->redDither), py - 2 * index, pa - 2 * index);
178 RENAME(ff_yuv_420_rgb24)(index, image, pu - index, pv - index, &(c->redDither), py - 2 * index);
192 RENAME(ff_yuv_420_bgr24)(index, image, pu - index, pv - index, &(c->redDither), py - 2 * index);
/third_party/rust/crates/clap/src/parser/features/
H A Dsuggestions.rs20 .map(|pv| (strsim::jaro(v, pv.as_ref()), pv.as_ref().to_owned()))
25 candidates.into_iter().map(|(_, pv)| pv).collect()
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-init.c65 lws_start_foreach_llp(struct lws_vhost **, pv, in lws_sul_plat_unix()
67 struct lws_vhost *v = *pv; in lws_sul_plat_unix()
68 lwsl_debug("deferred iface: checking if on vh %s\n", (*pv)->name); in lws_sul_plat_unix()
69 if (_lws_vhost_init_server(NULL, *pv) == 0) { in lws_sul_plat_unix()
72 *pv = v->no_listener_vhost_list; in lws_sul_plat_unix()
76 } lws_end_foreach_llp(pv, no_listener_vhost_list); in lws_sul_plat_unix()
/third_party/skia/src/utils/win/
H A DSkIStream.cpp50 SK_STDMETHODIMP SkBaseIStream::Read(void* pv, ULONG cb, ULONG* pcbRead) in Read() argument
53 SK_STDMETHODIMP SkBaseIStream::Write(void const* pv, ULONG cb, ULONG* pcbWritten) in Write() argument
109 SK_STDMETHODIMP SkIStream::Read(void* pv, ULONG cb, ULONG* pcbRead) { in Read() argument
110 *pcbRead = static_cast<ULONG>(this->fSkStream->read(pv, cb)); in Read()
115 SK_STDMETHODIMP SkIStream::Write(void const* pv, ULONG cb, ULONG* pcbWritten) { in Write() argument
207 SK_STDMETHODIMP SkWIStream::Write(void const* pv, ULONG cb, ULONG* pcbWritten) { in Write() argument
209 bool wrote = this->fSkWStream->write(pv, cb); in Write()
H A DSkIStream.h36 SK_STDMETHODIMP Read(void* pv, ULONG cb, ULONG* pcbRead) override;
37 SK_STDMETHODIMP Write(void const* pv, ULONG cb, ULONG* pcbWritten) override;
67 SK_STDMETHODIMP Read(void* pv, ULONG cb, ULONG* pcbRead) override;
68 SK_STDMETHODIMP Write(void const* pv, ULONG cb, ULONG* pcbWritten) override;
89 SK_STDMETHODIMP Write(void const* pv, ULONG cb, ULONG* pcbWritten) override;
/third_party/icu/tools/unicode/c/genprops/
H A Dcorepropsbuilder.cpp335 UPropsVectors *pv; member in CorePropsBuilder
340 : pTrie(NULL), props2Trie(NULL), pv(NULL) { in CorePropsBuilder()
346 pv=upvec_open(UPROPS_VECTOR_WORDS, &errorCode); in CorePropsBuilder()
356 upvec_close(pv); in ~CorePropsBuilder()
673 upvec_setValue(pv, start, end, p2b.vecWord, value, mask, &errorCode); in setProps()
687 upvec_setValue(pv, start, end, p2e.vecWord, value, mask, &errorCode); in setProps()
700 upvec_setValue(pv, start, end, in setProps()
722 upvec_setValue(pv, start, end, 0, value, UPROPS_SCRIPT_X_MASK, &errorCode); in setProps()
769 upvec_setValue(pv, start, end, 0, scriptX, UPROPS_SCRIPT_X_MASK, &errorCode); in setProps()
810 props2Trie=upvec_compactToUTrie2WithRowIndexes(pv, in build()
[all...]
/third_party/icu/icu4c/source/test/cintltst/
H A Ducnvseltst.c512 UPropsVectors *pv = upvec_open(100, &errorCode); in TestUPropsVector() local
513 if (pv != NULL) { in TestUPropsVector()
518 pv = upvec_open(-1, &errorCode); in TestUPropsVector()
519 if (pv != NULL || U_SUCCESS(errorCode)) { in TestUPropsVector()
524 pv = upvec_open(100, &errorCode); in TestUPropsVector()
525 if (pv == NULL || U_FAILURE(errorCode)) { in TestUPropsVector()
530 if (upvec_getValue(pv, 0, 1) != 0) { in TestUPropsVector()
533 if (upvec_getRow(pv, 0, NULL, NULL) == NULL) { in TestUPropsVector()
536 if (upvec_getArray(pv, NULL, NULL) != NULL) { in TestUPropsVector()
540 upvec_close(pv); in TestUPropsVector()
[all...]
/third_party/ffmpeg/libavfilter/
H A Dvf_perspective.c43 int32_t (*pv)[2]; member
212 s->pv[x + y * w][0] = u; in calc_persp_luts()
213 s->pv[x + y * w][1] = v; in calc_persp_luts()
237 s->pv = av_realloc_f(s->pv, w * h, 2 * sizeof(*s->pv)); in config_input()
238 if (!s->pv) in config_input()
298 u = s->pv[sx + sy * linesize][0] >> hsub; in resample_cubic()
299 v = s->pv[sx + sy * linesize][1] >> vsub; in resample_cubic()
377 u = s->pv[s in resample_linear()
[all...]
/third_party/libwebsockets/lib/core-net/
H A Dvhost.c331 const struct lws_protocol_vhost_options *pv; in lws_vhd_find_by_pvo() local
338 pv = lws_pvo_search(vh->pvo, protname); in lws_vhd_find_by_pvo()
339 if (!pv) in lws_vhd_find_by_pvo()
342 pv = lws_pvo_search(pv->options, pvo_name); in lws_vhd_find_by_pvo()
343 if (!pv) in lws_vhd_find_by_pvo()
347 if (!strcmp(pv->value, pvo_value)) in lws_vhd_find_by_pvo()
1443 lws_start_foreach_llp(struct lws_vhost **, pv,
1445 if (*pv == vh) {
1447 (*pv)
[all...]

Completed in 13 milliseconds

1234