Searched defs:length (Results 1 - 25 of 317) sorted by relevance

1234567891011>>

/forgerock/web-agents-v4/pcre/
H A Dpcre_valid_utf8.c99 length length of string, or -1 if the string is zero-terminated
107 PRIV(valid_utf)(PCRE_PUCHAR string, int length, int *erroroffset) argument
112 if (length < 0)
115 length = (int)(p - string);
118 for (p = string; length-- > 0; p++)
138 if (length < ab)
141 return ab - length; /* Codes ERR1 to ERR5 */
143 length -= ab; /* Length remaining */
153 /* For each length, chec
[all...]
H A Dpcre_byte_order.c113 int length; local
165 length = re->name_count * re->name_entry_size;
174 while (length-- > 0)
197 length = 0;
270 length = PRIV(OP_lengths)[*ptr] - 1;
277 length = 0;
297 length = (GET(ptr, -LINK_SIZE)) - (1 + LINK_SIZE + 1);
307 length -= 32/sizeof(pcre_uchar);
/forgerock/authenticator-ios-v2/ForgeRock-Authenticator/
H A Dbase32.c52 * A count of length of the decoded string
107 * length - The number of characters in 'data'
112 * A count of length of the encoded string
115 int base32_encode(const uint8_t *data, int length, char *result, int bufSize) { argument
119 if (length < 0 || length > (1 << 28)) {
123 if (length > 0) {
128 while (count < bufSize && (bitsLeft > 0 || next < length)) {
130 if (next < length) {
/forgerock/openam-v13/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/authnsvc/protocol/
H A DTruncationTransform.java57 * Constructs <code>TruncationTransform</code> object with length.
58 * @param length all subsequent characters after the length will be
61 public TruncationTransform(int length) { argument
63 Parameter parameter = new Parameter(Parameter.NAME_LENGTH, "" +length);
97 int length = Integer.parseInt(parameter.getValue());
98 if (length < password.length() && length >= 0) {
99 return password.substring(0, length);
[all...]
/forgerock/openam/openam-federation/openam-federation-library/src/main/java/com/sun/identity/liberty/ws/authnsvc/protocol/
H A DTruncationTransform.java57 * Constructs <code>TruncationTransform</code> object with length.
58 * @param length all subsequent characters after the length will be
61 public TruncationTransform(int length) { argument
63 Parameter parameter = new Parameter(Parameter.NAME_LENGTH, "" +length);
97 int length = Integer.parseInt(parameter.getValue());
98 if (length < password.length() && length >= 0) {
99 return password.substring(0, length);
[all...]
/forgerock/opendj-b2.6/src/server/org/opends/server/protocols/asn1/
H A DByteSequenceOutputStream.java84 * Gets the length of the underlying byte string builder.
86 * @return The length of the underlying byte string builder.
88 int length() { method in class:ByteSequenceOutputStream
89 return buffer.length();
/forgerock/opendj-b2.6/src/server/org/opends/server/util/
H A DBSDMD5Crypt.java55 private static String intTo64(int value, int length) argument
59 while (--length >= 0)
71 for (int i = 0; i < bytes.length; i++)
95 while (salt.length() < saltLength)
97 int index = (int) (randomGenerator.nextFloat() * itoa64.length());
127 salt = salt.substring(magic.length());
137 if (salt.length() > saltLength)
161 for (int pl = password.length(); pl > 0; pl -= 16)
170 for (int i = password.length(); i != 0; i >>= 1)
270 if ((argv.length <
[all...]
/forgerock/opendj2/src/server/org/opends/server/protocols/asn1/
H A DByteSequenceOutputStream.java83 * Gets the length of the underlying byte string builder.
85 * @return The length of the underlying byte string builder.
87 int length() { method in class:ByteSequenceOutputStream
88 return buffer.length();
/forgerock/opendj-b2.6/src/guitools/org/opends/guitools/controlpanel/ui/components/
H A DNumericLimitedSizeDocumentFilter.java63 if (newText.length() > maxSize)
67 if (newText.length() + previousLength > maxSize)
69 if (offset + newText.length() > maxSize)
71 int newOffset = offset + newText.length() - maxSize;
78 fb.remove(maxSize, newText.length() + previousLength - maxSize);
92 int length, String text, AttributeSet attr)
95 if (length > 0)
97 fb.remove(offset, length);
91 replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attr) argument
H A DTimeDocumentFilter.java67 int length)
70 String text = fb.getDocument().getText(offset, length);
74 fb.remove(offset, length);
83 if (index < length - 1)
85 fb.remove(offset + index + 1, length - index -1);
95 int length, String text, AttributeSet attr)
100 String t = fb.getDocument().getText(offset, length);
102 fb.replace(offset, length, text.replaceAll("[^0-9]", ""), attr);
125 if ((index != -1) && (newText.length() == 1))
127 int minuteLength = allText.length()
66 remove(DocumentFilter.FilterBypass fb, int offset, int length) argument
94 replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attr) argument
[all...]
/forgerock/opendj2/src/guitools/org/opends/guitools/controlpanel/ui/components/
H A DNumericLimitedSizeDocumentFilter.java62 if (newText.length() > maxSize)
66 if (newText.length() + previousLength > maxSize)
68 if (offset + newText.length() > maxSize)
70 int newOffset = offset + newText.length() - maxSize;
77 fb.remove(maxSize, newText.length() + previousLength - maxSize);
91 int length, String text, AttributeSet attr)
94 if (length > 0)
96 fb.remove(offset, length);
90 replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attr) argument
H A DTimeDocumentFilter.java66 int length)
69 String text = fb.getDocument().getText(offset, length);
73 fb.remove(offset, length);
82 if (index < length - 1)
84 fb.remove(offset + index + 1, length - index -1);
94 int length, String text, AttributeSet attr)
99 String t = fb.getDocument().getText(offset, length);
101 fb.replace(offset, length, text.replaceAll("[^0-9]", ""), attr);
124 if ((index != -1) && (newText.length() == 1))
126 int minuteLength = allText.length()
65 remove(DocumentFilter.FilterBypass fb, int offset, int length) argument
93 replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attr) argument
[all...]
/forgerock/opendj2/src/server/org/opends/server/replication/protocol/
H A DEntryMsg.java53 this(serverID, destination, entryBytes, 0, entryBytes.length, msgId);
63 * @param length Number of array elements to be copied.
67 int length, int msgId)
70 this.entryByteArray = new byte[length];
71 System.arraycopy(entryBytes, startPos, this.entryByteArray, 0, length);
66 EntryMsg(int serverID, int destination, byte[] entryBytes, int startPos, int length, int msgId) argument
/forgerock/opendj2/src/server/org/opends/server/util/
H A DBSDMD5Crypt.java58 private static String intTo64(int value, int length) argument
62 while (--length >= 0)
89 while (salt.length() < saltLength)
91 int index = (int) (randomGenerator.nextFloat() * itoa64.length());
122 salt = salt.substring(magic.length());
132 if (salt.length() > saltLength)
156 for (int pl = password.length(); pl > 0; pl -= 16)
165 for (int i = password.length(); i != 0; i >>= 1)
266 if ((argv.length < 1) || (argv.length >
[all...]
/forgerock/opendj2.6.2/src/server/org/opends/server/protocols/asn1/
H A DByteSequenceOutputStream.java84 * Gets the length of the underlying byte string builder.
86 * @return The length of the underlying byte string builder.
88 int length() { method in class:ByteSequenceOutputStream
89 return buffer.length();
/forgerock/opendj2.6.2/src/server/org/opends/server/util/
H A DBSDMD5Crypt.java55 private static String intTo64(int value, int length) argument
59 while (--length >= 0)
71 for (int i = 0; i < bytes.length; i++)
95 while (salt.length() < saltLength)
97 int index = (int) (randomGenerator.nextFloat() * itoa64.length());
127 salt = salt.substring(magic.length());
137 if (salt.length() > saltLength)
161 for (int pl = password.length(); pl > 0; pl -= 16)
170 for (int i = password.length(); i != 0; i >>= 1)
270 if ((argv.length <
[all...]
/forgerock/opendj2.6.2/src/guitools/org/opends/guitools/controlpanel/ui/components/
H A DNumericLimitedSizeDocumentFilter.java63 if (newText.length() > maxSize)
67 if (newText.length() + previousLength > maxSize)
69 if (offset + newText.length() > maxSize)
71 int newOffset = offset + newText.length() - maxSize;
78 fb.remove(maxSize, newText.length() + previousLength - maxSize);
92 int length, String text, AttributeSet attr)
95 if (length > 0)
97 fb.remove(offset, length);
91 replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attr) argument
H A DTimeDocumentFilter.java67 int length)
70 String text = fb.getDocument().getText(offset, length);
74 fb.remove(offset, length);
83 if (index < length - 1)
85 fb.remove(offset + index + 1, length - index -1);
95 int length, String text, AttributeSet attr)
100 String t = fb.getDocument().getText(offset, length);
102 fb.replace(offset, length, text.replaceAll("[^0-9]", ""), attr);
125 if ((index != -1) && (newText.length() == 1))
127 int minuteLength = allText.length()
66 remove(DocumentFilter.FilterBypass fb, int offset, int length) argument
94 replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attr) argument
[all...]
/forgerock/opendj2-hg/src/guitools/org/opends/guitools/controlpanel/ui/components/
H A DNumericLimitedSizeDocumentFilter.java62 if (newText.length() > maxSize)
66 if (newText.length() + previousLength > maxSize)
68 if (offset + newText.length() > maxSize)
70 int newOffset = offset + newText.length() - maxSize;
77 fb.remove(maxSize, newText.length() + previousLength - maxSize);
91 int length, String text, AttributeSet attr)
94 if (length > 0)
96 fb.remove(offset, length);
90 replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attr) argument
H A DTimeDocumentFilter.java66 int length)
69 String text = fb.getDocument().getText(offset, length);
73 fb.remove(offset, length);
82 if (index < length - 1)
84 fb.remove(offset + index + 1, length - index -1);
94 int length, String text, AttributeSet attr)
99 String t = fb.getDocument().getText(offset, length);
101 fb.replace(offset, length, text.replaceAll("[^0-9]", ""), attr);
124 if ((index != -1) && (newText.length() == 1))
126 int minuteLength = allText.length()
65 remove(DocumentFilter.FilterBypass fb, int offset, int length) argument
93 replace(DocumentFilter.FilterBypass fb, int offset, int length, String text, AttributeSet attr) argument
[all...]
/forgerock/opendj2-jel-hg/src/server/org/opends/server/protocols/asn1/
H A DByteSequenceOutputStream.java84 * Gets the length of the underlying byte string builder.
86 * @return The length of the underlying byte string builder.
88 int length() { method in class:ByteSequenceOutputStream
89 return buffer.length();
/forgerock/opendj2-jel-hg/src/server/org/opends/server/util/
H A DBSDMD5Crypt.java55 private static String intTo64(int value, int length) argument
59 while (--length >= 0)
71 for (int i = 0; i < bytes.length; i++)
95 while (salt.length() < saltLength)
97 int index = (int) (randomGenerator.nextFloat() * itoa64.length());
127 salt = salt.substring(magic.length());
137 if (salt.length() > saltLength)
161 for (int pl = password.length(); pl > 0; pl -= 16)
170 for (int i = password.length(); i != 0; i >>= 1)
270 if ((argv.length <
[all...]
/forgerock/opendj2-hg/src/server/org/opends/server/protocols/asn1/
H A DByteSequenceOutputStream.java83 * Gets the length of the underlying byte string builder.
85 * @return The length of the underlying byte string builder.
87 int length() { method in class:ByteSequenceOutputStream
88 return buffer.length();
/forgerock/opendj2-hg/src/server/org/opends/server/replication/protocol/
H A DEntryMsg.java53 this(serverID, destination, entryBytes, 0, entryBytes.length, msgId);
63 * @param length Number of array elements to be copied.
67 int length, int msgId)
70 this.entryByteArray = new byte[length];
71 System.arraycopy(entryBytes, startPos, this.entryByteArray, 0, length);
66 EntryMsg(int serverID, int destination, byte[] entryBytes, int startPos, int length, int msgId) argument
/forgerock/opendj2-hg/src/server/org/opends/server/util/
H A DBSDMD5Crypt.java58 private static String intTo64(int value, int length) argument
62 while (--length >= 0)
89 while (salt.length() < saltLength)
91 int index = (int) (randomGenerator.nextFloat() * itoa64.length());
122 salt = salt.substring(magic.length());
132 if (salt.length() > saltLength)
156 for (int pl = password.length(); pl > 0; pl -= 16)
165 for (int i = password.length(); i != 0; i >>= 1)
266 if ((argv.length < 1) || (argv.length >
[all...]

Completed in 302 milliseconds

1234567891011>>