/external/skia/tests/ |
H A D | ObjectPoolTest.cpp | 43 for (int index = 0; index < kNumToAcquire; ++index) { 45 int blocks = (index / kNumItemsPerBlock) + 1; 46 int available = (blocks * kNumItemsPerBlock) - (index + 1); 53 for (int index = 0; index < kNumToAcquire / 2; ++index) {
|
H A D | PathOpsDLineTest.cpp | 32 for (size_t index = 0; index < tests_count; ++index) { 33 const SkDLine& line = tests[index]; 39 const SkDPoint& pt = left[index]; 42 if ((result <= 0 && index >= 1) || (result < 0 && index == 0)) { 43 SkDebugf("%s [%d] expected left\n", __FUNCTION__, index);
|
/external/fonttools/Lib/fontTools/misc/ |
H A D | psCharStrings.py | 40 def read_byte(self, b0, data, index): 41 return b0 - 139, index 43 def read_smallInt1(self, b0, data, index): 44 b1 = byteord(data[index]) 45 return (b0-247)*256 + b1 + 108, index+1 47 def read_smallInt2(self, b0, data, index): 48 b1 = byteord(data[index]) 49 return -(b0-251)*256 - b1 - 108, index+1 51 def read_shortInt(self, b0, data, index): 52 value, = struct.unpack(">h", data[index [all...] |
/external/fonttools/Tools/fontTools/misc/ |
H A D | psCharStrings.py | 40 def read_byte(self, b0, data, index): 41 return b0 - 139, index 43 def read_smallInt1(self, b0, data, index): 44 b1 = byteord(data[index]) 45 return (b0-247)*256 + b1 + 108, index+1 47 def read_smallInt2(self, b0, data, index): 48 b1 = byteord(data[index]) 49 return -(b0-251)*256 - b1 - 108, index+1 51 def read_shortInt(self, b0, data, index): 52 value, = struct.unpack(">h", data[index [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/tabs/ |
H A D | tab_strip_model_observer_bridge.h | 31 int index, 35 int index) OVERRIDE; 37 int index) OVERRIDE; 41 int index, 50 int index, 55 int index) OVERRIDE; 57 int index) OVERRIDE; 71 atIndex:(NSInteger)index 74 atIndex:(NSInteger)index; 76 atIndex:(NSInteger)index; [all...] |
/external/chromium_org/third_party/WebKit/Source/core/html/ |
H A D | HTMLTableRowElement.cpp | 116 PassRefPtrWillBeRawPtr<HTMLElement> HTMLTableRowElement::insertCell(int index, ExceptionState& exceptionState) argument 120 if (index < -1 || index > numCells) { 121 exceptionState.throwDOMException(IndexSizeError, "The value provided (" + String::number(index) + ") is outside the range [-1, " + String::number(numCells) + "]."); 126 if (numCells == index || index == -1) 129 insertBefore(cell, children->item(index), exceptionState); 133 void HTMLTableRowElement::deleteCell(int index, ExceptionState& exceptionState) argument 137 if (index == -1) 138 index [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | arbprogram.h | 53 _mesa_ProgramEnvParameter4dARB(GLenum target, GLuint index, 58 _mesa_ProgramEnvParameter4dvARB(GLenum target, GLuint index, 63 _mesa_ProgramEnvParameter4fARB(GLenum target, GLuint index, 68 _mesa_ProgramEnvParameter4fvARB(GLenum target, GLuint index, 73 _mesa_ProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count, 78 _mesa_ProgramLocalParameter4dARB(GLenum target, GLuint index, 84 _mesa_ProgramLocalParameter4dvARB(GLenum target, GLuint index, 89 _mesa_ProgramLocalParameter4fARB(GLenum target, GLuint index, 94 _mesa_ProgramLocalParameter4fvARB(GLenum target, GLuint index, 99 _mesa_ProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsize [all...] |
/external/guava/guava/src/com/google/common/collect/ |
H A D | ForwardingList.java | 65 public void add(int index, E element) { argument 66 delegate().add(index, element); 70 public boolean addAll(int index, Collection<? extends E> elements) { argument 71 return delegate().addAll(index, elements); 75 public E get(int index) { argument 76 return delegate().get(index); 95 public ListIterator<E> listIterator(int index) { argument 96 return delegate().listIterator(index); 100 public E remove(int index) { argument 101 return delegate().remove(index); 105 set(int index, E element) argument 143 standardAddAll( int index, Iterable<? extends E> elements) argument [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | arbprogram.h | 53 _mesa_ProgramEnvParameter4dARB(GLenum target, GLuint index, 58 _mesa_ProgramEnvParameter4dvARB(GLenum target, GLuint index, 63 _mesa_ProgramEnvParameter4fARB(GLenum target, GLuint index, 68 _mesa_ProgramEnvParameter4fvARB(GLenum target, GLuint index, 73 _mesa_ProgramEnvParameters4fvEXT(GLenum target, GLuint index, GLsizei count, 78 _mesa_ProgramLocalParameter4dARB(GLenum target, GLuint index, 84 _mesa_ProgramLocalParameter4dvARB(GLenum target, GLuint index, 89 _mesa_ProgramLocalParameter4fARB(GLenum target, GLuint index, 94 _mesa_ProgramLocalParameter4fvARB(GLenum target, GLuint index, 99 _mesa_ProgramLocalParameters4fvEXT(GLenum target, GLuint index, GLsize [all...] |
/external/okhttp/okio/src/main/java/okio/ |
H A D | Base64.java | 121 int index = 0, end = in.length - in.length % 3; 123 out[index++] = MAP[(in[i] & 0xff) >> 2]; 124 out[index++] = MAP[((in[i] & 0x03) << 4) | ((in[i + 1] & 0xff) >> 4)]; 125 out[index++] = MAP[((in[i + 1] & 0x0f) << 2) | ((in[i + 2] & 0xff) >> 6)]; 126 out[index++] = MAP[(in[i + 2] & 0x3f)]; 130 out[index++] = MAP[(in[end] & 0xff) >> 2]; 131 out[index++] = MAP[(in[end] & 0x03) << 4]; 132 out[index++] = '='; 133 out[index++] = '='; 136 out[index [all...] |
/external/chromium_org/chrome/browser/ui/search_engines/ |
H A D | template_url_table_model.cc | 243 void TemplateURLTableModel::Remove(int index) { argument 247 TemplateURL* template_url = GetTemplateURL(index); 249 scoped_ptr<ModelEntry> entry(RemoveEntry(index)); 257 void TemplateURLTableModel::Add(int index, argument 261 DCHECK(index >= 0 && index <= RowCount()); 272 AddEntry(index, entry.Pass()); 275 void TemplateURLTableModel::ModifyTemplateURL(int index, argument 279 DCHECK(index >= 0 && index < 292 ReloadIcon(int index) argument 300 GetTemplateURL(int index) argument 315 MoveToMainGroup(int index) argument 325 MakeDefaultTemplateURL(int index) argument 357 NotifyChanged(int index) argument 376 RemoveEntry(int index) argument 388 AddEntry(int index, scoped_ptr<ModelEntry> entry) argument [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/paddings/ |
H A D | TBCPadding.java | 81 int index = in.length - 1; 82 while (index > 0 && in[index - 1] == code) 84 index--; 87 return in.length - index;
|
/external/chromium_org/third_party/skia/src/gpu/gl/debug/ |
H A D | GrTextureObj.h | 34 int index = fTextureUnitReferees.find(referee); local 35 GrAlwaysAssert(0 <= index); 36 fTextureUnitReferees.removeShuffle(index); 39 int index = fTextureUnitReferees.find(referee); local 40 return 0 <= index;
|
/external/chromium_org/third_party/skia/tests/ |
H A D | PathOpsDebug.cpp | 42 for (int index = 0; index < count; ++index) { 43 output_scalar(pts[index].fX); 45 output_scalar(pts[index].fY); 46 if (index + 1 < count) { 293 for (int index = 0; index < 2; ++index) { 294 SkDebugf(" {%1.9gf, %1.9gf}", coin.fPts[0][index] 360 int index = 0; local 371 int index = 0; local 419 int index = 0; local 486 int index = 0; local 498 int index = 0; local [all...] |
H A D | PathOpsSimplifyFailTest.cpp | 40 static void failOne(skiatest::Reporter* reporter, int index) { argument 42 int i = (int) (index % nonFinitePtsCount); 43 int f = (int) (index % finitePtsCount); 45 switch (index % 13) { 69 static void dontFailOne(skiatest::Reporter* reporter, int index) { argument 71 int f = (int) (index % finitePtsCount); 73 switch (index % 11) { 92 REPORTER_ASSERT(reporter, success || index == 13); 98 for (int index = 0; index < (in 107 int index = 0; local 112 int index = 13; local [all...] |
/external/chromium_org/third_party/skia/tools/ |
H A D | sk_tool_utils_font.cpp | 25 for (int index = 0; index < gTestFontsCount; ++index) { 26 SkTestFontData& fontData = gTestFonts[index]; 38 for (int index = 0; index < gSubFontsCount; ++index) { 39 sub = &gSubFonts[index]; 73 for (int index = 0; index < gSubFontsCoun [all...] |
/external/chromium_org/ui/file_manager/video_player/js/cast/ |
H A D | cast_extension_discoverer.js | 36 * @param {number} index Current index which is tried to check. 41 CastExtensionDiscoverer.findInstalledExtensionHelper_ = function(index, 43 if (index === CastExtensionDiscoverer.CAST_EXTENSION_IDS.length) { 50 CastExtensionDiscoverer.CAST_EXTENSION_IDS[index], 53 callback(CastExtensionDiscoverer.CAST_EXTENSION_IDS[index]); 55 CastExtensionDiscoverer.findInstalledExtensionHelper_(index + 1,
|
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-crbug-381534.js | 23 function g(v, x, index) { 25 assertEquals(index, arr.indexOf(0)); 26 assertEquals(index, arr.lastIndexOf(0)); 28 assertEquals(index, arr.indexOf(v)); 29 assertEquals(index, arr.lastIndexOf(v));
|
/external/deqp/framework/opengl/ |
H A D | gluProgramInterfaceQuery.hpp | 43 deUint32 index; member in struct:glu::InterfaceBlockInfo 49 : index (~0u /* GL_INVALID_INDEX */) 60 deUint32 index; member in struct:glu::InterfaceVariableInfo 73 : index (~0u /* GL_INVALID_INDEX */) 89 int getProgramResourceInt (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, deUint32 queryParam); 90 deUint32 getProgramResourceUint (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, deUint32 queryParam); 92 void getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, std::string& dst); 93 std::string getProgramResourceName (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index); 95 void getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, InterfaceBlockInfo& info); 96 InterfaceBlockInfo getProgramInterfaceBlockInfo (const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index); 103 getProgramResourceInt(const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index, deUint32 queryParam) argument 108 getProgramResourceName(const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index) argument 115 getProgramInterfaceBlockInfo(const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index) argument 122 getProgramInterfaceVariableInfo(const glw::Functions& gl, deUint32 program, deUint32 programInterface, deUint32 index) argument [all...] |
/external/javassist/src/main/javassist/bytecode/ |
H A D | ConstantAttribute.java | 41 * @param index <code>constantvalue_index</code> 44 public ConstantAttribute(ConstPool cp, int index) { argument 47 bvalue[0] = (byte)(index >>> 8); 48 bvalue[1] = (byte)index; 68 int index = getConstPool().copy(getConstantValue(), newCp, 70 return new ConstantAttribute(newCp, index);
|
/external/lzma/CPP/Common/ |
H A D | NewHandler.cpp | 47 static int index = 0;
variable 54 if (index == 40)
58 if (index < kDebugSize)
60 a[index] = p;
61 index++;
91 for (int i = 0; i < index; i++)
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/ |
H A D | LocalVariableNode.java | 69 * The local variable's index.
71 public int index;
field in class:LocalVariableNode 84 * @param index the local variable's index.
92 final int index)
99 this.index = index;
113 index);
86 LocalVariableNode( final String name, final String desc, final String signature, final LabelNode start, final LabelNode end, final int index) argument
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
H A D | FastMember.java | 24 protected int index; field in class:FastMember 26 protected FastMember(FastClass fc, Member member, int index) { argument 29 this.index = index; 36 return index;
|
/external/proguard/src/proguard/classfile/attribute/ |
H A D | CodeAttribute.java | 84 for (int index = 0; index < u2attributesCount; index++) 86 Attribute attribute = attributes[index]; 149 for (int index = 0; index < u2exceptionTableLength; index++) 153 exceptionInfoVisitor.visitExceptionInfo(clazz, method, this, exceptionTable[index]); 164 for (int index = 0; index < u2exceptionTableLengt [all...] |
H A D | SignatureAttribute.java | 73 for (int index = 0; index < referencedClasses.length; index++) 75 if (referencedClasses[index] != null) 77 referencedClasses[index].accept(classVisitor);
|