/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/ |
SSLEngineResultTest.java | 93 SSLEngineResult res = new SSLEngineResult(SSLEngineResult.Status.BUFFER_OVERFLOW, local 95 assertNotNull("Null object", res); 96 assertEquals(1, res.bytesConsumed()); 97 assertEquals(2, res.bytesProduced()); 122 SSLEngineResult res = new SSLEngineResult(enS[i], local 125 res.bytesConsumed()); 151 SSLEngineResult res = new SSLEngineResult(enS[i], local 154 res.bytesProduced()); 180 SSLEngineResult res = new SSLEngineResult(enS[i], local 183 res.getHandshakeStatus()) 209 SSLEngineResult res = new SSLEngineResult(enS[i], local 238 SSLEngineResult res = new SSLEngineResult(enS[i], local [all...] |
/external/webkit/WebCore/xml/ |
XSLTUnicodeSort.cpp | 81 xmlXPathObjectPtr *results = NULL, *res; local 227 res = resultsTab[depth]; 228 if (res == NULL) 230 if (res[j] == NULL) { 231 if (res[j+incr] != NULL) 237 if (xmlXPathIsNaN(res[j]->floatval)) { 238 if (xmlXPathIsNaN(res[j + 243 } else if (xmlXPathIsNaN(res[j + incr]-> 246 else if (res[j]->floatval == res[j + incr]- [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
DefaultSoftKeyboard.java | 27 import android.content.res.*; 556 Resources res = mWnn.getResources(); local 562 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_off)); 563 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); 564 text1.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 565 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 568 text1.setTextColor(res.getColor(R.color.indicator_textcolor_caps_on)); 569 text2.setTextColor(res.getColor(R.color.indicator_textcolor_alt_off)); 570 text1.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)); 571 text2.setBackgroundColor(res.getColor(R.color.indicator_textbackground_default)) [all...] |
/system/wlan/ti/wilink_6_1/platforms/os/linux/src/ |
CmdInterpretWext.c | 143 TI_STATUS res = TI_NOK; local 151 return res; 159 res = TI_OK; 172 res = cmdDispatch_SetParam (pCmdInterpret->hCmdDispatch, pParam); 173 CHECK_PENDING_RESULT(res,pParam) 184 res = cmdDispatch_GetParam (pCmdInterpret->hCmdDispatch, pParam); 185 if(res == NO_SITE_SELECTED_YET) 186 res = TI_OK; 188 CHECK_PENDING_RESULT(res,pParam) 190 if (res == TI_OK 1415 int TotalLength, res = TI_OK; local [all...] |
/external/icu4c/tools/genrb/ |
wrtxml.cpp | 219 void res_write_xml(struct SResource *res, const char* id, const char* language, UBool isTopLevel, UErrorCode *status); 534 static char *printContainer(struct SResource *res, const char *container, const char *restype, const char *mimetype, const char *id, UErrorCode *status) 541 if (res->fKey >= 0 && uprv_strcmp(srBundle->fKeys + res->fKey, "") != 0) { 542 resname = srBundle->fKeys + res->fKey; 565 if (res->fComment.fLength > 0) { 567 printComments(&res->fComment, resname, TRUE, status); 603 string_write_xml(struct SResource *res, const char* id, const char* /*language*/, UErrorCode *status) { 613 sid = printContainer(res, trans_unit, NULL, NULL, id, status); 619 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status) [all...] |
/external/bison/src/ |
state.c | 46 transitions *res = xmalloc (offsetof (transitions, states) + states_size); local 47 res->num = num; 48 memcpy (res->states, the_states, states_size); 49 return res; 84 errs *res = xmalloc (offsetof (errs, symbols) + symbols_size); local 85 res->num = num; 86 memcpy (res->symbols, tokens, symbols_size); 87 return res; 106 reductions *res = xmalloc (offsetof (reductions, rules) + rules_size); local 107 res->num = num 135 state *res; local [all...] |
/external/webkit/JavaScriptCore/wtf/ |
ThreadingWin.cpp | 335 DWORD res = WaitForSingleObject(m_blockLock, INFINITE); local 336 ASSERT(res == WAIT_OBJECT_0); 338 res = ReleaseSemaphore(m_blockLock, 1, 0); 339 ASSERT(res); 346 res = WaitForSingleObject(m_unblockLock, INFINITE); 347 ASSERT(res == WAIT_OBJECT_0); 357 res = WaitForSingleObject(m_blockLock, INFINITE); 358 ASSERT(res == WAIT_OBJECT_0); 360 res = ReleaseSemaphore(m_blockLock, 1, 0); 361 ASSERT(res); 382 DWORD res = WaitForSingleObject(m_unblockLock, INFINITE); local [all...] |
/frameworks/base/libs/surfaceflinger/DisplayHardware/ |
DisplayHardwareBase.cpp | 165 int res = ioctl(fd, KDSETMODE, (void*) KD_TEXT); local 166 if (res<0) { 167 LOGE("ioctl(%d, KDSETMODE, ...) failed, res %d (%s)", 168 fd, res, strerror(errno)); 173 res = ioctl(fd, VT_GETSTATE, &vs); 174 if (res<0) { 175 LOGE("ioctl(%d, VT_GETSTATE, ...) failed, res %d (%s)", 176 fd, res, strerror(errno)); 184 res = ioctl(fd, VT_ACTIVATE, (void*)vtnum); 185 } while(res < 0 && errno == EINTR) [all...] |
/frameworks/base/docs/html/guide/tutorials/localization/ |
index.jd | 35 application by adding resources to the <code>res/</code> directory. </p>
45 resource directories (<code>res/drawable</code>, <code>res/layout</code>, and
46 <code>res/values</code>). These resources are not localized — they are the
73 <p>The basic project contains a <code>res/</code> directory with
75 (<code>res/drawable/</code>), layouts (<code>res/layout/</code>) and strings
76 (<code>res/values/</code>). Most of the localization work you do later in this
77 tutorial will involve adding more subdirectories to the <code>res/</code>
82 <li>Open the <code>res/layout/main.xml</code> file and replace it with the [all...] |
/frameworks/base/docs/html/resources/tutorials/localization/ |
index.jd | 35 application by adding resources to the <code>res/</code> directory. </p>
45 resource directories (<code>res/drawable</code>, <code>res/layout</code>, and
46 <code>res/values</code>). These resources are not localized — they are the
73 <p>The basic project contains a <code>res/</code> directory with
75 (<code>res/drawable/</code>), layouts (<code>res/layout/</code>) and strings
76 (<code>res/values/</code>). Most of the localization work you do later in this
77 tutorial will involve adding more subdirectories to the <code>res/</code>
82 <li>Open the <code>res/layout/main.xml</code> file and replace it with the [all...] |
/dalvik/libcore/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
DalvikExecTest.java | 91 String res; local 100 res = execDalvik(jarFile.getAbsolutePath(), "dalvikExecTest.HelloWorld"); 101 assertEquals("Hello Android World!", "Hello Android World!\n", res); 103 res = execDalvik(jarFile.getAbsolutePath(), "dalvikExecTest.ResourceDumper"); 105 res.contains("Android Resource Dumper started")); 107 res.contains("This Resource contains some text.")); 161 String res; local 163 res = execDalvik(jarFile.getAbsolutePath(), "dalvikExecTest.HelloWorld"); 164 assertEquals("Hello Android World!", "Hello Android World!\n", res); 166 res = execDalvik(jarFile.getAbsolutePath(), "dalvikExecTest.ResourceDumper") 234 String res; local [all...] |
/external/bluetooth/glib/gio/ |
gfileoutputstream.c | 183 GAsyncResult *res, 190 (*stream->priv->outstanding_callback) (source_object, res, user_data); 374 gboolean res; local 394 res = class->seek (stream, offset, type, cancellable, error); 401 return res; 450 gboolean res; local 470 res = class->truncate_fn (stream, size, cancellable, error); 477 return res; 508 query_info_async_thread (GSimpleAsyncResult *res, 517 data = g_simple_async_result_get_op_res_gpointer (res); 545 GSimpleAsyncResult *res; local [all...] |
/external/dropbear/libtommath/ |
bn_mp_is_square.c | 43 int res; local 66 if ((res = mp_mod_d(arg,105,&c)) != MP_OKAY) { 67 return res; 74 if ((res = mp_init_set_int(&t,11L*13L*17L*19L*23L*29L*31L)) != MP_OKAY) { 75 return res; 77 if ((res = mp_mod(arg,&t,&t)) != MP_OKAY) { 82 * free "t" so the easiest way is to goto ERR. We know that res 94 if ((res = mp_sqrt(arg,&t)) != MP_OKAY) { 97 if ((res = mp_sqr(&t,&t)) != MP_OKAY) { 103 return res; [all...] |
/external/emma/ |
module.dirs.properties | 11 res: res 44 core.res.dir: ${core.dir.root}/${res} 55 ant.res.dir: ${ant.dir.root}/${res} 65 tools.res.dir: ${tools.dir.root}/${res} 75 test.res.dir: ${test.dir.root}/${res} [all...] |
/external/icu4c/test/intltest/ |
ucaconf.cpp | 185 int32_t res = 0, cmpres = 0, cmpres2 = 0; local 188 res = strcmp((char *)oldSk, (char *)newSk); 196 if(((res&0x80000000) != (cmpres&0x80000000)) || (res == 0 && cmpres != 0) || (res != 0 && cmpres == 0)) { 201 if(res > 0) { 207 } else if(res == 0) { /* equal */ 208 res = u_strcmpCodePointOrder(oldB, buffer); 209 if (res == 0) { 212 } else if (res > 0) [all...] |
/external/ipsec-tools/src/racoon/ |
dnssec.c | 63 struct certinfo *res = NULL; local 84 error = getcertsbyname(name, &res); 103 if (res->ci_next != NULL) { 107 switch (res->ci_type) { 114 "not supported CERT RR type %d.\n", res->ci_type); 125 cert->pl = vmalloc(res->ci_certlen + 1); 131 memcpy(cert->pl->v + 1, res->ci_cert, res->ci_certlen); 140 if (res) 141 freecertinfo(res); [all...] |
/external/speex/libspeex/ |
fixed_arm4.h | 40 int res; local 46 : "=&r"(res), "=&r" (dummy) 48 return(res); 53 int res; local 59 : "=&r"(res), "=&r" (dummy) 61 return(res); 67 int res=0; local 139 : "=r" (dead1), "=r" (dead2), "=r" (res), 141 : "0" (a), "1" (b), "2" (res) 144 return res; [all...] |
/frameworks/base/cmds/runtime/ |
SignalHandler.cpp | 79 int res = waitpid(entry.info.si_pid, NULL, WNOHANG); local 80 LOGW_IF(res == 0, 110 pid_t res = waitpid(childPid, NULL, WNOHANG); local 111 if (res != 0) { 112 if (res < 0) { 114 childPid, res, strerror(errno)); 117 childPid, res); 128 return (status_t)res; 171 int res = pipe(mAvailMsg); local 172 LOGE_IF(res != 0, "Unable to create signal handler pipe: %s", strerror(errno)) [all...] |
/frameworks/base/docs/html/guide/topics/resources/ |
available-resources.jd | 17 of application resource that you can provide in your resources directory ({@code res/}).</p> 41 Tween animations are saved in {@code res/anim/} and accessed from the {@code R.anim} class.<br/> 42 Frame animations are saved in {@code res/drawable/} and accessed from the {@code R.drawable} class.</dd> 45 Saved in {@code res/color/} and accessed from the {@code R.color} class.</dd> 48 Saved in {@code res/drawable/} and accessed from the {@code R.drawable} class.</dd> 51 Saved in {@code res/layout/} and accessed from the {@code R.layout} class.</dd> 54 Saved in {@code res/menu/} and accessed from the {@code R.menu} class.</dd> 57 Saved in {@code res/values/} and accessed from the {@code R.string}, {@code R.array}, 61 Saved in {@code res/values/} and accessed from the {@code R.style} class.</dd> 64 Saved in {@code res/values/} but each accessed from unique {@code R} sub-classes (such as {@cod [all...] |
more-resources.jd | 20 <dd>XML resource that provides a {@link android.content.res.TypedArray} (which you can use 39 <dd><code>res/values/<em>filename</em>.xml</code><br/> 82 <dd>XML file saved at <code>res/values-small/bools.xml</code>: 93 Resources res = {@link android.content.Context#getResources()}; 94 boolean screenIsSmall = res.{@link android.content.res.Resources#getBoolean(int) getBoolean}(R.bool.screen_small); 134 <dd><code>res/values/colors.xml</code><br/> 178 <dd>XML file saved at <code>res/values/colors.xml</code>: 189 Resources res = {@link android.content.Context#getResources()}; 190 int color = res.{@link android.content.res.Resources#getColor(int) getColor}(R.color.opaque_red) [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
LevelListDrawable.java | 24 import android.content.res.Resources; 25 import android.content.res.TypedArray; 40 * <level-list xmlns:android="http://schemas.android.com/apk/res/android"> 47 * <p>With this XML saved into the res/drawable/ folder of the project, it can be referenced as 157 LevelListState(LevelListState orig, LevelListDrawable owner, Resources res) { 158 super(orig, owner, res); 193 public Drawable newDrawable(Resources res) { 194 return new LevelListDrawable(this, res); 209 private LevelListDrawable(LevelListState state, Resources res) { 210 LevelListState as = new LevelListState(state, this, res); [all...] |
/frameworks/base/tools/localize/ |
xmb.cpp | 24 string res; local 29 res += c; 31 res += ' '; 34 return res; 82 resource_to_xmb_msg(const StringResource& res) 86 string name = res.pos.file; 88 name += res.TypedID(); 90 attrs.push_back(XMLAttribute("", "desc", strip_newlines(res.comment))); 92 XMLNode* msg = XMLNode::NewElement(res.pos, "", "msg", attrs, XMLNode::EXACT); 96 XMLNode* value = res.value [all...] |
/hardware/ti/wlan/wl1271/CUDK/os/linux/src/ |
ipc_sta.c | 149 S32 res; local 167 res = ioctl(pIpcSta->STA_socket, SIOCIWFIRSTPRIV, &pIpcSta->wext_req); 168 if(res != OK) 170 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IPC_STA_Private_Send - error sending Wext private IOCTL to STA driver (ioctl_cmd = %x, res = %d, errno = %d)\n", ioctl_cmd,res,errno); 180 S32 res; local 184 res = ioctl(pIpcSta->STA_socket, wext_request_id, &pIpcSta->wext_req); 185 if(res != OK) 187 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IPC_STA_Wext_Send - error sending Wext IOCTL to STA driver (wext_request_id = 0x%x, res = %d, errno = %d)\n",wext_request_id,res,errno) [all...] |
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/ |
LiveWallpaperListActivity.java | 26 import android.content.res.Resources; 89 Resources res = getResources(); local 90 Drawable galleryIcon = res.getDrawable(R.drawable.livewallpaper_placeholder); 135 int thumbWidth = res.getDimensionPixelSize(R.dimen.live_wallpaper_thumbnail_width); 136 int thumbHeight = res.getDimensionPixelSize(R.dimen.live_wallpaper_thumbnail_height); 141 paint.setColor(res.getColor(R.color.live_wallpaper_thumbnail_background)); 151 paint.setColor(res.getColor(R.color.live_wallpaper_thumbnail_text_color)); 153 res.getDimensionPixelSize(R.dimen.live_wallpaper_thumbnail_text_size)); 156 thumbHeight - res.getDimensionPixelSize( 159 thumb = new BitmapDrawable(res, thumbnail) [all...] |
/system/wlan/ti/wilink_6_1/CUDK/os/linux/src/ |
ipc_sta.c | 149 S32 res; local 167 res = ioctl(pIpcSta->STA_socket, SIOCIWFIRSTPRIV, &pIpcSta->wext_req); 168 if(res != OK) 170 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IPC_STA_Private_Send - error sending Wext private IOCTL to STA driver (ioctl_cmd = %x, res = %d, errno = %d)\n", ioctl_cmd,res,errno); 180 S32 res; local 184 res = ioctl(pIpcSta->STA_socket, wext_request_id, &pIpcSta->wext_req); 185 if(res != OK) 187 os_error_printf(CU_MSG_ERROR, (PS8)"ERROR - IPC_STA_Wext_Send - error sending Wext IOCTL to STA driver (wext_request_id = 0x%x, res = %d, errno = %d)\n",wext_request_id,res,errno) [all...] |