Searched defs:cap (Results 1 - 25 of 109) sorted by relevance

12345

/external/strace/xlat/
H A Dcap.h1 /* Generated by ./xlat/gen.sh from ./xlat/cap.in; do not edit. */
3 static const struct xlat cap[] = { variable in typeref:struct:xlat
/external/v8/test/mjsunit/regress/
H A Dregress-crbug-3184.js53 String.prototype.cap = function() {
57 String.prototype.cap = String.prototype.cap.wrap(
62 return value.cap();
81 assertEquals("Test1 test1", "test1 test1".cap());
82 assertEquals("Test2 Test2", "test2 test2".cap(true));
/external/libcxx/test/std/utilities/function.objects/func.memfn/
H A Dmember_data.fail.cpp33 const A* cap = ap; local
34 assert(f(cap) == f(ap));
35 f(cap) = 7;
H A Dmember_data.pass.cpp33 const A* cap = ap; local
34 assert(f(cap) == f(ap));
H A Dmember_function_const.pass.cpp34 const A* cap = &a; local
35 assert(f(cap) == 'a');
50 const A* cap = &a; local
51 assert(f(cap, 2) == 'b');
66 const A* cap = &a; local
67 assert(f(cap, 2, 3.5) == 'c');
H A Dmember_function_const_volatile.pass.cpp34 const volatile A* cap = &a; local
35 assert(f(cap) == 'a');
50 const volatile A* cap = &a; local
51 assert(f(cap, 2) == 'b');
66 const volatile A* cap = &a; local
67 assert(f(cap, 2, 3.5) == 'c');
H A Dmember_function_volatile.pass.cpp34 volatile A* cap = &a; local
35 assert(f(cap) == 'a');
50 volatile A* cap = &a; local
51 assert(f(cap, 2) == 'b');
66 volatile A* cap = &a; local
67 assert(f(cap, 2, 3.5) == 'c');
/external/icu/icu4c/source/i18n/
H A Dcsmatch.cpp59 int32_t CharsetMatch::getUChars(UChar *buf, int32_t cap, UErrorCode *status) const argument
62 int32_t result = ucnv_toUChars(conv, buf, cap, (const char *) textIn->fRawInput, textIn->fRawLength, status);
H A Ducsdet.cpp175 UChar *buf, int32_t cap, UErrorCode *status)
181 return ((CharsetMatch *) ucsm)->getUChars(buf, cap, status);
174 ucsdet_getUChars(const UCharsetMatch *ucsm, UChar *buf, int32_t cap, UErrorCode *status) argument
/external/sfntly/cpp/src/test/tinyxml/
H A Dtinystr.cpp37 void TiXmlString::reserve (size_type cap) argument
39 if (cap > capacity())
42 tmp.init(length(), cap); local
51 size_type cap = capacity(); local
52 if (len > cap || cap > 3*(len + 8))
/external/tinyxml/
H A Dtinystr.cpp41 void TiXmlString::reserve (size_type cap) argument
43 if (cap > capacity())
46 tmp.init(length(), cap); local
55 size_type cap = capacity(); local
56 if (len > cap || cap > 3*(len + 8))
/external/openssh/
H A Duidswap.c214 struct __user_cap_data_struct cap; local
293 cap.effective = cap.permitted = (1 << CAP_SYS_BOOT);
294 cap.inheritable = 0;
295 capset(&header, &cap);
/external/pdfium/core/src/fxge/agg/agg23/
H A Dfx_agg_vcgen_stroke.cpp65 static inline void calc_butt_cap(FX_FLOAT* cap, argument
73 cap[0] = v0.x - dx;
74 cap[1] = v0.y + dy;
75 cap[2] = v0.x + dx;
76 cap[3] = v0.y - dy;
/external/skia/src/svg/
H A DSkSVGDevice.cpp46 static const char* svg_cap(SkPaint::Cap cap) { argument
47 SkASSERT(cap < SK_ARRAY_COUNT(cap_map));
48 return cap_map[cap];
371 if (const char* cap = svg_cap(paint.getStrokeCap())) {
372 this->addAttribute("stroke-linecap", cap);
/external/toybox/toys/other/
H A Dacpi.c66 int cap = 0, curr = 0, max = 0; local
68 if ((cap = read_int_at(dfd, "capacity")) < 0) {
73 if (max > 0 && curr >= 0) cap = 100 * curr / max;
75 if (cap >= 0) printf("Battery %d: %d%%\n", TT.bat++, cap);
/external/boringssl/include/openssl/
H A Dbytestring.h220 size_t cap; /* The size of buf. */ member in struct:cbb_buffer_st
/external/boringssl/src/include/openssl/
H A Dbytestring.h220 size_t cap; /* The size of buf. */ member in struct:cbb_buffer_st
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_vector.h107 uptr cap = cap0 * 5 / 4; // 25% growth local
108 if (cap == 0)
109 cap = 16;
110 if (cap < size)
111 cap = size;
112 T *p = (T*)internal_alloc(typ_, cap * sizeof(T));
119 last_ = begin_ + cap;
/external/libdrm/libkms/
H A Ddumb.c198 uint64_t cap = 0; local
200 ret = drmGetCap(fd, DRM_CAP_DUMB_BUFFER, &cap);
201 if (ret || cap == 0)
/external/mesa3d/src/glx/
H A Drender2.c326 __indirect_glEnable(GLenum cap) argument
334 switch (cap) {
343 __indirect_glEnableClientState(cap);
350 __GLX_PUT_LONG(4, cap);
355 __indirect_glDisable(GLenum cap) argument
363 switch (cap) {
372 __indirect_glDisableClientState(cap);
379 __GLX_PUT_LONG(4, cap);
/external/pdfium/third_party/bigint/
H A DNumberlikeArray.hh37 Index cap; member in class:NumberlikeArray
44 NumberlikeArray(Index c) : cap(c), len(0) {
45 blk = (cap > 0) ? (new Blk[cap]) : NULL;
52 NumberlikeArray() : cap(0), len(0) {
79 Index getCapacity() const { return cap; }
103 if (c > cap) {
107 cap = c;
108 blk = new Blk[cap];
115 if (c > cap) {
[all...]
/external/skia/src/gpu/
H A DGrTestUtils.cpp227 SkPaint::Cap cap = SkPaint::Cap(random->nextULessThan(SkPaint::kCapCount)); local
230 rec.setStrokeParams(cap, join, miterLimit);
/external/lzma/CPP/7zip/Common/
H A DStreamObjects.cpp48 bool CByteDynBuffer::EnsureCapacity(size_t cap) argument
50 if (cap <= _capacity)
59 cap = MyMax(_capacity + delta, cap);
60 Byte *buf = (Byte *)realloc(_buf, cap);
64 _capacity = cap;
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_screen.c103 i915_get_shader_param(struct pipe_screen *screen, unsigned shader, enum pipe_shader_cap cap) argument
107 switch (cap) {
114 return draw_get_shader_param(shader, cap);
118 switch(cap) {
155 debug_printf("%s: Unknown cap %u.\n", __FUNCTION__, cap);
166 i915_get_param(struct pipe_screen *screen, enum pipe_cap cap) argument
170 switch (cap) {
254 debug_printf("%s: Unknown cap %u.\n", __FUNCTION__, cap);
260 i915_get_paramf(struct pipe_screen *screen, enum pipe_capf cap) argument
[all...]
/external/mesa3d/src/gallium/state_trackers/clover/core/
H A Ddevice.cpp32 get_compute_param(pipe_screen *pipe, pipe_compute_cap cap) { argument
33 int sz = pipe->get_compute_param(pipe, cap, NULL);
36 pipe->get_compute_param(pipe, cap, &v.front());

Completed in 7476 milliseconds

12345