Home
last modified time | relevance | path

Searched refs:psz (Results 1 – 25 of 40) sorted by relevance

12

/external/pdfium/core/fxcrt/css/
Dcfx_cssselector.cpp16 int32_t GetCSSNameLen(const wchar_t* psz, const wchar_t* pEnd) { in GetCSSNameLen() argument
17 const wchar_t* pStart = psz; in GetCSSNameLen()
18 while (psz < pEnd) { in GetCSSNameLen()
19 wchar_t wch = *psz; in GetCSSNameLen()
22 ++psz; in GetCSSNameLen()
24 return psz - pStart; in GetCSSNameLen()
30 const wchar_t* psz, in CFX_CSSSelector() argument
34 m_dwHash(FX_HashCode_GetW(WideStringView(psz, iLen), bIgnoreCase)) {} in CFX_CSSSelector()
55 const wchar_t* psz = str.unterminated_c_str(); in FromString() local
56 const wchar_t* pStart = psz; in FromString()
[all …]
Dcfx_cssvaluelistparser.cpp11 CFX_CSSValueListParser::CFX_CSSValueListParser(const wchar_t* psz, in CFX_CSSValueListParser() argument
14 : m_Separator(separator), m_pCur(psz), m_pEnd(psz + iLen) { in CFX_CSSValueListParser()
15 ASSERT(psz && iLen > 0); in CFX_CSSValueListParser()
Dcfx_cssvaluelistparser.h15 CFX_CSSValueListParser(const wchar_t* psz, int32_t iLen, wchar_t separator);
Dcfx_cssselector.h21 const wchar_t* psz,
/external/ltp/testcases/kernel/io/disktest/
DGetopt.c96 char *psz = NULL; in getopt() local
101 psz = &(argv[iArg][0]); in getopt()
102 if (*psz == '-' || *psz == '/') { in getopt()
107 psz = strchr(pszValidOpts, chOpt); in getopt()
108 if (psz != NULL) { in getopt()
110 if (psz[1] == ':') { in getopt()
112 psz = &(argv[iArg][2]); in getopt()
113 if (*psz == '\0') { in getopt()
116 psz = in getopt()
120 if (*psz == '-' in getopt()
[all …]
/external/jemalloc/test/integration/
Drallocx.c117 size_t psz, qsz, i, j; in TEST_BEGIN() local
126 psz = sallocx(p, 0); in TEST_BEGIN()
128 assert_false(validate_fill(p, 0, 0, psz), in TEST_BEGIN()
130 memset(p, FILL_BYTE, psz); in TEST_BEGIN()
131 assert_false(validate_fill(p, FILL_BYTE, 0, psz), in TEST_BEGIN()
138 if (q != p || qsz != psz) { in TEST_BEGIN()
140 psz), "Expected filled memory"); in TEST_BEGIN()
141 assert_false(validate_fill(q, 0, psz, qsz-psz), in TEST_BEGIN()
144 if (psz != qsz) { in TEST_BEGIN()
145 memset((void *)((uintptr_t)q+psz), FILL_BYTE, in TEST_BEGIN()
[all …]
/external/jemalloc_new/test/integration/
Drallocx.c108 size_t psz, qsz, i, j; in TEST_BEGIN() local
117 psz = sallocx(p, 0); in TEST_BEGIN()
119 assert_false(validate_fill(p, 0, 0, psz), in TEST_BEGIN()
121 memset(p, FILL_BYTE, psz); in TEST_BEGIN()
122 assert_false(validate_fill(p, FILL_BYTE, 0, psz), in TEST_BEGIN()
129 if (q != p || qsz != psz) { in TEST_BEGIN()
131 psz), "Expected filled memory"); in TEST_BEGIN()
132 assert_false(validate_fill(q, 0, psz, qsz-psz), in TEST_BEGIN()
135 if (psz != qsz) { in TEST_BEGIN()
136 memset((void *)((uintptr_t)q+psz), FILL_BYTE, in TEST_BEGIN()
[all …]
/external/jemalloc/include/jemalloc/internal/
Dsize_classes.sh52 psz="yes"
60 psz="yes"
62 psz="no"
92 … %8d, %6d, %3s, %3s, %2s) \\\n' ${index} ${lg_grp} ${lg_delta} ${ndelta} ${psz} ${bin} ${lg_delta_…
132 if [ ${psz} = "yes" ] ; then
156 if [ ${psz} = "yes" ] ; then
164 if [ ${psz} = "yes" ] ; then
186 if [ ${psz} = "yes" ] ; then
233 * SIZE_CLASSES: Complete table of SC(index, lg_grp, lg_delta, ndelta, psz,
239 * psz: 'yes' if a multiple of the page size, 'no' otherwise.
Djemalloc_internal.h561 pszind_t psz2ind(size_t psz);
565 size_t psz2u(size_t psz);
587 psz2ind(size_t psz) in psz2ind() argument
590 if (unlikely(psz > HUGE_MAXCLASS)) in psz2ind()
593 pszind_t x = lg_floor((psz<<1)-1); in psz2ind()
602 pszind_t mod = ((((psz-1) & delta_inverse_mask) >> lg_delta)) & in psz2ind()
648 psz2u(size_t psz) in psz2u() argument
651 if (unlikely(psz > HUGE_MAXCLASS)) in psz2u()
654 size_t x = lg_floor((psz<<1)-1); in psz2u()
659 size_t usize = (psz + delta_mask) & ~delta_mask; in psz2u()
Djemalloc_internal.h.in561 pszind_t psz2ind(size_t psz);
565 size_t psz2u(size_t psz);
587 psz2ind(size_t psz) argument
590 if (unlikely(psz > HUGE_MAXCLASS))
593 pszind_t x = lg_floor((psz<<1)-1);
602 pszind_t mod = ((((psz-1) & delta_inverse_mask) >> lg_delta)) &
648 psz2u(size_t psz) argument
651 if (unlikely(psz > HUGE_MAXCLASS))
654 size_t x = lg_floor((psz<<1)-1);
659 size_t usize = (psz + delta_mask) & ~delta_mask;
/external/jemalloc_new/include/jemalloc/internal/
Dsize_classes.sh100 psz="yes"
108 psz="yes"
110 psz="no"
142 … %6d, %3s, %3s, %3d, %2s) \\\n' ${index} ${lg_grp} ${lg_delta} ${ndelta} ${psz} ${bin} ${pgs} ${lg…
183 if [ ${psz} = "yes" ] ; then
207 if [ ${psz} = "yes" ] ; then
215 if [ ${psz} = "yes" ] ; then
237 if [ ${psz} = "yes" ] ; then
289 * SIZE_CLASSES: Complete table of SC(index, lg_grp, lg_delta, ndelta, psz,
295 * psz: 'yes' if a multiple of the page size, 'no' otherwise.
Dsz.h51 sz_psz2ind(size_t psz) { in sz_psz2ind() argument
52 if (unlikely(psz > LARGE_MAXCLASS)) { in sz_psz2ind()
56 pszind_t x = lg_floor((psz<<1)-1); in sz_psz2ind()
65 pszind_t mod = ((((psz-1) & delta_inverse_mask) >> lg_delta)) & in sz_psz2ind()
109 sz_psz2u(size_t psz) { in sz_psz2u() argument
110 if (unlikely(psz > LARGE_MAXCLASS)) { in sz_psz2u()
114 size_t x = lg_floor((psz<<1)-1); in sz_psz2u()
119 size_t usize = (psz + delta_mask) & ~delta_mask; in sz_psz2u()
/external/jemalloc_new/src/
Dsz.c9 #define SC(index, lg_grp, lg_delta, ndelta, psz, bin, pgs, lg_delta_lookup) \ argument
10 PSZ_##psz(lg_grp, ndelta, lg_delta)
20 #define SC(index, lg_grp, lg_delta, ndelta, psz, bin, pgs, lg_delta_lookup) \ argument
93 #define SC(index, lg_grp, lg_delta, ndelta, psz, bin, pgs, lg_delta_lookup) \ argument
Dbin.c11 #define SC(index, lg_grp, lg_delta, ndelta, psz, bin, pgs, \ argument
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tris.c446 GLfloat psz[4], col[4], restore_psz, restore_alpha; in intel_atten_point() local
448 _tnl_get_attr(ctx, v0, _TNL_ATTRIB_POINTSIZE, psz); in intel_atten_point()
451 restore_psz = psz[0]; in intel_atten_point()
454 if (psz[0] >= ctx->Point.Threshold) { in intel_atten_point()
455 psz[0] = MIN2(psz[0], ctx->Point.MaxSize); in intel_atten_point()
458 GLfloat dsize = psz[0] / ctx->Point.Threshold; in intel_atten_point()
459 psz[0] = MAX2(ctx->Point.Threshold, ctx->Point.MinSize); in intel_atten_point()
463 if (psz[0] < 1.0) in intel_atten_point()
464 psz[0] = 1.0; in intel_atten_point()
466 if (restore_psz != psz[0] || restore_alpha != col[3]) { in intel_atten_point()
[all …]
/external/jemalloc_new/test/unit/
Dretained.c143 size_t psz = sz_pind2sz(pind); in TEST_BEGIN() local
144 size_t psz_fragmented = psz % esz; in TEST_BEGIN()
145 size_t psz_usable = psz - psz_fragmented; in TEST_BEGIN()
Dmallctl.c245 size_t sz, psz, qsz; in TEST_BEGIN() local
247 psz = 42; in TEST_BEGIN()
248 qsz = nallocx(psz, 0) + 1; in TEST_BEGIN()
278 ps[i] = mallocx(psz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
292 ps[i] = mallocx(psz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
/external/jemalloc/test/unit/
Dmallctl.c257 size_t sz, psz, qsz; in TEST_BEGIN() local
261 psz = 42; in TEST_BEGIN()
262 qsz = nallocx(psz, 0) + 1; in TEST_BEGIN()
292 ps[i] = mallocx(psz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
306 ps[i] = mallocx(psz, MALLOCX_TCACHE(tis[i])); in TEST_BEGIN()
/external/one-true-awk/
Dlex.c101 int gettok(char **pbuf, int *psz) /* get next input token */ in gettok() argument
105 int sz = *psz; in gettok()
160 *psz = sz; in gettok()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c2455 size_t psz = getpagesize(); in do_scsi_device_read_write() local
2456 wrkBuff = malloc(bs * bpt + psz); in do_scsi_device_read_write()
2461 wrkPos = (unsigned char *)(((unsigned long)wrkBuff + psz - 1) & in do_scsi_device_read_write()
2462 (~(psz - 1))); in do_scsi_device_read_write()
3849 size_t psz = getpagesize(); in do_scsi_read_buffer() local
3941 if (do_mmap && (0 != (k % psz))) in do_scsi_read_buffer()
3942 k = ((k / psz) + 1) * psz; /* round up to page size */ in do_scsi_read_buffer()
3960 rawp = malloc(buf_size + (do_dio ? psz : 0)); in do_scsi_read_buffer()
3967 (unsigned char *)(((unsigned long)rawp + psz - 1) & in do_scsi_read_buffer()
3968 (~(psz - 1))); in do_scsi_read_buffer()
[all …]
/external/u-boot/arch/arm/include/asm/arch-mx25/
Dimx-regs.h477 #define WEIM_CSCR_U(sp, wp, bcd, bcs, psz, pme, sync, dol, \ argument
480 (psz) << 22 | (pme) << 21 | (sync) << 20 | (dol) << 16 | \
/external/lzma/CPP/Common/
DMyWindows.h209 MY_EXTERN_C BSTR SysAllocStringByteLen(LPCSTR psz, UINT len);
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_lib.c3394 size_t psz; in sg_memalign() local
3399 psz = (align_to > 0) ? align_to : sg_get_page_size(); in sg_memalign()
3401 num_bytes = psz; /* ugly to handle otherwise */ in sg_memalign()
3408 err = posix_memalign(&wp, psz, num_bytes); in sg_memalign()
3422 pr2ws("psz=%u, rp=%p\n", (unsigned int)psz, (void *)res); in sg_memalign()
3429 sg_uintptr_t align_1 = psz - 1; in sg_memalign()
3431 wrkBuff = (uint8_t *)calloc(num_bytes + psz, 1); in sg_memalign()
/external/u-boot/arch/arm/include/asm/arch-mx31/
Dimx-regs.h639 #define CSCR_U(sp, wp, bcd, bcs, psz, pme, sync, dol, \ argument
641 ((sp) << 31 | (wp) << 30 | (bcd) << 28 | (psz) << 22 | (pme) << 21 |\
/external/pdfium/xfa/fxfa/
Dcxfa_textlayout.cpp921 wchar_t* psz = wsText.GetBuffer(iLen); in ProcessText() local
925 wch = psz[i]; in ProcessText()
932 psz[iTrimLeft++] = wch; in ProcessText()

12