/external/skia/gm/ |
H A D | tilemodes.cpp | 21 static void makebm(SkBitmap* bm, SkColorType ct, int w, int h) { argument 22 bm->allocPixels(SkImageInfo::Make(w, h, ct, kPremul_SkAlphaType));
|
H A D | tilemodes_scaled.cpp | 22 static void makebm(SkBitmap* bm, SkColorType ct, int w, int h) { argument 23 bm->allocPixels(SkImageInfo::Make(w, h, ct, kPremul_SkAlphaType));
|
/external/skia/include/core/ |
H A D | SkImageInfo.h | 95 static int SkColorTypeBytesPerPixel(SkColorType ct) { argument 108 SkASSERT((size_t)ct < SK_ARRAY_COUNT(gSize)); 109 return gSize[ct]; 112 static inline size_t SkColorTypeMinRowBytes(SkColorType ct, int width) { argument 113 return width * SkColorTypeBytesPerPixel(ct); 131 static SkImageInfo Make(int width, int height, SkColorType ct, SkAlphaType at) { argument 133 width, height, ct, at
|
/external/skia/samplecode/ |
H A D | SampleTiling.cpp | 27 static void makebm(SkBitmap* bm, SkColorType ct, int w, int h) { argument 28 bm->allocPixels(SkImageInfo::Make(w, h, ct, kPremul_SkAlphaType));
|
/external/skia/src/core/ |
H A D | SkMipMap.cpp | 126 const SkColorType ct = src.colorType(); local 128 switch (ct) { 160 size += SkColorTypeMinRowBytes(ct, width) * height; 183 rowBytes = SkToU32(SkColorTypeMinRowBytes(ct, width)); 192 dstBM.installPixels(SkImageInfo::Make(width, height, ct, at), addr, rowBytes);
|
/external/skia/src/images/ |
H A D | SkDecodingImageGenerator.cpp | 69 virtual bool allocPixelRef(SkBitmap* bm, SkColorTable* ct) { argument 72 return bm->allocPixels(NULL, ct); 78 bm->installPixels(fInfo, fTarget, fRowBytes, ct, NULL, NULL);
|
H A D | SkImageDecoder.cpp | 157 SkColorType ct = fDefaultPref; local 177 ct = SkBitmapConfigToColorType(config); 180 return ct;
|
/external/skia/src/views/ |
H A D | SkWindow.cpp | 58 void SkWindow::setColorType(SkColorType ct) { argument 59 this->resize(fBitmap.width(), fBitmap.height(), ct); 62 void SkWindow::resize(int width, int height, SkColorType ct) { argument 63 if (ct == kUnknown_SkColorType) 64 ct = fColorType; 66 if (width != fBitmap.width() || height != fBitmap.height() || ct != fColorType) { 67 fColorType = ct; 69 ct, kPremul_SkAlphaType));
|
/external/srtp/crypto/test/ |
H A D | cipher_driver.c | 60 cipher_driver_self_test(cipher_type_t *ct); 64 * cipher_driver_test_buffering(ct) tests the cipher's output 77 cipher_driver_test_array_throughput(cipher_type_t *ct, 239 cipher_driver_self_test(cipher_type_t *ct) { argument 242 printf("running cipher self-test for %s...", ct->description); 243 status = cipher_type_self_test(ct); 254 * cipher_driver_test_buffering(ct) tests the cipher's output 474 cipher_driver_test_array_throughput(cipher_type_t *ct, argument 479 status = cipher_array_alloc_init(&ca, num_cipher, ct, klen);
|
/external/stlport/src/ |
H A D | time_facets.cpp | 148 void __subformat(_STLP_BASIC_IOSTRING(_Ch) &buf, const ctype<_Ch>& ct, variable 159 __write_formatted_timeT(buf, ct, *cp++, mod, table, t); 171 static void __append(__iostring &buf, char *first, char *last, const ctype<char>& /* ct */) 174 static void __append(__iowstring &buf, char *first, char *last, const ctype<wchar_t>& ct) { argument 176 ct.widen(first, last, _wbuf); 214 const ctype<_Ch>& ct, variable 238 __subformat(buf, ct, (modifier != '#') ? table._M_date_time_format 244 __append(buf, _buf, ((long)t->tm_mday < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct); 249 __append(buf, _buf, _buf + 2, ct); 254 __append(buf, _buf, ((long)t->tm_hour < 10L && modifier == '#') ? _buf + 1 : _buf + 2, ct); 454 __write_formatted_time(__iostring &buf, const ctype<char>& ct, char format, char modifier, const _Time_Info& table, const tm* t) argument 459 __write_formatted_time(__iowstring &buf, const ctype<wchar_t>& ct, char format, char modifier, const _WTime_Info& table, const tm* t) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/tls/ |
H A D | tlsv1_client_read.c | 22 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, 24 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct, 26 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct, 30 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, argument 38 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 40 "received content type 0x%x", ct); 214 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, argument 223 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 225 "received content type 0x%x", ct); 255 return tls_process_server_key_exchange(conn, ct, in_dat 567 tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 658 tls_process_certificate_request(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 722 tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 779 tls_process_server_change_cipher_spec(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 850 tls_process_server_finished(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 983 tls_process_application_data(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len, u8 **out_data, size_t *out_len) argument 1014 tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct, const u8 *buf, size_t *len, u8 **out_data, size_t *out_len) argument [all...] |
H A D | tlsv1_server_read.c | 23 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, 26 u8 ct, const u8 *in_data, 49 static int tls_process_client_hello(struct tlsv1_server *conn, u8 ct, argument 59 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 61 ct); 291 static int tls_process_certificate(struct tlsv1_server *conn, u8 ct, argument 300 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 302 ct); 340 return tls_process_client_key_exchange(conn, ct, in_data, 693 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, argument 770 tls_process_certificate_verify(struct tlsv1_server *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 937 tls_process_change_cipher_spec(struct tlsv1_server *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 987 tls_process_client_finished(struct tlsv1_server *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 1160 tlsv1_server_process_handshake(struct tlsv1_server *conn, u8 ct, const u8 *buf, size_t *len) argument [all...] |
/external/wpa_supplicant_8/src/tls/ |
H A D | tlsv1_client_read.c | 22 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, 24 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct, 26 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct, 30 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, argument 38 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 40 "received content type 0x%x", ct); 214 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, argument 223 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 225 "received content type 0x%x", ct); 255 return tls_process_server_key_exchange(conn, ct, in_dat 567 tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 658 tls_process_certificate_request(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 722 tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 779 tls_process_server_change_cipher_spec(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 850 tls_process_server_finished(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 983 tls_process_application_data(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len, u8 **out_data, size_t *out_len) argument 1014 tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct, const u8 *buf, size_t *len, u8 **out_data, size_t *out_len) argument [all...] |
H A D | tlsv1_server_read.c | 23 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, 26 u8 ct, const u8 *in_data, 49 static int tls_process_client_hello(struct tlsv1_server *conn, u8 ct, argument 59 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 61 ct); 291 static int tls_process_certificate(struct tlsv1_server *conn, u8 ct, argument 300 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 302 ct); 340 return tls_process_client_key_exchange(conn, ct, in_data, 693 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, argument 770 tls_process_certificate_verify(struct tlsv1_server *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 937 tls_process_change_cipher_spec(struct tlsv1_server *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 987 tls_process_client_finished(struct tlsv1_server *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 1160 tlsv1_server_process_handshake(struct tlsv1_server *conn, u8 ct, const u8 *buf, size_t *len) argument [all...] |
/external/wpa_supplicant_8/wpa_supplicant/src/tls/ |
H A D | tlsv1_client_read.c | 22 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, 24 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct, 26 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct, 30 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct, argument 38 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 40 "received content type 0x%x", ct); 214 static int tls_process_certificate(struct tlsv1_client *conn, u8 ct, argument 223 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 225 "received content type 0x%x", ct); 255 return tls_process_server_key_exchange(conn, ct, in_dat 567 tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 658 tls_process_certificate_request(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 722 tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 779 tls_process_server_change_cipher_spec(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 850 tls_process_server_finished(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 983 tls_process_application_data(struct tlsv1_client *conn, u8 ct, const u8 *in_data, size_t *in_len, u8 **out_data, size_t *out_len) argument 1014 tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct, const u8 *buf, size_t *len, u8 **out_data, size_t *out_len) argument [all...] |
H A D | tlsv1_server_read.c | 23 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, 26 u8 ct, const u8 *in_data, 49 static int tls_process_client_hello(struct tlsv1_server *conn, u8 ct, argument 59 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 61 ct); 291 static int tls_process_certificate(struct tlsv1_server *conn, u8 ct, argument 300 if (ct != TLS_CONTENT_TYPE_HANDSHAKE) { 302 ct); 340 return tls_process_client_key_exchange(conn, ct, in_data, 693 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct, argument 770 tls_process_certificate_verify(struct tlsv1_server *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 937 tls_process_change_cipher_spec(struct tlsv1_server *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 987 tls_process_client_finished(struct tlsv1_server *conn, u8 ct, const u8 *in_data, size_t *in_len) argument 1160 tlsv1_server_process_handshake(struct tlsv1_server *conn, u8 ct, const u8 *buf, size_t *len) argument [all...] |
/external/chromium_org/net/cert/ |
H A D | ct_serialization.cc | 12 namespace ct { namespace in namespace:net 384 } // namespace ct
|
/external/chromium_org/third_party/harfbuzz-ng/src/ |
H A D | hb-ot-shape-complex-thai.cc | 233 thai_consonant_type_t ct = get_consonant_type (info[i].codepoint); local 234 above_state = thai_above_start_state[ct]; 235 below_state = thai_below_start_state[ct];
|
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/ |
H A D | vp9_encodemv.c | 136 static int update_mv(vp9_writer *w, const unsigned int ct[2], vp9_prob *cur_p, argument 138 const vp9_prob new_p = get_binary_prob(ct[0], ct[1]) | 1; 139 const int update = cost_branch256(ct, *cur_p) + vp9_cost_zero(upd_p) > 140 cost_branch256(ct, new_p) + vp9_cost_one(upd_p) + 7 * 256;
|
/external/chromium_org/third_party/skia/bench/ |
H A D | BitmapBench.cpp | 86 BitmapBench(SkColorType ct, SkAlphaType at, bool forceUpdate = false, bool isVolatile = false) argument 87 : fColorType(ct) 196 FilterBitmapBench(SkColorType ct, SkAlphaType at, argument 198 : INHERITED(ct, at, forceUpdate, isVolitile) 275 SourceAlphaBitmapBench(SourceAlpha alpha, SkColorType ct, argument 277 : INHERITED(ct, kPremul_SkAlphaType, forceUpdate, bitmapVolatile)
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBlitMask_D32.cpp | 240 SkBlitMask::ColorProc SkBlitMask::ColorFactory(SkColorType ct, argument 243 ColorProc proc = PlatformColorProcs(ct, format, color); 248 switch (ct) { 558 SkBlitMask::RowProc SkBlitMask::RowFactory(SkColorType ct, argument 562 RowProc proc = PlatformRowProcs(ct, format, flags); 577 switch (ct) {
|
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | SkGr.cpp | 369 GrPixelConfig SkImageInfo2GrPixelConfig(SkColorType ct, SkAlphaType) { argument 370 switch (ct) { 391 SkColorType ct; local 394 ct = kAlpha_8_SkColorType; 397 ct = kIndex_8_SkColorType; 400 ct = kRGB_565_SkColorType; 403 ct = kARGB_4444_SkColorType; 406 ct = kRGBA_8888_SkColorType; 409 ct = kBGRA_8888_SkColorType; 415 *ctOut = ct; [all...] |
/external/chromium_org/third_party/skia/src/images/ |
H A D | SkImageDecoder_libgif.cpp | 198 SkColorTable* ct = bm->getColorTable(); // Index8 must have it. local 199 SkASSERT(ct != NULL); 200 uint32_t count = ct->count();
|
/external/chromium_org/third_party/skia/tests/ |
H A D | BitmapCopyTest.cpp | 28 static bool canHaveAlpha(SkColorType ct) { argument 29 return kRGB_565_SkColorType != ct; 198 SkColorType ct) { 201 if (kIndex_8_SkColorType == ct) { 206 srcOpaque->allocPixels(SkImageInfo::Make(W, H, ct, kOpaque_SkAlphaType), 208 srcPremul->allocPixels(SkImageInfo::Make(W, H, ct, kPremul_SkAlphaType), 385 SkColorTable* ct = NULL; local 387 ct = init_ctable(kPremul_SkAlphaType); 399 SkSafeUnref(ct); 197 setup_src_bitmaps(SkBitmap* srcOpaque, SkBitmap* srcPremul, SkColorType ct) argument
|
/external/chromium_org/third_party/skia/third_party/ktx/ |
H A D | ktx.cpp | 361 const SkColorType ct = bitmap.colorType(); local 382 switch (ct) { 473 if (kN32_SkColorType == ct) {
|