/external/skqp/src/sksl/ir/ |
SkSLType.cpp | 49 const Type& Type::toCompound(const Context& context, int columns, int rows) const { 54 if (*this == *context.fFloat_Type) { 58 case 2: return *context.fFloat2_Type; 59 case 3: return *context.fFloat3_Type; 60 case 4: return *context.fFloat4_Type; 65 case 2: return *context.fFloat2x2_Type; 66 case 3: return *context.fFloat3x2_Type; 67 case 4: return *context.fFloat4x2_Type; 72 case 2: return *context.fFloat2x3_Type [all...] |
SkSLSwizzle.h | 24 static const Type& get_type(const Context& context, Expression& value, size_t count) { 29 if (base == *context.fFloat_Type) { 31 case 2: return *context.fFloat2_Type; 32 case 3: return *context.fFloat3_Type; 33 case 4: return *context.fFloat4_Type; 35 } else if (base == *context.fHalf_Type) { 37 case 2: return *context.fHalf2_Type; 38 case 3: return *context.fHalf3_Type; 39 case 4: return *context.fHalf4_Type [all...] |
/system/core/logcat/ |
getopt_long.cpp | 59 #define PRINT_ERROR ((context->opterr) && (*options != ':')) 87 static int permute_args(getopt_context* context, char* const* nargv) { 89 int nnonopts = context->nonopt_end - context->nonopt_start; 90 int nopts = context->optind - context->nonopt_end; 92 int cyclelen = (context->optind - context->nonopt_start) / ncycle; 95 int cstart = context->nonopt_end + i; 98 if (pos >= context->nonopt_end) [all...] |
/system/core/liblog/ |
log_event_list.c | 50 android_log_context_internal* context; local 52 context = calloc(1, sizeof(android_log_context_internal)); 53 if (!context) { 56 context->tag = tag; 57 context->read_write_flag = kAndroidLoggerWrite; 59 if ((context->pos + needed) > MAX_EVENT_PAYLOAD) { 60 context->overflow = true; 63 context->storage[context->pos + 0] = EVENT_TYPE_LIST; 64 context->list[0] = context->pos + 1 72 android_log_context_internal* context; local 88 android_log_context_internal* context; local 102 android_log_context_internal* context; local 144 android_log_context_internal* context; local 179 android_log_context_internal* context; local 205 android_log_context_internal* context; local 246 android_log_context_internal* context; local 269 android_log_context_internal* context; local 300 android_log_context_internal* context; local 336 android_log_context_internal* context; local 393 android_log_context_internal* context; local [all...] |
/external/libvncserver/common/ |
sha1.c | 80 * context: [in/out] 81 * The context to reset. 87 int SHA1Reset(SHA1Context *context) 89 if (!context) 94 context->Length_Low = 0; 95 context->Length_High = 0; 96 context->Message_Block_Index = 0; 98 context->Intermediate_Hash[0] = 0x67452301; 99 context->Intermediate_Hash[1] = 0xEFCDAB89; 100 context->Intermediate_Hash[2] = 0x98BADCFE [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
sparse_reshape_op.cc | 34 explicit SparseReshapeOp(OpKernelConstruction* context) : OpKernel(context) {} 36 void Compute(OpKernelContext* context) override { 39 Reshape(context, context->input(0), context->input(1), context->input(2),
|
warn_about_ints.cc | 21 void WarnAboutInts(OpKernelConstruction* context) { 23 OP_REQUIRES_OK(context, context->GetAttr("T", &dtype)); 25 LOG(WARNING) << "Op " << context->def().name() << " of type " 26 << context->def().op() << " used with integer dtype "
|
assign_op.h | 32 explicit AssignOp(OpKernelConstruction* context) : OpKernel(context) { 33 OP_REQUIRES_OK(context, 34 context->GetAttr("use_locking", &use_exclusive_lock_)); 35 OP_REQUIRES_OK(context, 36 context->GetAttr("validate_shape", &validate_shape_)); 37 OP_REQUIRES(context, IsRefType(context->input_type(0)), 41 void Compute(OpKernelContext* context) override { 42 const Tensor& rhs = context->input(1) [all...] |
l2loss_op.h | 26 explicit L2LossOp(OpKernelConstruction* context) : OpKernel(context) {} 28 void Compute(OpKernelContext* context) {}
|
no_op.h | 25 explicit NoOp(OpKernelConstruction* context) : OpKernel(context) {} 26 void Compute(OpKernelContext* context) override {}
|
/external/toybox/lib/ |
lsm.h | 54 // Fetch this process's lsm context 67 static inline int lsm_set_create(char *context) 69 if (CFG_TOYBOX_SMACK) return smack_set_label_for_self(context); 70 else return setfscreatecon(context); 74 static inline int lsm_set_context(char *filename, char *context) 77 return smack_set_label_for_path(filename, XATTR_NAME_SMACK, 1, context); 78 else return setfilecon(filename, context); 82 static inline int lsm_lset_context(char *filename, char *context) 85 return smack_set_label_for_path(filename, XATTR_NAME_SMACK, 0, context); 86 else return lsetfilecon(filename, context); [all...] |
/external/pdfium/fxbarcode/datamatrix/ |
BC_ASCIIEncoder.cpp | 36 void CBC_ASCIIEncoder::Encode(CBC_EncoderContext& context, int32_t& e) { 38 context.m_msg, context.m_pos); 40 wchar_t code = encodeASCIIDigits(context.m_msg[context.m_pos], 41 context.m_msg[context.m_pos + 1], e); 45 context.writeCodeword(code); 46 context.m_pos += 2; 48 wchar_t c = context.getCurrentChar() [all...] |
/external/icu/icu4c/source/i18n/ |
regextxt.cpp | 21 struct URegexUTextUnescapeCharContext *context = (struct URegexUTextUnescapeCharContext *)ct; local 23 if (offset == context->lastOffset + 1) { 24 c = UTEXT_NEXT32(context->text); 25 context->lastOffset++; 26 } else if (offset == context->lastOffset) { 27 c = UTEXT_PREVIOUS32(context->text); 28 UTEXT_NEXT32(context->text); 30 utext_moveIndex32(context->text, offset - context->lastOffset - 1); 31 c = UTEXT_NEXT32(context->text) [all...] |
/external/mesa3d/src/gallium/state_trackers/va/ |
picture.c | 43 vlVaContext *context; local 54 context = handle_table_get(drv->htab, context_id); 55 if (!context) { 65 context->target_id = render_target; 67 context->target = surf->buffer; 69 if (!context->decoder) { 72 if (context->templat.profile == PIPE_VIDEO_PROFILE_UNKNOWN && 73 context->target->buffer_format != PIPE_FORMAT_B8G8R8A8_UNORM && 74 context->target->buffer_format != PIPE_FORMAT_R8G8B8A8_UNORM && 75 context->target->buffer_format != PIPE_FORMAT_B8G8R8X8_UNORM & 472 vlVaContext *context; local 547 vlVaContext *context; local [all...] |
/packages/apps/Settings/src/com/android/settings/fingerprint/ |
FingerprintEnrollSuggestionActivity.java | 19 import android.content.Context; 25 public static boolean isSuggestionComplete(Context context) { 26 if (!Utils.hasFingerprintHardware(context) 27 || !FingerprintSuggestionActivity.isFingerprintEnabled(context) 28 || !Utils.hasFingerprintHardware(context)) { 31 return Utils.getFingerprintManagerOrNull(context).hasEnrolledFingerprints();
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
FallbackAccountType.java | 20 import android.content.Context; 33 private FallbackAccountType(Context context, String resPackageName) { 44 addDataKindStructuredName(context); 45 addDataKindName(context); 46 addDataKindPhoneticName(context); 47 addDataKindNickname(context); 48 addDataKindPhone(context); 49 addDataKindEmail(context); 50 addDataKindStructuredPostal(context); [all...] |
/external/skia/src/sksl/ir/ |
SkSLSwizzle.h | 24 static const Type& get_type(const Context& context, Expression& value, size_t count) { 29 if (base == *context.fFloat_Type) { 31 case 2: return *context.fFloat2_Type; 32 case 3: return *context.fFloat3_Type; 33 case 4: return *context.fFloat4_Type; 35 } else if (base == *context.fHalf_Type) { 37 case 2: return *context.fHalf2_Type; 38 case 3: return *context.fHalf3_Type; 39 case 4: return *context.fHalf4_Type [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
TransactionContextTest.java | 33 TransactionContext context = new TransactionContext(false); local 34 context.markRawContactDirtyAndChanged(1L, false); 35 context.rawContactUpdated(1L); 36 context.rawContactInserted(1L, 1L); 37 context.syncStateUpdated(1L, new Object()); 39 context.clearExceptSearchIndexUpdates(); 41 Set<Long> newDirty = context.getDirtyRawContactIds(); 42 Set<Long> newChanged = context.getChangedRawContactIds(); 43 Set<Long> newInserted = context.getInsertedRawContactIds(); 44 Set<Long> newUpdated = context.getUpdatedRawContactIds() 55 TransactionContext context = new TransactionContext(false); local 64 TransactionContext context = new TransactionContext(false); local 73 TransactionContext context = new TransactionContext(false); local 86 TransactionContext context = new TransactionContext(false); local [all...] |
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/inflater/ |
CustomViewInflater.java | 19 import android.content.Context; 36 public CustomTextView(Context context) { 37 super(context); 40 public CustomTextView(Context context, 42 super(context, attrs); 45 public CustomTextView(Context context, 47 super(context, attrs, defStyleAttr) [all...] |
/packages/apps/Dialer/java/com/android/contacts/common/model/account/ |
FallbackAccountType.java | 19 import android.content.Context; 28 private FallbackAccountType(Context context, String resPackageName) { 39 addDataKindStructuredName(context); 40 addDataKindDisplayName(context); 41 addDataKindPhoneticName(context); 42 addDataKindNickname(context); 43 addDataKindPhone(context); 44 addDataKindEmail(context); 45 addDataKindStructuredPostal(context); [all...] |
/dalvik/libdex/ |
sha1.h | 15 void SHA1Init(SHA1_CTX* context); 16 void SHA1Update(SHA1_CTX* context, const unsigned char* data, 18 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context);
|
/development/samples/DataWiper/src/com.example.android.datawiper/ |
MyAdmin.java | 21 import android.content.Context; 26 public static ComponentName getComponent(Context context) { 27 return new ComponentName(context, MyAdmin.class); 30 public static boolean isEnabled(Context context) { 31 return ((DevicePolicyManager) (context.getSystemService(Context.DEVICE_POLICY_SERVICE))) 32 .isAdminActive(getComponent(context)); 35 public static void disable(Context context) [all...] |
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/ |
LauncherUtils.java | 31 import android.content.Context; 46 * @param context application context 49 public static boolean launchPollingService(Context context) { 52 Intent intent = new Intent(context, PollingService.class); 53 return (context.startService(intent) != null); 59 * @param context application context 61 public static boolean stopPollingService(Context context) [all...] |
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
gemm_support.cc | 27 void IncrementUsageCounter(TfLiteContext* context) { 28 auto* ptr = reinterpret_cast<RefCountedGemmContext*>(context->gemm_context); 33 context->gemm_context = ptr; 38 void DecrementUsageCounter(TfLiteContext* context) { 39 auto* ptr = reinterpret_cast<RefCountedGemmContext*>(context->gemm_context); 48 context->gemm_context = nullptr; 52 gemmlowp::GemmContext* GetFromContext(TfLiteContext* context) { 53 auto* ptr = reinterpret_cast<RefCountedGemmContext*>(context->gemm_context); 61 void SetMaxNumThreads(TfLiteContext* context, int num_threads) { 62 IncrementUsageCounter(context); [all...] |
/packages/apps/Dialer/java/com/android/dialer/main/ |
Main.java | 19 import android.content.Context; 24 boolean isNewUiEnabled(Context context); 27 void createNewUiLauncherShortcut(Context context); 29 void disableComponentForTesting(Context context);
|