Home
last modified time | relevance | path

Searched refs:length (Results 1 – 25 of 74) sorted by path

123

/dokuwiki/inc/HTTP/
H A DHTTPClient.php323 throw new HTTPClientException('Reported content length exceeds allowed response size');
324 else $this->error = 'Reported content length exceeds allowed response size';
428 isset($this->resp_headers['content-length']) &&
436 // read up to the content-length or max_bodysize
441 $this->max_bodysize < $this->resp_headers['content-length']
443 $length = $this->max_bodysize + 1;
445 $length = $this->resp_headers['content-length'];
448 $r_body = $this->readData($socket, $length, 'response (content-length limite
[all...]
/dokuwiki/inc/
H A DJpegMeta.php1036 $length = ord(fgetc($this->_fp)) * 256 + ord(fgetc($this->_fp));
1040 if ($length < 2) {
1043 $length = $length - 2; // The length we got counts itself
1057 $length = -1; // This field has no length... it includes all data until EOF
1067 $this->_markers[$count]['length'] = $length;
1070 if ($length)
1270 _writeJPEGMarker($marker, $length, & $data, $origLength) global() argument
3173 _getFixedString(& $data, $pos, $length = 1) global() argument
3199 _hexDump(& $data, $start = 0, $length = 1) global() argument
[all...]
H A Dauth.php400 * @param int $length number of bytes
406 function auth_randombytes($length)
408 return random_bytes($length);
340 auth_randombytes($length) global() argument
H A Dindexer.php18 // set the minimum token length to use in the index (note, this doesn't apply to numeric tokens)
54 * Measure the length of a string.
66 // So the "length" of a "word" is faked
295 foreach ($lengths as $length) {
296 $idx[] = (int)$length;
354 foreach ($lengths as $length) {
356 if ((int)$length >= (int)$filter)
357 $idx[] = $length;
H A Dinfoutils.php310 foreach ($lengths as $length) {
311 if (count(idx_getIndex('w', $length)) !== count(idx_getIndex('i', $length))) {
H A Dutf8.php100 function utf8_substr($str, $offset, $length = null)
103 return PhpString::substr($str, $offset, $length);
109 function utf8_substr_replace($string, $replacement, $start, $length = 0)
112 return PhpString::substr_replace($string, $replacement, $start, $length);
99 utf8_substr($str, $offset, $length = null) global() argument
108 utf8_substr_replace($string, $replacement, $start, $length = 0) global() argument
/dokuwiki/inc/Parsing/Lexer/
H A DLexer.php140 $length = $initialLength;
149 if ($currentLength === $length) {
152 $length = $currentLength;
/dokuwiki/inc/Search/
H A DIndexer.php762 * @param array $result Set to word => array("length*id" ...)
763 * @return array Set to length => array(id ...)
805 // $tokenlength = array( base word length => base word ... )
806 // $tokenwild = array( base word => base word length ... )
878 * @param int $minlen minimum length of words to count
918 foreach ($lengths as $length) {
919 if ($length < $minlen) continue;
920 $index = $this->getIndex('i', $length);
926 $words = $this->getIndex('w', $length);
1165 foreach ($lengths as $length) {
[all...]
/dokuwiki/inc/Utf8/
H A DPhpString.php72 * Return part of a string given character offset (and optionally length)
76 * @param int $length (optional) length in UTF-8 characters from offset
82 public static function substr($str, $offset, $length = null)
85 if ($length === null) {
89 return mb_substr($str, $offset, $length);
97 * offset and length, we'll repeat a group of 65535 characters when needed (ok, up to MAXINT-65536)
99 * substr documentation states false can be returned in some cases (e.g. offset > string length)
103 * we only carry it out when necessary. It isn't necessary for +ve offsets and no specified length
109 if ($length !
83 substr($str, $offset, $length = null) global() argument
190 substr_replace($string, $replacement, $start, $length = 0) global() argument
[all...]
/dokuwiki/lib/plugins/acl/
H A Dscript.js14 if (jQuery('#acl_manager').length === 0) {
85 for (var i = 0; i < all.length; i++) {
/dokuwiki/lib/plugins/extension/
H A Dscript.js28 if(!$lightbox.length){
55 extension = extension.substr(0, extension.length - 1);
97 if($details.length){
/dokuwiki/lib/plugins/logviewer/
H A Dscript.js6 if (!$dl.length) return;
/dokuwiki/lib/plugins/styling/
H A Dscript.js15 if (!$loader.length) {
46 if (!$styling_plugin.length) {
/dokuwiki/lib/scripts/
H A Dbehaviour.js74 if($obj.length) {
159 if (0 === $form.length) return;
195 if($checked.length < 2) {
219 if (!$checkDiv.length) return;
H A Dcookie.js66 for(i = 0; i < parts.length; i += 2){
H A Dedit.js182 return 7 - s.match(/^={2,6}/)[0].length;
205 if($dwform.length === 0) {
228 if ($editform.length == 0) {
233 if ($edit_text.length > 0) {
292 if ($edit_text.length > 0) {
H A Deditor.js18 if($editor.length === 0) {
44 if($ctl.length === 0 || $textarea.length === 0) {
170 var spaces = match[1].length-1;
H A Dfileuploader.js33 var len = arr.length;
171 var len = candidates.length;
223 for (var i = 0, len = obj.length; i < len; ++i){
383 for (var i=0; i<files.length; i++){
389 for (var i=0; i<files.length; i++){
446 if (name.length > 33){
455 if (!allowed.length){return true;}
457 for (var i=0; i<allowed.length; i++){
908 for (var i=0; i<this._queue.length; i++){
945 if (this._queue.length >
[all...]
H A Dhelpers.js8 * Supports negative start and length and omitting length, but not
12 function substr_replace(str, replace, start, length) { argument
14 a2 = (start < 0 ? str.length : 0) + start;
15 if (typeof length === 'undefined') {
16 length = str.length - a2;
17 } else if (length < 0 && start < 0 && length <= start) {
18 length
[all...]
H A Dhotkeys.js228 if (o.length !== undefined) {
230 for (n=0, l = o.length; n < l; n++) {
H A Dlinkwiz.js93 if($obj.length > 0){
138 if ($obj.length === 0) {
193 if(a.title == '' || a.title.substr(a.title.length-1) == ':'){
225 if(stxt.charAt(stxt.length - 1) == ' '){
240 var so = link.length;
244 so += dw_linkwiz.val.open.length;
254 eo = dw_linkwiz.val.close.length;
H A Dlocktimer.js32 if($edit.length === 0 || $edit.attr('readonly')) {
113 if(dw_locktimer.draft && jQuery('#dw__editform').find('textarea[name=wikitext]').length > 0){
136 if (data.errors.length) {
/dokuwiki/lib/scripts/jquery/
H A Djquery-ui.min.js6 !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(V){"use strict";V.ui=V.ui||{};V.ui.version="1.13.2";var n,i=0,a=Array.prototype.hasOwnProperty,r=Array.prototype.slice;V.cleanData=(n=V.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)(e=V._data(i,"events"))&&e.remove&&V(i).triggerHandler("remove");n(t)}),V.widget=function(t,i,e){var s,n,o,a={},r=t.split(".")[0],l=r+"-"+(t=t.split(".")[1]);return e||(e=i,i=V.Widget),Array.isArray(e)&&(e=V.extend.apply(null,[{}].concat(e))),V.expr.pseudos[l.toLowerCase()]=function(t){return!!V.data(t,l)},V[r]=V[r]||{},s=V[r][t],n=V[r][t]=function(t,e){if(!this||!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},V.extend(n,s,{version:e.version,_proto:V.extend({},e),_childConstructors:[]}),(o=new i).options=V.widget.extend({},o.options),V.each(e,function(e,s){function n(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}a[e]="function"==typeof s?function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=o,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}:s}),n.prototype=V.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||t},a,{constructor:n,namespace:r,widgetName:t,widgetFullName:l}),s?(V.each(s._childConstructors,function(t,e){var i=e.prototype;V.widget(i.namespace+"."+i.widgetName,n,e._proto)}),delete s._childConstructors):i._childConstructors.push(n),V.widget.bridge(t,n),n},V.widget.extend=function(t){for(var e,i,s=r.call(arguments,1),n=0,o=s.length;n<o;n++)for(e in s[n])i=s[n][e],a.call(s[n],e)&&void 0!==i&&(V.isPlainObject(i)?t[e]=V.isPlainObject(t[e])?V.widget.extend({},t[e],i):V.widget.extend({},i):t[e]=i);return t},V.widget.bridge=function(o,e){var a=e.prototype.widgetFullName||o;V.fn[o]=function(i){var t="string"==typeof i,s=r.call(arguments,1),n=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=V.data(this,a);return"instance"===i?(n=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?V.error("no such method '"+i+"' for "+o+" widget instance"):(t=e[i].apply(e,s))!==e&&void 0!==t?(n=t&&t.jquery?n.pushStack(t.get()):t,!1):void 0:V.error("cannot call methods on "+o+" prior to initialization; attempted to call method '"+i+"'")}):n=void 0:(s.length&&(i=V.widget.extend.apply(null,[i].concat(s))),this.each(function(){var t=V.data(this,a);t?(t.option(i||{}),t._init&&t._init()):V.data(this,a,new e(i,this))})),n}},V.Widget=function(){},V.Widget._childConstructors=[],V.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=V(e||this.defaultElement||this)[0],this.element=V(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=V(),this.hoverable=V(),this.focusable=V(),this.classesElementLookup={},e!==this&&(V.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=V(e.style?e.ownerDocument:e.document||e),this.window=V(this.document[0].defaultView||this.document[0].parentWindow)),this.options=V.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:V.noop,_create:V.noop,_init:V.noop,destroy:function(){var i=this;this._destroy(),V.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:V.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return V.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=V.widget.extend({},this.options[t]),n=0;n<i.length-1;n++)s[i[n]]=s[i[n]]||{},s=s[i[n]];if(t=i.pop(),1===arguments.length)return void 0===s[t]?null:s[t];s[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];o[t]=e}return this._setOptions(o),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,s;for(e in t)s=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&s&&s.length
[all...]
H A Djquery.cookie.js85 for (var i = 0, l = cookies.length; i < l; i++) {
H A Djquery.min.js2 !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],r=Object.getPrototypeOf,s=t.slice,g=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},u=t.push,i=t.indexOf,n={},o=n.toString,y=n.hasOwnProperty,a=y.toString,l=a.call(Object),v={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},x=function(e){return null!=e&&e===e.window},E=C.document,c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.6.4",S=function(e,t){return new S.fn.init(e,t)};function p(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:f,constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(n){return this.pushStack(S.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(S.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||m(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)r=e[t],"__proto__"!==t&&a!==r&&(l&&r&&(S.isPlainObject(r)||(i=Array.isArray(r)))?(n=a[t],o=i&&!Array.isArray(n)?[]:i||S.isPlainObject(n)?n:{},i=!1,a[t]=S.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},S.extend({expando:"jQuery"+(f+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==o.call(e))&&(!(t=r(e))||"function"==typeof(n=y.call(t,"constructor")&&t.constructor)&&a.call(n)===l)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){b(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,r=0;if(p(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(p(Object(e))?S.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:i.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length
[all...]

123