Searched refs:length (Results 1 - 25 of 141) sorted by relevance

123456

/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/misc/
H A DThrowableUtil.java64 throwableStack.length + threadStack.length - offset];
66 System.arraycopy(throwableStack, 0, stack, 0, throwableStack.length);
68 System.arraycopy(threadStack, offset, stack, throwableStack.length,
69 threadStack.length - offset);
H A DArrayUtil.java33 int length = 0;
35 length += array.length;
39 T[] dest = (T[])Array.newInstance(clazz, length);
43 System.arraycopy(array, 0, dest, offset, array.length);
44 offset += array.length;
89 T[] to = (T[])Array.newInstance(toClass, from.length);
90 for (int i = 0; i < from.length; i++) {
97 for (int i = 0; i < array.length; i++) {
106 for (int i = 0; i < array.length;
[all...]
H A DTextUtil.java61 * Returns a random alpha {@code String} with length between {@code minLen}
66 int length = (int)(Math.random() * (maxLen - minLen + 1)) + minLen;
67 for (int j = 0; j < length; j++) {
136 * if the length of the word is greater than
154 int w = width - indent.length();
159 for (int i = 0; text.length() > 0; i++) {
185 w = width - indent.length();
215 for (int i = 0; i < list.length; i++) {
228 Byte[] array = new Byte[list.length];
229 for (int i = 0; i < array.length;
[all...]
H A DUIDebugUtil.java53 if (components.length > 0) {
55 for (int i = 0; i < components.length; i++) {
H A DArrayIterator.java53 return index < array.length;
H A DFileUtil.java42 while ((n = in.read(buffer, 0, buffer.length)) != -1) {
H A DLibraryUtil.java159 if (root != null && root.length() > 0) {
162 String[] npaths = new String[paths.length * 2];
163 for (int i = 0; i < paths.length; i++) {
165 npaths[i + paths.length] = paths[i];
/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/swing/layout/
H A DAbstractLayout.java77 weights = new float[sizes.length];
81 if (sizes.length != weights.length) {
83 "sizes (%d) and weights (%d) arrays differ in length",
84 sizes.length, weights.length));
97 return sizes.length;
161 int length = set.getCount();
164 for (int i = 0; i < length; i++) {
173 for (int i = 0; i < length;
[all...]
H A DUniformLayout.java143 int[] widths = new int[comps.length];
144 int[] gaps = new int[comps.length];
148 for (int i = 0; i < comps.length; i++) {
167 float[] weights = new float[gaps.length];
168 for (int i = 1; i < comps.length; i++) {
180 for (int i = 0; i < comps.length; i++) {
206 width += components.length * size.width +
207 (components.length - 1) * getGap();
212 height += components.length * size.height +
213 (components.length
[all...]
/solaris-userland-s11u3/components/visual-panels/firewall/src/java/vpanels/app/firewall/com/oracle/solaris/vp/panels/firewall/client/swing/
H A DHostMaskFormatter.java49 public void replace(FilterBypass fb, int offset, int length, argument
53 super.replace(fb, offset, length, text, attr);
66 String newText = getReplaceString(curText, offset, length, text);
71 if (newText.length() > MAX_HNAME_LENGTH)
75 fb.replace(offset, length, text, attr);
H A DIPMaskFormatter.java43 private static final int MAX_CHAR_COUNT = netPlaceholder.length();
55 public void remove(FilterBypass fb, int offset, int length) argument
59 String remText = curText.substring(offset, offset + length);
67 fb.remove(offset, length);
77 public void replace(FilterBypass fb, int offset, int length, argument
81 fb.replace(offset, length, text, attr);
91 clearSpace(fb, offset, length, text);
94 String newText = getReplaceString(curText, offset, length, text);
99 if (newText.length() > MAX_CHAR_COUNT ||
104 fb.replace(offset, length, tex
[all...]
H A DPortFormatter.java54 public void replace(FilterBypass fb, int offset, int length, argument
58 super.replace(fb, offset, length, text, attr);
71 String nText = getReplaceString(cText, offset, length, text);
76 if (nText.length() > MAX_CHAR_COUNT ||
81 fb.replace(offset, length, text, attr);
/solaris-userland-s11u3/components/visual-panels/coreadm/src/java/vpanels/app/coreadm/com/oracle/solaris/vp/panels/coreadm/client/swing/path/
H A DPathDocument.java55 if (token.length() > MAX_TOKEN_LENGTH) {
56 MAX_TOKEN_LENGTH = token.length();
107 int insLength = str.length();
133 int cLength = result.token.length();
142 sOffset = start + result.index + result.token.length();
151 public void remove(int offset, int length) throws BadLocationException { argument
159 length += offset - sOffset;
164 element = getCharacterElement(offset + length - 1);
166 length = element.getEndOffset() - offset;
169 super.remove(offset, length);
[all...]
/solaris-userland-s11u3/components/visual-panels/coreadm/src/java/vpanels/app/coreadm/com/oracle/solaris/vp/panels/coreadm/client/swing/
H A DCoreUtil.java72 for (int i = 0; i < chars.length; i++) {
73 if (i != chars.length - 1 && chars[i] == '%') {
112 PathElement[] result = new PathElement[elements.length];
114 for (int e = 0; e < elements.length; e++) {
116 if (bits.length == 1) {
127 pos += b.length();
128 if (pos < chars.length) {
/solaris-userland-s11u3/components/visual-panels/usermgr/src/java/vpanels/app/usermgr/com/oracle/solaris/vp/panels/usermgr/client/swing/
H A DUserMgrUtils.java53 if (username.length() == 0) {
143 return (userdesc.length() <= 0 || !userdesc.matches(".*[:&\\n]+.*"));
159 return (homedir.length() >= VALID_HOMEDIRLEN &&
166 for (int i = 0; i < comps.length; i++) {
170 for (int j = 0; j < buttons.length; j++) {
/solaris-userland-s11u3/components/ruby/puppet/files/solaris/lib/puppet/type/
H A Ddns.rb49 if @should.length == 1
89 if @should.length == 1
116 if @should.length == 1
152 if @should.length == 1
173 if data.length == 1
176 elsif data.length == 2
/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/cli/
H A DPosixOptionFormatter.java52 for (int i = 0; i < opts.length; i++) {
65 if (opt.length() == 1) {
/solaris-userland-s11u3/components/visual-panels/core/src/java/vpanels/panel/com/oracle/solaris/vp/panel/common/api/auth/
H A DPrincipalHintList.java43 this.hints = Arrays.copyOf(hints, hints.length);
51 return Arrays.copyOf(hints, hints.length);
/solaris-userland-s11u3/components/visual-panels/core/src/java/vpanels/panel/com/oracle/solaris/vp/panel/common/control/
H A DNavigationErrorHandler.java56 if (last.length == current.size()) {
58 for (int i = 0; i < last.length; i++) {
/solaris-userland-s11u3/components/jansson/doc/html/_static/
H A Ddoctools.js25 for (var i = 0; i < names.length; ++i)
52 for (var i = 0; i < parts.length; i++) {
76 span.appendChild(document.createTextNode(val.substr(pos, text.length)));
78 document.createTextNode(val.substr(pos + text.length)),
169 if (terms.length) {
171 if (!body.length) {
194 $(this).attr('src', src.substr(0, src.length-9) + 'plus.png');
196 $(this).attr('src', src.substr(0, src.length-8) + 'minus.png');
229 return path.substring(url.lastIndexOf('/') + 1, path.length - 1);
/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/swing/
H A DSettingsToolBar.java100 for (int i = 0; i < comps.length; i++) {
119 setVisible(comps.length > 1 || (comps.length == 1 &&
/solaris-userland-s11u3/components/openssh/sources/
H A Dkexgsss.c161 recv_tok.length = slen;
172 recv_tok.length = slen;
185 if (maj_status != GSS_S_COMPLETE && send_tok.length == 0)
186 fatal("Zero length token output when incomplete");
194 packet_put_string(send_tok.value, send_tok.length);
201 if (send_tok.length > 0) {
203 packet_put_string(send_tok.value, send_tok.length);
273 gssbuf.length = hashlen;
280 packet_put_string(msg_tok.value, msg_tok.length);
282 if (send_tok.length !
[all...]
/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/swing/time/
H A DYearTableModel.java74 for (int r = 0; r < months.length; r++) {
76 for (int c = 0; c < row.length; c++) {
78 row[c].add(Calendar.MONTH, r * row.length + c - offset);
/solaris-userland-s11u3/components/visual-panels/core/src/java/util/com/oracle/solaris/vp/util/misc/finder/
H A DItemFinder.java88 for (int i = stack.length - 2; i >= 0; i--) {
/solaris-userland-s11u3/components/net-snmp/sun/agent/modules/healthMonitor/
H A Dkr_memory.c136 int length = 0; local
142 length = strlen(cache_name) - 1;
144 length = 256;
156 if (strncmp(ksp->ks_name, cache_name, length) != 0)

Completed in 2820 milliseconds

123456