Searched refs:cap (Results 101 - 125 of 306) sorted by relevance

1234567891011>>

/external/autotest/client/profilers/powertop/src/
H A Ddisplay.c192 void show_acpi_power_line(double rate, double cap, double capdelta, time_t ti) argument
201 sprintf(buffer, _("Power usage (ACPI estimate): %3.1fW (%3.1f hours)"), rate, cap/rate);
205 sprintf(c, _("(long term: %3.1fW,/%3.1fh)"), 3600*capdelta / ti, cap / (3600*capdelta/ti+0.01));
208 sprintf(buffer, _("Power usage (5 minute ACPI estimate) : %5.1f W (%3.1f hours left)"), 3600*capdelta / ti, cap / (3600*capdelta/ti+0.01));
H A Dpowertop.h105 void show_acpi_power_line(double rate, double cap, double capdelta, time_t time);
H A Dpowertop.c491 double cap = 0; local
550 cap += watts_left + voltage * amperes_left;
555 if (prev_bat_cap - cap < 0.001 && rate < 0.001)
559 last_bat_cap = prev_bat_cap = cap;
565 last_bat_cap = cap;
568 show_acpi_power_line(rate, cap, prev_bat_cap - cap, time(NULL) - prev_bat_time);
651 double cap = 0; local
739 cap += watts_left;
744 if (prev_bat_cap - cap < 0.00
[all...]
/external/ipsec-tools/src/racoon/
H A Disakmp_frag.c332 isakmp_frag_addcap(buf, cap)
334 int cap;
342 if ((buf = vrealloc(buf, len + sizeof(cap))) == NULL) {
352 *capp |= htonl(cap);
/external/libopus/celt/
H A Drate.h98 int compute_allocation(const CELTMode *m, int start, int end, const int *offsets, const int *cap, int alloc_trim, int *intensity, int *dual_stero,
/external/linux-kselftest/tools/testing/selftests/capabilities/
H A Dvalidate_cap.c1 #include <cap-ng.h>
/external/wpa_supplicant_8/hostapd/src/pae/
H A Dieee802_1x_secy_ops.h32 int secy_get_capability(struct ieee802_1x_kay *kay, enum macsec_cap *cap);
/external/wpa_supplicant_8/src/pae/
H A Dieee802_1x_secy_ops.h32 int secy_get_capability(struct ieee802_1x_kay *kay, enum macsec_cap *cap);
/external/wpa_supplicant_8/wpa_supplicant/src/pae/
H A Dieee802_1x_secy_ops.h32 int secy_get_capability(struct ieee802_1x_kay *kay, enum macsec_cap *cap);
/external/pdfium/third_party/agg23/
H A Dagg_array.h33 pod_array(unsigned cap, unsigned extra_tail = 0);
36 void capacity(unsigned cap, unsigned extra_tail = 0);
107 void pod_array<T>::capacity(unsigned cap, unsigned extra_tail) argument
110 unsigned full_cap = cap + extra_tail;
111 if(full_cap < cap) {
141 template<class T> pod_array<T>::pod_array(unsigned cap, unsigned extra_tail) : argument
142 m_size(0), m_capacity(cap + extra_tail), m_array(FX_Alloc(T, m_capacity)) {}
/external/libcap/libcap/
H A Dcap_text.c18 /* Maximum output text length (16 per cap) */
283 char *cap_to_name(cap_value_t cap) argument
285 if ((cap < 0) || (cap >= __CAP_BITS)) {
291 asprintf(&tmp, "%u", cap);
297 return _libcap_strdup(_cap_names[cap]);
/external/android-clat/
H A Dclatd.c181 struct __user_cap_data_struct cap; local
183 memset(&cap, 0, sizeof(cap));
187 cap.effective = cap.permitted = (1 << CAP_NET_ADMIN);
189 if(capset(&header, &cap) < 0) {
/external/autotest/server/cros/network/
H A Dhostap_config.py268 for cap in self.AC_CAPABILITIES_MAPPING.keys():
269 if cap in self._ac_capabilities:
270 ret.append(self.AC_CAPABILITIES_MAPPING[cap])
506 unknown_caps = [cap for cap in n_capabilities
507 if cap not in self.ALL_N_CAPABILITIES]
/external/skia/tools/lua/
H A Dscrape_dashing_full.lua88 local cap = p:getStrokeCap()
89 if 0 == cap then
91 elseif 1 == cap then
/external/icu/icu4c/source/i18n/
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
H A Drbnf.cpp193 int32_t cap; member in class:VArray
197 VArray() : buf(NULL), cap(0), size(0), deleter(NULL) {}
199 VArray(Fn_Deleter del) : buf(NULL), cap(0), size(0), deleter(del) {}
216 if (size == cap) {
217 if (cap == 0) {
218 cap = 1;
219 } else if (cap < 256) {
220 cap *= 2;
222 cap += 256;
225 buf = (void**)uprv_malloc(cap * sizeo
1007 int32_t cap = name.length() + 1; local
[all...]
/external/icu/icu4c/source/i18n/unicode/
H A Ducsdet.h306 * @param cap The capacity of the buffer in UChars.
314 UChar *buf, int32_t cap, UErrorCode *status);
/external/skia/gm/
H A Dhairlines.cpp151 // Now add the chord that should cap the circular arc
221 static void draw_squarehair_tests(SkCanvas* canvas, SkScalar width, SkPaint::Cap cap, bool aa) { argument
223 paint.setStrokeCap(cap);
250 for (auto cap : caps) {
251 draw_squarehair_tests(canvas, width, cap, alias);
H A Ddegeneratesegments.cpp195 const SkRect& clip, SkPaint::Cap cap, SkPaint::Join join,
200 paint.setStrokeCap(cap);
323 CapAndName cap = gCaps[(rand.nextU() >> 16) % numCaps]; local
339 cap.fCap, cap.fJoin, style.fStyle,
362 canvas->drawText(cap.fName,
363 strlen(cap.fName),
194 drawPath(SkPath& path, SkCanvas* canvas, SkColor color, const SkRect& clip, SkPaint::Cap cap, SkPaint::Join join, SkPaint::Style style, SkPath::FillType fill, SkScalar strokeWidth) argument
/external/skia/src/gpu/gl/
H A DGrGLPath.cpp69 inline GrGLenum cap_to_gl_cap(SkPaint::Cap cap) { argument
75 return gSkCapsToGrGLCaps[cap];
263 GrGLenum cap = cap_to_gl_cap(stroke.getCap()); local
264 GR_GL_CALL(gpu->glInterface(), PathParameteri(pathID, GR_GL_PATH_END_CAPS, cap));
/external/skia/src/core/
H A DSkStrokerPriv.cpp213 SkStrokerPriv::CapProc SkStrokerPriv::CapFactory(SkPaint::Cap cap) { argument
218 SkASSERT((unsigned)cap < SkPaint::kCapCount);
219 return gCappers[cap];
/external/skia/src/gpu/
H A DGrStyle.cpp27 // One for res scale, one for style/cap/join, one for miter limit, and one for width.
76 // The cap type only matters for unclosed shapes. However, a path effect could unclose
78 SkPaint::Cap cap = SkPaint::kDefault_Cap; local
80 cap = style.strokeRec().getCap();
96 cap << kCapShift;
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_addrhashmap.h52 uptr cap; member in struct:__sanitizer::AddrHashMap::AddBucket
258 add->cap = (kInitSize - sizeof(*add)) / sizeof(add->cells[0]) + 1;
262 if (add->size == add->cap) {
264 uptr oldsize = sizeof(*add) + (add->cap - 1) * sizeof(add->cells[0]);
268 add1->cap = (newsize - sizeof(*add)) / sizeof(add->cells[0]) + 1;
/external/skia/experimental/svg/model/
H A DSkSVGRenderContext.cpp75 SkPaint::Cap toSkCap(const SkSVGLineCap& cap) { argument
76 switch (cap.type()) {
160 const auto& cap = *attrs.fStrokeLineCap.get(); local
161 if (cap.type() != SkSVGLineCap::Type::kInherit) {
162 pctx->fStrokePaint.setStrokeCap(toSkCap(cap));
/external/mesa3d/src/glx/
H A Dsingle2.c157 get_client_data(struct glx_context * gc, GLenum cap, GLintptr * data) argument
164 switch (cap) {
172 retval = __glXGetArrayEnable(state, cap, 0, data);
795 __indirect_glIsEnabled(GLenum cap) argument
806 switch (cap) {
814 retval = __glXGetArrayEnable(state, cap, 0, &enable);
828 __GLX_SINGLE_PUT_LONG(0, cap);

Completed in 687 milliseconds

1234567891011>>