/external/dbus/bus/ |
bus.c | 2 /* bus.c message bus context object 64 BusContext *context; member in struct:__anon3141 72 BusContext *context; local 85 context = bd->context; 89 return context; 110 BusContext *context; local 112 context = server_get_context (server); 114 return _dbus_loop_add_watch (context->loop, 124 BusContext *context; local 146 BusContext *context; local 159 BusContext *context; local 172 BusContext *context = data; local 524 context); local 536 BusContext *context; local [all...] |
config-loader-expat.c | 45 process_content (ExpatParseContext *context) 47 if (context->failed) 50 if (_dbus_string_get_length (&context->content) > 0) 52 if (!bus_config_parser_content (context->parser, 53 &context->content, 54 context->error)) 56 context->failed = TRUE; 59 _dbus_string_set_length (&context->content, 0); 70 ExpatParseContext *context = userData; local 78 if (context->failed 131 ExpatParseContext *context = userData; local 151 ExpatParseContext *context = userData; local 174 ExpatParseContext context; local [all...] |
/external/srec/srec/crec/ |
c47mulsp.c | 93 srec_context* context = grammar; local 95 context->max_searchable_nodes = recm->max_fsm_nodes; 96 context->max_searchable_arcs = recm->max_fsm_arcs; 98 if (context->max_searchable_nodes < context->num_nodes || context->max_searchable_arcs < context->num_arcs) 100 PLogError(L("Error: context switch failed due to search limitations [arcs max=%d, actual=%d], [nodes max=%d, actual=%d]\n"), 101 context->max_searchable_arcs, context->num_arcs [all...] |
/external/chromium/third_party/icu/source/common/ |
uarrsort.h | 29 * @param context Application-specific pointer, passed through by uprv_sortArray(). 40 UComparator(const void *context, const void *left, const void *right); 52 * @param context Application-specific pointer, passed through to the UComparator. 60 UComparator *cmp, const void *context, 68 uprv_uint16Comparator(const void *context, const void *left, const void *right); 75 uprv_int32Comparator(const void *context, const void *left, const void *right); 82 uprv_uint32Comparator(const void *context, const void *left, const void *right);
|
/external/icu4c/common/ |
uarrsort.h | 29 * @param context Application-specific pointer, passed through by uprv_sortArray(). 40 UComparator(const void *context, const void *left, const void *right); 52 * @param context Application-specific pointer, passed through to the UComparator. 60 UComparator *cmp, const void *context, 68 uprv_uint16Comparator(const void *context, const void *left, const void *right); 75 uprv_int32Comparator(const void *context, const void *left, const void *right); 82 uprv_uint32Comparator(const void *context, const void *left, const void *right);
|
/external/bluetooth/glib/glib/ |
gmain.c | 174 GMainContext *context; member in struct:_GMainLoop 208 #define LOCK_CONTEXT(context) g_static_mutex_lock (&context->mutex) 209 #define UNLOCK_CONTEXT(context) g_static_mutex_unlock (&context->mutex) 212 #define LOCK_CONTEXT(context) (void)0 213 #define UNLOCK_CONTEXT(context) (void)0 221 #define SOURCE_UNREF(source, context) \ 226 g_source_unref_internal ((source), (context), TRUE); \ 233 GMainContext *context, 454 GMainContext *context = g_new0 (GMainContext, 1); local 742 GMainContext *context; local 815 GMainContext *context; local 848 GMainContext *context; local 888 GMainContext *context; local 1028 GMainContext *context; local 1093 GMainContext *context; local 1139 GMainContext *context; local 2957 GMainContext *context; local 3686 GMainContext *context; local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BrowserYesNoPreference.java | 21 import android.content.Context; 27 public BrowserYesNoPreference(Context context, AttributeSet attrs) { 28 super(context, attrs); 38 Context context = getContext(); local 40 BrowserSettings.getInstance().clearCache(context); 41 BrowserSettings.getInstance().clearDatabases(context); 43 BrowserSettings.getInstance().clearCookies(context); 45 BrowserSettings.getInstance().clearHistory(context); [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
CamcorderHeadUpDisplay.java | 19 import android.content.Context; 32 public CamcorderHeadUpDisplay(Context context) { 33 super(context); 36 public void initialize(Context context, PreferenceGroup group, 39 super.initialize(context, group); 44 Context context, PreferenceGroup group) { 45 super.initializeIndicatorBar(context, group) [all...] |
/external/webkit/WebKitTools/DumpRenderTree/win/ |
MD5.cpp | 62 void MD5_Init(MD5_CTX* context) 64 init()(context); 67 void MD5_Update(MD5_CTX* context, unsigned char* input, unsigned length) 69 update()(context, input, length); 72 void MD5_Final(unsigned char hash[16], MD5_CTX* context) 74 final()(context); 77 hash[i] = context->digest[i];
|
/packages/apps/Stk/src/com/android/stk/ |
StkAppInstaller.java | 22 import android.content.Context; 32 static void install(Context context) { 33 setAppState(context, true); 36 static void unInstall(Context context) { 37 setAppState(context, false); 40 private static void setAppState(Context context, boolean install) { 41 if (context == null) [all...] |
/external/libvpx/nestegg/include/nestegg/ |
nestegg.h | 84 /** User supplied IO context. */ 134 typedef void (* nestegg_log)(nestegg * context, unsigned int severity, char const * format, ...); 136 /** Initialize a nestegg context. During initialization the parser will 139 @param context Storage for the new nestegg context. @see nestegg_destroy 140 @param io User supplied IO context. 144 int nestegg_init(nestegg ** context, nestegg_io io, nestegg_log callback); 146 /** Destroy a nestegg context and free associated memory. 147 @param context #nestegg context to be freed. @see nestegg_init * [all...] |
/external/bluetooth/glib/tests/ |
markup-test.c | 21 start_element_handler (GMarkupParseContext *context, 49 end_element_handler (GMarkupParseContext *context, 60 text_handler (GMarkupParseContext *context, 72 passthrough_handler (GMarkupParseContext *context, 84 error_handler (GMarkupParseContext *context, 112 GMarkupParseContext *context; local 115 context = g_markup_parse_context_new (&silent_parser, 0, NULL, NULL); 121 if (!g_markup_parse_context_parse (context, 126 g_markup_parse_context_free (context); 133 if (!g_markup_parse_context_end_parse (context, NULL) 150 GMarkupParseContext *context; local [all...] |
/external/webkit/JavaScriptCore/API/tests/ |
JSNode.c | 36 static JSValueRef JSNode_appendChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 41 if (!JSValueIsObjectOfClass(context, thisObject, JSNode_class(context))) { 43 *exception = JSValueMakeString(context, message); 45 } else if (argumentCount < 1 || !JSValueIsObjectOfClass(context, arguments[0], JSNode_class(context))) { 47 *exception = JSValueMakeString(context, message); 51 Node* child = JSObjectGetPrivate(JSValueToObject(context, arguments[0], NULL)); 56 return JSValueMakeUndefined(context); 59 static JSValueRef JSNode_removeChild(JSContextRef context, JSObjectRef function, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], (…) [all...] |
JSNodeList.c | 33 static JSValueRef JSNodeList_item(JSContextRef context, JSObjectRef object, JSObjectRef thisObject, size_t argumentCount, const JSValueRef arguments[], JSValueRef* exception) 40 Node* node = NodeList_item(nodeList, (unsigned)JSValueToNumber(context, arguments[0], exception)); 42 return JSNode_new(context, node); 45 return JSValueMakeUndefined(context); 53 static JSValueRef JSNodeList_length(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception) 60 return JSValueMakeNumber(context, NodeList_length(nodeList)); 68 static JSValueRef JSNodeList_getProperty(JSContextRef context, JSObjectRef thisObject, JSStringRef propertyName, JSValueRef* exception) 72 double index = JSValueToNumber(context, JSValueMakeString(context, propertyName), exception); 77 return JSNode_new(context, node) [all...] |
/external/v8/src/ |
contexts.cc | 37 JSBuiltinsObject* Context::builtins() { 48 Context* Context::global_context() { 49 // Fast case: the global object for this context has been set. In 51 // context. 57 // have to search the context chain to find the global context. 59 Context* current = this; 62 current = Context::cast(closure->context()); 206 Context* context = this; local [all...] |
/development/host/windows/usb/legacy/driver/ |
android_usb_wdf_object.h | 49 extension context for all KMDF objects that we extend. So we can initialize
50 and register our context extension structure here. Note that object
61 /** \brief Initializes context for this extension
176 AndroidUsbWdfObjectContext* context =
local 178 ASSERT((NULL != context) && (NULL != context->wdf_object_ext) &&
179 (context->wdf_object_ext->Is(context->object_type)));
180 if ((NULL != context) && (NULL != context->wdf_object_ext) && [all...] |
/external/webkit/WebCore/bindings/js/ |
JSSVGContextCache.h | 41 static void addWrapper(DOMObject* wrapper, SVGElement* context) 44 ASSERT(context); 46 pair<WrapperMap::iterator, bool> result = wrapperMap().add(wrapper, context); 49 ASSERT_UNUSED(it, it->second == context); 72 SVGElement* context = it->second; 73 ASSERT(context); 75 context->svgAttributeChanged(attributeName); 87 SVGElement* context = it->second; 88 ASSERT(context); 89 return context; [all...] |
/external/webkit/WebKit/mac/Plugins/ |
WebNetscapeContainerCheckContextInfo.mm | 32 - (id)initWithCheckRequestID:(uint32)checkRequestID callbackFunc:(void (*)(NPP npp, uint32 checkID, NPBool allowed, void* context))callbackFunc context:(void*)context 40 _context = context; 54 - (void*)context
|
/frameworks/base/core/java/android/appwidget/ |
AppWidgetProvider.java | 20 import android.content.Context; 28 * {@link #onReceive(Context,Intent) onReceive(Context,Intent)}, and calls hook methods 48 * @param context The Context in which the receiver is running. 52 public void onReceive(Context context, Intent intent) { 61 this.onUpdate(context, AppWidgetManager.getInstance(context), appWidgetIds); 69 this.onDeleted(context, new int[] { appWidgetId }) [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MediaScannerReceiver.java | 20 import android.content.Context; 35 public void onReceive(Context context, Intent intent) { 42 scan(context, MediaProvider.INTERNAL_VOLUME); 49 scan(context, MediaProvider.EXTERNAL_VOLUME); 52 scanFile(context, path); 58 private void scan(Context context, String volume) { 61 context.startService( 62 new Intent(context, MediaScannerService.class).putExtras(args)) [all...] |
/external/ipsec-tools/src/racoon/missing/crypto/sha2/ |
sha2.c | 334 void SHA256_Init(SHA256_CTX* context) { 335 if (context == (SHA256_CTX*)0) { 338 bcopy(sha256_initial_hash_value, context->state, SHA256_DIGEST_LENGTH); 339 bzero(context->buffer, SHA256_BLOCK_LENGTH); 340 context->bitcount = 0; 380 void SHA256_Transform(SHA256_CTX* context, const sha2_word32* data) { 385 W256 = (sha2_word32*)context->buffer; 388 a = context->state[0]; 389 b = context->state[1]; 390 c = context->state[2] 653 SHA256_CTX context; local 982 SHA512_CTX context; local 1057 SHA384_CTX context; local [all...] |
/external/webkit/WebKit/chromium/tests/ |
TransparencyWinTest.cpp | 50 static void drawNativeRect(GraphicsContext* context, 53 skia::PlatformCanvas* canvas = context->platformContext()->canvas(); 67 static Color getPixelAt(GraphicsContext* context, int x, int y) 69 const SkBitmap& bitmap = context->platformContext()->canvas()-> 76 static void clearTopLayerAlphaChannel(GraphicsContext* context) 78 SkBitmap& bitmap = const_cast<SkBitmap&>(context->platformContext()-> 88 static void clearTopLayerAlphaPixel(GraphicsContext* context, int x, int y) 90 SkBitmap& bitmap = const_cast<SkBitmap&>(context->platformContext()-> 111 helper.init(src->context(), 116 EXPECT_TRUE(src->context() == helper.context()) [all...] |
/frameworks/base/core/java/android/app/admin/ |
DeviceAdminReceiver.java | 24 import android.content.Context; 34 * {@link BroadcastReceiver#onReceive(Context, Intent) BroadcastReceiver.onReceive()} 62 * handle this in {@link DeviceAdminReceiver#onEnabled(Context, Intent)}. To be 96 * handle this in {@link DeviceAdminReceiver#onDisabled(Context, Intent)}. Note 163 public DevicePolicyManager getManager(Context context) { 167 mManager = (DevicePolicyManager)context.getSystemService( 168 Context.DEVICE_POLICY_SERVICE); 177 public ComponentName getWho(Context context) { [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/ |
AudioAssets.java | 19 import android.content.Context; 32 public static byte[] getStim(Context context, int which) { 33 return readAsset(context, STIM_BASENAME + which); 36 public static byte[] getPinkNoise(Context context, int ampl, int duration) { 37 return readAsset(context, "audioquality/pink_" + ampl + "_" + duration + "s"); 40 private static byte[] readAsset(Context context, String filename) { 41 AssetManager assetManager = context.getAssets() [all...] |
/cts/tests/src/android/widget/cts/ |
MyHorizontalScrollView.java | 19 import android.content.Context; 26 public MyHorizontalScrollView(Context context) { 27 super(context); 30 public MyHorizontalScrollView(Context context, AttributeSet attrs) { 31 super(context, attrs); 34 public MyHorizontalScrollView(Context context, AttributeSet attrs, int defStyle) { 35 super(context, attrs, defStyle) [all...] |