/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_pyparse.py | 61 def char_in_string_false(index): return False 91 self.assertIsNone(start(is_char_in_string=lambda index: True)) 98 # returns that as the index. 99 eq(start(is_char_in_string=lambda index: index > pos), pos) 101 # looks for a previous index. 102 eq(start(is_char_in_string=lambda index: index >= pos), pos0) 105 eq(start(is_char_in_string=lambda index: index < po [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/ |
H A D | Context_gles_3_0_autogen.h | 16 void bindBufferBase(BufferBinding targetPacked, GLuint index, BufferID bufferPacked); \ 17 void bindBufferRange(BufferBinding targetPacked, GLuint index, BufferID bufferPacked, \ 74 void getInteger64i_v(GLenum target, GLuint index, GLint64 *data); \ 76 void getIntegeri_v(GLenum target, GLuint index, GLint *data); \ 85 const GLubyte *getStringi(GLenum name, GLuint index); \ 87 void getTransformFeedbackVarying(ShaderProgramID programPacked, GLuint index, GLsizei bufSize, \ 94 void getVertexAttribIiv(GLuint index, GLenum pname, GLint *params); \ 95 void getVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params); \ 155 void vertexAttribDivisor(GLuint index, GLuint divisor); \ 156 void vertexAttribI4i(GLuint index, GLin [all...] |
/third_party/skia/src/core/ |
H A D | SkReadBuffer.cpp | 371 // >0 -- index in readTypeface() 374 int32_t index = this->read32(); in readTypeface() local 375 if (index == 0) { in readTypeface() 377 } else if (index > 0) { in readTypeface() 378 if (!this->validate(index <= fTFCount)) { in readTypeface() 381 return fTFArray[index - 1]; in readTypeface() 383 size_t size = sk_negate_to_size_t(index); in readTypeface() 396 int32_t index = this->read32(); in readFlattenable() local 397 if (0 == index || !this->isValid()) { in readFlattenable() 400 index in readFlattenable() 417 uint32_t index = this->readUInt() >> 8; readFlattenable() local [all...] |
/third_party/skia/src/ports/skia_ohos/ |
H A D | SkFontMgr_ohos.cpp | 30 * \param index the index of a font style set 32 * \n The family name will be reset to "", if index is out of range 34 void SkFontMgr_OHOS::onGetFamilyName(int index, SkString* familyName) const in onGetFamilyName() argument 39 fontConfig->getFamilyName(index, familyName); in onGetFamilyName() 43 * \param index the index of a font style set 45 * \n Return null, if index is out of range 48 SkFontStyleSet* SkFontMgr_OHOS::onCreateStyleSet(int index) const in onCreateStyleSet() 53 if (index < in onCreateStyleSet() 77 int index = fontConfig->getStyleIndex(familyName, isFallback); onMatchFamily() local [all...] |
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/ |
H A D | SmallSortedMap.java | 182 /** @return The array entry at the given {@code index}. */ 183 public Map.Entry<K, V> getArrayEntryAt(int index) { in getArrayEntryAt() argument 184 return entryList.get(index); in getArrayEntryAt() 231 final int index = binarySearchInArray(key); in get() 232 if (index >= 0) { in get() 233 return entryList.get(index).getValue(); in get() 241 final int index = binarySearchInArray(key); in put() 242 if (index >= 0) { in put() 244 return entryList.get(index).setValue(value); in put() 247 final int insertionPoint = -(index in put() 296 removeArrayEntryAt(int index) removeArrayEntryAt() argument [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/status/ |
H A D | status.cc | 119 int index = status_internal::FindPayloadIndexByUrl(payloads, type_url); in GetPayload() local 120 if (index != -1) return (*payloads)[index].payload; in GetPayload() 135 int index = in SetPayload() local 137 if (index != -1) { in SetPayload() 138 (*rep->payloads)[index].payload = std::move(payload); in SetPayload() 146 int index = status_internal::FindPayloadIndexByUrl(GetPayloads(), type_url); in ErasePayload() local 147 if (index != -1) { in ErasePayload() 149 GetPayloads()->erase(GetPayloads()->begin() + index); in ErasePayload() 170 for (size_t index in ForEachPayload() [all...] |
/third_party/skia/include/private/ |
H A D | SkTemplates.h | 114 T& operator[](int index) const { in operator []() 115 SkASSERT((unsigned)index < (unsigned)fCount); in operator []() 116 return fArray[index]; in operator []() 207 T& operator[](int index) const { in operator []() 208 SkASSERT(index < fCount); in operator []() 209 return fArray[index]; in operator []() 270 T& operator[](int index) { return fPtr.get()[index]; } 272 const T& operator[](int index) const { return fPtr.get()[index]; } [all...] |
/third_party/node/deps/v8/src/compiler/backend/s390/ |
H A D | code-generator-s390.cc | 37 bool Is64BitOperand(int index) { in Is64BitOperand() argument 38 return LocationOperand::cast(instr_->InputAt(index))->representation() == in Is64BitOperand() 42 bool Is32BitOperand(int index) { in Is32BitOperand() argument 43 return LocationOperand::cast(instr_->InputAt(index))->representation() == in Is32BitOperand() 60 Operand InputImmediate(size_t index) { in InputImmediate() argument 61 Constant constant = ToConstant(instr_->InputAt(index)); in InputImmediate() 87 const size_t index = *first_index; in MemoryOperand() local 94 return MemOperand(InputRegister(index + 0), 0); in MemoryOperand() 97 return MemOperand(InputRegister(index + 0), InputInt32(index in MemoryOperand() 125 InputStackSlot(size_t index) InputStackSlot() argument 130 InputStackSlot32(size_t index) InputStackSlot32() argument 145 HasFPRegisterInput(Instruction* instr, int index) HasFPRegisterInput() argument 149 HasRegisterInput(Instruction* instr, int index) HasRegisterInput() argument 154 HasImmediateInput(Instruction* instr, size_t index) HasImmediateInput() argument 158 HasFPStackSlotInput(Instruction* instr, size_t index) HasFPStackSlotInput() argument 162 HasStackSlotInput(Instruction* instr, size_t index) HasStackSlotInput() argument 2344 size_t index = 0; AssembleArchInstruction() local 2368 size_t index = 0; AssembleArchInstruction() local 2389 Register index = i.InputRegister(1); AssembleArchInstruction() local 2404 Register index = i.InputRegister(1); AssembleArchInstruction() local 2429 Register index = i.InputRegister(1); AssembleArchInstruction() local 2542 Register index = i.InputRegister(1); AssembleArchInstruction() local 3175 size_t index = 0; AssembleArchInstruction() local 3664 RootIndex index; AssembleConstructFrame() local 3674 RootIndex index; AssembleConstructFrame() local [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/ |
H A D | drv_mmz_compat.c | 95 unsigned int index; in compat_mmz_userdev_normal() local 104 for (index = 0; index < max_index; index++) { in compat_mmz_userdev_normal() 105 if (_IOC_NR(cmd) == _IOC_NR(g_userdev_cmd_info_normal[index].compat_cmd)) { in compat_mmz_userdev_normal() 107 g_userdev_cmd_info_normal[index].mmb_cmd, mmi); in compat_mmz_userdev_normal() 109 hi_mmz_error("%s failed!\n", g_userdev_cmd_info_normal[index].compat_cmd_str); in compat_mmz_userdev_normal() 117 if (index == max_index) { in compat_mmz_userdev_normal()
|
/device/soc/rockchip/common/vendor/drivers/dma-buf/heaps/ |
H A D | page_pool.c | 36 int index; in dmabuf_page_pool_add() local 39 index = POOL_HIGHPAGE; in dmabuf_page_pool_add() 41 index = POOL_LOWPAGE; in dmabuf_page_pool_add() 45 list_add_tail(&page->lru, &pool->items[index]); in dmabuf_page_pool_add() 46 pool->count[index]++; in dmabuf_page_pool_add() 51 static struct page *dmabuf_page_pool_remove(struct dmabuf_page_pool *pool, int index) in dmabuf_page_pool_remove() argument 56 page = list_first_entry_or_null(&pool->items[index], struct page, lru); in dmabuf_page_pool_remove() 58 pool->count[index]--; in dmabuf_page_pool_remove()
|
/device/soc/rockchip/rk3588/kernel/drivers/dma-buf/heaps/ |
H A D | page_pool.c | 37 int index; in dmabuf_page_pool_add() local 40 index = POOL_HIGHPAGE; in dmabuf_page_pool_add() 42 index = POOL_LOWPAGE; in dmabuf_page_pool_add() 45 list_add_tail(&page->lru, &pool->items[index]); in dmabuf_page_pool_add() 46 pool->count[index]++; in dmabuf_page_pool_add() 52 static struct page *dmabuf_page_pool_remove(struct dmabuf_page_pool *pool, int index) in dmabuf_page_pool_remove() argument 57 page = list_first_entry_or_null(&pool->items[index], struct page, lru); in dmabuf_page_pool_remove() 59 pool->count[index]--; in dmabuf_page_pool_remove()
|
/third_party/ffmpeg/libavutil/x86/ |
H A D | cpu.c | 33 #define cpuid(index, eax, ebx, ecx, edx) \ 34 ff_cpu_cpuid(index, &eax, &ebx, &ecx, &edx) 36 #define xgetbv(index, eax, edx) \ 37 ff_cpu_xgetbv(index, &eax, &edx) 42 #define cpuid(index, eax, ebx, ecx, edx) \ 48 : "0" (index), "2"(0)) 50 #define xgetbv(index, eax, edx) \ 51 __asm__ (".byte 0x0f, 0x01, 0xd0" : "=a"(eax), "=d"(edx) : "c" (index))
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | DateNumberFormat.java | 162 int index = limit - 1; in format() 164 decimalBuf[index] = digits[(number % 10)]; in format() 166 if (index == 0 || number == 0) { in format() 169 index--; in format() 171 int padding = minIntDigits - (limit - index); in format() 173 decimalBuf[--index] = digits[0]; in format() 175 int length = limit - index; in format() 176 toAppendTo.append(decimalBuf, index, length); in format()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | CompactCharArray.java | 28 * A compact array is composed of a index array and value array. The index 87 * @exception IllegalArgumentException If the index is out of range. 99 char index = indexArray[i]; in CompactCharArray() 100 if (index >= newValues.length+BLOCKCOUNT) in CompactCharArray() 114 * @throws IllegalArgumentException if the index or value array is 129 * @param index the character to get the mapped value with 135 public char elementAt(char index) in elementAt() argument 137 int ix = (indices[index >> BLOCKSHIFT] & 0xFFFF) in elementAt() 138 + (index in elementAt() 151 setElementAt(char index, char value) setElementAt() argument [all...] |
H A D | CompactByteArray.java | 26 * A compact array is composed of a index array and value array. The index 86 * @exception IllegalArgumentException If the index is out of range. 98 char index = indexArray[i]; in CompactByteArray() 99 if (index >= newValues.length+BLOCKCOUNT) in CompactByteArray() 113 * @throws IllegalArgumentException if the index or value array is 128 * @param index the character to get the mapped value with 134 public byte elementAt(char index) in elementAt() argument 136 return (values[(indices[index >> BLOCKSHIFT] & 0xFFFF) in elementAt() 137 + (index in elementAt() 149 setElementAt(char index, byte value) setElementAt() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/normalizer/ |
H A D | UnicodeNormalizerConformanceTest.java | 223 int index = 0; in hexsplit() 225 while(index< len){ in hexsplit() 226 if(toHex.charAt(index)==' '){ in hexsplit() 227 index++; in hexsplit() 229 int spacePos = toHex.indexOf(' ', index); in hexsplit() 231 appendInt(buf,toHex.substring(index,len),s); in hexsplit() 234 appendInt(buf,toHex.substring(index, spacePos),s); in hexsplit() 236 index = spacePos+1; in hexsplit()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | CompactCharArray.java | 29 * A compact array is composed of a index array and value array. The index 89 * @exception IllegalArgumentException If the index is out of range. 101 char index = indexArray[i]; in CompactCharArray() 102 if (index >= newValues.length+BLOCKCOUNT) in CompactCharArray() 116 * @throws IllegalArgumentException if the index or value array is 131 * @param index the character to get the mapped value with 137 public char elementAt(char index) in elementAt() argument 139 int ix = (indices[index >> BLOCKSHIFT] & 0xFFFF) in elementAt() 140 + (index in elementAt() 153 setElementAt(char index, char value) setElementAt() argument [all...] |
H A D | CompactByteArray.java | 27 * A compact array is composed of a index array and value array. The index 88 * @exception IllegalArgumentException If the index is out of range. 100 char index = indexArray[i]; in CompactByteArray() 101 if (index >= newValues.length+BLOCKCOUNT) in CompactByteArray() 115 * @throws IllegalArgumentException if the index or value array is 130 * @param index the character to get the mapped value with 136 public byte elementAt(char index) in elementAt() argument 138 return (values[(indices[index >> BLOCKSHIFT] & 0xFFFF) in elementAt() 139 + (index in elementAt() 151 setElementAt(char index, byte value) setElementAt() argument [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | DateNumberFormat.java | 166 int index = limit - 1; in format() 168 decimalBuf[index] = digits[(number % 10)]; in format() 170 if (index == 0 || number == 0) { in format() 173 index--; in format() 175 int padding = minIntDigits - (limit - index); in format() 177 decimalBuf[--index] = digits[0]; in format() 179 int length = limit - index; in format() 180 toAppendTo.append(decimalBuf, index, length); in format()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/normalizer/ |
H A D | UnicodeNormalizerConformanceTest.java | 220 int index = 0; in hexsplit() 222 while(index< len){ in hexsplit() 223 if(toHex.charAt(index)==' '){ in hexsplit() 224 index++; in hexsplit() 226 int spacePos = toHex.indexOf(' ', index); in hexsplit() 228 appendInt(buf,toHex.substring(index,len),s); in hexsplit() 231 appendInt(buf,toHex.substring(index, spacePos),s); in hexsplit() 233 index = spacePos+1; in hexsplit()
|
/third_party/jerryscript/jerry-core/ecma/builtin-objects/ |
H A D | ecma-builtin-function-prototype.c | 133 uint32_t index = 0; in ecma_builtin_function_prototype_object_apply() local 136 for (index = 0; index < length; index++) in ecma_builtin_function_prototype_object_apply() 138 ecma_value_t get_value = ecma_op_object_get_by_uint32_index (obj_p, index); in ecma_builtin_function_prototype_object_apply() 146 arguments_list_p[index] = get_value; in ecma_builtin_function_prototype_object_apply() 151 JERRY_ASSERT (index == length); in ecma_builtin_function_prototype_object_apply() 158 for (uint32_t remove_index = 0; remove_index < index; remove_index++) in ecma_builtin_function_prototype_object_apply()
|
/third_party/node/test/node-api/test_reference_by_node_api_version/ |
H A D | test_reference_by_node_api_version.c | 29 uint32_t* index) { in GetArgValueAsIndex() 38 return napi_get_value_uint32(env, argValue, index); in GetArgValueAsIndex() 44 uint32_t index; in GetRef() local 45 NODE_API_CHECK_STATUS(GetArgValueAsIndex(env, info, &index)); in GetRef() 51 *ref = refValues[index]; in GetRef() 81 uint32_t index = (uint32_t)valueType; in CreateRef() local 86 napi_create_reference(env, argValue, 1, valueRefs + index)); in CreateRef() 88 return ToUInt32Value(env, index); in CreateRef() 27 GetArgValueAsIndex(napi_env env, napi_callback_info info, uint32_t* index) GetArgValueAsIndex() argument
|
/third_party/node/deps/v8/src/wasm/ |
H A D | wasm-debug.h | 49 int index; member 59 if (index != other.index) return false; in operator ==() 99 return changed_value.index < stack_index; in FindChangedValue() 101 return it != changed_values_.end() && it->index == stack_index ? &*it in FindChangedValue() 183 WasmValue GetStackValue(int index, Address pc, Address fp, 186 // Returns the name of the entity (with the given |index| and |kind|) derived 189 WireBytesRef GetExportName(ImportExportKindCode kind, uint32_t index); 191 // Returns the module and field name of the entity (with the given |index| 195 uint32_t index); [all...] |
/third_party/node/deps/npm/node_modules/cacache/lib/ |
H A D | get.js | 7 const index = require('./entry-index') 23 const entry = await index.find(cache, key, opts) 25 throw new index.NotFoundError(cache, key) 77 const entry = await index.find(cache, key) 79 throw new index.NotFoundError(cache, key) 143 return index.find(cache, key) 149 const entry = await index.find(cache, key, opts) 151 throw new index.NotFoundError(cache, key)
|
/third_party/node/deps/v8/src/ast/ |
H A D | variables.h | 210 int index() const { return index_; } in index() function in v8::internal::final 220 DCHECK_NE(index(), 0); in IsExport() 221 return index() > 0; in IsExport() 224 void AllocateTo(VariableLocation location, int index) { in AllocateTo() argument 226 (this->location() == location && this->index() == index)); in AllocateTo() 227 DCHECK_IMPLIES(location == VariableLocation::MODULE, index != 0); in AllocateTo() 230 index_ = index; in AllocateTo()
|