/external/toybox/toys/posix/ |
H A D | sort.c | 82 unsigned range[4]; // start word, start char, end word, end char member in struct:sort_key 94 if(key->range[0]==1 && !key->range[1] && !key->range[2] && !key->range[3] 101 if (!key->range[2*j]) end=len; 106 for (i=1; i < key->range[2*j]+j; i++) { 131 if (key->range[3]) { 132 end += key->range[3]-1; 135 if (key->range[ [all...] |
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
H A D | streams.py | 267 def range(self): member in class:TokenStream 906 def range(self): member in class:CommonTokenStream 996 I'm going to try replacing range from x..y with (y-x)+1 ReplaceOp 1200 "replace: range invalid: %d..%d (size=%d)" 1283 # ensure start/end are in range 1369 1. wipe out any insertions before op within that range. 1371 that range. 1379 3. throw exception if index in same range as previous replace 1385 inserted stuff would be before the replace range. But, if you 1400 # Wipe prior inserts within range [all...] |
/external/clang/lib/ARCMigrate/ |
H A D | ARCMT.cpp | 28 SourceRange range) { 29 if (range.isInvalid()) 36 if ((IDs.empty() || // empty means clear all diagnostics in the range. 38 !diagLoc.isBeforeInTranslationUnitThan(range.getBegin()) && 39 (diagLoc == range.getEnd() || 40 diagLoc.isBeforeInTranslationUnitThan(range.getEnd()))) { 58 SourceRange range) const { 59 if (range.isInvalid()) 65 if ((IDs.empty() || // empty means any diagnostic in the range. 67 !diagLoc.isBeforeInTranslationUnitThan(range 27 clearDiagnostic(ArrayRef<unsigned> IDs, SourceRange range) argument [all...] |
/external/clang/lib/Rewrite/ |
H A D | Rewriter.cpp | 107 /// ReplaceText - This method replaces a range of characters in the input 124 /// getRangeSize - Return the size in bytes of the specified range if they 140 // If edits have been made to this buffer, the delta between the range may 152 // start of the last token if this is a token range. 165 /// range. If the start or end of the range was unrewritable or if they are 183 // If edits have been made to this buffer, the delta between the range may 302 /// ReplaceText - This method replaces a range of characters in the input 315 bool Rewriter::ReplaceText(SourceRange range, SourceRange replacementRange) { argument 316 if (!isRewritable(range 329 IncreaseIndentation(CharSourceRange range, SourceLocation parentIndent) argument [all...] |
/external/clang/test/CodeGen/ |
H A D | struct.c | 71 } range; typedef in typeref:struct:__anon1867 72 extern range f6(); 74 range r = f6(); 79 range range1; 80 range range2; 86 range r = p.range1; 89 void f9(range *p) { 90 range r = *p; 93 void f10(range *p) { 94 range [all...] |
/external/clang/test/SemaCXX/ |
H A D | for-range-examples.cpp | 51 value_range_detail::value_range<T> range(const T &a, const T &b) { return value_range_detail::value_range<T>(a, b); } function 54 value_range_detail::value_range_step<T> range(const T &a, const T &b, const T &step) { return value_range_detail::value_range_step<T>(a, b, step); } function 122 for (auto n : range(1, 5)) { 127 for (auto n : range(10, 100, 10)) { 199 // expected-error@-1 {{cannot build range expression with array function parameter 'arr' since parameter with array type 'int []' is treated as pointer type 'int *'}} 210 // expected-error@-1 {{cannot build range expression with array function parameter 'arr' since parameter with array type 'test6::vector []' is treated as pointer type 'test6::vector *'}}
|
/external/deqp/framework/randomshaders/ |
H A D | rsgStatement.cpp | 75 // Random number in range 283 // \note Currently booleans are always treated as not having undefined range and thus 297 // Take copy of value range for generating initializer expression 431 ValueRange range = ValueRange(VariableType::getScalarType(VariableType::TYPE_BOOL)); local 432 range.getMin().asBool() = false; 433 range.getMax().asBool() = true; 435 m_condition = generator.generate(range, 1);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fImplementationLimitTests.cpp | 79 std::ostream& operator<< (std::ostream& str, const FloatRange& range) { return str << range.min << ", " << range.max; } argument 205 const char* const QueryClassTraits<CLASS_RANGE>::s_errorDescription = "reported range does not contain the minimum required range!";
|
H A D | es3fFloatStateQueryTests.cpp | 84 // verify that the given range is completely whitin the GL state range 223 StateQueryMemoryWriteGuard<GLboolean[2]> range; 224 glGetBooleanv(name, range); 226 if (!range.verifyValidity(testCtx)) 229 if (range[0] == GL_FALSE) 233 testCtx.getLog() << TestLog::Message << "// ERROR: range [" << min << ", " << max << "] is not in range [" << (range[0] == GL_TRUE ? "GL_TRUE" : (range[ 895 GLfloat range[2] = {1}; local [all...] |
/external/deqp/modules/glshared/ |
H A D | glsFragOpInteractionCase.cpp | 157 static tcu::Vector<float, Size> interpolateRange (const rsg::ConstValueRangeAccess& range, const tcu::Vector<float, Size>& t) argument 162 result[ndx] = range.getMin().component(ndx).asFloat()*(1.0f - t[ndx]) + range.getMax().component(ndx).asFloat()*t[ndx]; 381 // on a representable value mapping range border, it could be rounded differently by the GL and in
|
/external/guava/guava/src/com/google/common/collect/ |
H A D | Range.java | 38 * A range (or "interval") defines the <i>boundaries</i> around a contiguous span of values of some 40 * possible to <i>iterate</i> over these contained values. To do so, pass this range instance and 45 * <p>Each end of the range may be bounded or unbounded. If bounded, there is an associated 46 * <i>endpoint</i> value, and the range is considered to be either <i>open</i> (does not include the 49 * ({@code [ ]}) indicates that the range is closed on that side; a parenthesis ({@code ( )}) means 70 * <li>{@code [a..a]} : a singleton range 79 * not</b> allow the endpoint instances to mutate after the range is created! 99 * <li>When evaluated as a {@link Predicate}, a range yields the same result as invoking {@link 101 * <li>Terminology note: a range {@code a} is said to be the <i>maximal</i> range havin 218 public static <C extends Comparable<?>> Range<C> range( method in class:Range [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | TreeMultiset.java | 108 private final transient GeneralRange<E> range; field in class:TreeMultiset 111 TreeMultiset(Reference<AvlNode<E>> rootReference, GeneralRange<E> range, AvlNode<E> endLink) { argument 112 super(range.comparator()); 114 this.range = range; 120 this.range = GeneralRange.all(comparator); 160 if (range.hasLowerBound()) { 163 if (range.hasUpperBound()) { 173 int cmp = comparator().compare(range.getLowerEndpoint(), node.elem); 177 switch (range [all...] |
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | Trie2Writable.java | 23 * @param errorValueP the value for out-of-range code points and illegal UTF-8 378 * Set a value in a range of code points [start..end]. 398 throw new IllegalArgumentException("Invalid code point range."); 473 * because it's the null block or a range block (the repeatBlock from a previous 512 * All code points within the range will get the value if 521 * @param range contains the range of code points and the value to be set. 524 public Trie2Writable setRange(Trie2.Range range, boolean overwrite) { argument 526 if (range.leadSurrogate) { 527 for (int c=range [all...] |
/external/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/ |
H A D | DynamicLoaderPOSIXDYLD.cpp | 376 AddressRange range; local 379 context.GetAddressRange(eSymbolContextEverything, 0, false, range); 380 lldb::addr_t addr = range.GetBaseAddress().GetLoadAddress(&target);
|
/external/lldb/source/Plugins/UnwindAssembly/InstEmulation/ |
H A D | UnwindAssemblyInstEmulation.cpp | 36 UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly (AddressRange& range, argument 40 if (range.GetByteSize() > 0 && 41 range.GetBaseAddress().IsValid() && 60 range)); 67 m_range_ptr = ⦥ 275 lldb::addr_t base_addr = range.GetBaseAddress().GetLoadAddress(thread.CalculateTarget().get()); 276 strm.Printf ("Resulting unwind rows for [0x%" PRIx64 " - 0x%" PRIx64 "):", base_addr, base_addr + range.GetByteSize());
|
/external/lldb/source/Target/ |
H A D | ObjCLanguageRuntime.cpp | 480 std::pair <HashToISAIterator, HashToISAIterator> range = m_hash_to_isa_map.equal_range(name_hash); local 481 for (HashToISAIterator range_pos = range.first; range_pos != range.second; ++range_pos)
|
/external/llvm/lib/Transforms/Scalar/ |
H A D | SROA.cpp | 140 /// \brief The beginning offset of the range. 143 /// \brief The ending offset, not included in the range. 171 /// decreasing. Thus the spanning range comes first in a cluster with the 230 typedef iterator_range<iterator> range; typedef in class:__anon11078::AllocaSlices 240 /// \brief Erase a range of slices. 261 /// An ephemeral representation for a range of slices which can be viewed as 262 /// a partition of the alloca. This range represents a span of the alloca's 520 /// \brief A forward range over the partitions of the alloca's slices. 522 /// This accesses an iterator range over the partitions of the alloca's 538 /// alloca as they are outside its range an [all...] |
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_hw_context.c | 188 struct r600_range *range; local 224 range = &ctx->range[CTX_RANGE_ID(reg[i + j].offset)]; 226 if (!range->blocks) 227 range->blocks = calloc(1 << HASH_SHIFT, sizeof(void *)); 228 if (!range->blocks) 231 range->blocks[CTX_BLOCK_ID(reg[i + j].offset)] = block; 543 struct r600_range *range; local 545 if (ctx->range) { 547 if (!ctx->range[ [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | atifragshader.c | 211 _mesa_GenFragmentShadersATI(GLuint range) argument 217 if (range == 0) { 218 _mesa_error(ctx, GL_INVALID_VALUE, "glGenFragmentShadersATI(range)"); 227 first = _mesa_HashFindFreeKeyBlock(ctx->Shared->ATIShaders, range); 228 for (i = 0; i < range; i++) {
|
/external/selinux/libsepol/src/ |
H A D | mls.c | 113 unsigned int i, l, len, range; local 121 range = 0; 124 p_sens_val_to_name[context->range.level[l].sens - 127 ebitmap_for_each_bit(&context->range.level[l].cat, cnode, i) { 129 if (range) { 130 range++; 136 range++; 138 if (range > 1) 143 range = 0; 146 /* Handle case where last category is the end of range */ 172 unsigned int i, l, range, wrote_sep; local 493 mls_range_set(context_struct_t * context, mls_range_t * range) argument [all...] |
/external/skia/src/gpu/gl/ |
H A D | GrGLPathRendering.cpp | 280 GrGLuint GrGLPathRendering::genPaths(GrGLsizei range) { argument 281 if (range > 1) { 283 GL_CALL_RET(name, GenPaths(range)); 288 static const int range = 65536; local 290 GL_CALL_RET(firstName, GenPaths(range)); 291 fPathNameAllocator.reset(SkNEW_ARGS(GrGLNameAllocator, (firstName, firstName + range))); 306 void GrGLPathRendering::deletePaths(GrGLuint path, GrGLsizei range) { argument 307 if (range > 1) { 311 path + range <= fPathNameAllocator->firstName() || 313 GL_CALL(DeletePaths(path, range)); [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fFloatStateQueryTests.cpp | 84 // verify that the given range is completely whitin the GL state range 221 StateQueryMemoryWriteGuard<GLboolean[2]> range; 222 glGetBooleanv(name, range); 224 if (!range.verifyValidity(testCtx)) 227 if (range[0] == GL_FALSE) 231 testCtx.getLog() << TestLog::Message << "// ERROR: range [" << min << ", " << max << "] is not in range [" << (range[0] == GL_TRUE ? "GL_TRUE" : (range[ 411 StateQueryMemoryWriteGuard<GLint[2]> range; local 596 StateQueryMemoryWriteGuard<GLint64[2]> range; local 802 GLfloat range[2] = {1}; local [all...] |
H A D | es2fRasterizationTests.cpp | 132 float range[2] = { 0.0f, 0.0f }; local 133 m_context.getRenderContext().getFunctions().getFloatv(GL_ALIASED_LINE_WIDTH_RANGE, range); 135 if (m_lineWidth < range[0] || m_lineWidth > range[1]) 138 m_testCtx.getLog() << tcu::TestLog::Message << "ALIASED_LINE_WIDTH_RANGE = [" << range[0] << ", " << range[1] << "]" << tcu::TestLog::EndMessage; 143 float range[2] = { 0.0f, 0.0f }; local 144 m_context.getRenderContext().getFunctions().getFloatv(GL_ALIASED_POINT_SIZE_RANGE, range); 146 if (m_pointSize < range[0] || m_pointSize > range[ 446 float range[2] = { 0.0f, 0.0f }; local [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fNegativeStateApiTests.cpp | 129 ctx.beginSection("GL_INVALID_VALUE is generated if index is outside of the valid range for the indexed state target."); 147 ctx.beginSection("GL_INVALID_VALUE is generated if index is outside of the valid range for the indexed state target."); 172 ctx.beginSection("GL_INVALID_VALUE is generated if index is outside the valid range for indexed state name."); 268 GLint range[2]; local 271 deMemset(&range[0], 0xcd, sizeof(range)); 275 ctx.glGetShaderPrecisionFormat (-1, GL_MEDIUM_FLOAT, &range[0], &precision[0]); 277 ctx.glGetShaderPrecisionFormat (GL_VERTEX_SHADER, -1, &range[0], &precision[0]); 279 ctx.glGetShaderPrecisionFormat (-1, -1, &range[0], &precision[0]);
|
/external/e2fsprogs/lib/ext2fs/ |
H A D | unix_io.c | 933 __uint64_t range[2]; local 935 range[0] = (__uint64_t)(block) * channel->block_size; 936 range[1] = (__uint64_t)(count) * channel->block_size; 938 ret = ioctl(data->dev, BLKDISCARD, &range);
|