/external/e2fsprogs/resize/ |
resize2fs.c | 78 * This is the top-level routine which does the dirty deed.... 310 * This routine is shared by the online and offline resize routines. 311 * All of the information which is adjusted in memory is done here. 340 * Overhead is the number of bookkeeping blocks per group. It 352 * See if the last group is big enough to support the 442 * If the resize_inode feature is set, and we are changing the 498 * If the number of block groups is staying the same, we're 499 * done and can exit now. (If the number block groups is 658 * If the number of block groups is staying the same, we'r 1608 struct istruct *is = (struct istruct *) priv_data; local 1653 struct istruct is; local [all...] |
/external/glide/third_party/disklrucache/src/main/java/com/bumptech/glide/disklrucache/ |
DiskLruCache.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 50 * files from its directory. It is an error for multiple processes to use the 55 * remove entries in the background until the limit is satisfied. The limit is 61 * entry may have only one editor at one time; if a value is not available to be 64 * <li>When an entry is being <strong>created</strong> it is necessary to 67 * <li>When an entry is being <strong>edited</strong>, it is not necessar 694 InputStream is = new FileInputStream(files[index]); local [all...] |
/external/glide/third_party/gif_decoder/src/main/java/com/bumptech/glide/gifdecoder/ |
GifDecoder.java | 7 * Permission is hereby granted, free of charge, to any person obtaining 12 * permit persons to whom the Software is furnished to do so, subject to 18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 44 * This class is optimized for running animations with the frames, there 312 * @param is containing GIF file. 315 public int read(InputStream is, int contentLength) { 316 if (is != null) { 322 while ((nRead = is.read(data, 0, data.length)) != -1) { 336 if (is != null) [all...] |
/external/icu/icu4c/source/test/intltest/ |
transrt.cpp | 118 virtual UBool is(const UnicodeString& /*sourceString*/) const {return TRUE;} function in class:Legal 128 virtual UBool is(const UnicodeString& sourceString) const; 132 UBool LegalJamo::is(const UnicodeString& sourceString) const { function in class:LegalJamo 172 virtual UBool is(const UnicodeString& sourceString) const; 179 UBool LegalGreek::is(const UnicodeString& sourceString) const { function in class:LegalGreek 184 // modern is simpler: don't care about anything but a grave 186 // A special case which is legal but should be 201 // Legal greek has breathing marks IFF there is a vowel or RHO at the start 265 // density is the approximate total number of code points to returned for the entire set. 440 // see if string is of the form aB; e.g. lower, then upper or titl 1223 UBool LegalHebrew::is(const UnicodeString& sourceString)const{ function in class:LegalHebrew 1281 UBool LegalIndic::is(const UnicodeString& sourceString) const{ function in class:LegalIndic [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
Trie2.java | 20 * This is the interface and common implementation of a Unicode Trie2. 21 * It is a kind of compressed table that maps from Unicode code points (0..0x10ffff) 23 * characters with the same value, which is generally the case with Unicode 26 * This is the second common version of a Unicode trie (hence the name Trie2). 37 * The serialized format is identical between ICU4C and ICU4J, so this function 101 // The buffer is already set to the trie data byte order. 147 // Allocate the Trie2 index array. If the data width is 16 bits, the array also 202 * @param is an InputStream containing the serialized form 207 * @return the Trie version of the serialized form, or 0 if it is not 211 public static int getVersion(InputStream is, boolean littleEndianOk) throws IOException [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
LanguageTestRoot.java | 78 InputStream is = LanguageTestRoot.class local 82 if (is == null) { 84 + "' is null"); 86 InputStreamReader isr = new InputStreamReader(is, "UTF-8");
|
/external/jetty/src/java/org/eclipse/jetty/xml/ |
XmlParser.java | 9 // The Eclipse Public License is available at 12 // The Apache License v2.0 is available at 54 * By default, the parser is created as a validating parser only if xerces is present. This can be 158 * Set an XPath A very simple subset of xpath is supported to select a partial tree. Currently 179 * Add a ContentHandler. Add an additional _content handler that is triggered on a tag name. SAX 446 InputSource is = new InputSource(in); local 447 is.setSystemId(sid); 448 return is; 691 * @param tag If false, only _content is shown [all...] |
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/texture/plugins/ |
DDSLoader.java | 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 52 * <code>DDSLoader</code> is an image loader that reads in a DirectX DDS file. 72 // used by compressonator to mark grayscale images, red channel mask is used for data and bitcount is 8 74 // used by compressonator to mark alpha images, alpha channel mask is used for data and bitcount is 8 154 + "is supported for DirectX10 DDS! Got: " + dxgiFormat); 166 if (is(miscFlag, DX10MISC_TEXTURECUBE)) { 186 if (!is(flags, DDSD_MANDATORY) && !is(flags, DDSD_MANDATORY_DX10)) 772 private static boolean is(int flags, int mask) { method in class:DDSLoader [all...] |
/external/libvncserver/x11vnc/ |
remote.c | 5 This file is part of x11vnc. 7 x11vnc is free software; you can redistribute it and/or modify 12 x11vnc is distributed in the hope that it will be useful, 333 rfbLog(" bpp(%d) is not 8bpp, not resetting fb\n", bpp); 696 * -connect file. This is -privremote. What should be done is check 709 rfbLog("connect file is writable by others.\n"); 714 rfbLog("connect file is writable by group.\n"); 747 rfbLog("XAUTHORITY is writable by others!!\n"); 752 rfbLog("XAUTHORITY is writable by group!!\n") 4094 int is; local 4306 int is; local [all...] |
/external/libvorbis/lib/ |
vorbisenc.c | 3 * THIS FILE IS PART OF THE OggVorbis SOFTWARE CODEC SOURCE CODE. * 4 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS * 8 * THE OggVorbis SOURCE CODE IS (C) COPYRIGHT 1994-2009 * 194 int i,k,is=s; local 198 memcpy(f,in+x[is],sizeof(*f)); 217 ci->book_param[ci->books++]=(static_codebook *)books[x[is]][i]; 231 int i,is=s; local 232 double ds=s-is; 236 memcpy(g,in+(int)x[is],sizeof(*g)); 238 ds=x[is]*(1.-ds)+x[is+1]*ds 259 int i,is=s; local 312 int is=s; local 338 int i,is=s; local 362 int i,is=s; local 383 int is=s; local 398 int i,is=s,j; local 447 int is=s; local 593 int i,j,is=s,modes=2; local 622 int is=hi->base_setting; local 864 int i,is; local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ActivityTest.java | 154 transcript.add("onContentChanged was called; title is \"" + shadowOf(findViewById(R.id.title)).innerText() + "\""); 158 transcript.assertEventsSoFar("onContentChanged was called; title is \"Main Layout\""); 415 assertThat(contentViewContainer.getChildAt(0), is(contentView)); method
|
ListViewTest.java | 6 import static org.hamcrest.CoreMatchers.is; 123 assertThat(listView.findViewById(42), is(view)); method 155 assertThat(listView.findViewById(42), is(view)); method 168 assertThat(listView.getChildAt(0), is(header)); method 169 assertThat(listView.getChildAt(4), is(footer)); method 377 assertThat(listView.getCheckedItemPosition(), is(checkedItemPosition)); method 384 assertThat(listView.getCheckedItemPosition(), is(ListView.INVALID_POSITION)); method 391 assertThat(listView.getCheckedItemPosition(), is(ListView.INVALID_POSITION)); method 398 assertThat(listView.getCheckedItemPosition(), is(ListView.INVALID_POSITION)); method 407 assertThat(listView.getCheckedItemPosition(), is(ListView.INVALID_POSITION)) method [all...] |
/external/v8/src/x64/ |
assembler-x64.h | 19 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 20 // IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 63 // to a few constants). If this is a problem, we could change the code 115 bool is(Register reg) const { return code_ == reg.code_; } function in struct:v8::internal::Register 243 bool is(XMMRegister reg) const { return code_ == reg.code_; } 285 // any value < 0 is considered no_condition 402 // Offset is added to existing displacement as 32-bit signed values and 406 // Checks whether either base or index register is the given register. 424 // register is encoded later as part of the emit_operand operation. 428 // Set the SIB byte if one is needed. Sets the length to 2 rather than 1 [all...] |
/external/valgrind/coregrind/ |
vgdb.c | 6 This file is part of Valgrind, a dynamic binary instrumentation 11 This program is free software; you can redistribute it and/or 16 This program is distributed in the hope that it will be useful, but 26 The GNU General Public License is contained in the file COPYING. 55 It is made of a main program which reads arguments. If no 56 arguments are given or only --pid and --vgdb-prefix, then usage 1 is 61 written to gdb on stdout. Read/Write from/to valgrind is done 62 using FIFOs. There is one thread reading from stdin, writing to 63 valgrind on a FIFO. There is one thread reading from valgrind on a 76 is encountered. * 1174 int is; local [all...] |
/frameworks/base/core/java/android/content/pm/ |
RegisteredServicesCache.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 65 * Cache of registered services. This cache is lazily built by interrogating 68 * {@link #invalidateCache(int)} when a user is started, since 122 InputStream is = null; local 124 is = file.openRead(); 125 readPersistentServicesLocked(is); 129 IoUtils.closeQuietly(is); 172 // Don't regenerate the services map when the package is removed or its 179 // if it's a removal, is it part of an update-in-place step 629 InputStream is = null; local [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
ZygoteInit.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 167 * closure after a child process is forked off. 220 InputStream is; local 222 is = new FileInputStream(PRELOADED_CLASSES); 236 // processes (see WrapperInit), this function is called from an unprivileged uid 251 // is not likely to have any effect. 257 = new BufferedReader(new InputStreamReader(is), 256); 300 IoUtils.closeQuietly(is); 399 * This is only useful just before a fork() [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 223 // formulas, where the coefficient on x is the aspect ratio (width/height): 250 // We need to ensure that there is enough extra space in the wallpaper 280 InputStream is = null; local 286 is = context.getContentResolver().openInputStream(uri); 287 bis = new BufferedInputStream(is); 290 is = res.openRawResource(resId); 291 bis = new BufferedInputStream(is); 305 Utils.closeSilently(is); 639 InputStream is = null; local [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
TestWebServer.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 27 * TestWebServer is a simulated controllable test server that 62 /* Indicator for whether this server is configured as a HTTP/1.1 122 * @param timeout Indicates the period of time to wait until a socket is 192 * When this value is set, the server will respond to a request with 216 * The AcceptThread is responsible for initiating worker threads 230 // Socket timeout functionality is not available yet 322 * connection. If pipelining is turned on, this will allow this 324 * connection is closed 641 InputStream is = new BufferedInputStream(s.getInputStream()); local [all...] |
/libcore/luni/src/main/java/java/net/ |
URLClassLoader.java | 12 * distributed under the License is distributed on an "AS IS" BASIS, 49 * This class loader is responsible for loading classes and resources from a 73 InputStream is = null; local 78 is = jf.getInputStream(indexEntry); 79 in = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8)); 118 IoUtils.closeQuietly(is); 165 InputStream is = resURL.openStream(); local 166 return createClass(is, packageName, origName); 174 Class<?> createClass(InputStream is, String packageName, String origName) 333 InputStream is = jf.getInputStream(entry); local 488 InputStream is = new FileInputStream(file); local [all...] |
/packages/apps/Camera2/src/com/android/camera/tinyplanet/ |
TinyPlanetFragment.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 115 /** Whether rendering is in progress right now. */ 118 * Whether we should render one more time after the current rendering run is 119 * done. This is needed when there was an update to the values during the 258 * From the given URI this method creates a 360/180 padded image that is 262 InputStream is = getInputStream(sourceImageUri); local 263 if (is == null) { 267 Bitmap sourceBitmap = BitmapFactory.decodeStream(is); 269 is = getInputStream(sourceImageUri) [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
SaveImage.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 126 * In most cases, it is a content Uri for local image or remote image. 127 * @param destination Destinaton File, if this is null, a new file will be 211 // Delete all auxiliary files whose name is matching the 224 InputStream is = null; local 226 is = mContext.getContentResolver().openInputStream(source); 227 xmp = XmpUtilHelper.extractXMPMeta(is); 231 Utils.closeSilently(is); 292 // button is enabled, it means the file is loaded with filters i [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
PhoneAccountRegistrar.java | 11 * distributed under the License is distributed on an "AS IS" BASIS, 81 * Handles writing and reading PhoneAccountHandle registration entries. This is a simple verbatim 84 * {@link TelecomServiceImpl} is responsible for security checking to make sure that the caller has 93 * 1) The Android User that is currently active on the device. 95 * 3) The user running the app that is requesting the phone account information. 104 * User A (settings) is requesting a list of phone accounts while the active user is User B, and 107 * In practice, (2) is stored with the phone account handle and is part of the handle's ID. (1) i 858 final InputStream is; local [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/x86_64-linux/include/c++/4.8/bits/ |
locale_facets.h | 5 // This file is part of the GNU ISO C++ Library. This library is free 11 // This library is distributed in the hope that it will be useful, 26 * This is an internal header file, included by other library headers. 62 // NB: This is specialized for all required types, there is no 85 // NB: __pad is a struct, rather than a function, so it can be 107 // ostreambuf_iterator. For ostreambuf_iterator, sputn is 118 // This is the unspecialized form of the template. 162 is(mask __m, char_type __c) cons function in class:__ctype_abstract_base 179 is(const char_type *__lo, const char_type *__hi, mask *__vec) const function in class:__ctype_abstract_base [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/x86_64-linux/include/c++/4.8/bits/ |
locale_facets.h | 5 // This file is part of the GNU ISO C++ Library. This library is free 11 // This library is distributed in the hope that it will be useful, 26 * This is an internal header file, included by other library headers. 62 // NB: This is specialized for all required types, there is no 85 // NB: __pad is a struct, rather than a function, so it can be 107 // ostreambuf_iterator. For ostreambuf_iterator, sputn is 118 // This is the unspecialized form of the template. 162 is(mask __m, char_type __c) cons function in class:__ctype_abstract_base 179 is(const char_type *__lo, const char_type *__hi, mask *__vec) const function in class:__ctype_abstract_base [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/c++/4.8.3/bits/ |
locale_facets.h | 5 // This file is part of the GNU ISO C++ Library. This library is free 11 // This library is distributed in the hope that it will be useful, 26 * This is an internal header file, included by other library headers. 62 // NB: This is specialized for all required types, there is no 85 // NB: __pad is a struct, rather than a function, so it can be 107 // ostreambuf_iterator. For ostreambuf_iterator, sputn is 118 // This is the unspecialized form of the template. 162 is(mask __m, char_type __c) cons function in class:__ctype_abstract_base 179 is(const char_type *__lo, const char_type *__hi, mask *__vec) const function in class:__ctype_abstract_base [all...] |