Uses of Class
org.jruby.util.ByteList
Packages that use ByteList
Package
Description
-
Uses of ByteList in org.jruby
Modifier and TypeFieldDescriptionstatic final ByteListRubyEncoding.BINARY_ASCII_NAMEfinal ByteListRubyString.EmptyByteListHolder.bytesfinal ByteListRubyThread.Status.bytesstatic final ByteListRubyEncoding.EXTERNALstatic final ByteListRubyBoolean.FALSE_BYTESstatic final ByteListRubyEncoding.FILESYSTEMstatic final ByteListRubyEncoding.INTERNALstatic final ByteListRubyEncoding.LOCALEstatic final ByteListRubyFloat.NAN_TO_S_BYTELISTstatic final ByteListRubyFloat.NEGATIVE_INFINITY_TO_S_BYTELISTstatic final ByteListRubyIO.PARAGRAPH_SEPARATORstatic final ByteListRubyFloat.POSITIVE_INFINITY_TO_S_BYTELISTstatic final ByteListRubyBoolean.TRUE_BYTESModifier and TypeMethodDescriptionstatic ByteListRubyString.encodeBytelist(CharSequence value, org.jcodings.Encoding encoding) RubyString.getByteList()Get the ByteList which backs this Ruby Stringfinal ByteListRubySymbol.getBytes()RubyRegexp.rawSource()static ByteListRubyInteger.singleCharByteList(byte index) static ByteListRubyInteger.singleCharUTF8ByteList(byte index) Return a low ASCII single-character bytelist with UTF-8 encoding, using cached values.static ByteListRubySymbol.symbolBytesFromString(Ruby runtime, String internedSymbol) Modifier and TypeMethodDescriptionprotected voidRubyGlobal.CaseInsensitiveStringOnlyRubyHash.appendAssociation(boolean keyIsSymbol, ByteList bytes) protected voidRubyHash.appendAssociation(boolean keyIsSymbol, ByteList bytes) Append appropriate characters to indicate association (": " vs " => ").static StringRubyString.byteListToString(ByteList bytes) final RubyStringfinal RubyStringfinal intDeprecated.final intRubyString.catWithCodeRange(ByteList other, int codeRange) static org.jcodings.EncodingRubyString.checkEncoding(Ruby runtime, ByteList str1, ByteList str2) static StringDeprecated.static StringDecode the specified bytelist as "raw" binary content.Ruby.freezeAndDedupString(ByteList bytes) Given a ByteList, cache a deduplicated FString version of it, or find an existing copy already prepared.Deprecated.Deprecated.RubyIO.getline(ThreadContext context, ByteList separator) Deprecated.RubyIO.getline(ThreadContext context, ByteList separator, long limit) Deprecated.static org.joni.RegexRubyRegexp.getRegexpFromCache(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options) RubySymbol.SymbolTable.getSymbol(ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler, boolean hard) Get or retrieve an existing symbol from the table, invoking the given handler before return.static RubyStringDeprecated.static RubyStringRubyString.inspect(ThreadContext context, ByteList byteList) static booleanRubyModule.isValidConstantName(ByteList bytelist, int start, int end) static intRubySymbol.javaStringHashCode(ByteList iso8859) static RubyStringRubyString.newBinaryString(Ruby runtime, ByteList str) static RubyStringRubyString.newChilledString(Ruby runtime, ByteList bytes, int coderange, String file, int line) static RubySymbolRubySymbol.newConstantSymbol(Ruby runtime, IRubyObject fqn, ByteList bytes) Deprecated.static RubySymbolRubySymbol.newConstantSymbol(ThreadContext context, IRubyObject fqn, ByteList bytes) Create a symbol whose intention is to be used as a constant.static RubyStringRubyString.newDebugChilledString(Ruby runtime, RubyClass rubyClass, ByteList value, int cr, String file, int line) static RubyStringRubyString.newDebugFrozenString(Ruby runtime, RubyClass rubyClass, ByteList value, int cr, String file, int line) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, ByteList bytes) static RubySymbolRubySymbol.newHardSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) static RubySymbolRubySymbol.newIDSymbol(Ruby runtime, ByteList bytes) Generic identifier symbol creation (or retrieval) method.static RubySymbolRubySymbol.newIDSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) Generic identifier symbol creation (or retrieval) method that invokes a handler before storing new symbols.static RubyRegexpstatic RubyRegexpstatic RubyRegexpRubyRegexp.newRegexp(Ruby runtime, ByteList pattern, RegexpOptions options) static RubyRegexpRubyRegexp.newRegexpParser(Ruby runtime, ByteList pattern, RegexpOptions options) throws RaiseException on error so parser can pick this up and give proper line and line number error as opposed to any non-literal regexp creation which may raise a syntax error but will not have this extra source info in the error messagestatic RubyStringstatic RubyStringstatic RubyStringDeprecated.static RubyStringRubyString.newStringLight(Ruby runtime, ByteList bytes) static RubyStringRubyString.newStringNoCopy(Ruby runtime, RubyClass clazz, ByteList bytes) static RubyStringRubyString.newStringNoCopy(Ruby runtime, RubyClass clazz, ByteList bytes, org.jcodings.Encoding enc, int cr) static RubyStringRubyString.newStringNoCopy(Ruby runtime, ByteList bytes) static RubyStringRubyString.newStringNoCopy(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, int cr) static RubyStringRubyString.newStringShared(Ruby runtime, RubyClass clazz, ByteList bytes) static RubyStringRubyString.newStringShared(Ruby runtime, RubyClass clazz, ByteList bytes, org.jcodings.Encoding encoding) static RubyStringRubyString.newStringShared(Ruby runtime, ByteList bytes) static RubyStringRubyString.newStringShared(Ruby runtime, ByteList bytes, int codeRange) static RubyStringRubyString.newStringShared(Ruby runtime, ByteList bytes, org.jcodings.Encoding encoding) static RubySymbolstatic RubySymbolRubySymbol.newSymbol(Ruby runtime, ByteList bytes, RubySymbol.ObjBooleanConsumer<RubySymbol> handler) Return the symbol in the symbol table if it exists, null otherwise.static RubyStringRubyString.newUsAsciiStringNoCopy(Ruby runtime, ByteList bytes) static RubyStringRubyString.newUsAsciiStringShared(Ruby runtime, ByteList bytes) Ruby.parse(ByteList content, String file, DynamicScope scope, int lineNumber, boolean extraPositionInformation) Deprecated.Ruby.parseEval(ByteList source, String file, DynamicScope scope, int lineNumber) Deprecated.static doubleRubyKernel.parseHexidecimalExponentString2(Ruby runtime, ByteList str) Deprecated.static doubleRubyKernel.parseHexidecimalExponentString2(ThreadContext context, ByteList str) Parse hexidecimal exponential notation: ... This method assumes the string is a valid-formatted string.static voidRubyRegexp.preprocessCheck(Ruby runtime, ByteList bytes) final RubyRegexpRubyRegexp.regexpInitialize(ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options) Deprecated.final RubyRegexpRubyRegexp.regexpInitialize(ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options, IRubyObject timeout) static intRubyString.scanForCodeRange(ByteList bytes) voidfinal voidprotected static IRubyObjectRubyIO.write(ThreadContext context, IRubyObject maybeIO, ByteList byteList) protected static IRubyObjectRubyIO.write(ThreadContext context, IRubyObject maybeIO, ByteList byteList, IRubyObject sep) ModifierConstructorDescriptionprotectedRubyRegexp(Ruby runtime, org.joni.Regex pattern, ByteList str, RegexpOptions options) RubyString(Ruby runtime, RubyClass rubyClass, ByteList value) RubyString(Ruby runtime, RubyClass rubyClass, ByteList value, boolean objectSpace) protectedRubyString(Ruby runtime, RubyClass rubyClass, ByteList value, int cr) protectedRubyString(Ruby runtime, RubyClass rubyClass, ByteList value, int cr, boolean objectspace) protectedRubyString(Ruby runtime, RubyClass rubyClass, ByteList value, org.jcodings.Encoding enc) RubyString(Ruby runtime, RubyClass rubyClass, ByteList value, org.jcodings.Encoding encoding, boolean objectSpace) protectedRubyString(Ruby runtime, RubyClass rubyClass, ByteList value, org.jcodings.Encoding enc, int cr) -
Uses of ByteList in org.jruby.api
Methods in org.jruby.api that return ByteListModifier and TypeMethodDescriptionstatic ByteListMRI.rb_econv_append(ThreadContext context, org.jcodings.transcode.EConv ec, byte[] bytes, int start, int length, ByteList dst, int flags) static ByteListMRI.rb_econv_append(ThreadContext context, org.jcodings.transcode.EConv ec, ByteList sByteList, ByteList dst, int flags) static ByteListMRI.rb_econv_str_convert(ThreadContext context, org.jcodings.transcode.EConv ec, byte[] bytes, int start, int length, int flags) static ByteListMRI.rb_econv_str_convert(ThreadContext context, org.jcodings.transcode.EConv ec, ByteList src, int flags) static ByteListMRI.rb_econv_substr_append(ThreadContext context, org.jcodings.transcode.EConv ec, ByteList src, ByteList dst, int flags) static ByteListMRI.rb_str_conv_enc(ThreadContext context, ByteList value, org.jcodings.Encoding fromEncoding, org.jcodings.Encoding toEncoding) static ByteListMRI.rb_str_encode(ThreadContext context, byte[] bytes, int start, int length, org.jcodings.Encoding encoding, int cr, org.jcodings.Encoding to, int ecflags, IRubyObject ecopt) Methods in org.jruby.api with parameters of type ByteListModifier and TypeMethodDescriptionstatic RubySymbolConvert.asSymbol(ThreadContext context, ByteList bytelist) Creates a new RubySymbol from the provided java String.static RubyStringCreate.newSharedString(ThreadContext context, ByteList bytes) Creates a new RubyString from the provided bytelist but use the supplied encoding if possible.static RubyStringCreate.newSharedString(ThreadContext context, ByteList bytes, org.jcodings.Encoding encoding) Creates a new RubyString from the provided bytelist but use the supplied encoding if possible.static RubyStringCreate.newString(ThreadContext context, ByteList bytes) Creates a new RubyString from the provided bytelist.static RubyStringCreate.newString(ThreadContext context, ByteList bytes, org.jcodings.Encoding encoding) Creates a new RubyString from the provided bytelist but use the supplied encoding if possible.static ByteListMRI.rb_econv_append(ThreadContext context, org.jcodings.transcode.EConv ec, byte[] bytes, int start, int length, ByteList dst, int flags) static ByteListMRI.rb_econv_append(ThreadContext context, org.jcodings.transcode.EConv ec, ByteList sByteList, ByteList dst, int flags) static ByteListMRI.rb_econv_str_convert(ThreadContext context, org.jcodings.transcode.EConv ec, ByteList src, int flags) static ByteListMRI.rb_econv_substr_append(ThreadContext context, org.jcodings.transcode.EConv ec, ByteList src, ByteList dst, int flags) static voidMRI.rb_enc_str_buf_cat(ThreadContext context, RubyString str, ByteList ptr) static voidMRI.rb_enc_str_buf_cat(ThreadContext context, RubyString str, ByteList ptr, org.jcodings.Encoding enc) static RubyStringMRI.rb_external_str_new_with_enc(Ruby runtime, ByteList bytelist, org.jcodings.Encoding encoding) static voidMRI.rb_str_buf_cat(Ruby runtime, RubyString str, ByteList ptr) static voidMRI.rb_str_buf_cat(Ruby runtime, ByteList str, byte[] ptrBytes, int ptr, int len) static ByteListMRI.rb_str_conv_enc(ThreadContext context, ByteList value, org.jcodings.Encoding fromEncoding, org.jcodings.Encoding toEncoding) -
Uses of ByteList in org.jruby.ast
Fields in org.jruby.ast declared as ByteListMethods in org.jruby.ast that return ByteListModifier and TypeMethodDescriptionBackRefNode.getByteName()LiteralNode.getByteName()OpAsgnConstDeclNode.getByteOperator()OpAsgnNode.getOperatorByteName()OpElementAsgnNode.getOperatorByteName()RegexpNode.getValue()Gets the value.StrNode.getValue()Gets the value.XStrNode.getValue()Gets the value.OpAsgnNode.getVariableByteName()OpAsgnNode.getVariableByteNameAsgn()Methods in org.jruby.ast with parameters of type ByteListConstructors in org.jruby.ast with parameters of type ByteListModifierConstructorDescriptionDefHolder(RubySymbol name, ByteList currentArg, LexContext ctxt) DefHolder(RubySymbol name, ByteList currentArg, IRubyObject value, LexContext ctxt) RegexpNode(int line, ByteList value, RegexpOptions options) StrNode(int line, ByteList value, int codeRange, StringStyle stringStyle) -
Uses of ByteList in org.jruby.ast.executable
Fields in org.jruby.ast.executable declared as ByteListMethods in org.jruby.ast.executable that return ByteListModifier and TypeMethodDescriptionfinal ByteListAbstractScript.getByteList(int i) final ByteListRuntimeCache.getByteList(int index) final ByteListAbstractScript.getByteList0()final ByteListAbstractScript.getByteList1()final ByteListAbstractScript.getByteList2()final ByteListAbstractScript.getByteList3()final ByteListAbstractScript.getByteList4()final ByteListAbstractScript.getByteList5()final ByteListAbstractScript.getByteList6()final ByteListAbstractScript.getByteList7()final ByteListAbstractScript.getByteList8()final ByteListAbstractScript.getByteList9()final ByteList[]RuntimeCache.initStrings(int size) Methods in org.jruby.ast.executable with parameters of type ByteListModifier and TypeMethodDescriptionfinal RubyRegexpAbstractScript.getRegexp(ThreadContext context, int i, ByteList pattern, int options) final RubyRegexpRuntimeCache.getRegexp(ThreadContext context, int index, ByteList pattern, int options) final RubyRegexpAbstractScript.getRegexp0(ThreadContext context, ByteList pattern, int options) final RubyRegexpAbstractScript.getRegexp1(ThreadContext context, ByteList pattern, int options) final RubyRegexpAbstractScript.getRegexp2(ThreadContext context, ByteList pattern, int options) final RubyRegexpAbstractScript.getRegexp3(ThreadContext context, ByteList pattern, int options) final RubyRegexpAbstractScript.getRegexp4(ThreadContext context, ByteList pattern, int options) final RubyRegexpAbstractScript.getRegexp5(ThreadContext context, ByteList pattern, int options) final RubyRegexpAbstractScript.getRegexp6(ThreadContext context, ByteList pattern, int options) final RubyRegexpAbstractScript.getRegexp7(ThreadContext context, ByteList pattern, int options) final RubyRegexpAbstractScript.getRegexp8(ThreadContext context, ByteList pattern, int options) final RubyRegexpAbstractScript.getRegexp9(ThreadContext context, ByteList pattern, int options) -
Uses of ByteList in org.jruby.ext.digest
Methods in org.jruby.ext.digest that return ByteListModifier and TypeMethodDescriptionstatic ByteListBubbleBabble.bubblebabble(byte[] message, int begin, int length) Ported from OpenSSH (https://github.com/openssh/openssh-portable/blob/957fbceb0f3166e41b76fdb54075ab3b9cc84cba/sshkey.c#L942-L987) OpenSSH License Notice Copyright (c) 2000, 2001 Markus Friedl. -
Uses of ByteList in org.jruby.ext.ripper
Fields in org.jruby.ext.ripper declared as ByteListModifier and TypeFieldDescriptionprotected ByteListRubyLexer.delayedprotected final ByteListHeredocTerm.lastLinestatic final ByteListRipperParserBase.NOTMethods in org.jruby.ext.ripper that return ByteListModifier and TypeMethodDescriptionprotected ByteListStringTerm.createByteList(RubyLexer lexer) protected ByteListRipperParserBase.extractByteList(Object value) RipperParserBase.getCurrentArg()RubyLexer.id()RipperParserBase.shadowing_lvar(ByteList nameBytes) RubyLexer.tokenByteList()Methods in org.jruby.ext.ripper that return types with arguments of type ByteListMethods in org.jruby.ext.ripper with parameters of type ByteListModifier and TypeMethodDescriptionprotected IRubyObjectRipperParserBase.assignable(ByteList name, IRubyObject value) protected IRubyObjectRipperParserBase.call_bin_op(IRubyObject left, ByteList id, IRubyObject right, int line) protected IRubyObjectRipperParserBase.call_uni_op(IRubyObject recv, ByteList id) protected intvoidRipperParserBase.error_duplicate_pattern_key(ByteList key) protected voidRipperParserBase.error_duplicate_pattern_variable(ByteList variable) RipperParserBase.formal_argument(ByteList identifier, IRubyObject lhs) protected voidRipperParserBase.forwarding_arg_check(ByteList rest, ByteList all, String var) protected voidRipperParserBase.getterIdentifierError(ByteList identifier) booleanstatic RubyParserBase.IDTypebooleanRipperParserBase.is_local_id(ByteList name) booleanRipperParserBase.is_private_local_id(ByteList name) booleanprotected IRubyObjectRipperParserBase.logop(IRubyObject left, ByteList id, IRubyObject right) RipperParserBase.new_args_tail(int line, IRubyObject kwarg, IRubyObject kwargRest, ByteList block) RipperParserBase.new_args_tail(int _line, IRubyObject kwarg, ByteList kwargRest, IRubyObject block) protected ArgsTailHolderRipperParserBase.new_args_tail(int line, IRubyObject keywordArg, ByteList keywordRestArgName, ByteList block) voidRipperParserBase.numparam_name(ByteList name) protected booleanRubyLexer.onMagicComment(String name, ByteList value) intStringTerm.parseStringIntoBuffer(RubyLexer lexer, LexerSource src, ByteList buffer, org.jcodings.Encoding encoding, boolean[] encodingDetermined) protected voidRubyLexer.set_yylval_id(ByteList id) protected voidRubyLexer.set_yylval_name(ByteList name) protected voidRubyLexer.set_yylval_val(ByteList name) protected voidRubyLexer.setCompileOptionFlag(String name, ByteList value) protected voidRubyLexer.setEncoding(ByteList name) protected voidRubyLexer.setTokenInfo(String name, ByteList value) RipperParserBase.shadowing_lvar(ByteList nameBytes) Method parameters in org.jruby.ext.ripper with type arguments of type ByteListModifier and TypeMethodDescriptionprotected voidprotected voidConstructors in org.jruby.ext.ripper with parameters of type ByteListModifierConstructorDescriptionHeredocTerm(ByteList marker, int func, int nth, int line, ByteList lastLine) -
Uses of ByteList in org.jruby.ext.socket
Methods in org.jruby.ext.socket that return ByteListModifier and TypeMethodDescriptionprotected ByteListRubyBasicSocket.doRead(ThreadContext context, ByteBuffer buffer) protected final ByteListRubyBasicSocket.doReadNonblock(ThreadContext context, ByteBuffer buffer, boolean exception) static ByteListOption.packInt(int i) static ByteListOption.packLinger(int vonoff, int vsecs) Methods in org.jruby.ext.socket with parameters of type ByteListModifier and TypeMethodDescriptionstatic InetAddress[]SocketUtils.getRubyInetAddresses(ByteList address) Deprecated.static intstatic int[]Option.unpackLinger(ByteList data) Constructors in org.jruby.ext.socket with parameters of type ByteListModifierConstructorDescriptionOption(Ruby runtime, jnr.constants.platform.ProtocolFamily family, jnr.constants.platform.SocketLevel level, jnr.constants.platform.SocketOption option, ByteList data) Option(Ruby runtime, RubyClass klass, jnr.constants.platform.ProtocolFamily family, jnr.constants.platform.SocketLevel level, jnr.constants.platform.SocketOption option, ByteList data) -
Uses of ByteList in org.jruby.ext.zlib
Methods in org.jruby.ext.zlib with parameters of type ByteListModifier and TypeMethodDescriptionvoidJZlibInflate.append(ThreadContext context, ByteList obj) voidDeprecated.JZlibInflate.inflate(ThreadContext context, ByteList str, Block block) protected RubyStringDeprecated.protected RubyStringRubyGzipFile.newStr(ThreadContext context, ByteList value) -
Uses of ByteList in org.jruby.ir
Fields in org.jruby.ir declared as ByteListMethods in org.jruby.ir that return ByteListMethods in org.jruby.ir with parameters of type ByteListModifier and TypeMethodDescriptionIRClosure.convertToMethod(ByteList name) voidIRScope.setByteName(ByteList name) Constructors in org.jruby.ir with parameters of type ByteListModifierConstructorDescriptionIRClassBody(IRManager manager, IRScope lexicalParent, ByteList name, int lineNumber, StaticScope scope, boolean executesOnce) protectedUsed by cloning code for inliningprotectedIRClosure(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, int closureId, ByteList fullName) IRClosure(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, Signature signature, ByteList prefix) IRClosure(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, Signature signature, ByteList prefix, boolean isBeginEndBlock) IRClosure(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, Signature signature, ByteList prefix, boolean isBeginEndBlock, int coverageMode) IRClosure(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, Signature signature, ByteList prefix, int coverageMode) protectedIRClosure(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, ByteList prefix) protectedIRClosure(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, ByteList prefix, int coverageMode) IRFor(IRManager manager, IRScope lexicalParent, int lineNumber, StaticScope staticScope, Signature signature, ByteList labelPrefix) IRMetaClassBody(IRManager manager, IRScope lexicalParent, ByteList name, int lineNumber, StaticScope scope) IRMethod(IRManager manager, IRScope lexicalParent, LazyMethodDefinition defn, ByteList name, boolean isInstanceMethod, int lineNumber, StaticScope staticScope, int coverageMode) IRModuleBody(IRManager manager, IRScope lexicalParent, ByteList name, int lineNumber, StaticScope staticScope, boolean executesOnce) IRScope(IRManager manager, IRScope lexicalParent, ByteList name, int lineNumber, StaticScope staticScope) IRScope(IRManager manager, IRScope lexicalParent, ByteList name, int lineNumber, StaticScope staticScope, int coverageMode) -
Uses of ByteList in org.jruby.ir.builder
Methods in org.jruby.ir.builder with parameters of type ByteListModifier and TypeMethodDescriptionprotected OperandIRBuilder.buildClass(ByteList className, U superNode, U cpath, U bodyNode, StaticScope scope, int line, int endLine) protected OperandIRBuilder.buildModule(ByteList name, U cpath, U bodyNode, StaticScope scope, int line, int endLine) protected voidIRBuilder.createPrefixFromArgs(ByteList prefix, U var) protected voidIRBuilderAST.createPrefixFromArgs(ByteList prefix, Node args) protected IRMethodIRBuilder.defineNewMethod(LazyMethodDefinition<U, V, W, X, Y, Z> defn, ByteList name, int line, StaticScope scope, boolean isInstanceMethod) protected RubySymbol -
Uses of ByteList in org.jruby.ir.instructions
Fields in org.jruby.ir.instructions declared as ByteList -
Uses of ByteList in org.jruby.ir.operands
Fields in org.jruby.ir.operands declared as ByteListMethods in org.jruby.ir.operands that return ByteListModifier and TypeMethodDescriptionFrozenString.getByteList()MutableString.getByteList()StringLiteral.getByteList()Symbol.getBytes()Regexp.getSource()Constructors in org.jruby.ir.operands with parameters of type ByteListModifierConstructorDescriptionChilledString(ByteList bytelist, int coderange, String file, int line) Used by persistence and by .freeze optimizationprotectedFrozenString(ByteList byteList) FrozenString(ByteList bytelist, int coderange, String file, int line) Used by persistence and by .freeze optimizationMutableString(ByteList val, int coderange, String file, int line) Regexp(ByteList source, RegexpOptions options) -
Uses of ByteList in org.jruby.ir.persistence
Methods in org.jruby.ir.persistence that return ByteListModifier and TypeMethodDescriptionIRReaderDecoder.decodeByteList()IRReaderStream.decodeByteList()Methods in org.jruby.ir.persistence with parameters of type ByteListModifier and TypeMethodDescriptionstatic IRScopeIRReader.createScope(IRManager manager, IRScopeType type, ByteList byteName, String file, int line, IRScope lexicalParent, Signature signature, StaticScope staticScope) voidvoidvoid -
Uses of ByteList in org.jruby.ir.runtime
Methods in org.jruby.ir.runtime that return ByteListModifier and TypeMethodDescriptionstatic final ByteListIRRuntimeHelpers.newByteListFromRaw(Ruby runtime, String str, String encoding) Methods in org.jruby.ir.runtime with parameters of type ByteListModifier and TypeMethodDescriptionstatic RubyStringIRRuntimeHelpers.newFrozenString(ThreadContext context, ByteList bytelist, int coderange) static RubyStringIRRuntimeHelpers.newFrozenString(ThreadContext context, ByteList bytelist, int coderange, String file, int line) static RubyRegexpIRRuntimeHelpers.newLiteralRegexp(ThreadContext context, ByteList source, int embeddedOptions) static RubyRegexpIRRuntimeHelpers.newLiteralRegexp(ThreadContext context, ByteList source, RegexpOptions options) static RubyProcIRRuntimeHelpers.newSymbolProc(ThreadContext context, ByteList value) Create a new Symbol.to_proc for the given symbol name and encoding. -
Uses of ByteList in org.jruby.ir.targets
Methods in org.jruby.ir.targets with parameters of type ByteListModifier and TypeMethodDescriptionvoidConstantCompiler.inheritanceSearchConst(String id, ByteList name) Lookup a constant from a given class or module.voidConstantCompiler.lexicalSearchConst(String id, ByteList name) Lookup a constant from a lexical scope.voidValueCompiler.pushByteList(ByteList bl) Stack required: nonevoidValueCompiler.pushChilledString(ByteList byteList, int codeRange, String file, int line) voidValueCompiler.pushConstantLookupSite(String className, String siteName, ByteList name) Load a ConstantLookupSite onto the stackvoidValueCompiler.pushFrozenString(ByteList bl, int cr) Stack required: nonevoidValueCompiler.pushFrozenString(ByteList bl, int cr, String path, int line) Stack required: nonevoidBuild and save a literal string..string range.voidValueCompiler.pushRegexp(ByteList source, int options) Build and save a literal regular expression.voidValueCompiler.pushString(ByteList bl, int cr) Stack required: nonevoidValueCompiler.pushSymbol(ByteList bytes) Push a symbol on the stack.voidValueCompiler.pushSymbolProc(ByteList bytes) Push a Symbol.to_proc on the stack.voidConstantCompiler.searchConst(String id, ByteList name, boolean noPrivateConsts) Lookup a constant from current context.voidConstantCompiler.searchModuleForConst(String id, ByteList name, boolean noPrivateConsts, boolean callConstMissing) Lookup a constant from current module. -
Uses of ByteList in org.jruby.ir.targets.indy
Fields in org.jruby.ir.targets.indy declared as ByteListModifier and TypeFieldDescriptionprotected final ByteListRangeObjectSite.StringRangeObjectSite.beginprotected final ByteListRangeObjectSite.StringRangeObjectSite.endprotected final ByteListRegexpObjectSite.patternMethods in org.jruby.ir.targets.indy that return ByteListMethods in org.jruby.ir.targets.indy with parameters of type ByteListModifier and TypeMethodDescriptionstatic RubyStringStringBootstrap.chilledString(ThreadContext context, ByteList value, int cr, String file, int line) static RubyStringStringBootstrap.frozenString(ThreadContext context, MutableCallSite site, ByteList value, int cr, String file, int line) static RubyStringStringBootstrap.frozenStringSimple(ThreadContext context, MutableCallSite site, ByteList value, int cr) voidIndyConstantCompiler.inheritanceSearchConst(String id, ByteList name) voidIndyConstantCompiler.lexicalSearchConst(String id, ByteList name) voidIndyValueCompiler.pushByteList(ByteList bl) voidIndyValueCompiler.pushChilledString(ByteList bl, int cr, String file, int line) voidIndyValueCompiler.pushConstantLookupSite(String className, String siteName, ByteList name) voidIndyValueCompiler.pushFrozenString(ByteList bl, int cr) voidIndyValueCompiler.pushFrozenString(ByteList bl, int cr, String file, int line) voidIndyValueCompiler.pushRange(ByteList begin, int beginCR, ByteList end, int endCR, boolean exclusive) voidIndyValueCompiler.pushRegexp(ByteList source, int options) voidIndyValueCompiler.pushString(ByteList bl, int cr) voidIndyValueCompiler.pushSymbol(ByteList bytes) voidIndyValueCompiler.pushSymbolProc(ByteList bytes) voidIndyConstantCompiler.searchConst(String id, ByteList name, boolean noPrivateConsts) voidIndyConstantCompiler.searchModuleForConst(String id, ByteList name, boolean noPrivateConsts, boolean callConstMissing) static RubyStringStringBootstrap.string(ThreadContext context, ByteList value, int cr) static IRubyObjectJavaBootstrap.stringOrNil(Ruby runtime, ByteList bl) Constructors in org.jruby.ir.targets.indy with parameters of type ByteListModifierConstructorDescriptionRegexpObjectSite(MethodType type, ByteList pattern, int embeddedOptions) StringRangeObjectSite(MethodType type, ByteList begin, int beginCR, ByteList end, int endCR, boolean exclusive) -
Uses of ByteList in org.jruby.ir.targets.simple
Methods in org.jruby.ir.targets.simple with parameters of type ByteListModifier and TypeMethodDescriptionvoidNormalConstantCompiler.inheritanceSearchConst(String id, ByteList name) voidNormalConstantCompiler.lexicalSearchConst(String id, ByteList name) voidNormalValueCompiler.pushByteList(ByteList bl) voidNormalValueCompiler.pushChilledString(ByteList bl, int cr, String file, int line) voidNormalValueCompiler.pushConstantLookupSite(String className, String siteName, ByteList name) voidNormalValueCompiler.pushFrozenString(ByteList bl, int cr) voidNormalValueCompiler.pushFrozenString(ByteList bl, int cr, String file, int line) voidNormalValueCompiler.pushRange(ByteList begin, int beginCR, ByteList end, int endCR, boolean exclusive) voidNormalValueCompiler.pushRegexp(ByteList source, int options) voidNormalValueCompiler.pushString(ByteList bl, int cr) voidNormalValueCompiler.pushSymbol(ByteList bytes) voidNormalValueCompiler.pushSymbolProc(ByteList bytes) voidNormalConstantCompiler.searchConst(String id, ByteList name, boolean noPrivateConsts) voidNormalConstantCompiler.searchModuleForConst(String id, ByteList name, boolean noPrivateConsts, boolean callConstMissing) -
Uses of ByteList in org.jruby.lexer
Fields in org.jruby.lexer declared as ByteListModifier and TypeFieldDescriptionstatic final ByteListLexingCommon.AMPERSANDstatic final ByteListLexingCommon.AMPERSAND_AMPERSANDstatic final ByteListLexingCommon.AMPERSAND_DOTstatic final ByteListLexingCommon.AND_KEYWORDstatic final ByteListLexingCommon.BACKSLASHstatic final ByteListLexingCommon.BACKTICKstatic final ByteListLexingCommon.BANGstatic final ByteListLexingCommon.BANG_EQstatic final ByteListLexingCommon.BANG_TILDEstatic ByteListLexingCommon.BEGIN_DOC_MARKERstatic final ByteListLexingCommon.CALLstatic final ByteListLexingCommon.CARETstatic ByteListLexingCommon.CODINGstatic final ByteListLexingCommon.COLONstatic final ByteListLexingCommon.COLON_COLONstatic final ByteListLexingCommon.COMMAstatic final ByteListLexingCommon.DOLLAR_BANGstatic final ByteListLexingCommon.DOLLAR_DOTstatic final ByteListLexingCommon.DOLLAR_UNDERSCOREstatic final ByteListLexingCommon.DOTstatic final ByteListLexingCommon.DOT_DOTstatic final ByteListLexingCommon.DOT_DOT_DOTstatic ByteListLexingCommon.END_DOC_MARKERstatic ByteListLexingCommon.END_MARKERstatic final ByteListLexingCommon.EQstatic final ByteListLexingCommon.EQ_EQstatic final ByteListLexingCommon.EQ_EQ_EQstatic final ByteListLexingCommon.EQ_GTstatic final ByteListLexingCommon.EQ_TILDEstatic final ByteListLexingCommon.GTstatic final ByteListLexingCommon.GT_EQstatic final ByteListLexingCommon.GT_GTstatic final ByteListLexingCommon.KWNORESTstatic final ByteListLexingCommon.LBRACKETstatic final ByteListLexingCommon.LBRACKET_RBRACKETstatic final ByteListLexingCommon.LBRACKET_RBRACKET_EQstatic final ByteListLexingCommon.LCURLYLexingCommon.lex_lastlineprotected ByteListLexingCommon.lex_nextlineLexingCommon.lexbstatic final ByteListLexingCommon.LTstatic final ByteListLexingCommon.LT_EQstatic final ByteListLexingCommon.LT_EQ_RTstatic final ByteListLexingCommon.LT_LTstatic final ByteListLexingCommon.MINUSstatic final ByteListLexingCommon.MINUS_ATstatic final ByteListLexingCommon.MINUS_GTstatic final ByteListLexingCommon.NILstatic final ByteListLexingCommon.ORstatic final ByteListLexingCommon.OR_KEYWORDstatic final ByteListLexingCommon.OR_ORstatic final ByteListLexingCommon.PERCENTstatic final ByteListLexingCommon.PLUSstatic final ByteListLexingCommon.PLUS_ATstatic final ByteListLexingCommon.Qstatic final ByteListLexingCommon.QQstatic final ByteListLexingCommon.QUESTIONstatic final ByteListLexingCommon.RBRACKETstatic final ByteListLexingCommon.RCURLYstatic final ByteListLexingCommon.RPARENstatic final ByteListLexingCommon.SEMICOLONstatic final ByteListLexingCommon.SLASHstatic final ByteListLexingCommon.STARstatic final ByteListLexingCommon.STAR_STARstatic final ByteListLexingCommon.TILDEMethods in org.jruby.lexer that return ByteListModifier and TypeMethodDescriptionLexingCommon.createTokenByteList()LexingCommon.createTokenByteList(int start) LexingCommon.getCurrentArg()ByteListLexerSource.gets()GetsLexerSource.gets()abstract ByteListLexerSource.gets()LexingCommon.id()Methods in org.jruby.lexer with parameters of type ByteListModifier and TypeMethodDescriptionvoidLexingCommon.checkRegexpFragment(Ruby runtime, ByteList value, RegexpOptions options) voidLexingCommon.checkRegexpSyntax(Ruby runtime, ByteList value, RegexpOptions options) static intLexingCommon.dedent_string(ByteList string, int width) protected voidLexingCommon.magicCommentEncoding(ByteList encoding) static intLexingCommon.magicCommentMarker(ByteList str, int begin) protected booleanLexingCommon.onMagicComment(String name, ByteList value) booleanLexingCommon.parser_magic_comment(ByteList magicLine) protected voidLexingCommon.readUTF8EscapeIntoBuffer(int codepoint, ByteList buffer, boolean stringLiteral, boolean[] encodingDetermined) intLexingCommon.readUTFEscape(ByteList buffer, boolean stringLiteral, boolean[] encodingDetermined) voidLexingCommon.readUTFEscapeRegexpLiteral(ByteList buffer) voidprotected charLexingCommon.scanHexLiteral(ByteList buffer, int count, boolean strict, String errorMessage) Read up to count hexadecimal digits and store those digits in a token numberBuffer.protected voidLexingCommon.set_yylval_id(ByteList id) protected voidLexingCommon.set_yylval_name(ByteList name) protected abstract voidLexingCommon.setCompileOptionFlag(String name, ByteList value) voidLexingCommon.setCurrentArg(ByteList current_arg) protected abstract voidLexingCommon.setEncoding(ByteList name) voidLexingCommon.setRegexpEncoding(Ruby runtime, ByteList value, RegexpOptions options) protected abstract voidLexingCommon.setTokenInfo(String name, ByteList value) protected booleanvoidbooleanLexingCommon.tokadd_mbchar(int first_byte, ByteList buffer) voidThis looks deceptively like tokadd_mbchar(int, ByteList) but it differs in that it uses the bytelists encoding and the first parameter is a full codepoint and not the first byte of a mbc sequence.voidvoidLexingCommon.validateFormalIdentifier(ByteList identifier) booleanLexingCommon.whole_match_p(ByteList eos, boolean indent) Constructors in org.jruby.lexer with parameters of type ByteListModifierConstructorDescriptionByteListLexerSource(String sourceName, int line, ByteList in, RubyArray list) Create our food-source for the lexer. -
Uses of ByteList in org.jruby.lexer.yacc
Fields in org.jruby.lexer.yacc declared as ByteListModifier and TypeFieldDescriptionfinal ByteListRubyLexer.Keyword.bytesprotected final ByteListHeredocTerm.lastLineMethods in org.jruby.lexer.yacc with parameters of type ByteListModifier and TypeMethodDescriptionprotected intprotected intstatic RubyLexer.KeywordRubyLexer.getKeyword(ByteList str) intStringTerm.parseStringIntoBuffer(RubyLexer lexer, ByteList buffer, org.jcodings.Encoding encoding, boolean[] encodingDetermined) protected voidRubyLexer.setCompileOptionFlag(String name, ByteList value) protected voidRubyLexer.setEncoding(ByteList name) protected voidRubyLexer.setTokenInfo(String name, ByteList value) Constructors in org.jruby.lexer.yacc with parameters of type ByteListModifierConstructorDescriptionHeredocTerm(ByteList marker, int func, int nth, int line, ByteList lastLine) -
Uses of ByteList in org.jruby.parser
Fields in org.jruby.parser declared as ByteListModifier and TypeFieldDescriptionProductionState.idstatic final ByteListRubyParserBase.INTERNAL_IDstatic ByteListRubyParserBase.NILstatic final ByteListRubyParserBase.NOTMethods in org.jruby.parser that return ByteListModifier and TypeMethodDescriptionprotected ByteListRubyParserBase.extractByteList(Object value) RubyParserBase.formal_argument(ByteList identifier, Object _unused) protected ByteListRubyParserBase.getCurrentArg()RubyParserBase.shadowing_lvar(ByteList nameBytes) Methods in org.jruby.parser that return types with arguments of type ByteListMethods in org.jruby.parser with parameters of type ByteListModifier and TypeMethodDescriptionRubyParserBase.assignableInCurr(ByteList nameBytes, Node value) RubyParserBase.assignableKeyword(ByteList name, Node value) RubyParserBase.assignableLabelOrIdentifier(ByteList byteName, Node value) static intRubyParserBase.associateEncoding(ByteList buffer, org.jcodings.Encoding newEncoding, int codeRange) Define an attribute set condition so we can return lhsRubyParserBase.call_bin_op(Node firstNode, ByteList operator, Node secondNode) RubyParserBase.call_bin_op(Node firstNode, ByteList operator, Node secondNode, int defaultPosition) RubyParserBase.call_uni_op(Node firstNode, ByteList operator) protected StrNodeRubyParserBase.declareIdentifier(ByteList byteName) voidRubyParserBase.error_duplicate_pattern_key(ByteList key) voidRubyParserBase.error_duplicate_pattern_variable(ByteList variable) RubyParserBase.formal_argument(ByteList identifier, Object _unused) protected voidRubyParserBase.forwarding_arg_check(ByteList rest, ByteList all, String var) static RubyParserBase.IDTypestatic booleanRubyParserBase.is_local_id(ByteList name) static booleanRubyParserBase.is_private_local_id(ByteList name) booleanbooleanRubyParserBase.new_args_tail(int line, ListNode keywordArg, ByteList keywordRestArgName, BlockArgNode blockArg) protected ArgsTailHolderRubyParserBase.new_args_tail(int line, ListNode keywordArg, ByteList keywordRestArgName, ByteList block) RubyParserBase.new_array_pattern_tail(int line, ListNode preArgs, boolean hasRest, ByteList restArg, ListNode postArgs) RubyParserBase.new_ary_op_assign(Node receiverNode, Node argsNode, ByteList operatorName, Node valueNode) RubyParserBase.new_attr_op_assign(Node receiverNode, ByteList callType, ByteList variableName, ByteList operatorName, Node valueNode) RubyParserBase.new_attrassign(int line, Node receiver, ByteList name, Node argsNode, boolean isLazy) RubyParserBase.new_call(Node receiver, ByteList callType, ByteList name, Node argsNode, Node iter, int line) RubyParserBase.new_colon2(int line, Node leftNode, ByteList name) RubyParserBase.new_colon3(int line, ByteList name) RubyParserBase.new_const_op_assign(int line, Node lhs, ByteList operatorName, Node rhs, LexContext _lexContext) RubyParserBase.new_find_pattern_tail(int line, ByteList preRestArg, ListNode postArgs, ByteList postRestArg) RubyParserBase.new_hash_pattern_tail(int line, HashNode keywordArgs, ByteList keywordRestArg) RubyParserBase.new_op_assign(AssignableNode receiverNode, ByteList operatorName, Node valueNode, LexContext _lexContext) voidRubyParserBase.numparam_name(ByteList name) Parser.parse(String fileName, int lineNumber, ByteList content, DynamicScope existingScope, ParserType type) Parser.parse(String file, ByteList content, DynamicScope blockScope, ParserConfiguration configuration) Deprecated.ParserManager.parseEval(String fileName, int lineNumber, ByteList source, DynamicScope scope) RubyParserBase.shadowing_lvar(ByteList nameBytes) Method parameters in org.jruby.parser with type arguments of type ByteList -
Uses of ByteList in org.jruby.runtime
Methods in org.jruby.runtime with parameters of type ByteListModifier and TypeMethodDescriptionstatic RubyStringHelpers.appendByteList(RubyString target, ByteList source) Deprecated.static StringHelpers.byteListToString(ByteList bytes) Convert a ByteList into a Java String by using its Encoding's Charset.static StringHelpers.decodeByteList(Ruby runtime, ByteList value) Decode a given ByteList to a Java string.static IRubyObjectHelpers.stringOrNil(ByteList value, ThreadContext context) Deprecated.static StringHelpers.symbolBytesToString(ByteList value) Decode the given value to a Java string using the following rules: * If the string is all US-ASCII characters, it will be decoded as US-ASCII. -
Uses of ByteList in org.jruby.runtime.encoding
Methods in org.jruby.runtime.encoding with parameters of type ByteListModifier and TypeMethodDescriptionorg.jcodings.EncodingDB.EntryEncodingService.findAliasEntry(ByteList bytes) org.jcodings.EncodingDB.EntryEncodingService.findEncodingEntry(ByteList bytes) org.jcodings.EncodingEncodingService.findEncodingNoError(ByteList str) org.jcodings.EncodingDB.EntryEncodingService.findEncodingOrAliasEntry(ByteList bytes) org.jcodings.EncodingEncodingService.findEncodingWithError(ByteList name) Find a non-special encoding, raising argument error if it does not exist.org.jcodings.EncodingEncodingService.loadEncoding(ByteList name) -
Uses of ByteList in org.jruby.runtime.marshal
Methods in org.jruby.runtime.marshal that return ByteListModifier and TypeMethodDescriptionMarshalLoader.unmarshalString(ThreadContext context, RubyInputStream in) UnmarshalStream.unmarshalString()Deprecated, for removal: This API element is subject to removal in a future version.Methods in org.jruby.runtime.marshal with parameters of type ByteListModifier and TypeMethodDescriptionvoidMarshalDumper.dumpSymbol(RubyOutputStream out, ByteList value) voidMarshalStream.dumpSymbol(ByteList value) Deprecated, for removal: This API element is subject to removal in a future version.booleanMarshalCache.isSymbolRegistered(ByteList sym) Deprecated, for removal: This API element is subject to removal in a future version.voidMarshalCache.registerSymbol(ByteList sym) Deprecated, for removal: This API element is subject to removal in a future version.voidMarshalStream.registerSymbol(ByteList sym) Deprecated, for removal: This API element is subject to removal in a future version.voidMarshalDumper.writeString(RubyOutputStream out, ByteList value) voidMarshalStream.writeString(ByteList value) Deprecated, for removal: This API element is subject to removal in a future version.voidMarshalCache.writeSymbolLink(MarshalStream output, ByteList sym) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ByteList in org.jruby.util
Fields in org.jruby.util declared as ByteListModifier and TypeFieldDescriptionstatic final ByteListCommonByteLists._END_static final ByteListCommonByteLists.AMPERSANDstatic final ByteListCommonByteLists.AMPERSAND_AMPERSANDstatic final ByteListCommonByteLists.ANON_BLOCKstatic final ByteListCommonByteLists.AREF_METHODstatic final ByteListCommonByteLists.ASET_METHODstatic final ByteListCommonByteLists.BACKTRACE_INstatic final ByteListCommonByteLists.CARETstatic final ByteListCommonByteLists.COLONstatic final ByteListCommonByteLists.COLON_COLONstatic final ByteListCommonByteLists.CONSTANTSstatic final ByteListCommonByteLists.DASHstatic final ByteListCommonByteLists.DEFINE_METHOD_METHODstatic final ByteListCommonByteLists.DOLLAR_BACKSLASHstatic final ByteListCommonByteLists.DOLLAR_BACKTICKstatic final ByteListCommonByteLists.DOLLAR_SINGLEQUOTEstatic final ByteListCommonByteLists.DOLLAR_SLASHstatic final ByteListCommonByteLists.DOTstatic final ByteListCommonByteLists.EACHstatic final ByteListCommonByteLists.EMPTYstatic final ByteListInspector.EMPTY_ARRAY_BLstatic final ByteListByteList.EMPTY_BYTELISTstatic final ByteList[]StringSupport.EMPTY_BYTELIST_ARRAYstatic final ByteListInspector.EMPTY_HASH_BLstatic final ByteListCommonByteLists.EQUAL_TILDEstatic final ByteListCommonByteLists.EXCEPTIONstatic final ByteListCommonByteLists.FREEZE_METHODstatic final ByteListCommonByteLists.FWD_ALLstatic final ByteListCommonByteLists.FWD_BLOCKstatic final ByteListCommonByteLists.FWD_KWRESTstatic final ByteListCommonByteLists.FWD_RESTstatic final ByteListCommonByteLists.METHODSstatic final ByteListCommonByteLists.MINUSstatic final ByteListCommonByteLists.NEWstatic final ByteListCommonByteLists.NEW_METHODstatic final ByteListCommonByteLists.NEWLINEstatic final ByteListCommonByteLists.NILstatic final ByteListCommonByteLists.NOT_IMPLEMENTED_ERRORstatic final ByteListCommonByteLists.OR_ORstatic final ByteListCommonByteLists.PERCENT_PLUSstatic final ByteListCommonByteLists.PERCENT_Qstatic final ByteListInspector.RECURSIVE_ARRAY_BLstatic final ByteListInspector.RECURSIVE_HASH_BLstatic final ByteListCommonByteLists.REFINE_METHODstatic final ByteListCommonByteLists.SENDstatic final ByteListCommonByteLists.SINGLE_QUOTEstatic final ByteListCommonByteLists.SLASHstatic final ByteListCommonByteLists.STARstatic final ByteListCommonByteLists.STAR_STARstatic final ByteListCommonByteLists.TABstatic final ByteListCommonByteLists.UNDERSCOREstatic final ByteListCommonByteLists.USING_METHODstatic final ByteListCommonByteLists.ZEROMethods in org.jruby.util that return ByteListModifier and TypeMethodDescriptionstatic ByteListStringSupport.addByteLists(ByteList value1, ByteList value2) ByteList.append(byte b) Append a single byte to the ByteListByteList.append(int b) Append a single byte to the ByteList by truncating the given intByteList.append(InputStream input, int len) Append up to length bytes from InputStream to the ByteList.static final ByteListConvertBytes.byteToSharedByteList(short i) Return a cached ByteList for values -256..255.static ByteListStringSupport.caseMap(Ruby runtime, ByteList src, org.jcodings.IntHolder flags, org.jcodings.Encoding enc) Deprecated.static ByteListStringSupport.caseMap(ThreadContext context, ByteList src, org.jcodings.IntHolder flags, org.jcodings.Encoding enc) static ByteListByteList.create(CharSequence s) Create a bytelist with ISO_8859_1 encoding from the provided CharSequence.static ByteListStringSupport.dumpCommon(Ruby runtime, ByteList bytelist) rb_str_dumpstatic ByteListStringSupport.dumpCommon(Ruby runtime, ByteList byteList, boolean quoteOnlyIfNeeded) ByteList.dup()creates a duplicate of this bytelist but only in the case of a stringValue and its resulting hash value.ByteList.dup(int length) ByteListHolder.getByteList()static final ByteListConvertBytes.intToBinaryByteList(int i) static final ByteListConvertBytes.intToHexByteList(int i) static final ByteListConvertBytes.intToHexByteList(int i, boolean upper) static final ByteListConvertBytes.intToOctalByteList(int i) static final ByteListConvertBytes.longToBinaryByteList(long i) static final ByteListConvertBytes.longToByteList(long i) Produce a new ByteList of the given long as a string in radix 10.static final ByteListConvertBytes.longToByteList(long i, int radix) Produce a new ByteList of the given long as a string in the given radix.static final ByteListConvertBytes.longToByteList(long i, int radix, byte[] digitmap) static final ByteListConvertBytes.longToByteListCached(long i) Produce a ByteList of the radix 10 string form of the given long, possibly returning a cached instance for certain ranges.static final ByteListConvertBytes.longToByteListSimple(long i) static final ByteListConvertBytes.longToHexByteList(long i) static final ByteListConvertBytes.longToHexByteList(long i, boolean upper) static final ByteListConvertBytes.longToOctalByteList(long i) ByteList.makeShared(int index, int len) Make a shared copy of this ByteList.static ByteListstatic ByteListRegexpSupport.preprocess(Ruby runtime, ByteList str, org.jcodings.Encoding enc, org.jcodings.Encoding[] fixedEnc, RegexpSupport.ErrorMode mode) Preprocess the given string for use in regexp, raising errors for encoding incompatibilities that arise.static ByteListencodes a String with the Quoted printable, MIME encoding (see RFC2045).static ByteListRegexpSupport.regexpDescription(Ruby runtime, ByteList bytes, RegexpOptions options, org.jcodings.Encoding enc) static ByteListRegexpSupport.regexpDescription19(Ruby runtime, ByteList bytes, RegexpOptions options, org.jcodings.Encoding enc) Deprecated.static ByteListStringSupport.replaceInternal(int beg, int len, ByteListHolder source, CodeRangeable repl) ByteList.shallowDup()Create a new ByteList but do not array copy the byte backing store.static ByteListSprintf.sprintf(org.jcodings.Encoding encoding, CharSequence format, IRubyObject args) static ByteListStringSupport.succCommon(Ruby runtime, ByteList original) Deprecated.static ByteListStringSupport.succCommon(ThreadContext context, ByteList original) static ByteListStringSupport.succCommon(ByteList original) Methods in org.jruby.util that return types with arguments of type ByteListModifier and TypeMethodDescriptionMethods in org.jruby.util with parameters of type ByteListModifier and TypeMethodDescriptionstatic ByteListStringSupport.addByteLists(ByteList value1, ByteList value2) voidAppend moreBytes onto the end of the current ByteList.voidAppend moreBytes onto the end of the current ByteList with +index as the new begin for len bytes from the moreBytes ByteList.static voidRegexpSupport.appendOptions(ByteList to, RegexpOptions options) static voidRegexpSupport.appendRegexpString(Ruby runtime, ByteList to, byte[] bytes, int start, int len, org.jcodings.Encoding enc, org.jcodings.Encoding resEnc) static voidRegexpSupport.appendRegexpString19(Ruby runtime, ByteList to, byte[] bytes, int start, int len, org.jcodings.Encoding enc, org.jcodings.Encoding resEnc) Deprecated.static org.jcodings.EncodingStringSupport.areCompatible(ByteList str1, ByteList str2) static voidStringSupport.asciiOnlyCaseMap(Ruby runtime, ByteList value, org.jcodings.IntHolder flags, org.jcodings.Encoding enc) Deprecated.static voidStringSupport.asciiOnlyCaseMap(ThreadContext context, ByteList value, org.jcodings.IntHolder flags) static StringStringSupport.byteListAsString(ByteList bytes) static doubleConvertDouble.byteListToDouble(ByteList bytes, boolean strict) Converts supplied ByteList into a double.static RubyIntegerConvertBytes.byteListToInum(Ruby runtime, ByteList str, int base, boolean badcheck) static IRubyObjectConvertBytes.byteListToInum(Ruby runtime, ByteList str, int base, boolean badcheck, boolean exception) rb_cstr_to_inumstatic RubyIntegerConvertBytes.byteListToInum(Ruby runtime, ByteList str, int off, int end, int base, boolean badcheck) static intStringSupport.byterindex(ByteList source, int pos, CodeRangeable subStringCodeRangeable, org.jcodings.Encoding enc) static intStringSupport.bytesToFixBrokenTrailingCharacter(ByteList val, int usingLength) intByteList.caseInsensitiveCmp(ByteList other) Do a case insensitive comparison with other ByteList with return types similiar to compareTo.static ByteListStringSupport.caseMap(Ruby runtime, ByteList src, org.jcodings.IntHolder flags, org.jcodings.Encoding enc) Deprecated.static ByteListStringSupport.caseMap(ThreadContext context, ByteList src, org.jcodings.IntHolder flags, org.jcodings.Encoding enc) static RubyStringRubyStringBuilder.cat(Ruby runtime, RubyString buf, ByteList bytes) intThis comparison matches MRI comparison of Strings (rb_str_cmp).static intDeprecated.static intStringSupport.codePoint(ThreadContext context, ByteList value) static intStringSupport.codeRangeScan(org.jcodings.Encoding enc, ByteList bytes) RubyDateFormatter.compileAndFormat(ByteList pattern, boolean dateLibrary, org.joda.time.DateTime dt, long nsec, RubyNumeric sub_millis) Convenience method when using no pattern cachingvoidRubyDateFormatter.compilePattern(ByteList pattern, boolean dateLibrary) static SymbolNameTypeIdUtil.determineSymbolNameType(Ruby runtime, ByteList data) static ByteListStringSupport.dumpCommon(Ruby runtime, ByteList bytelist) rb_str_dumpstatic ByteListStringSupport.dumpCommon(Ruby runtime, ByteList byteList, boolean quoteOnlyIfNeeded) static booleanByteListHelper.eachCodePoint(ByteList bytelist, ByteListHelper.CodePoint each) This method assumes the ByteList will be a valid string for the encoding which it is marked as.static intByteListHelper.eachCodePointWhile(Ruby runtime, ByteList bytelist, int offset, ByteListHelper.CodePoint each) If you know you have an ASCII ByteList you should do something else.abstract voidPack.Converter.encode(ThreadContext context, IRubyObject from, ByteList result) booleanDoes this ByteList end with the supplied ByteList?booleanDoes this ByteList equal the other ByteList?voidRubyTimeOutputFormatter.format(ByteList out, long value, org.jruby.util.RubyDateFormatter.FieldType type) voidRubyTimeOutputFormatter.format(ByteList out, CharSequence sequence) static RegexpOptionsRegexpOptions.fromByteList(Ruby runtime, ByteList string) static RegexpOptionsRegexpOptions.fromByteList(ThreadContext context, ByteList string) static intPack.getDirective(ThreadContext context, String mode, ByteList formatString, ByteBuffer encode) static intintGet the index of first occurrence of Bytelist find in this ByteList.intGet the index of first occurrence of Bytelist find in this ByteList starting at index i.voidstatic RubyStringRubyStringBuilder.inspectIdentifierByteList(Ruby runtime, ByteList byteList) static booleanIdUtil.isConstantInitial(ByteList byteList) intByteList.lastIndexOf(ByteList find) Get the index of last occurrence of find in ByteList from the end of the ByteList.intByteList.lastIndexOf(ByteList find, int pos) Get the index of last occurrence of find in ByteList from the end of the ByteList.static intStringSupport.multiByteCasecmp(org.jcodings.Encoding enc, ByteList value, ByteList otherValue) static booleanStringSupport.multiByteSqueeze(Ruby runtime, ByteList value, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc, boolean isArg) Deprecated.static booleanStringSupport.multiByteSqueeze(ThreadContext context, ByteList value, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc, boolean isArg) static booleanStringSupport.multiByteSqueeze(ByteList value, boolean[] squeeze, StringSupport.TrTables tables, org.jcodings.Encoding enc, boolean isArg) static intstatic RubyStringDeprecated.static ByteListdoubleEverything runs in 1.9+ mode now, so the `is19` parameter is vestigial.static intStringSupport.positionEndForScan(ByteList value, org.joni.Matcher matcher, org.jcodings.Encoding enc, int begin, int range) rb_str_scanstatic ByteListRegexpSupport.preprocess(Ruby runtime, ByteList str, org.jcodings.Encoding enc, org.jcodings.Encoding[] fixedEnc, RegexpSupport.ErrorMode mode) Preprocess the given string for use in regexp, raising errors for encoding incompatibilities that arise.static ByteListencodes a String with the Quoted printable, MIME encoding (see RFC2045).static intRegexpSupport.raisePreprocessError(Ruby runtime, ByteList str, String err, RegexpSupport.ErrorMode mode) static voidRegexpSupport.raiseRegexpError(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options, String err) static voidRegexpSupport.raiseRegexpError19(Ruby runtime, ByteList bytes, org.jcodings.Encoding enc, RegexpOptions options, String err) Deprecated.static intRegexpSupport.readEscapedByte(Ruby runtime, byte[] to, int toP, byte[] bytes, int p, int end, ByteList str, RegexpSupport.ErrorMode mode) static ByteListRegexpSupport.regexpDescription(Ruby runtime, ByteList bytes, RegexpOptions options, org.jcodings.Encoding enc) static ByteListRegexpSupport.regexpDescription19(Ruby runtime, ByteList bytes, RegexpOptions options, org.jcodings.Encoding enc) Deprecated.voidReplace a region of bytes in this ByteList with bytes from the given ByteList.static intStringSupport.rindex(ByteList source, int sourceChars, int subChars, int pos, CodeRangeable subStringCodeRangeable, org.jcodings.Encoding enc) static intStringSupport.searchNonAscii(ByteList bytes) static booleanStringSupport.singleByteSqueeze(ByteList value, boolean[] squeeze) static <T> TByteListHelper.split(ByteList value, ByteList pattern, ByteListHelper.Visit<ByteList, T> bodyVisitor, ByteListHelper.Visit<ByteList, T> headVisitor) Deprecated.This was only used by Module#const_defined, but was difficult to match MRI's equivalent in this formstatic booleanSprintf.sprintf(Ruby runtime, ByteList to, CharSequence format, int arg) static booleanSprintf.sprintf(Ruby runtime, ByteList to, CharSequence format, long arg) static booleanSprintf.sprintf(ByteList to, CharSequence format, IRubyObject args) static booleanSprintf.sprintf(ByteList to, Locale locale, CharSequence format, IRubyObject args) static booleanSprintf.sprintf(ByteList to, RubyString format, IRubyObject args) static booleanSprintf.sprintf1_9(ByteList to, Locale locale, CharSequence format, IRubyObject args) booleanByteList.startsWith(ByteList other) Does this ByteList start with the supplied ByteList?booleanByteList.startsWith(ByteList other, int toffset) static RubyDateFormatter.Tokenstatic intStringSupport.strCount(ThreadContext context, ByteList str, boolean[] table, StringSupport.TrTables tables, org.jcodings.Encoding enc) static intStringSupport.strCount(ByteList str, boolean[] table, StringSupport.TrTables tables, org.jcodings.Encoding enc) rb_str_countstatic intStringSupport.strCount(ByteList str, Ruby runtime, boolean[] table, StringSupport.TrTables tables, org.jcodings.Encoding enc) Deprecated.static intstatic intStringSupport.strLengthFromRubyString(CodeRangeable string, ByteList bytes, org.jcodings.Encoding enc) static longStringSupport.strLengthWithCodeRange(ByteList bytes) static longStringSupport.strLengthWithCodeRange(ByteList bytes, org.jcodings.Encoding enc) static ByteListStringSupport.succCommon(Ruby runtime, ByteList original) Deprecated.static ByteListStringSupport.succCommon(ThreadContext context, ByteList original) static ByteListStringSupport.succCommon(ByteList original) static StringSupport.TrTablesStringSupport.trSetupTable(ThreadContext context, ByteList str, boolean[] stable, StringSupport.TrTables tables, boolean first, org.jcodings.Encoding enc) static StringSupport.TrTablesStringSupport.trSetupTable(ByteList str, boolean[] stable, StringSupport.TrTables tables, boolean first, org.jcodings.Encoding enc) static StringSupport.TrTablesStringSupport.trSetupTable(ByteList str, Ruby runtime, boolean[] stable, StringSupport.TrTables tables, boolean first, org.jcodings.Encoding enc) Deprecated.static booleanRegexpSupport.unescapeNonAscii(Ruby runtime, ByteList to, byte[] bytes, int p, int end, org.jcodings.Encoding enc, org.jcodings.Encoding[] encp, ByteList str, RegexpSupport.ErrorMode mode) Unescape non-ascii elements in the given string, appending the results to the given bytelist if provided.static RubyArrayDeprecated.static RubyArrayPack.unpack(ThreadContext context, RubyString encoded, ByteList formatString) static RubyArrayPack.unpack(ThreadContext context, ByteList encodedString, ByteList formatString) static IRubyObjectPack.unpack1WithBlock(ThreadContext context, RubyString encoded, ByteList formatString, long offset, Block block) static IRubyObjectPack.unpack1WithBlock(ThreadContext context, RubyString encoded, ByteList formatString, Block block) static RubyArrayPack.unpackWithBlock(ThreadContext context, Ruby runtime, ByteList encodedString, ByteList formatString, Block block) Deprecated.static RubyArrayPack.unpackWithBlock(ThreadContext context, RubyString encoded, ByteList formatString, long offset, Block block) static RubyArrayPack.unpackWithBlock(ThreadContext context, RubyString encoded, ByteList formatString, Block block) Decodes str (which may contain binary data) according to the format string, returning an array of each value extracted.voidByteList.unsafeReplace(int beg, int len, ByteList nbytes) Unsafe version of replace(int,int,ByteList).static intStringSupport.utf8Length(ByteList bytes) Method parameters in org.jruby.util with type arguments of type ByteListModifier and TypeMethodDescriptionstatic <T> TByteListHelper.split(ByteList value, ByteList pattern, ByteListHelper.Visit<ByteList, T> bodyVisitor, ByteListHelper.Visit<ByteList, T> headVisitor) Deprecated.This was only used by Module#const_defined, but was difficult to match MRI's equivalent in this formConstructors in org.jruby.util with parameters of type ByteListModifierConstructorDescriptionCreate a new instance of byte list with the same contents as the passed in ByteList wrap.Create a new instance of ByteList using wrap as a backing store where index is the first index in the byte array where the data starts and len indicates how long the data portion of the bytelist is.ConvertBytes(Ruby runtime, ByteList str, int base, boolean badcheck) ConvertBytes(Ruby runtime, ByteList str, int base, boolean badcheck, boolean is19) Deprecated.RubyTimeOutputFormatter(ByteList flags, int width) -
Uses of ByteList in org.jruby.util.io
Methods in org.jruby.util.io that return ByteListModifier and TypeMethodDescriptionOpenFile.doWriteconv(ThreadContext context, byte[] bytes, int start, int length, org.jcodings.Encoding encoding) static ByteListEncodingUtils.econvAppend(ThreadContext context, org.jcodings.transcode.EConv ec, byte[] bytes, int start, int length, ByteList dst, int flags) static ByteListEncodingUtils.econvAppend(ThreadContext context, org.jcodings.transcode.EConv ec, ByteList sByteList, ByteList dst, int flags) static ByteListEncodingUtils.econvByteConvert(ThreadContext context, org.jcodings.transcode.EConv ec, byte[] bytes, int start, int length, int flags) static ByteListEncodingUtils.econvStrConvert(ThreadContext context, org.jcodings.transcode.EConv ec, ByteList src, int flags) static ByteListEncodingUtils.econvSubstrAppend(ThreadContext context, org.jcodings.transcode.EConv ec, ByteList src, ByteList dst, int flags) static ByteListEncodingUtils.rbByteEncode(ThreadContext context, byte[] bytes, int start, int length, org.jcodings.Encoding encoding, int cr, org.jcodings.Encoding to, int ecflags, IRubyObject ecopt) A version of rbStrEncode that works directly with bytes.static ByteListEncodingUtils.strConvEnc(ThreadContext context, ByteList value, org.jcodings.Encoding fromEncoding, org.jcodings.Encoding toEncoding) static ByteListEncodingUtils.strConvEncOpts(ThreadContext context, ByteList str, org.jcodings.Encoding fromEncoding, org.jcodings.Encoding toEncoding, int ecflags, IRubyObject ecopts) static ByteListEncodingUtils.transcodeString(String string, org.jcodings.Encoding toEncoding, int ecflags) A version of transcodeLoop for working without any Ruby runtime available.Methods in org.jruby.util.io with parameters of type ByteListModifier and TypeMethodDescriptionstatic InetSocketAddressSockaddr.addressFromSockaddr_in(ThreadContext context, ByteList val) static jnr.unixsocket.UnixSocketAddressSockaddr.addressFromSockaddr_un(ThreadContext context, ByteList bl) intOpenFile.appendline(ThreadContext context, int delim, ByteList[] strp, int[] lp, org.jcodings.Encoding enc) static ByteListEncodingUtils.econvAppend(ThreadContext context, org.jcodings.transcode.EConv ec, byte[] bytes, int start, int length, ByteList dst, int flags) static ByteListEncodingUtils.econvAppend(ThreadContext context, org.jcodings.transcode.EConv ec, ByteList sByteList, ByteList dst, int flags) static ByteListEncodingUtils.econvStrConvert(ThreadContext context, org.jcodings.transcode.EConv ec, ByteList src, int flags) static ByteListEncodingUtils.econvSubstrAppend(ThreadContext context, org.jcodings.transcode.EConv ec, ByteList src, ByteList dst, int flags) static intEncodingUtils.encCrStrBufCat(Ruby runtime, CodeRangeable str, ByteList ptr, org.jcodings.Encoding ptrEnc, int ptr_cr) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, ByteList ptr) static voidEncodingUtils.encStrBufCat(Ruby runtime, RubyString str, ByteList ptr, org.jcodings.Encoding enc) static org.jcodings.EncodingEncodingUtils.getActualEncoding(org.jcodings.Encoding enc, ByteList byteList) static jnr.constants.platform.AddressFamilySockaddr.getAddressFamilyFromSockaddr(Ruby runtime, ByteList val) Deprecated.static jnr.constants.platform.AddressFamilySockaddr.getAddressFamilyFromSockaddr(ThreadContext context, ByteList val) static org.jcodings.EncodingEncodingUtils.getEncoding(ByteList str) static RubyStringEncodingUtils.newExternalStringWithEncoding(Ruby runtime, ByteList bytelist, org.jcodings.Encoding encoding) static voidEncodingUtils.rbStrBufCat(Ruby runtime, RubyString str, ByteList ptr) static voidEncodingUtils.rbStrBufCat(Ruby runtime, ByteList str, byte[] ptrBytes, int ptr, int len) intResize the destination, returning the new begin offset.static voidEncodingUtils.strBufCat(Ruby runtime, RubyString str, ByteList ptr) static voidstatic ByteListEncodingUtils.strConvEnc(ThreadContext context, ByteList value, org.jcodings.Encoding fromEncoding, org.jcodings.Encoding toEncoding) static ByteListEncodingUtils.strConvEncOpts(ThreadContext context, ByteList str, org.jcodings.Encoding fromEncoding, org.jcodings.Encoding toEncoding, int ecflags, IRubyObject ecopts) static <Data> booleanEncodingUtils.transcodeLoop(org.jcodings.transcode.EConv ec, EncodingUtils.TranscodeFallback<Data> fallbackFunc, ThreadContext context, Data fallbackData, byte[] inBytes, org.jcodings.Ptr inPos, byte[] outBytes, org.jcodings.Ptr outPos, int inStop, int outStop, ByteList destination, EncodingUtils.ResizeFunction resizeFunction) Perform the inner transcoding loop.static voidEncodingUtils.transcodeLoop(ThreadContext context, byte[] inBytes, org.jcodings.Ptr inPos, byte[] outBytes, org.jcodings.Ptr outPos, int inStop, int _outStop, ByteList destination, EncodingUtils.ResizeFunction resizeFunction, byte[] sname, byte[] dname, int ecflags, IRubyObject ecopts) Perform the inner transcoding loop.static RubyArraySockaddr.unpack_sockaddr_in(ThreadContext context, ByteList val)
RubyEncoding.decodeRaw(ByteList)