/foundation/filemanagement/file_api/utils/filemgmt_libn/src/ |
H A D | n_val.cpp | 65 if (succ == false || std::strlen(path.get()) < strLen) { in ToUTF8StringPath() 87 status = napi_get_value_string_utf8(env_, val_, str.get(), bufLen, &strLen); in ToUTF8String() 101 copy(defaultValue.begin(), defaultValue.end(), str.get()); in ToUTF8String() 121 status = napi_get_value_string_utf16(env_, val_, str.get(), strLen, nullptr); in ToUTF16String() 126 strLen = reinterpret_cast<char *>(str.get() + strLen) - reinterpret_cast<char *>(str.get()); in ToUTF16String() 219 stringArray.push_back(string(str.get())); in ToStringArray()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/ |
H A D | obex_session.cpp | 215 int cnt = bodyReader_->Read(buf.get(), remainLength); in SetBodyToHeader() 225 header.AppendItemEndBody(buf.get(), cnt); in SetBodyToHeader() 229 header.AppendItemBody(buf.get(), cnt); in SetBodyToHeader() 358 return firstResp_.get(); in GetFirstRespHeader() 543 int cnt = bodyReader_->Read(buf.get(), remainLength); in SetBodyToHeader() 553 header.AppendItemEndBody(buf.get(), cnt); in SetBodyToHeader() 557 header.AppendItemBody(buf.get(), cnt); in SetBodyToHeader()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | virtio_config.h | 23 * any of @get/@set, @get_status/@set_status, or @get_features/ 26 * @get: read the value of a configuration field 60 * @get_features: get the array of feature bits for this device. 74 * @get_vq_affinity: get the affinity for a virtqueue (optional). 75 * @get_shm_region: get a shared memory region based on the index. 79 void (*get)(struct virtio_device *vdev, unsigned offset, member 341 vdev->config->get((vdev), \ 405 vdev->config->get((vdev), \ 450 vdev->config->get(vdev, offset + bytes * i, in __virtio_cread_many() 470 vdev->config->get(vde in virtio_cread8() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
H A D | nv04.c | 63 * sometimes you get a CACHE_ERROR, sometimes it just fails 137 nv04_fifo_cache_error(struct nv04_fifo *fifo, u32 chid, u32 get) in nv04_fifo_cache_error() argument 152 ptr = (get & 0x7ff) >> 2; in nv04_fifo_cache_error() 177 nvkm_wr32(device, NV03_PFIFO_CACHE1_GET, get + 4); in nv04_fifo_cache_error() 209 "ch %d [%s] get %02x%08x put %02x%08x ib_get %08x " in nv04_fifo_dma_pusher() 224 nvkm_error(subdev, "DMA_PUSHER - ch %d [%s] get %08x put %08x " in nv04_fifo_dma_pusher() 247 u32 reassign, chid, get, sem; in nv04_fifo_intr() local 253 get = nvkm_rd32(device, NV03_PFIFO_CACHE1_GET); in nv04_fifo_intr() 256 nv04_fifo_cache_error(fifo, chid, get); in nv04_fifo_intr() 272 nvkm_wr32(device, NV03_PFIFO_CACHE1_GET, get in nv04_fifo_intr() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | virtio_config.h | 25 * any of @get/@set, @get_status/@set_status, or @get_features/ 28 * @get: read the value of a configuration field 67 * @get_features: get the array of feature bits for this device. 82 * @get_vq_affinity: get the affinity for a virtqueue (optional). 83 * @get_shm_region: get a shared memory region based on the index. 98 void (*get)(struct virtio_device *vdev, unsigned offset, member 404 vdev->config->get((vdev), \ 468 vdev->config->get((vdev), \ 513 vdev->config->get(vdev, offset + bytes * i, in __virtio_cread_many() 533 vdev->config->get(vde in virtio_cread8() [all...] |
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | attr.py | 163 self.command = parser.get('config', 'command') 164 self.args = parser.get('config', 'args') 167 self.ret = parser.get('config', 'ret') 174 self.arch = parser.get('config', 'arch') 179 self.auxv = parser.get('config', 'auxv', fallback=None) 180 self.kernel_since = parse_version(parser.get('config', 'kernel_since', fallback=None)) 181 self.kernel_until = parse_version(parser.get('config', 'kernel_until', fallback=None))
|
/third_party/googletest/googlemock/src/ |
H A D | gmock-spec-builders.cc | 127 ExpectationBase* next = it->expectation_base().get(); in GTEST_EXCLUSIVE_LOCK_REQUIRED_() 149 const ExpectationBase* next = it->expectation_base().get(); in GTEST_EXCLUSIVE_LOCK_REQUIRED_() 169 const ExpectationBase* next = it->expectation_base().get(); in GTEST_EXCLUSIVE_LOCK_REQUIRED_() 383 if (it->get() == exp) { 403 ExpectationBase* const untyped_expectation = it->get(); in GTEST_EXCLUSIVE_LOCK_REQUIRED_() 772 if (internal::g_gmock_implicit_sequence.get() == nullptr) { in InSequence() 784 delete internal::g_gmock_implicit_sequence.get(); in ~InSequence()
|
/third_party/gn/src/gn/ |
H A D | target.h | 181 bool has_metadata() const { return metadata_.get(); } in has_metadata() 206 bool has_generated_file() const { return generated_file_.get(); } in has_generated_file() 245 bool has_bundle_data() const { return bundle_data_.get(); } in has_bundle_data() 292 // target get. These configs are not added to this target. Note that due 301 // List of configs that targets depending directly on this one get. These 327 bool has_config_values() const { return config_values_.get(); } in has_config_values() 331 bool has_action_values() const { return action_values_.get(); } in has_action_values() 335 bool has_swift_values() const { return swift_values_.get(); } in has_swift_values() 345 bool has_rust_values() const { return rust_values_.get(); } in has_rust_values() 568 // For each library marked public: "If you depend on me, you get acces [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | ICULocaleService.java | 37 * get(ULocale, int, ULocale[]) with KIND_ANY for kind and null for 40 public Object get(ULocale locale) { in get() method in ICULocaleService 41 return get(locale, LocaleKey.KIND_ANY, null); in get() 46 * get(ULocale, int, ULocale[]) with a null actualReturn. 48 public Object get(ULocale locale, int kind) { in get() method in ICULocaleService 49 return get(locale, kind, null); in get() 54 * get(ULocale, int, ULocale[]) with KIND_ANY for kind. 56 public Object get(ULocale locale, ULocale[] actualReturn) { in get() method in ICULocaleService 57 return get(locale, LocaleKey.KIND_ANY, actualReturn); in get() 66 public Object get(ULocal method in ICULocaleService [all...] |
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
H A D | DistanceTable.java | 209 return subtables.get(key.getDesired(), key.getSupported()); in getNode() 214 return subtables.get(ANY, ANY); in getAnyNode() 295 // only non-exact match we can get here is the <ANY,ANY> node. If we ever in getIntermediateNode() 347 Node node = supportedNodes.get(ANY); in writeSupported() 467 // get <ANY,ANY> pairs (e.g. not <X,ANY> or <ANY,X>). in MappingKey() 471 String desired = pairs.get(i); in MappingKey() 472 String supported = pairs.get(i + 1); in MappingKey() 484 return pairs.get(isReversed ? 1 : 0); in getDesired() 489 return pairs.get(isReversed ? 0 : 1); in getSupported() 543 checkState(!isLeaf(), "cannot get 'nex in getSuffix() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | ICULocaleService.java | 41 * get(ULocale, int, ULocale[]) with KIND_ANY for kind and null for 44 public Object get(ULocale locale) { in get() method in ICULocaleService 45 return get(locale, LocaleKey.KIND_ANY, null); in get() 50 * get(ULocale, int, ULocale[]) with a null actualReturn. 52 public Object get(ULocale locale, int kind) { in get() method in ICULocaleService 53 return get(locale, kind, null); in get() 58 * get(ULocale, int, ULocale[]) with KIND_ANY for kind. 60 public Object get(ULocale locale, ULocale[] actualReturn) { in get() method in ICULocaleService 61 return get(locale, LocaleKey.KIND_ANY, actualReturn); in get() 70 public Object get(ULocal method in ICULocaleService [all...] |
/third_party/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/ |
H A D | DeprecatedAPIChecker.java | 98 String clsName = clsNameMap.get(clsPath); in checkClass() 144 assert paramNames.get(0).equals(declClass.getName()); in checkClass() 189 String enumName = clsNameMap.get(enumPath); in checkEnum() 304 if (!params.get(i).equals(paramsFromApi.get(i))) { in findConstructorInfo() 327 if (!params.get(i).equals(paramsFromApi.get(i))) { in findMethodInfo()
|
/third_party/json/tools/serve_header/ |
H A D | serve_header.py | 378 worktrees = WorkTrees(config.get('root', '.')) 381 infos = socket.getaddrinfo(config.get('bind', None), config.get('port', 8443), 387 https = config.get('https', {}) 388 if https.get('enabled', True): 389 cert_file = https.get('cert_file', 'localhost.pem') 390 key_file = https.get('key_file', 'localhost-key.pem')
|
/third_party/lame/ACM/tinyxml/ |
H A D | tinyxmlparser.cpp | 68 *tag += in->get(); in StreamWhiteSpace() 81 in->get(); in StreamTo() 270 int c = in->get(); in StreamIn() 421 int c = in->get(); in StreamIn() 481 in->get(); in StreamIn() 494 int c = in->get(); in StreamIn() 678 int c = in->get(); in StreamIn() 718 int c = in->get(); in StreamIn() 820 in->get(); in StreamIn() 846 int c = in->get(); in StreamIn() [all...] |
/third_party/node/lib/internal/policy/ |
H A D | manifest.js | 197 ret = parsedURLs.get(to); 507 dependencies.get(requesterHREF) ?? null : 540 const entry = this.#scopeIntegrities.get(scope); 569 let integrityEntries = integrities.get(href); 603 const entry = this.#scopeIntegrities.get(scope); 635 return this.#scopeDependencies.get(scopeHREF); 709 return parsedURLs.get(originalHREF);
|
/third_party/node/src/ |
H A D | heap_utils.cc | 86 auto it = engine_nodes_.find(n.get()); 89 engine_nodes_.insert(n.get()); 94 Node* n = node.get(); 119 info_objects[n.get()] = Object::New(isolate_); in CreateObject() 125 Local<Object> obj = info_objects[n.get()]; in CreateObject() 153 value = static_cast<JSGraphJSNode*>(n.get())->JSValue(); in CreateObject() 163 Local<Object> from = info_objects[n.get()]; in CreateObject()
|
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/arborist/ |
H A D | load-actual.js | 150 // we can't easily get a ref to Arborist in this module, without 198 const node = this.#cache.get(path) 202 node.fsParent = this.#cache.get(p) 264 const cached = this.#cache.get(path) 266 // missing edges get a dummy node, assign the parent and return it 306 // it'll get parented later, making the fsParent scan a no-op, but better 318 const target = this.#cache.get(realpath) 393 // ie, if it has to go up and back out to get to the path 405 entries = nmContents.get(p) 417 d = this.#cache.get( [all...] |
/third_party/node/deps/v8/src/maglev/ |
H A D | maglev-graph-builder.h | 235 return current_interpreter_frame_.get( in GetContext() 267 DCHECK_EQ(0, new_nodes_.count(current_interpreter_frame_.get(src))); in MoveNodeBetweenRegisters() 268 DCHECK_NOT_NULL(current_interpreter_frame_.get(src)); in MoveNodeBetweenRegisters() 270 current_interpreter_frame_.set(dst, current_interpreter_frame_.get(src)); in MoveNodeBetweenRegisters() 276 ValueNode* value = current_interpreter_frame_.get(reg); in GetTaggedValue() 290 ValueNode* value = current_interpreter_frame_.get(reg); in GetSmiUntaggedValue() 309 return current_interpreter_frame_.get(source) == in IsRegisterEqualToAccumulator()
|
/third_party/python/Tools/scripts/ |
H A D | summarize_stats.py | 38 total = sum(family_stats.get(kind, 0) for kind in TOTAL) 61 total_attempts += family_stats.get(key, 0) 66 val = family_stats.get(key, 0) 69 total_failures = family_stats.get("specialization.failure", 0) 154 miss = opcode_stat.get("specialization.miss", 0) 214 miss = opcode_stat.get("specialization.miss") 268 total = stats.get("Object new values")
|
/third_party/protobuf/conformance/ |
H A D | ConformanceJava.java | 193 if (messages.get(i) != null) { in parseBinary() 205 throw exceptions.get(0); in parseBinary() 212 if (!messages.get(0).equals(messages.get(i))) { in parseBinary() 223 if (!messages.get(i).equals(messages.get(j))) { in parseBinary() 234 return messages.get(0); in parseBinary()
|
/third_party/python/Lib/ |
H A D | csv.py | 151 return (rowdict.get(key, self.restval) for key in self.fieldnames) 237 quotes[key] = quotes.get(key, 0) + 1 244 delims[key] = delims.get(key, 0) + 1 252 quotechar = max(quotes, key=quotes.get) 255 delim = max(delims, key=delims.get) 314 metaFrequency = charFrequency.get(char, {}) 318 metaFrequency[freq] = metaFrequency.get(freq, 0) + 1 325 # get the mode of the frequencies
|
H A D | sysconfig.py | 110 env_base = os.environ.get("PYTHONUSERBASE", None) 122 base = os.environ.get("APPDATA") or "~" 381 # get it on a subsequent round 458 return os.environ.get( 678 srcdir = _CONFIG_VARS.get('srcdir', _PROJECT_BASE) 703 vals.append(_CONFIG_VARS.get(name)) 713 Equivalent to get_config_vars().get(name) 715 return get_config_vars().get(name) 775 # bootstrap problem. We use a dict to get an error 823 s = s[0:beg] + vars.get( [all...] |
/third_party/skia/third_party/externals/angle2/src/common/spirv/ |
H A D | gen_spirv_builder_and_parser.py | 247 depends = item.get('capabilities', []) 253 extensions = item.get('extensions', []) 282 name = operand.get('name') 289 quantifier = operand.get('quantifier', '') 328 quantifier = operand.get('quantifier', '') 475 operands = instruction.get('operands', []) 492 assert (operand.get('quantifier') != '*' or len(cpp_in_parse_lines) == len(operands))
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/ |
H A D | Operations.cpp | 159 PHI.addIncoming(UndefValue::get(PHI.getType()), Block); in splitBlockDescriptor() 201 Result.push_back(ConstantInt::get(Int32Ty, 0)); in validExtractValueIndex() 203 Result.push_back(ConstantInt::get(Int32Ty, N - 1)); in validExtractValueIndex() 205 Result.push_back(ConstantInt::get(Int32Ty, N / 2)); in validExtractValueIndex() 260 Result.push_back(ConstantInt::get(Int32Ty, I)); in validInsertValueIndex() 306 UndefValue::get(VectorType::get(Int32Ty, FirstTy->getNumElements()))}; in validShuffleVectorIndex()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | ModuleSummaryIndex.cpp | 78 auto *Summary = dyn_cast_or_null<FunctionSummary>(GlobSummary.get()); 98 return Summary.get(); 109 if (isGlobalValueLive(I.get())) 169 if (!isGlobalValueLive(S.get())) 174 // to import since we need to ensure that all external references get 183 // Here we intentionally pass S.get() not GVS, because S could be 186 if (!canImportGlobalVar(S.get(), /* AnalyzeRefs */ false) || 191 propagateAttributesToRefs(S.get()); 250 F = cast<FunctionSummary>(V.getSummaryList().front().get());
|