Searched refs:obj (Results 1 – 8 of 8) sorted by relevance
19 def ByteToInt(obj): argument21 return obj if isinstance(obj, int) else ord(obj)24 def BytesToString(obj): argument26 return obj if isinstance(obj, str) else obj.decode("utf-8")
283 for obj in objs:284 if (obj.bitness == bitness and285 any(obj.target_path.startswith(link_path + os.path.sep)287 namespace[obj.target_dir][obj.name] = obj326 for obj in objs:328 for dep_name in obj.deps:332 obj.custom_link_paths + obj.runpaths + link_paths):337 dep_errors.append((obj.target_path, disallowed_libs))384 for obj in sp_hal_namespace[link_path].values():385 if any(x.match(obj.target_path) for x in self._sp_hal):[all …]
123 void setAllOptionsFrom(RetryFilterHelper obj) { in setAllOptionsFrom() argument125 mSubPlan = obj.mSubPlan; in setAllOptionsFrom()126 mIncludeFilters.addAll(obj.mIncludeFilters); in setAllOptionsFrom()127 mExcludeFilters.addAll(obj.mExcludeFilters); in setAllOptionsFrom()128 mAbiName = obj.mAbiName; in setAllOptionsFrom()129 mModuleName = obj.mModuleName; in setAllOptionsFrom()130 mTestName = obj.mTestName; in setAllOptionsFrom()131 mRetryType = obj.mRetryType; in setAllOptionsFrom()151 public void setCommandLineOptionsFor(Object obj) { in setCommandLineOptionsFor() argument158 ArgsOptionParser parser = new ArgsOptionParser(obj); in setCommandLineOptionsFor()[all …]
33 (Object obj, Class<?> clazz) -> {34 return clazz.isInstance(obj);
73 sp<IDittoBinder> IDittoBinder::asInterface(const sp<IBinder>& obj) { in asInterface() argument75 if (obj != nullptr) { in asInterface()76 intr = static_cast<IDittoBinder*>(obj->queryLocalInterface(IDittoBinder::descriptor).get()); in asInterface()78 intr = new BpDittoBinder(obj); in asInterface()
104 public boolean equals(final Object obj) { in equals() argument105 final WebviewPackage otherWebviewPkg = (WebviewPackage) obj; in equals()
203 .map(obj -> (ModuleInfoProvider) obj) in getModulesInfo()
521 def default(self, obj): argument522 if isinstance(obj, np.ndarray):523 return obj.tolist()524 return json.JSONEncoder.default(self, obj)