code stringlengths 2 1.05M | repo_name stringlengths 5 114 | path stringlengths 4 991 | language stringclasses 1 value | license stringclasses 15 values | size int32 2 1.05M |
|---|---|---|---|---|---|
(function() {
'use strict';
angular.module('linagora.esn.graceperiod')
.factory('gracePeriodRestangularService', function(Restangular) {
return Restangular.withConfig(function(RestangularConfigurer) {
RestangularConfigurer.setBaseUrl('/graceperiod/api');
RestangularConfigurer.setFullResponse(true);
});
});
})();
| heroandtn3/openpaas-esn | modules/linagora.esn.graceperiod/frontend/js/grace-period-restangular.service.js | JavaScript | agpl-3.0 | 356 |
'use strict';
define([
'jquery',
'underscore',
'locale/i18n',
'view/item-view',
'text!template/groups/group-popup-add-view.html'
], function ($, _, i18n, ItemView, editTemplate) {
var GroupPopupAddView = ItemView.extend({
className: 'modal fade in',
attributes: {style: 'display:none'},
template: _.template(editTemplate),
events: {
'change [data-field]': 'onFieldChanged',
'keyup input:text[data-field]': 'onFieldChanged',
'cut input:text[data-field]': 'onFieldChanged',
'paste input:text[data-field]': 'onFieldChanged',
'click [data-action="submit"]': 'onSubmit'
},
modelEvents: {
'invalid': 'onInvalid'
},
ui: {
alert: '.alert',
controls: '[data-field]',
btnSave: '[data-action="submit"]'
},
onShow: function(){
this.$el.modal('show');
},
onClose: function(){
this.$el.modal('hide');
},
onRender: function(){
this.setInvalidFields();
this.updateSaveBtn();
this.applyModelParams();
},
setInvalidFields: function(){
var fields = this.getFieldsValues(),
errors = this.model.validate(fields),
result = {};
_.each(errors && errors.fieldErrors, function(msg, field){
result[field] = true;
});
this.invalidFields = result;
},
getFieldsValues: function(){
var fields = {};
this.ui.controls.each(function(){
var $control = $(this),
field = $control.attr('data-field');
fields[field] = $control.val().trim();
});
return fields;
},
/**
* Shows errors if model changing failed
*/
onInvalid: function(){
this.putErrors(this.model.validationError);
},
onSubmit: function(){
var attrs = this.getFieldsValues();
if (this.model.set(attrs)) {
var self = this,
errorsHandler = _.bind(this.putErrors, this),
xhr = this.model.save(attrs,{
wait: true,
fieldErrorsHandler: errorsHandler,
globalErrorsHandler: errorsHandler,
disableControls: this.ui.btnSave
});
if (xhr) {
xhr.done(function(){
self.onClose();
});
}
}
},
/**
* Validates field's value when it is changed
* @param {Event} e
*/
onFieldChanged: function(e){
var $control = $(e.target),
field = $control.attr('data-field'),
fields = {};
fields[field] = $control.val().trim();
var errors = this.model.validate(fields);
this.putError(field, $control, errors);
},
/**
* Puts or clears error message
* @param {String} field
* @param {$} $control
* @param {ErrorModel} errors
*/
putError: function(field, $control, errors){
errors = errors || {};
errors.fieldErrors = errors.fieldErrors || {};
var msg = errors.fieldErrors[field];
$control.closest('.control-group').toggleClass('error', !!msg)
.find('.help-block').text(msg || '');
this.invalidFields[field] = !!msg;
this.updateSaveBtn();
},
/**
* Enables/disables button depending on errors presence
*/
updateSaveBtn: function(){
this.ui.btnSave.attr('disabled', this.hasInvalidFields());
},
hasInvalidFields: function(){
return _.compact(_.values(this.invalidFields)).length > 0;
},
/**
* Puts errors to UI
* @param {ErrorModel} errors
*/
putErrors: function(errors){
errors = errors || {};
errors.globalErrors = errors.globalErrors || [];
this.ui.alert.toggle(errors.globalErrors.length > 0)
.toggleClass('error', errors.globalErrors.length > 0)
.text( errors.globalErrors.join(', ') );
var self = this;
this.ui.controls.each(function(){
var $control = $(this),
field = $control.attr('data-field');
self.putError(field, $control, errors);
});
},
applyModelParams: function(){
var fields = this.model.modelParams.fields;
_.each(fields, function(field, fieldName){
var $control = this.ui.controls.filter('[data-field="' + fieldName + '"]'),
$label = $control.closest('.control-group').children('label');
$control.add($label).attr('required', !!field.required);
if ($control.is('input') && field.maxLength) {
$control.attr('maxlength', +field.maxLength);
}
}, this);
}
});
return GroupPopupAddView;
});
| hflabs/perecoder | rcd-web/src/main/javascript/app/view/groups/group-popup-add-view.js | JavaScript | agpl-3.0 | 5,378 |
/* Module-specific javascript can be placed here */
$(document).ready(function() {
$('#DiagnosisSelection_principal_diagnosis_0').keydown(function(event){
if(event.keyCode == 13) {
event.preventDefault();
return false;
}
});
handleButton($('#et_save'),function() {
});
handleButton($('#et_print'),function(e) {
e.preventDefault();
printEvent(null);
});
handleButton($('#et_cancel'),function(e) {
if (m = window.location.href.match(/\/update\/[0-9]+/)) {
window.location.href = window.location.href.replace('/update/','/view/');
} else {
window.location.href = baseUrl+'/patient/episodes/'+et_patient_id;
}
e.preventDefault();
});
$('#sample_result').on('click','tr.clickable', function(){
window.location.href = $(this).data('uri');
});
handleButton($('#et_deleteevent'));
handleButton($('#et_canceldelete'),function(e) {
if (m = window.location.href.match(/\/delete\/[0-9]+/)) {
window.location.href = window.location.href.replace('/delete/','/view/');
} else {
window.location.href = baseUrl+'/patient/episodes/'+et_patient_id;
}
e.preventDefault();
});
$('#search_dna_sample').click(function(e) {
e.preventDefault();
var query = $.param( $('#searchform').serializeArray() );
window.location.href = baseUrl+'/OphInDnasample/search/dnaSample?date-from='+$('#date-from').val()+'&genetics_patient_id=' + $('#genetics_patient_id').val() + '&genetics_pedigree_id=' + $('#genetics_pedigree_id').val() + '&date-to='+$('#date-to').val()+'&sample-type='+$('#sample-type').val()+'&comment='+$('#comment').val()+'&disorder-id='+$('#savedDiagnosis').val() + '&first_name=' + $('#first_name').val() + '&last_name=' + $('#last_name').val() + '&maiden_name='+ $('#maiden_name').val() + '&hos_num=' + $('#hos_num').val() + '&search=search&sample_id=' + $("#sample_id").val();
});
$('select.populate_textarea').unbind('change').change(function() {
if ($(this).val() != '') {
var cLass = $(this).parent().parent().parent().attr('class').match(/Element.*/);
var el = $('#'+cLass+'_'+$(this).attr('id'));
var currentText = el.text();
var newText = $(this).children('option:selected').text();
if (currentText.length == 0) {
el.text(ucfirst(newText));
} else {
el.text(currentText+', '+newText);
}
}
});
(function addNewTest() {
var html = $('#add-new-test-template').html();
var dialog = new OpenEyes.UI.Dialog({
destroyOnClose: false,
title: 'Add a new test',
content: html,
dialogClass: 'dialog event add-event',
width: 580,
id: 'add-new-test-dialog'
});
$('#et_add_test').click(function() {
dialog.open();
});
}());
$('#Element_OphInDnasample_Sample_type_id').on('change',function(){
if( $(this).val() == 4 ){ //as 'other'
$('#div_Element_OphInDnasample_Sample_other_sample_type').slideDown();
}
else{
$('#div_Element_OphInDnasample_Sample_other_sample_type').slideUp();
$('#Element_OphInDnasample_Sample_other_sample_type').val('');
}
});
//invode datepicker on ajax inputs
$('.transactions').on('click', '.dna-hasDatepicker', function(){
$(this).datepicker({
maxDate: 'today',
dateFormat: 'd M yy'
});
$(this).datepicker("show");
});
});
function ucfirst(str) { str += ''; var f = str.charAt(0).toUpperCase(); return f + str.substr(1); }
function eDparameterListener(_drawing) {
if (_drawing.selectedDoodle != null) {
// handle event
}
}
| FiviumAustralia/OpenEyes | protected/modules/OphInDnasample/assets/js/module.js | JavaScript | agpl-3.0 | 3,534 |
module.exports = parseUdpRequest
var bufferEqual = require('buffer-equal')
var ipLib = require('ip')
var common = require('../common')
function parseUdpRequest (msg, rinfo) {
if (msg.length < 16) throw new Error('received packet is too short')
var params = {
connectionId: msg.slice(0, 8), // 64-bit
action: msg.readUInt32BE(8),
transactionId: msg.readUInt32BE(12)
}
if (!bufferEqual(params.connectionId, common.CONNECTION_ID)) {
throw new Error('received packet with invalid connection id')
}
if (params.action === common.ACTIONS.CONNECT) {
// No further params
} else if (params.action === common.ACTIONS.ANNOUNCE) {
params.info_hash = msg.slice(16, 36).toString('hex') // 20 bytes
params.peer_id = msg.slice(36, 56).toString('hex') // 20 bytes
params.downloaded = fromUInt64(msg.slice(56, 64)) // TODO: track this?
params.left = fromUInt64(msg.slice(64, 72))
params.uploaded = fromUInt64(msg.slice(72, 80)) // TODO: track this?
params.event = common.EVENT_IDS[msg.readUInt32BE(80)]
if (!params.event) throw new Error('invalid event') // early return
var ip = msg.readUInt32BE(84) // optional
params.ip = ip
? ipLib.toString(ip)
: rinfo.address
params.key = msg.readUInt32BE(88) // Optional: unique random key from client
// never send more than MAX_ANNOUNCE_PEERS or else the UDP packet will get bigger than
// 512 bytes which is not safe
params.numwant = Math.min(
msg.readUInt32BE(92) || common.DEFAULT_ANNOUNCE_PEERS, // optional
common.MAX_ANNOUNCE_PEERS
)
params.port = msg.readUInt16BE(96) || rinfo.port // optional
params.addr = params.ip + ':' + params.port // TODO: ipv6 brackets
params.compact = 1 // udp is always compact
} else if (params.action === common.ACTIONS.SCRAPE) { // scrape message
if ((msg.length - 16) % 20 !== 0) throw new Error('invalid scrape message')
params.info_hash = []
for (var i = 0, len = (msg.length - 16) / 20; i < len; i += 1) {
var infoHash = msg.slice(16 + (i * 20), 36 + (i * 20)).toString('hex') // 20 bytes
params.info_hash.push(infoHash)
}
} else {
throw new Error('Invalid action in UDP packet: ' + params.action)
}
return params
}
var TWO_PWR_32 = (1 << 16) * 2
/**
* Return the closest floating-point representation to the buffer value. Precision will be
* lost for big numbers.
*/
function fromUInt64 (buf) {
var high = buf.readUInt32BE(0) | 0 // force
var low = buf.readUInt32BE(4) | 0
var lowUnsigned = (low >= 0) ? low : TWO_PWR_32 + low
return high * TWO_PWR_32 + lowUnsigned
}
| PeerBay/PeerSocial | node_modules/bittorrent-tracker/lib/server/parse-udp.js | JavaScript | agpl-3.0 | 2,625 |
/*
# Community Almanac - A place for your stories.
# Copyright (C) 2009 Douglas Mayle, Robert Marianski,
# Andy Cochran, Chris Patterson
# This file is part of Community Almanac.
# Community Almanac is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
# Community Almanac is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with Community Almanac. If not, see <http://www.gnu.org/licenses/>.
*/
// This gorgeous function originally written by Dan Phiffer (http://phiffer.org/)
function hrefToID(href) {
var start = href.indexOf('#');
if (start < 0) {
return '';
}
var length = href.length - start;
return href.substr(start + 1, length);
}
var nocacheURL = window.nocacheURL = function nocacheURL(url) {
var randomid=Math.random();
var randomval=Math.random();
if (url.indexOf('?') >= 0) {
return url + '&' + randomid + '=' + randomval;
} else {
return url + '?' + randomid + '=' + randomval;
}
}
function applyMapDisplaySideEffects(data) {
var geometryJson = data.geometry;
if (!geometryJson) {
return;
}
var map_id = data.map_id;
var formatter = new OpenLayers.Format.GeoJSON({
'internalProjection': new OpenLayers.Projection("EPSG:900913"),
'externalProjection': new OpenLayers.Projection("EPSG:4326")
});
var feature = formatter.read(geometryJson)[0];
var bounds = feature.geometry.getBounds();
var map = new OpenLayers.Map(map_id, {
projection: new OpenLayers.Projection('EPSG:900913'),
displayProjection: new OpenLayers.Projection('EPSG:4326'),
maxExtent: new OpenLayers.Bounds(-14323800, 2299000, -7376800, 7191400)
});
var navControl = map.getControlsByClass('OpenLayers.Control.Navigation')[0];
navControl.disableZoomWheel();
var baseLayer = new OpenLayers.Layer.Google('google', {sphericalMercator: true, type: G_PHYSICAL_MAP});
map.addLayer(baseLayer);
var featureLayer = new OpenLayers.Layer.Vector('features');
featureLayer.addFeatures([feature]);
map.addLayer(featureLayer);
map.zoomToExtent(bounds);
}
function applyMapEditSideEffects(data) {
if (!(data.lng && data.lat) && !data.geometry) {
return;
}
var Tooltip = OpenLayers.Class(OpenLayers.Control, {
initialize:function(options) {
// Support default options...
OpenLayers.Control.prototype.initialize.apply(this, [options]);
}
});
var featureLayer = new OpenLayers.Layer.Vector('feature');
var onActivate = function() { featureLayer.destroyFeatures(); };
var onPathActivate = function() {
featureLayer.destroyFeatures();
tooltipPath.activate();
}
var onPolyActivate = function() {
featureLayer.destroyFeatures();
tooltipPoly.activate();
}
var drawPoint = new OpenLayers.Control.DrawFeature(
featureLayer, OpenLayers.Handler.Point,
{'displayClass': 'olControlDrawFeaturePoint',
'eventListeners': {'activate': onActivate}});
var drawPath = new OpenLayers.Control.DrawFeature(
featureLayer, OpenLayers.Handler.Path,
{'displayClass': 'olControlDrawFeaturePath',
'eventListeners': {'activate': onPathActivate}});
var tooltipPath = new Tooltip({'displayClass': 'olControlTooltipPath'});
var tooltipPoly = new Tooltip({'displayClass': 'olControlTooltipPoly'});
var drawPolygon = new OpenLayers.Control.DrawFeature(
featureLayer, OpenLayers.Handler.Polygon,
{'displayClass': 'olControlDrawFeaturePolygon',
'eventListeners': {'activate': onPolyActivate}});
var deactivateAllEditingControls = function() {
drawPoint.deactivate();
drawPath.deactivate();
drawPolygon.deactivate();
tooltipPath.deactivate();
tooltipPoly.deactivate();
};
var featureAdded = function(evt) {
deactivateAllEditingControls();
var formatter = new OpenLayers.Format.GeoJSON({
'internalProjection': new OpenLayers.Projection("EPSG:900913"),
'externalProjection': new OpenLayers.Projection("EPSG:4326")
});
var str = formatter.write(evt.feature.geometry);
// the hidden input is expected to be right next to the map div
$('#' + data.map_id).next().val(str);
};
featureLayer.events.on({featureadded: featureAdded});
var panelControls = [
new OpenLayers.Control.Navigation({zoomWheelEnabled: false}),
new OpenLayers.Control.PanZoom(),
drawPoint,
drawPath,
drawPolygon,
tooltipPath,
tooltipPoly
];
var toolbar = new OpenLayers.Control.Panel({
displayClass: 'olControlEditingToolbar',
defaultControl: panelControls[0]
});
toolbar.addControls(panelControls);
var map_id = data.map_id;
map = new OpenLayers.Map(map_id, {
projection: new OpenLayers.Projection('EPSG:900913'),
displayProjection: new OpenLayers.Projection('EPSG:4326'),
maxExtent: new OpenLayers.Bounds(-14323800, 2299000, -7376800, 7191400)
});
var baseLayer = new OpenLayers.Layer.Google('google', {sphericalMercator: true, type: G_PHYSICAL_MAP});
map.addLayer(baseLayer);
map.addControl(toolbar);
// if this is an edit on an existing feature, we should displaly that feature too
if (data.geometry) {
var geometryJson = data.geometry;
var formatter = new OpenLayers.Format.GeoJSON({
'internalProjection': new OpenLayers.Projection("EPSG:900913"),
'externalProjection': new OpenLayers.Projection("EPSG:4326")
});
var feature = formatter.read(geometryJson)[0];
var bounds = feature.geometry.getBounds();
featureLayer.addFeatures([feature]);
map.addLayer(featureLayer);
map.zoomToExtent(bounds);
}
// otherwise we center on the almanac
else {
var lng = data.lng;
var lat = data.lat;
var center = new OpenLayers.LonLat(lng, lat);
map.addLayer(featureLayer);
center.transform(new OpenLayers.Projection('EPSG:4326'), map.getProjectionObject());
map.setCenter(center, 12);
}
}
function applyFileUploadEditSideEffects(data) {
if (!data.file_id || !data.file_upload_url) {
return;
}
var file_id = data.file_id;
var file_upload_url = data.file_upload_url;
var fileElt = $('#' + file_id);
var mediaItemActions = fileElt.nextAll('.media-item-actions');
var saveLink = mediaItemActions.find('.submit-upload-file');
var li = fileElt.closest('li');
var uploadStatus = fileElt.nextAll('.upload-status');
var onComplete = function(file, response) {
uploadStatus.text('Upload Complete!');
newli = $('<li></li>').append(response.html);
li.replaceWith(newli);
au.destroy();
applyFlowPlayerSideEffects(response);
};
var au = new AjaxUpload(file_id, {
action: file_upload_url,
name: 'userfile',
responseType: 'json',
autoSubmit: false,
onChange: function(file, extension) {
uploadStatus.text('Ready to upload: ' + file);
},
onSubmit: function(file, extension) {
uploadStatus.text('Uploading');
},
onComplete: onComplete
});
saveLink.click(function(e) {
e.preventDefault();
au.submit();
});
}
function applyFlowPlayerSideEffects(data) {
if (!data.flowplayer_id || !data.audio_url) {
return;
}
var flowplayerId = data.flowplayer_id;
var flowplayerAudioUrl = data.audio_url;
var flowplayerElt = $('#' + data.flowplayer_id);
if (flowplayerElt.length === 0) {
return;
}
// flowplayer doesn't work unless element is empty
flowplayerElt.empty();
$f(flowplayerId, '/js/flowplayer/flowplayer-3.1.1.swf', {
plugins: {
controls: {
fullscreen: false,
heigh: 30
},
audio: {
url: '/js/flowplayer/flowplayer.audio-3.1.0.swf'
}
},
clip: {
autoPlay: false
},
playlist: [{
url: flowplayerAudioUrl,
autoPlay: false
}]
});
}
function applyRichTextSideEffects(data) {
if (!data.textarea_id) {
return;
}
tinyMCE.execCommand('mceAddControl', false, data.textarea_id);
}
function applyDisplaySideEffects(data) {
applyMapDisplaySideEffects(data);
applyFlowPlayerSideEffects(data);
}
function applyEditSideEffects(data) {
applyMapEditSideEffects(data);
applyFileUploadEditSideEffects(data);
applyFlowPlayerSideEffects(data);
applyRichTextSideEffects(data);
}
$(document).ready(function() {
// add the title to the submit button form
$('#submit-button-form').submit(function() {
var title = $('#page-title').val();
var newinput = $('<input type="hidden" name="name" value="' + title + '" />');
newinput.appendTo($(this));
return true;
});
$('input[type=submit,disabled=disabled].disabled').click(function() {
return false;
});
// on pages, have the add a comment link unhide the form
// but only hide it if there are no validation errors
if ($("#comment-form .error-message").length == 0) {
$("#comment-form").hide();
} else {
$("#comment-form").show();
}
$("#comment-bttn, #comments .comment-link").click(function() {
$("#comment-form").slideDown("fast");
$("#comment-bttn, #comments .comment-link").slideUp("normal");
return false;
});
// and have the comment link submit the form itself
$('#comment-submit a.comment-link').click(function() {
$('#comment-form').submit();
return false;
});
// click on the sidebar publish/save button submits the form
$('#add-page-bttn a').click(function() {
var form = $('#submit-button-form');
if (form.length !== 0) {
form.submit();
return false;
}
return true;
});
// clicking on page title erases text already there
$('#page-title').focus(function() {
if ($(this).val() == "Page Name") {
$(this).val("");
}
}).blur(function() {
if ($(this).val() === "") {
$(this).val("Page Name");
} else {
// save the page name on blur if it's been set
if (window.pageNameEditUrl) {
var url = window.pageNameEditUrl;
$.post(url, {'name': $(this).val()});
}
}
});
// page title input on page create should be focused by default
$('#page-title').focus();
// display media maps from session or database
if (window.pageMapFeatures) {
for (var i = 0; i < pageMapFeatures.length; i++) {
var fn = function(i) {
var feature_data = pageMapFeatures[i];
applyMapDisplaySideEffects(feature_data);
};
fn(i);
}
}
// XXX we should have a structure similar to the above for flowplayer
if (window.flowplayerElts) {
for (var i = 0; i < flowplayerElts.length; i++) {
var fn = function(i) {
var flowplayerData = flowplayerElts[i];
applyFlowPlayerSideEffects(flowplayerData);
};
fn(i);
}
}
// add sortable behavior
if (window.sortUrl) {
$('ul.page-media-items').sortable({
update: function(event, ui) {
ui.item.parent().children().each(function(index) {
if (this == ui.item.get(0)) {
var content = $(this).find('div.mediacontent').get(0);
$.post(window.sortUrl, {id: content.id, index: index});
$(this).effect('bounce', {times: 2});
}
});
},
handle: 'div.media-tab'
});
}
// behavior when adding a media type
$('ul.page-media-tools li a').add('.mini-page-media-tools a').click(function(e) {
e.preventDefault();
var link = $(this);
var url = link.attr('href');
var formcontainer = $('<li></li>').appendTo($('ul.page-media-items'));
$.getJSON(nocacheURL(url), null, function(data) {
var html = data.html;
$(html).appendTo(formcontainer).hide().fadeIn('fast');
link.effect('transfer', {to: 'ul.page-media-items li:last'}, 1000);
$.scrollTo('ul.page-media-items li:last', {duration: 1000});
applyEditSideEffects(data);
});
});
// behavior when cancelling the edit of a new media item
$('form.add-media-item a.media-cancel').live('click', function(e) {
e.preventDefault();
$(this).closest('li').fadeOut('slow', function() {
$(this).remove();
});
});
// behavior when saving a new media item
$('form.add-media-item button.media-save').live('click', function(e) {
e.preventDefault();
var formcontainer = $(this).closest('li');
var form = formcontainer.find('form');
var url = form.attr('action');
var data = form.serialize();
/* Dynamic add/removing of TinyMCE means we need to clean up after ourselfs. */
if (form.find('textarea').length) {
tinyMCE.triggerSave();
tinyMCE.execCommand('mceRemoveControl', false, form.find('textarea').attr('id'));
}
$.ajax({
contentType: 'application/x-www-form-urlencoded',
data: data,
success: function(data, textStatus) {
var newli = $('<li></li>').append($(data.html));
formcontainer.replaceWith(newli);
newli.find('.media-content').effect('highlight');
applyDisplaySideEffects(data);
},
type: "POST",
dataType: 'json',
url: url
});
});
// register live events for the media items
$('ul.page-media-items li .media-controls .media-edit').live('click', function(e) {
e.preventDefault();
var url = $(this).attr('href');
var li = $(this).closest('li');
$.getJSON(nocacheURL(url), {}, function(data) {
var newli = $('<li></li>').append($(data.html));
li.replaceWith(newli);
newli.find('textarea').focus();
applyEditSideEffects(data);
});
});
$('ul.page-media-items li .media-controls .media-delete').live('click', function(e) {
e.preventDefault();
var url = $(this).attr('href');
var li = $(this).closest('li');
$.ajax({
contentType: 'application/x-www-form-urlencoded',
data: {},
success: function(data, textStatus) {
li.fadeOut('slow', function() {
$(this).remove();
});
},
type: "POST",
dataType: 'json',
url: url
});
});
// media item live edit
$('form.edit-media-item button.media-save').live('click', function(e) {
e.preventDefault();
var form = $(this).closest('form.edit-media-item');
var postUrl = form.attr('action');
var getUrl = $(this).next().attr('href');
var data = form.serialize();
var li = form.closest('li');
$.ajax({
contentType: 'application/x-www-form-urlencoded',
data: data,
success: function(data, textStatus) {
$.getJSON(nocacheURL(getUrl), {}, function(data) {
var newli = $('<li></li>').append($(data.html));
li.replaceWith(newli);
newli.find('.media-content').effect('highlight');
applyDisplaySideEffects(data);
});
},
type: "POST",
dataType: 'json',
url: postUrl
});
});
// media item live cancel
$('form.edit-media-item a.media-cancel').live('click', function(e) {
e.preventDefault();
var url = $(this).attr('href');
var li = $(this).closest('li');
$.getJSON(nocacheURL(url), {}, function(data) {
var newli = $('<li></li>').append($(data.html));
li.replaceWith(newli);
applyDisplaySideEffects(data);
});
});
// error uploading media items
$('.media-error-message').live('click', function(e) {
e.preventDefault();
$(this).fadeOut('slow', function() {$(this).remove();});
});
// close flash messages
$('a#flash-closer').live('click', function(e) {
e.preventDefault();
$(this).closest('#flash-messages').fadeOut('slow', function() {$(this).remove();});
});
// on behalf of behavior
$('a.on_behalf_of').live('click', function(e) {
e.preventDefault();
var url = $(this).attr('href');
var pageMeta = $(this).closest('.page-meta');
pageMeta.load(url, function() {
pageMeta.find('input').focus();
});
});
$('#behalf-save').live('click', function(e) {
e.preventDefault();
var on_behalf_of = $(this).prev().val();
var url = $(this).attr('href');
var pageMeta = $(this).closest('.page-meta');
$.post(url, {on_behalf_of: on_behalf_of}, function(data) {
pageMeta.empty();
pageMeta.append(data);
});
});
$('#behalf-cancel').live('click', function(e) {
e.preventDefault();
var pageMeta = $(this).closest('.page-meta');
var url = $(this).attr('href');
pageMeta.load(url);
});
// animate the header illustration on hover of logo
$("#logo").hover(
function () {
$("#ill-clouds").animate({ backgroundPosition: "-50% 0" }, 100000);
},
function () {
$("#ill-clouds").stop();
}
);
});
| openplans/community-almanac | communityalmanac/public/js/almanac.js | JavaScript | agpl-3.0 | 16,846 |
describe("iteration", function() {
beforeEach(function() {
this.iteration = new AgileTracker.Iteration({});
});
describe("initialize", function() {
it("should assign stories if passed", function() {
var stories = [1,2,3];
var iteration = new AgileTracker.Iteration({'stories': stories});
expect(iteration.get('stories')).toEqual(stories);
});
});
describe("defaults", function() {
it("should have an empty array of stories", function() {
expect(this.iteration.get('stories')).toEqual([]);
});
});
describe("points", function() {
beforeEach(function() {
var Story = Backbone.Model.extend({name: 'story'});
this.stories = [
new Story({estimate: 2, story_type: 'feature'}),
new Story({estimate: 3, story_type: 'feature', state: 'accepted'}),
new Story({estimate: 3, story_type: 'bug', state: 'accepted'}) // Only features count
// towards velocity
];
this.iteration.set({stories: this.stories});
});
it("should calculate its points", function() {
expect(this.iteration.points()).toEqual(5);
});
it("should return 0 for points if it has no stories", function() {
this.iteration.unset('stories');
expect(this.iteration.points()).toEqual(0);
});
it("should report how many points it overflows by", function() {
// Should return 0
this.iteration.set({'maximum_points':2});
var pointsStub = sinon.stub(this.iteration, 'points');
// Should return 0 if the iteration points are less than maximum_points
pointsStub.returns(1);
expect(this.iteration.overflowsBy()).toEqual(0);
// Should return 0 if the iteration points are equal to maximum_points
pointsStub.returns(2);
expect(this.iteration.overflowsBy()).toEqual(0);
// Should return the difference if iteration points are greater than
// maximum_points
pointsStub.returns(5);
expect(this.iteration.overflowsBy()).toEqual(3);
});
it("should report how many accepted points it has", function() {
expect(this.iteration.acceptedPoints()).toEqual(3);
});
});
describe("filling backlog iterations", function() {
it("should return how many points are available", function() {
var pointsStub = sinon.stub(this.iteration, "points");
pointsStub.returns(3);
this.iteration.set({'maximum_points': 5});
expect(this.iteration.availablePoints()).toEqual(2);
});
it("should always accept chores bugs and releases", function() {
var stub = sinon.stub();
var story = {get: stub};
stub.withArgs('story_type').returns('chore');
expect(this.iteration.canTakeStory(story)).toBeTruthy();
stub.withArgs('story_type').returns('bug');
expect(this.iteration.canTakeStory(story)).toBeTruthy();
stub.withArgs('story_type').returns('release');
expect(this.iteration.canTakeStory(story)).toBeTruthy();
});
it("should not accept anything when isFull is true", function() {
var stub = sinon.stub();
var story = {get: stub};
this.iteration.isFull = true;
stub.withArgs('story_type').returns('chore');
expect(this.iteration.canTakeStory(story)).toBeFalsy();
stub.withArgs('story_type').returns('bug');
expect(this.iteration.canTakeStory(story)).toBeFalsy();
stub.withArgs('story_type').returns('release');
expect(this.iteration.canTakeStory(story)).toBeFalsy();
});
it("should accept a feature if there are enough free points", function() {
var availablePointsStub = sinon.stub(this.iteration, "availablePoints");
availablePointsStub.returns(3);
var pointsStub = sinon.stub(this.iteration, 'points');
pointsStub.returns(1);
var stub = sinon.stub();
var story = {get: stub};
stub.withArgs('story_type').returns('feature');
stub.withArgs('estimate').returns(3);
expect(this.iteration.canTakeStory(story)).toBeTruthy();
// Story is too big to fit in iteration
stub.withArgs('estimate').returns(4);
expect(this.iteration.canTakeStory(story)).toBeFalsy();
});
// Each iteration should take at least one feature
it("should always take at least one feature no matter how big", function() {
var availablePointsStub = sinon.stub(this.iteration, "availablePoints");
availablePointsStub.returns(1);
var stub = sinon.stub();
var story = {get: stub};
stub.withArgs('story_type').returns('feature');
stub.withArgs('estimate').returns(2);
expect(this.iteration.points()).toEqual(0);
expect(this.iteration.canTakeStory(story)).toBeTruthy();
});
});
describe("isFull flag", function() {
it("should default to false", function() {
expect(this.iteration.isFull).toEqual(false);
});
it("should be set to true once canTakeStory has returned false", function() {
var stub = sinon.stub();
var story = {get: stub};
this.iteration.availablePoints = sinon.stub();
this.iteration.availablePoints.returns(0);
this.iteration.points = sinon.stub();
this.iteration.points.returns(1);
stub.withArgs('story_type').returns('feature');
stub.withArgs('estimate').returns(1);
expect(this.iteration.isFull).toEqual(false);
expect(this.iteration.canTakeStory(story)).toBeFalsy();
expect(this.iteration.isFull).toEqual(true);
});
});
describe("createMissingIterations", function() {
beforeEach(function() {
this.start = new AgileTracker.Iteration({'number': 1});
});
it("should create a range of iterations", function() {
var end = new AgileTracker.Iteration({'number': 5});
var iterations = AgileTracker.Iteration.createMissingIterations('#done', this.start, end);
expect(iterations.length).toEqual(3);
});
it("should return an empty array when there is no gap between start and end", function() {
var end = new AgileTracker.Iteration({'number': 2});
var iterations = AgileTracker.Iteration.createMissingIterations('#done', this.start, end);
expect(iterations.length).toEqual(0);
});
it("should raise an exception if end number is less than or equal to start", function() {
var end = new AgileTracker.Iteration({'number': 1});
var that = this;
expect(function() {
AgileTracker.Iteration.createMissingIterations('#done', that.start, end);
}).toThrow("end iteration number:1 must be greater than start iteration number:2");
});
it("should return an empty array when start is undefined and end is number 1", function() {
var end = new AgileTracker.Iteration({'number': 1});
var iterations = AgileTracker.Iteration.createMissingIterations('#done', undefined, end);
expect(iterations.length).toEqual(0);
});
it("should return a range of iterations when start is undefined", function() {
var end = new AgileTracker.Iteration({'number': 5});
var iterations = AgileTracker.Iteration.createMissingIterations('#done', undefined, end);
expect(iterations.length).toEqual(4);
expect(_.first(iterations).get('number')).toEqual(1);
});
it("should return an empty array when start is undefined and end is number 1", function() {
var end = new AgileTracker.Iteration({'number': 1});
var iterations = AgileTracker.Iteration.createMissingIterations('#done', undefined, end);
expect(iterations.length).toEqual(0);
});
it("should return a range of iterations when start is undefined", function() {
var end = new AgileTracker.Iteration({'number': 5});
var iterations = AgileTracker.Iteration.createMissingIterations('#done', undefined, end);
expect(iterations.length).toEqual(4);
expect(_.first(iterations).get('number')).toEqual(1);
});
});
describe("startDate", function() {
it("should return the start date", function() {
var startDate = new Date('2011/09/26');
var stub = sinon.stub();
stub.returns(startDate);
this.iteration.project = { getDateForIterationNumber: stub };
expect(this.iteration.startDate()).toEqual(startDate);
expect(stub).toHaveBeenCalledWith(this.iteration.get('number'));
});
});
describe("stories", function() {
beforeEach(function() {
var Story = Backbone.Model.extend({name: 'story'});
this.acceptedStory = new Story({state: 'accepted'});
this.finishedStory = new Story({state: 'finished'});
this.unstartedStory = new Story({state: 'unstarted'});
var stories = [
this.unstartedStory, this.acceptedStory, this.finishedStory
];
this.iteration.set({stories: stories});
});
it("returns the stories in the order they were added by default", function() {
expect(this.iteration.stories()).toEqual([
this.unstartedStory, this.acceptedStory, this.finishedStory
]);
});
it("returns the stories accepted first if in progress iteration", function() {
this.iteration.set({column:'#in_progress'});
var stories = this.iteration.stories();
expect(stories.length).toEqual(3);
expect(stories[0]).toEqual(this.acceptedStory);
});
it("returns stories with a given state", function() {
expect(this.iteration.storiesWithState('accepted')).toEqual([this.acceptedStory]);
});
it("returns stories except a given state", function() {
expect(this.iteration.storiesExceptState('accepted')).toEqual([this.unstartedStory, this.finishedStory]);
});
});
});
| privatt/privatt-agile-tracker | src/ruby/spec/javascripts/models/iteration_spec.js | JavaScript | agpl-3.0 | 9,706 |
// --
// Core.Agent.Login.js - provides the special module functions for the login
// Copyright (C) 2001-2012 OTRS AG, http://otrs.org/
// --
// This software comes with ABSOLUTELY NO WARRANTY. For details, see
// the enclosed file COPYING for license information (AGPL). If you
// did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
// --
"use strict";
var Core = Core || {};
Core.Agent = Core.Agent || {};
/**
* @namespace Core.Agent.Login
* @memberof Core.Agent
* @author OTRS AG
* @description
* This namespace contains the special module functions for the Login.
*/
Core.Agent.Login = (function (TargetNS) {
/**
* @name Init
* @memberof Core.Agent.Login
* @function
* @param {Boolean} LoginFailed
* @description
* This function initializes the special module functions.
*/
TargetNS.Init = function (LoginFailed) {
// Browser is too old
if (!Core.Agent.SupportedBrowser) {
$('#LoginBox').hide();
$('#OldBrowser').show();
return;
}
// enable login form
Core.Form.EnableForm($('#LoginBox form, #PasswordBox form'));
// set focus
if ($('#User').val() && $('#User').val().length) {
$('#Password').focus();
}
else {
$('#User').focus();
}
// enable link actions to switch login <> password request
$('#LostPassword, #BackToLogin').click(function () {
$('#LoginBox, #PasswordBox').toggle();
return false;
});
// save TimeOffset data for OTRS
$('#TimeOffset').val((new Date()).getTimezoneOffset());
// shake login box on authentication failure
if (LoginFailed) {
Core.UI.Shake($('#LoginBox'));
}
// if in PreLogin mode, automatically submit form
if ( $('#LoginBox').hasClass('PreLogin') ) {
$('#LoginBox form').submit();
}
};
return TargetNS;
}(Core.Agent.Login || {}));
| moritz/otrs | var/httpd/htdocs/js/Core.Agent.Login.js | JavaScript | agpl-3.0 | 2,037 |
import _prototype from './_prototype' ;
export default {
_prototype ,
} ;
export {
_prototype ,
} ;
| aureooms/js-disjoint-set | src/tools/index.js | JavaScript | agpl-3.0 | 104 |
//declaro las dependencias de módulos propios
var utils = require('./utils/utils.js');
var routes = require('./routes/routes.js');
//declaro las dependencias de módulos expternos
var express = require('express');
var bodyParser = require('body-parser');
utils.test('ready');
//instanciamos nuestra app
var app = express();
//usamos una ayuda para interpretar el json que recibimos.
app.use(bodyParser.json());
//usamos un servidor estatico para ficheros html, js, css, img
app.use(express.static(__dirname + '/client'));
//le decimos a nuestra app que use el enrutador
app.use('/', routes.router);
app.get('/test', function(req, res, next){
res.send('<h1>App Carteras de bolsillo</h1><p>Node.js y Express funcionan :D</p>');
});
utils.test('steady');
app.listen(3000);
utils.test('go!');
| jonabasque/curso-mean | server.js | JavaScript | agpl-3.0 | 794 |
( function( mw, $ ) { "use strict";
mw.PluginManager.add( 'moderation', mw.KBaseScreen.extend({
defaultConfig: {
"parent": mw.isMobileDevice() ? 'topBarContainer' : 'controlsContainer',
"order": 62,
"displayImportance": "low",
"align": "right",
"showTooltip": true,
"smartContainer": 'morePlugins',
"smartContainerCloseEvent": 'closeMenuOverlay',
"title": gM("ks-MODERATION-REPORT"),
"header": gM("ks-MODERATION-HEADER"),
"text": gM("ks-MODERATION-TEXT"),
"placeholder": gM("ks-MODERATION-PLACEHOLDER"),
"tooltip": gM("ks-MODERATION-REPORT"),
"reasonSex": gM("ks-MODERATION-REASON-SEX"),
"reasonViolence": gM("ks-MODERATION-REASON-VIOLENCE"),
"reasonHarmful": gM("ks-MODERATION-REASON-HARMFUL"),
"reasonSpam": gM("ks-MODERATION-REASON-SPAM")
},
setup: function () {
this.addBindings();
},
addBindings: function () {
this.bind('onChangeMedia', $.proxy(function () {
this.getPlayer().triggerHelper( 'onEnableKeyboardBinding' );
$(this.getPlayer().getPlayerElement()).removeClass( "blur" );
this.getPlayer().getPlayerPoster().removeClass( "blur" );
}, this));
},
getScreen: function(){
return $.Deferred().resolve(this.screen);
},
drawModal: function() {
if (this.isDisabled) return;
var _this = this;
var isPlaying = this.getPlayer().isPlaying();
if( isPlaying ) {
this.getPlayer().pause();
}
// Disable space key binding to enable entering "space" inside the textarea
this.getPlayer().triggerHelper( 'onDisableKeyboardBinding' );
var $header = $( '<h2 />' ).text(this.getConfig( 'header' ));
var $moderationMessage = $( '<div />' ).append(
$( '<span />' ).text(this.getConfig( 'text' )),
$('<div></div>').append(
$('<i></i>')
.addClass("icon-toggle")).append(
$( '<select />' )
.attr( 'id','flagType' )
.append(
$( '<option />' ).attr( 'value', 1 ).text( _this.getConfig( 'reasonSex' ) ),
$( '<option />' ).attr( 'value', 2 ).text( _this.getConfig( 'reasonViolence' ) ),
$( '<option />' ).attr( 'value', 3 ).text( _this.getConfig( 'reasonHarmful' ) ),
$( '<option />' ).attr( 'value', 4 ).text( _this.getConfig( 'reasonSpam' ) )
)
.css({'width': '100%', 'height': '26px', 'margin': '10px 0 10px 0'})),
$( '<label for="flagComments">'+ gM("ks-MODERATION-PLACEHOLDER" ) +'</label>' ),
$( '<textarea />' )
.attr( 'id', 'flagComments' )
.css({'width': '100%', 'height': '40px', 'margin-top': '10px'}),
$('<div/>' ).append(
$( '<div />' )
.addClass( 'reportButton right' )
.text( gM("ks-MODERATION-SUBMIT-BTN") )
.attr( 'tabindex',0 )
.attr( 'role', 'button')
.click(function() {
_this.submitFlag({
'flagType': $( '#flagType' ).val(),
'flagComments': $( '#flagComments' ).val()
});
}) )
);
if (mw.isAndroid()){
$moderationMessage.find(".icon-toggle").remove();
}
var $moderationScreen = $( '<div />' ).append($header, $moderationMessage );
var closeCallback = function() {
// Enable space key binding
_this.hideScreen();
_this.getPlayer().triggerHelper( 'onEnableKeyboardBinding' );
$(_this.getPlayer().getPlayerElement()).removeClass( "blur" );
_this.getPlayer().getPlayerPoster().removeClass( "blur" );
if( isPlaying ) {
_this.getPlayer().play();
}
};
this.screen = $moderationScreen;
this.showScreen();
this.showModal($moderationScreen, closeCallback);
},
showModal: function(screen, closeCallback){
this.getPlayer().disablePlayControls();
this.getPlayer().layoutBuilder.displayMenuOverlay( screen, closeCallback );
$(this.getPlayer().getPlayerElement()).addClass("blur");
this.getPlayer().getPlayerPoster().addClass("blur");
this.getPlayer().triggerHelper( 'moderationOpen' );
},
closeModal: function(){
this.getPlayer().enablePlayControls();
$( this.getPlayer().getPlayerElement() ).removeClass( "blur" );
this.getPlayer().getPlayerPoster().removeClass( "blur" );
this.getPlayer().layoutBuilder.closeMenuOverlay();
},
submitFlag: function(flagObj) {
var _this = this;
this.getPlayer().triggerHelper( 'moderationSubmit', flagObj.flagType );
this.getPlayer().addPlayerSpinner();
this.getKalturaClient().doRequest( {
'service' : 'baseentry',
'action' : 'flag',
'moderationFlag:objectType' : 'KalturaModerationFlag',
'moderationFlag:flaggedEntryId' : _this.getPlayer().kentryid,
'moderationFlag:flagType' : flagObj.flagType,
'moderationFlag:comments' : flagObj.flagComments
}, function( data ) {
_this.getPlayer().hideSpinner();
var $flagScreen = $( '<div />' )
.append(
$( '<h3 />' ).text( gM("ks-MODERATION-THANKS") ),
$( '<div />' ).append(
$( '<div />' )
.addClass( 'reportButton' )
.text( gM("ks-MODERATION-DONE") )
.click(function() {
_this.getPlayer().triggerHelper( 'onEnableKeyboardBinding' );
_this.closeModal();
})
)
);
_this.getPlayer().layoutBuilder.displayMenuOverlay( $flagScreen );
},
false,
function(error){
_this.log("Error sending report to server: " + error);
_this.getPlayer().layoutBuilder.closeMenuOverlay();
});
},
getComponent: function(){
var _this = this;
if( !this.$el ){
var tooltipLabel = this.getConfig('tooltip');
this.$el = $( '<button />' )
.addClass( 'btn icon-flag' + this.getCssClass() )
.attr({
'title': tooltipLabel
})
.click( function(){
_this.drawModal();
});
this.setAccessibility(this.$el, tooltipLabel);
}
return this.$el;
}
}));
})( window.mw, window.jQuery ); | panda-os/mwEmbed | modules/KalturaSupport/resources/uiConfComponents/moderationPlugin.js | JavaScript | agpl-3.0 | 5,742 |
builder.CreateFile("docx");
var oDocument = Api.GetDocument();
oDocument.CreateNewHistoryPoint();
var oFinalSection, oTable, oParagraph;
oParagraph = Api.CreateParagraph();
oFinalSection = oDocument.GetFinalSection();
oFinalSection.SetEqualColumns(1, 720);
oTable = Api.CreateTable(3, 3);
oDocument.Push(oTable);
oParagraph.AddColumnBreak();
oDocument.Push(oParagraph);
builder.SaveFile("docx", "add_table_in_two_column.docx");
builder.CloseFile();
| ONLYOFFICE/doc-builder-testing | asserts/js/docx/columns/add_table_in_one_column.js | JavaScript | agpl-3.0 | 455 |
function set_freshness(value) {
var d = new Date();
d.setTime(d.getTime() + (12*60*60*1000));
document.cookie = "freshness=" + value + ";expires=" + d.toUTCString() + ";path=/;Secure";
location.reload(true)
}
function toggle_hidden(element) {
if (element.innerHTML == "hide") {
element.innerHTML = "show"
els = element.parentNode.querySelectorAll("*")
for (var i = 0; i < els.length; i++) {
if (els[i] != element) {
els[i].style.display = "none"
}
}
} else {
els = element.parentNode.querySelectorAll("*")
for (var i = 0;i < els.length; i++) {
if (els[i] != element) {
els[i].style.display = null
}
}
element.innerHTML = "hide"
}
}
| paddygord/commune | static/script.js | JavaScript | agpl-3.0 | 805 |
module.exports = version => {
var content = JSON.stringify({
software: 'front-node',
version: version,
})
return (req, res) => {
res.setHeader('Content-Type', 'application/json')
res.end(content)
}
}
| bazgu/front-node | lib/Page/Node.js | JavaScript | agpl-3.0 | 251 |
/*
* @author Martin Høgh <mh@mapcentia.com>
* @copyright 2013-2021 MapCentia ApS
* @license http://www.gnu.org/licenses/#AGPL GNU AFFERO GENERAL PUBLIC LICENSE 3
*/
/**
* Common tools for drawing
*/
/**
* Get readable distance of layer
* @param e
* @returns {string}
* @private
*/
const getDistance = e => {
let tempLatLng = null;
let totalDistance = 0.00000;
$.each(e._latlngs, function (i, latlng) {
if (tempLatLng == null) {
tempLatLng = latlng;
return;
}
totalDistance += tempLatLng.distanceTo(latlng);
tempLatLng = latlng;
});
return L.GeometryUtil.readableDistance(totalDistance, true);
};
/**
* Get readable area of layer
* @param e
* @returns {string}
* @private
*/
const getArea = e => {
return L.GeometryUtil.readableArea(L.GeometryUtil.geodesicArea(e.getLatLngs()[0]), true);
};
const getAreaOfCircle = e => {
return L.GeometryUtil.readableArea(Math.pow(e.getRadius(), 2) * Math.PI, true);
};
module.exports = { getDistance, getArea, getAreaOfCircle };
| mapcentia/vidi | browser/modules/drawTools/index.js | JavaScript | agpl-3.0 | 1,079 |
(function ( mw, $ ) {
"use strict";
mw.dualScreenControlBar = function (settings){
this.$controlBar = null;
this.embedPlayer = settings.embedPlayer;
this.templatePath = settings.templatePath;
this.menuFadeout = settings.menuFadeout;
this.cssClass = settings.cssClass;
this.nativeAppTooltip = "Switching content<br/>on current view<br/>is not yet<br/>supported.<br/><br/>Try single view";
this.controlBarComponents = {
sideBySide: {
id: 'sideBySide',
title: 'Side By Side',
event: "SbS"
},
singleView: {
id: 'singleView',
title: 'Single View',
event: "hide"
},
pip: {
id: 'pip',
title: 'Picture In Picture',
event: "PiP"
},
switchView: {
id: 'switchView',
title: 'Toggle View',
event: "switchView"
}
};
this.disabled = false;
this.bindSuffix = ".dualScreenControlBar";
this.getComponent();
this.addBindings();
};
mw.dualScreenControlBar.prototype = {
bind: function(name, handler){
this.embedPlayer.bindHelper(name + this.bindSuffix, handler);
},
getComponent: function ( ) {
if ( !this.$controlBar ) {
var rawHTML = window.kalturaIframePackageData.templates[ this.templatePath ];
var transformedHTML = mw.util.tmpl( rawHTML );
transformedHTML = transformedHTML({buttons: this.controlBarComponents});
this.$controlBar = $( '<div />' )
.addClass( 'controlBar componentOff' + this.cssClass )
.append(transformedHTML);
this.embedPlayer.getInterface().append( this.$controlBar );
//If top bar exist then position controlBar under it
if (this.embedPlayer.getTopBarContainer().length) {
var height = this.embedPlayer.getTopBarContainer().height();
this.$controlBar.css("top", height + "px");
}
if (mw.isNativeApp()){
this.$controlBar.find("#" + this.controlBarComponents.sideBySide.id ).remove();
}
}
return this.$controlBar;
},
getControlBarDropShadow: function() {
var _this = this;
if (!this.$controlBarDropShadow) {
this.$controlBarDropShadow = $("<div class='dualScreen controlBarShadow componentAnimation'></div>")
.addClass('componentOff')
.on("click mouseover mousemove mouseout touchstart touchend", function (e) {
_this.embedPlayer.triggerHelper(e);
});
}
return this.$controlBarDropShadow;
},
addBindings: function () {
//Set control bar visiblity handlers
var _this = this;
this.embedPlayer.getInterface()
.on( 'mousemove'+this.bindSuffix +' touchstart' + this.bindSuffix, function(){
_this.show();
})
.on( 'mouseleave' + this.bindSuffix, function(){
if (!mw.isMobileDevice()){
_this.hide();
}
});
this.bind("dualScreenControlsHide", function(){
_this.hide();
});
this.bind("dualScreenControlsShow", function(){
_this.show();
});
this.bind("dualScreenControlsDisable", function(){
_this.disable();
});
this.bind("dualScreenControlsEnable", function(){
_this.enable();
});
//add drop shadow containers for control bar
this.embedPlayer.getVideoHolder().prepend(this.getControlBarDropShadow());
//Cache buttons
var buttons = _this.getComponent().find( "span" );
var switchBtn = buttons.filter('[data-type="switch"]');
//Attach control bar action handlers
_this.getComponent()
.on( 'click' +this.bindSuffix +' touchstart' + this.bindSuffix, 'li > span', function (e) {
e.stopPropagation();
e.preventDefault();
var btn = _this.controlBarComponents[this.id];
var obj = $(this);
//Change state button disabled state
if (obj.data("type") === "state") {
buttons.removeClass( "disabled" );
obj.addClass( "disabled" );
}
if (mw.isNativeApp()){
if (this.id === _this.controlBarComponents.pip.id){
switchBtn
.addClass("disabled")
.tooltip( "option", "content", _this.nativeAppTooltip);
} else if(this.id === _this.controlBarComponents.singleView.id){
switchBtn.tooltip( "option", "content", _this.controlBarComponents.switchView.title);
}
}
if (btn && btn.event){
_this.embedPlayer.triggerHelper("dualScreenStateChange", btn.event);
}
return false;
} );
if (mw.isNativeApp()){
switchBtn.addClass("disabled" )
.attr("title", this.nativeAppTooltip );
}
//Set tooltips
buttons.attr('data-show-tooltip', true);
this.embedPlayer.layoutBuilder.setupTooltip(buttons, "arrowTop");
},
disable: function () {
clearTimeout(this.getComponent().handleTouchTimeoutId);
this.disabled = true;
},
enable: function () {
this.disabled = false;
},
hide: function ( ) {
if ( !this.disabled ) {
this.embedPlayer.triggerHelper( 'clearTooltip' );
if ( this.isVisible ) {
this.getComponent().addClass( 'componentOff componentAnimation' ).removeClass( 'componentOn' );
this.embedPlayer.getVideoHolder().find( ".controlBarShadow" ).addClass( 'componentOff componentAnimation' ).removeClass( 'componentOn' );
this.isVisible = false;
}
}
},
show: function ( ) {
if ( !this.disabled) {
if ( !this.isVisible ) {
this.getComponent().removeClass( 'componentAnimation' ).addClass( 'componentOn' ).removeClass( 'componentOff' );
this.isVisible = true;
this.embedPlayer.getVideoHolder().find( ".controlBarShadow" ).removeClass( 'componentAnimation' ).addClass( 'componentOn' ).removeClass( 'componentOff' );
}
var _this = this;
if ( this.getComponent().handleTouchTimeoutId ) {
clearTimeout( this.getComponent().handleTouchTimeoutId );
}
this.getComponent().handleTouchTimeoutId = setTimeout( function () {
_this.hide();
}, this.menuFadeout );
}
},
set: function(id){
if (id) {
var component = this.getComponent();
var buttons = $("span[data-type=state]", component);
buttons.not("#" + id).removeClass("disabled");
buttons.filter("#" + id).addClass("disabled");
if (mw.isNativeApp()) {
var switchBtn = $('span[data-type="switch"]', component);
switchBtn
.addClass("disabled")
.tooltip("option", "content", this.nativeAppTooltip);
}
}
},
destroy: function(){
this.embedPlayer.unbindHelper(this.bindSuffix);
this.getComponent().off(this.bindSuffix);
this.embedPlayer.getInterface().off(this.bindSuffix);
this.getComponent().remove();
this.getControlBarDropShadow().remove();
this.$controlBar = null;
this.$controlBarDropShadow = null;
}
};
})( window.mw, window.jQuery ); | abaylis/mwEmbed | modules/KalturaSupport/components/dualScreen/dualScreenControlBar.js | JavaScript | agpl-3.0 | 6,529 |
import Component from '@ember/component';
import { computed } from '@ember/object';
import VectorLayer from 'ol/layer/Vector';
import VectorSource from 'ol/source/Vector';
import Icon from 'ol/style/Icon';
import Style from 'ol/style/Style';
export default class TakeoffsLayer extends Component {
tagName = '';
map = null;
locations = null;
@computed
get layer() {
return new VectorLayer({
source: new VectorSource(),
style: new Style({
image: new Icon({
anchor: [0.5, 1],
src: '/images/marker-gold.png',
}),
}),
name: 'Takeoff Locations',
id: 'TakeoffLocations',
zIndex: 51,
});
}
@computed('layer')
get source() {
return this.layer.getSource();
}
didInsertElement() {
super.didInsertElement(...arguments);
this.map.addLayer(this.layer);
}
willDestroyElement() {
super.willDestroyElement(...arguments);
this.map.removeLayer(this.layer);
}
}
| skylines-project/skylines | ember/app/components/takeoffs-layer.js | JavaScript | agpl-3.0 | 975 |
import React from 'react';
import Analyzer from 'parser/core/Analyzer';
import StatTracker from 'parser/shared/modules/StatTracker';
import Component from './Component/index';
// TODO: Remove and make part of interface/Report/Results and async load (chunk)
class CharacterTab extends Analyzer {
static dependencies = {
statTracker: StatTracker,
};
render() {
return (
<Component
statTracker={this.statTracker}
combatant={this.selectedCombatant}
/>
);
}
}
export default CharacterTab;
| FaideWW/WoWAnalyzer | src/parser/shared/modules/features/CharacterTab/index.js | JavaScript | agpl-3.0 | 537 |
import { gql } from 'react-apollo'
// user mutations
export const CREATE_USER_MUTATION = gql`
mutation CreateUserMutation($name: String!, $email: String!, $password: String!) {
createUser(name: $name, authProvider: { email: { email: $email, password: $password } }) {
id
}
signinUser(email: { email: $email, password: $password }) {
token
user {
id
}
}
}
`
export const SIGNIN_USER_MUTATION = gql`
mutation SigninUserMutation($email: String!, $password: String!) {
signinUser(email: { email: $email, password: $password }) {
token
user {
id
}
}
}
`
// recipe mutation
export const UPDATE_RECIPE_INFO_MUTATION = gql`
mutation UpdateRecipeInfoMutation(
$name: String!
$description: String!
$pers: Int!
$shopFor: Int!
$recipeId: ID!
) {
updateRecipe(name: $name, description: $description, id: $recipeId, pers: $pers, shopFor: $shopFor) {
id
name
description
pers
shopFor
isOptimistic
}
}
`
export const CREATE_RECIPE_MUTATION = gql`
mutation CreateRecipeMutation(
$name: String!
$description: String!
$pers: Int!
$isSelected: Boolean!
$userId: ID!
) {
createRecipe(name: $name, description: $description, pers: $pers, isSelected: $isSelected, userId: $userId) {
id
name
description
pers
shopFor
isSelected
isOptimistic
ingredients {
id
}
}
}
`
export const UPDATE_RECIPE_SELECT_MUTATION = gql`
mutation UpdateRecipeSelectMutation($recipeId: ID!, $isSelected: Boolean!) {
updateRecipe(id: $recipeId, isSelected: $isSelected) {
id
isSelected
isOptimistic
}
}
`
export const DELETE_RECIPE_MUTATION = gql`
mutation DeleteRecipeMutation($recipeId: ID!) {
deleteRecipe(id: $recipeId) {
id
}
}
`
// ingredient mutation
export const CREATE_INGREDIENT_MUTATION = gql`
mutation CreateIngredientMutation($recipeId: ID!, $name: String!, $quantity: Float!, $nature: String!, $key: Int!) {
createIngredient(recipeId: $recipeId, name: $name, quantity: $quantity, nature: $nature, key: $key) {
id
name
quantity
nature
isOptimistic
key
}
}
`
export const DELETE_INGREDIENT_MUTATION = gql`
mutation DeleteIngredientMutation($id: ID!) {
deleteIngredient(id: $id) {
id
key
}
}
`
| mimccio/komi-app | src/graphql/mutations.js | JavaScript | agpl-3.0 | 2,444 |
import _ from 'lodash';
import PreferedCvItemsConfigDirective from './PreferedCvItemsConfigDirective';
import MetaPlaceDirective from './MetaPlaceDirective';
MetadataCtrl.$inject = [
'$scope', 'desks', 'metadata', 'privileges', 'datetimeHelper',
'preferencesService', 'config', 'moment', 'content',
];
function MetadataCtrl(
$scope, desks, metadata, privileges, datetimeHelper,
preferencesService, config, moment, content) {
desks.initialize()
.then(() => {
$scope.deskLookup = desks.deskLookup;
$scope.userLookup = desks.userLookup;
});
$scope.change_profile = config.item_profile && config.item_profile.change_profile === 1 &&
_.get($scope, 'origItem.type') === 'text';
metadata.initialize().then(() => {
$scope.metadata = metadata.values;
return preferencesService.get();
})
.then(setAvailableCategories)
.then(setAvailableCompanyCodes);
$scope.$watch(() => desks.active.desk, (activeDeskId) => {
content.getDeskProfiles(activeDeskId ? desks.getCurrentDesk() : null, $scope.item.profile)
.then((profiles) => {
$scope.desk_content_types = profiles;
});
});
$scope.processGenre = function() {
$scope.item.genre = _.map($scope.item.genre, (g) => _.pick(g, 'name'));
};
/**
* Builds a list of categories available for selection in scope. Used by
* the "category" menu in the Authoring metadata section.
*
* @function setAvailableCategories
* @param {Object} prefs - user preferences setting, including the
* preferred categories settings, among other things
*/
function setAvailableCategories(prefs) {
var all, // all available categories
assigned = {}, // category codes already assigned to the article
filtered,
itemCategories, // existing categories assigned to the article
// user's category preference settings , i.e. a map
// object (<category_code> --> true/false)
userPrefs;
all = metadata.values.categories || [];
userPrefs = prefs['categories:preferred'].selected;
// gather article's existing category codes
itemCategories = $scope.item.anpa_category || [];
itemCategories.forEach((cat) => {
assigned[cat.qcode] = true;
});
filtered = _.filter(all, (cat) => !assigned[cat.qcode] && (_.isEmpty(userPrefs) || userPrefs[cat.qcode]));
$scope.availableCategories = _.sortBy(filtered, 'name');
}
/**
* Builds a list of company_codes available for selection in scope. Used by
* the "company_codes" menu in the Authoring metadata section.
*
* @function setAvailableCompanyCodes
*/
function setAvailableCompanyCodes() {
var all, // all available company codes
assigned = {}, // company codes already assigned to the article
filtered,
itemCompanyCodes; // existing company codes assigned to the article
all = _.cloneDeep(metadata.values.company_codes || []);
all.forEach((companyCode) => {
companyCode.name = companyCode.name + ' (' + companyCode.qcode + ')';
});
// gather article's existing company codes
itemCompanyCodes = $scope.item.company_codes || [];
itemCompanyCodes.forEach((companyCode) => {
assigned[companyCode.qcode] = true;
});
filtered = _.filter(all, (companyCode) => !assigned[companyCode.qcode]);
$scope.availableCompanyCodes = _.sortBy(filtered, 'name');
}
$scope.$watch('item.publish_schedule_date', (newValue, oldValue) => {
setPublishScheduleDate(newValue, oldValue);
});
$scope.$watch('item.publish_schedule_time', (newValue, oldValue) => {
setPublishScheduleDate(newValue, oldValue);
});
$scope.$watch('item.time_zone', (newValue, oldValue) => {
if ((newValue || oldValue) && newValue !== oldValue) {
setTimeZone();
setPublishScheduleDate(newValue, oldValue);
setEmbargoTS(newValue, oldValue);
if (!$scope.item.publish_schedule && !$scope.item.embargo) {
$scope.item.schedule_settings = null;
}
}
});
function setTimeZone() {
$scope.item.schedule_settings = {};
if (!$scope.item.time_zone) {
$scope.item.schedule_settings.time_zone = null;
} else {
$scope.item.schedule_settings.time_zone = $scope.item.time_zone;
}
}
function setPublishScheduleDate(newValue, oldValue) {
if ((newValue || oldValue) && newValue !== oldValue) {
if ($scope.item.publish_schedule_date && $scope.item.publish_schedule_time) {
$scope.item.publish_schedule = datetimeHelper.mergeDateTime(
$scope.item.publish_schedule_date,
$scope.item.publish_schedule_time,
$scope.item.time_zone
);
setTimeZone();
} else {
$scope.item.publish_schedule = null;
}
$scope.autosave($scope.item);
}
}
$scope.$watch('item.embargo_date', (newValue, oldValue) => {
// set embargo time default on initial date selection
if (newValue && oldValue === undefined) {
$scope.item.embargo_time = moment('00:01', 'HH:mm')
.format(config.model.timeformat);
}
setEmbargoTS(newValue, oldValue);
});
$scope.$watch('item.embargo_time', (newValue, oldValue) => {
setEmbargoTS(newValue, oldValue);
});
/**
* Listener method which gets invoked when either Embargo Date or Embargo Time has changed. This function takes
* values of both Embargo Date and Embargo Time to form Timestamp.
*/
function setEmbargoTS(newValue, oldValue) {
if ((newValue || oldValue) && newValue !== oldValue) {
if ($scope.item.embargo_date && $scope.item.embargo_time) {
$scope.item.embargo = datetimeHelper.mergeDateTime(
$scope.item.embargo_date,
$scope.item.embargo_time,
$scope.item.time_zone
);
setTimeZone();
} else {
$scope.item.embargo = null;
}
$scope.autosave($scope.item);
}
}
/**
* Publish Schedule and Embargo are saved as Timestamps in DB but each field has date and time as two different
* inputs in UI. This function breaks the timestamp fetched from API to Date and Time and assigns those values to
* the appropriate field.
*/
function resolvePublishScheduleAndEmbargoTS() {
var info;
var embargo = datetimeHelper.removeTZ($scope.item.embargo);
var publishSchedule = datetimeHelper.removeTZ($scope.item.publish_schedule);
if ($scope.item.schedule_settings) {
$scope.item.time_zone = $scope.item.schedule_settings.time_zone;
if ($scope.item.schedule_settings.utc_embargo) {
embargo = $scope.item.schedule_settings.utc_embargo;
}
if ($scope.item.schedule_settings.utc_publish_schedule) {
publishSchedule = $scope.item.schedule_settings.utc_publish_schedule;
}
}
if (embargo) {
info = datetimeHelper.splitDateTime(embargo, $scope.item.time_zone);
$scope.item.embargo_date = info.date;
$scope.item.embargo_time = info.time;
}
if (publishSchedule) {
info = datetimeHelper.splitDateTime(publishSchedule, $scope.item.time_zone);
$scope.item.publish_schedule_date = info.date;
$scope.item.publish_schedule_time = info.time;
}
}
$scope.unique_name_editable = Boolean(privileges.privileges.metadata_uniquename &&
$scope.action !== 'correct' && $scope.action !== 'kill');
$scope.targetsEditable = $scope.action !== 'correct' && $scope.action !== 'kill';
resolvePublishScheduleAndEmbargoTS();
}
MetaTargetedPublishingDirective.$inject = [];
function MetaTargetedPublishingDirective() {
return {
scope: {
list: '=',
disabled: '=ngDisabled',
targets: '=',
autosave: '&',
},
templateUrl: 'scripts/apps/authoring/metadata/views/metadata-target-publishing.html',
link: function(scope, elem) {
scope.removeTarget = function(target) {
scope.targets = _.without(scope.targets, target);
scope.autosave();
};
scope.addTarget = function(target) {
if (angular.isUndefined(scope.targets)) {
scope.targets = [];
}
let parsedTarget = JSON.parse(target);
var existing = _.find(scope.targets,
{qcode: parsedTarget.qcode, name: parsedTarget.name, allow: !scope.deny});
if (!existing) {
scope.targets.push({qcode: parsedTarget.qcode, name: parsedTarget.name, allow: !scope.deny});
scope.autosave();
}
reset();
};
function reset() {
scope.target = '';
scope.deny = false;
}
scope.canAddTarget = function() {
return scope.disabled || !scope.target || scope.target === '';
};
},
};
}
MetadropdownFocusDirective.$inject = ['keyboardManager'];
function MetadropdownFocusDirective(keyboardManager) {
return {
require: 'dropdown',
link: function(scope, elem, attrs, dropdown) {
scope.$watch(dropdown.isOpen, (isOpen) => {
if (isOpen) {
_.defer(() => {
var keyboardOptions = {inputDisabled: false, propagate: false};
// narrow the selection to consider only dropdown list's button items
var buttonList = elem.find('.dropdown__menu button');
if (buttonList.length > 0) {
buttonList[0].focus();
}
keyboardManager.push('up', () => {
if (buttonList.length > 0) {
var focusedElem = elem.find('button:focus')[0];
var indexValue = _.findIndex(buttonList, (chr) => chr === focusedElem);
// select previous item on key UP
if (indexValue > 0 && indexValue < buttonList.length) {
buttonList[indexValue - 1].focus();
}
}
}, keyboardOptions);
keyboardManager.push('down', () => {
if (buttonList.length > 0) {
var focusedElem = elem.find('button:focus')[0];
var indexValue = _.findIndex(buttonList, (chr) => chr === focusedElem);
// select next item on key DOWN
if (indexValue < buttonList.length - 1) {
buttonList[indexValue + 1].focus();
}
}
}, keyboardOptions);
});
} else if (isOpen === false) {
keyboardManager.pop('down');
keyboardManager.pop('up');
}
});
},
};
}
MetaDropdownDirective.$inject = ['$filter'];
function MetaDropdownDirective($filter) {
return {
scope: {
list: '=',
disabled: '=ngDisabled',
item: '=',
field: '@',
icon: '@',
label: '@',
change: '&',
key: '@',
tabindex: '=',
containingDirective: '@',
},
templateUrl: 'scripts/apps/authoring/metadata/views/metadata-dropdown.html',
link: function(scope, elem) {
scope.listFields = ['place', 'genre', 'anpa_category', 'subject', 'authors'];
scope.select = function(item) {
var o = {};
if (item) {
o[scope.field] = scope.key ? item[scope.key] : [item];
} else {
o[scope.field] = null;
}
_.extend(scope.item, o);
scope.change({item: scope.item, field: scope.field});
// retain focus on same dropdown control after selection.
_.defer(() => {
elem.find('.dropdown__toggle').focus();
});
if (scope.values) {
scope.selected = scope.values[o[scope.field]] || null;
}
};
scope.$watch(':: list', () => {
scope.values = _.keyBy(scope.list, 'qcode');
});
// UI binding assignment only if we are editing a content profile (NOT in authoring header or other places)
if (scope.containingDirective === 'sdContentSchemaEditor') {
scope.item[scope.field] = scope.item.default;
}
scope.$applyAsync(() => {
if (scope.list) {
if (scope.field === 'place') {
scope.places = _.groupBy(scope.list, 'group');
} else if (scope.field === 'genre') {
scope.list = $filter('sortByName')(scope.list);
}
}
});
},
};
}
MetaTagsDirective.$inject = ['api', '$timeout'];
function MetaTagsDirective(api, $timeout) {
var ENTER = 13;
var ESC = 27;
return {
scope: {
item: '=',
field: '@',
sourceField: '@',
change: '&',
disabled: '=',
},
templateUrl: 'scripts/apps/authoring/metadata/views/metadata-tags.html',
link: function(scope, element) {
var inputElem = element.find('input')[0];
scope.adding = false;
scope.refreshing = false;
scope.newTag = null;
scope.tags = null;
scope.extractedTags = null;
scope.item[scope.field] = scope.item[scope.field] || [];
var add = function(tag) {
scope.tags.push(tag);
scope.tags = _.uniq(scope.tags);
scope.toggle(tag);
cancel();
};
var cancel = function() {
scope.newTag = null;
scope.adding = false;
};
scope.$watch('adding', () => {
if (scope.adding) {
$timeout(() => {
inputElem.focus();
}, 0, false);
}
});
scope.key = function($event) {
if ($event.keyCode === ENTER && !$event.shiftKey) {
add(scope.newTag);
} else if ($event.keyCode === ESC && !$event.shiftKey) {
cancel();
}
};
scope.isSelected = function(tag) {
return scope.item[scope.field].indexOf(tag) !== -1;
};
scope.toggle = function(tag) {
if (!scope.disabled) {
if (scope.isSelected(tag)) {
_.pull(scope.item[scope.field], tag);
} else {
scope.item[scope.field].push(tag);
}
scope.change({item: scope.item});
}
};
scope.refresh = function() {
scope.refreshing = true;
var body = (scope.item[scope.sourceField] || '')
.replace(/<br[^>]*>/gi, ' ')
.replace(/(<figcaption\b[^>]*>)[^<>]*(<\/figcaption>)/gi, '')
.replace(/<\/?[^>]+>/gi, '')
.trim()
.replace(/ /g, ' ');
if (body) {
api.save('keywords', {text: body})
.then((result) => {
scope.extractedTags = _.map(result.keywords, 'text');
scope.tags = _.uniq(scope.extractedTags.concat(scope.item[scope.field]));
scope.refreshing = false;
});
} else {
scope.refreshing = false;
}
};
scope.refresh();
},
};
}
MetaWordsListDirective.$inject = [];
function MetaWordsListDirective() {
return {
scope: {
item: '=',
field: '@',
disabled: '=',
list: '=',
change: '&',
header: '@',
style: '@',
},
template: require('./views/metadata-words-list.html'),
link: function(scope, element) {
scope.words = [];
scope.selectedTerm = '';
scope.$applyAsync(() => {
element.find('input, select').addClass('line-input');
if (scope.list) {
scope.words = scope.list;
}
});
/**
* sdTypeahead directive invokes this method and is responsible for searching word(s) where the word.name
* matches wordToFind.
*
* @return {Array} list of word(s)
*/
scope.search = function(wordToFind) {
if (!wordToFind) {
scope.words = scope.list;
} else {
scope.words = _.filter(scope.list,
(t) => t.name.toLowerCase().indexOf(wordToFind.toLowerCase()) !== -1);
}
scope.selectedTerm = wordToFind;
return scope.words;
};
/**
* sdTypeahead directive invokes this method and is responsible for updating the item with user selected
* word.
*
* @param {Object} item selected word object
*/
scope.select = function(item) {
var keyword = item ? item.qcode : scope.selectedTerm;
var t = _.clone(scope.item[scope.field]) || [];
var index = _.findIndex(t, (word) => word.toLowerCase() === keyword.toLowerCase());
if (index < 0) {
t.push(keyword);
var o = {};
o[scope.field] = t;
_.extend(scope.item, o);
scope.change({item: scope.item});
}
scope.selectedTerm = '';
};
/**
* Removes the term from the user selected terms
*/
scope.removeTerm = function(term) {
var temp = _.without(scope.item[scope.field], term);
// build object
var o = {};
o[scope.field] = temp;
_.extend(scope.item, o);
scope.change({item: scope.item});
};
},
};
}
/**
* Wraping 'sd-typeahead' directive for editing of metadata list attributes
*
* @param {Object} item - specify the content item itself
* @param {String} field - specify the (metadata) filed under the item which will be edited
* @param {Boolean} disabled - whether component should be disabled for editing or not
* @param {Array} list - list of available values that can be added
* @param {String} unique - specify the name of the field, in list item which is unique (qcode, value...)
* @param {Boolean} searchUnique - to search unique field as well as name field
* @param {Boolean} selectEntireCategory - to allow a whole category to be selected (i.e. field without parent)
*
*/
MetaTermsDirective.$inject = ['metadata', '$filter', '$timeout', 'preferencesService', 'desks'];
function MetaTermsDirective(metadata, $filter, $timeout, preferencesService, desks) {
return {
scope: {
item: '=',
field: '@',
disabled: '=ngDisabled',
list: '=',
unique: '@',
postprocessing: '&',
change: '&',
header: '@',
reloadList: '@',
cv: '=',
includeParent: '@',
tabindex: '=',
searchUnique: '@',
setLanguage: '@',
helperText: '@',
selectEntireCategory: '@',
},
templateUrl: 'scripts/apps/authoring/metadata/views/metadata-terms.html',
link: function(scope, elem, attrs) {
metadata.subjectScope = scope;
var reloadList = scope.reloadList === 'true';
var includeParent = scope.includeParent === 'true';
var searchUnique = scope.searchUnique === 'true';
// we want true as default value to keep legacy behaviour
scope.allowEntireCat = scope.selectEntireCategory !== 'false';
scope.combinedList = [];
scope.tree = {};
scope.termPath = [];
scope.$watch('unique', (value) => {
scope.uniqueField = value || 'qcode';
});
scope.$watch('list', (items) => {
if (!items || items.length === 0) {
return;
}
var tree = {}, updates = {};
if (scope.cv && scope.cv.dependent) {
updates[scope.field] = [];
}
angular.forEach(items, (item) => {
var parent = item.parent || null;
if (!tree.hasOwnProperty(parent)) {
tree[parent] = [item];
} else {
tree[parent].push(item);
}
// checks for dependent dropdowns to remain selected items if new list has them (not to reset)
angular.forEach(scope.item[scope.field], (selectedItem) => {
if (scope.cv && scope.cv.dependent) {
if (selectedItem.scheme === scope.cv._id) {
if (item.name === selectedItem.name) {
updates[scope.field].push(selectedItem);
}
// this is for subject (which is not dependent)
} else if (updates[scope.field].indexOf(selectedItem) === -1) {
updates[scope.field].push(selectedItem);
}
}
});
});
_.extend(scope.item, updates);
scope.terms = filterSelected(items);
scope.tree = tree;
scope.activeTree = tree.null;
scope.combinedList = _.union(scope.list, scope.item[scope.field] ? scope.item[scope.field] : []);
setPreferredItems();
});
scope.$watch('item[field]', (selected) => {
if (!selected) {
scope.selectedItems = [];
return;
}
scope.terms = filterSelected(scope.list);
if (_.get(scope, 'cv._id')) { // filter out items from current cv
scope.selectedItems = selected.filter((term) => term.scheme === (scope.cv._id || scope.cv.id));
} else {
scope.selectedItems = selected.filter((term) => !term.scheme || term.scheme === scope.field);
}
});
scope.$on('$destroy', () => {
metadata.subjectScope = null;
});
scope.openParent = function(term, $event) {
var parent = _.find(scope.list, {[scope.uniqueField]: term.parent});
scope.openTree(parent, $event);
};
scope.openTree = function(term, $event) {
if ($event.altKey) {
let activeTree = scope.tree[term ? term[scope.uniqueField] : null];
return angular.forEach(activeTree, (term) => {
scope.selectTerm(term, $event);
});
}
scope.activeTerm = term;
scope.termPath.push(term);
scope.activeTree = scope.tree[term ? term[scope.uniqueField] : null];
$event.stopPropagation();
_.defer(() => {
elem.find('button:not([disabled]):not(.dropdown__toggle)')[0].focus();
});
scope.activeList = false;
};
scope.isSelected = (term) => !!_.find(scope.item[scope.field], term);
scope.activeList = false;
scope.selectedTerm = '';
scope.searchTerms = function(term) {
if (!term) {
scope.terms = filterSelected(scope.list);
scope.activeList = false;
} else {
var searchList;
if (!scope.allowEntireCat) {
searchList = _.filter(scope.list, (item) => !item.parent);
} else {
searchList = reloadList ? scope.list : scope.combinedList;
}
scope.terms = $filter('sortByName')(_.filter(filterSelected(searchList), (t) => {
var searchObj = {};
searchObj[scope.uniqueField] = t[scope.uniqueField];
if (searchUnique) {
return (t.name.toLowerCase().indexOf(term.toLowerCase()) !== -1 ||
t[scope.uniqueField].toLowerCase().indexOf(term.toLowerCase()) !== -1) &&
!_.find(scope.item[scope.field], searchObj);
}
return t.name.toLowerCase().indexOf(term.toLowerCase()) !== -1 &&
!_.find(scope.item[scope.field], searchObj);
}));
scope.activeList = true;
}
return scope.terms;
};
function filterSelected(terms) {
var selected = {};
angular.forEach(scope.item[scope.field], (term) => {
if (term) {
selected[term[scope.uniqueField]] = 1;
}
});
return _.filter(terms, (term) => term && !selected[term[scope.uniqueField]]);
}
function addTerm(term) {
if (!term) {
return;
}
let isSelected = filterSelected([term]).length === 0;
// Only select terms that are not already selected
if (!isSelected) {
// instead of simple push, extend the item[field] in order to trigger dirty $watch
var t = [];
if (!term.single_value) {
t = _.clone(scope.item[scope.field]) || [];
}
if (scope.cv && scope.cv.single_value) {
t = _.filter(t, (term) => term.scheme !== scope.cv._id);
}
// build object
var o = {};
if (term.language && scope.setLanguage) {
o.language = term.language;
}
t.push(angular.extend({}, term, {
scheme: scope.cv ? scope.cv._id : null,
}));
o[scope.field] = t;
_.extend(scope.item, o);
}
}
scope.selectTerm = function(term, $event) {
if (term) {
addTerm(term);
if (includeParent) {
scope.termPath.forEach((term) => {
addTerm(term);
});
}
if ($event && ($event.ctrlKey || $event.metaKey)) {
$event.stopPropagation();
return;
}
scope.activeTerm = '';
scope.selectedTerm = '';
scope.termPath = [];
scope.searchTerms();
if (!reloadList) {
// Remove the selected term from the terms
scope.terms = _.without(scope.terms, term);
scope.activeTree = scope.terms;
}
$timeout(() => {
scope.$applyAsync(() => {
scope.postprocessing();
scope.change({item: scope.item, field: scope.field});
});
}, 50, false);
// retain focus and initialise activeTree on same dropdown control after selection.
_.defer(() => {
if (!_.isEmpty(elem.find('.dropdown__toggle'))) {
elem.find('.dropdown__toggle').focus();
}
if (reloadList) {
scope.activeTerm = null;
scope.searchTerms(null);
scope.activeTree = scope.tree.null;
} else {
scope.terms = _.clone(scope.activeTree) || [];
scope.allSelected = scope.terms.length === 0;
}
});
}
};
scope.removeTerm = function(term) {
var tempItem = {},
subjectCodesArray = scope.item[scope.field],
filteredArray = _.without(subjectCodesArray, term);
if (subjectCodesArray && filteredArray.length === subjectCodesArray.length) {
_.remove(filteredArray, {name: term});
}
tempItem[scope.field] = filteredArray;
_.extend(scope.item, tempItem);
if (!reloadList) {
scope.terms.push(term);
scope.activeTree.push(term);
scope.activeTree = $filter('sortByName')(scope.activeTree);
scope.allSelected = false;
}
scope.terms = $filter('sortByName')(scope.terms);
scope.change({item: scope.item, field: scope.field});
elem.find('.dropdown__toggle').focus(); // retain focus
};
scope.getLocaleName = function(term) {
if (!term) {
return 'None';
}
if (term.translations && scope.item.language
&& term.translations.name[scope.item.language]) {
return term.translations.name[scope.item.language];
}
return term.name;
};
scope.setPreferredView = (view, $event) => {
scope.preferredView = view;
$event.stopPropagation();
if (scope.activeTerm) {
scope.openParent({}, $event);
}
};
function setPreferredItems() {
scope.preferredView = null;
scope.userPreferredItems = [];
scope.deskPreferredItems = [];
if (_.get(scope, 'cv._id')) {
preferencesService.get('cvs:preferred_items').then((prefered) => {
const userPrefs = _.get(prefered, 'value', {});
const deskPrefs = _.get(desks.getCurrentDesk(), 'preferred_cv_items', {});
scope.userPreferredItems = getPreferredItems(userPrefs);
scope.deskPreferredItems = getPreferredItems(deskPrefs);
if (scope.userPreferredItems.length) {
scope.preferredView = 'user';
} else if (scope.deskPreferredItems.length) {
scope.preferredView = 'desk';
}
});
}
}
function getPreferredItems(prefs) {
const preferredItems = _.get(prefs, scope.cv._id, []);
return preferredItems
.map((preferedItem) =>
scope.list.find((item) => item[scope.uniqueField] === preferedItem[scope.uniqueField]))
.filter((item) => item != null); // filter out items missing in cv
}
},
};
}
MetaLocatorsDirective.$inject = [];
function MetaLocatorsDirective() {
return {
scope: {
item: '=',
fieldprefix: '@',
field: '@',
disabled: '=ngDisabled',
list: '=',
change: '&',
postprocessing: '&',
header: '@',
tabindex: '=',
keepinput: '=',
},
templateUrl: 'scripts/apps/authoring/metadata/views/metadata-locators.html',
link: function(scope, element) {
scope.selectedTerm = '';
scope.locators = [];
scope.$applyAsync(() => {
if (scope.item) {
if (scope.fieldprefix && scope.item[scope.fieldprefix] &&
scope.item[scope.fieldprefix][scope.field]) {
scope.selectedTerm = scope.item[scope.fieldprefix][scope.field].city;
} else if (scope.item[scope.field]) {
scope.selectedTerm = scope.item[scope.field].city;
}
}
if (scope.list) {
setLocators(scope.list);
}
});
function setLocators(list) {
scope.locators = list.slice(0, 10);
scope.total = list.length;
}
// update visible city on some external change, like after undo/redo
scope.$watch('item[fieldprefix][field].city || item[field].city', (located) => {
scope.selectedTerm = located;
});
/**
* sdTypeahead directive invokes this method and is responsible for searching located object(s) where the
* city name matches locatorToFind.
*
* @return {Array} list of located object(s)
*/
scope.searchLocator = function(locatorToFind) {
if (!locatorToFind) {
setLocators(scope.list);
} else {
setLocators(_.filter(scope.list,
(t) => t.city.toLowerCase().indexOf(locatorToFind.toLowerCase()) !== -1));
}
scope.selectedTerm = locatorToFind;
return scope.locators;
};
/**
* sdTypeahead directive invokes this method and is responsible for updating the item with user selected
* located object.
*
* @param {Object} locator user selected located object
*/
scope.selectLocator = function(locator) {
var updates = {};
let loc = locator;
if (!loc && scope.selectedTerm) {
var previousLocator = scope.fieldprefix ? scope.item[scope.fieldprefix][scope.field] :
scope.item[scope.field];
if (previousLocator && scope.selectedTerm === previousLocator.city) {
loc = previousLocator;
} else {
loc = {city: scope.selectedTerm, city_code: scope.selectedTerm, tz: 'UTC',
dateline: 'city', country: '', country_code: '', state_code: '', state: ''};
}
}
if (loc) {
if (angular.isDefined(scope.fieldprefix)) {
if (!angular.isDefined(scope.item[scope.fieldprefix])) {
_.extend(scope.item, {dateline: {}});
}
updates[scope.fieldprefix] = scope.item[scope.fieldprefix];
updates[scope.fieldprefix][scope.field] = loc;
} else {
updates[scope.field] = loc;
}
scope.selectedTerm = loc.city;
_.extend(scope.item, updates);
}
var selectedLocator = {item: scope.item, city: scope.selectedTerm};
scope.postprocessing(selectedLocator);
scope.change(selectedLocator);
};
},
};
}
MetadataService.$inject = ['api', 'subscribersService', 'config', 'vocabularies', '$rootScope', 'session', '$filter'];
function MetadataService(api, subscribersService, config, vocabularies, $rootScope, session, $filter) {
var service = {
values: {},
helper_text: {},
popup_width: {},
single_value: {},
cvs: [],
search_cvs: config.search_cvs || [
{id: 'subject', name: 'Subject', field: 'subject', list: 'subjectcodes'},
{id: 'companycodes', name: 'Company Codes', field: 'company_codes', list: 'company_codes'},
],
search_config: config.search || {
slugline: 1, headline: 1, unique_name: 1, story_text: 1, byline: 1,
keywords: 1, creator: 1, from_desk: 1, to_desk: 1, spike: 1,
scheduled: 1, company_codes: 1, ingest_provider: 1, marked_desks: 1,
featuremedia: 1,
},
subjectScope: null,
loaded: null,
_urgencyByValue: {},
_priorityByValue: {},
fetchMetadataValues: function() {
var self = this;
return vocabularies.getAllActiveVocabularies().then((result) => {
_.each(result, (vocabulary) => {
self.values[vocabulary._id] = vocabulary.items;
if (_.has(vocabulary, 'helper_text')) {
self.helper_text[vocabulary._id] = vocabulary.helper_text;
}
if (_.has(vocabulary, 'popup_width')) {
self.popup_width[vocabulary._id] = vocabulary.popup_width;
}
if (_.has(vocabulary, 'single_value')) {
self.single_value[vocabulary._id] = vocabulary.single_value;
}
});
self.cvs = result;
self.values.regions = _.sortBy(self.values.geographical_restrictions,
(target) => target.value && target.value.toLowerCase() === 'all' ? '' : target.name
);
self.values.subscriberTypes = _.sortBy(self.values.subscriber_types,
(target) => target.value && target.value.toLowerCase() === 'all' ? '' : target.name
);
if (self.values.urgency) {
self._urgencyByValue = _.keyBy(self.values.urgency, 'qcode');
}
if (self.values.priority) {
self._priorityByValue = _.keyBy(self.values.priority, 'qcode');
}
});
},
fetchSubscribers: function() {
var self = this;
self.values.customSubscribers = [];
return subscribersService.fetchTargetableSubscribers().then((items) => {
_.each(items, (item) => {
self.values.customSubscribers.push({_id: item._id, name: item.name});
});
});
},
fetchSubjectcodes: function(code) {
var self = this;
return api.get('/subjectcodes').then((result) => {
self.values.subjectcodes = result._items;
});
},
fetchAuthors: function(code) {
var self = this;
self.values.authors = [];
return api.getAll('users', {is_author: 1}).then((users) => {
var first;
_.each(users, (user) => {
var authorMetadata = {_id: user._id, name: user.display_name, user: user};
if (session.identity.is_author && user._id === session.identity._id) {
// we want logged user to appear first
first = authorMetadata;
} else {
self.values.authors.push(authorMetadata);
}
_.each(self.values.author_roles, (role) => {
self.values.authors.push({
_id: [user._id, role.qcode],
role: role.qcode,
name: role.name,
parent: user._id,
sub_label: user.display_name});
});
});
self.values.authors = $filter('sortByName')(self.values.authors);
if (first) {
self.values.authors.unshift(first);
}
});
},
removeSubjectTerm: function(term) {
if (!this.subjectScope) {
return;
}
var self = this,
tempItem = {};
angular.forEach(this.search_cvs || [], (cv) => {
if (_.isNil(term)) { // clear subject scope
self.subjectScope.item[cv.id].length = 0;
} else {
var subjectCodesArray = self.subjectScope.item[cv.id],
filteredArray = _.without(subjectCodesArray, term);
if (filteredArray.length === subjectCodesArray.length) {
_.remove(filteredArray, {name: term});
}
tempItem[cv.id] = filteredArray;
}
});
_.extend(self.subjectScope.item, tempItem);
self.subjectScope.change({item: self.subjectScope.item});
},
fetchCities: function() {
var self = this;
return api.get('/cities').then((result) => {
self.values.cities = result._items;
});
},
fetchAgendas: function() {
var self = this;
if ($rootScope.features.agenda) {
return api.get('/agenda').then((result) => {
var agendas = [];
_.each(result._items, (item) => {
if (item.is_enabled) {
agendas.push({name: item.name, id: item._id, qcode: item.name});
}
});
self.values.agendas = agendas;
});
}
},
filterCvs: function(qcodes, cvs) {
var self = this;
self.cvs.forEach((cv) => {
var cvService = cv.service || {};
var match = false;
if (cvService.all) {
match = true;
cv.terms = self.filterByService(cv.items, qcodes);
} else {
qcodes.forEach((qcode) => {
match = match || cvService[qcode];
});
cv.terms = cv.items;
}
if (match) {
cvs.push(cv);
}
});
},
filterByService: function(items, qcodes) {
return _.filter(items, (item) => {
var match = false;
if (item.service) {
qcodes.forEach((qcode) => {
match = match || item.service[qcode];
});
} else {
match = true;
}
return match;
});
},
initialize: function() {
if (!this.loaded) {
this.loaded = this.fetchMetadataValues()
.then(angular.bind(this, this.fetchSubjectcodes))
.then(angular.bind(this, this.fetchAuthors))
.then(angular.bind(this, this.fetchSubscribers))
.then(angular.bind(this, this.fetchCities))
.then(angular.bind(this, this.fetchAgendas));
}
return this.loaded;
},
urgencyByValue: function(value) {
return this._urgencyByValue[value] || null;
},
priorityByValue: function(value) {
return this._priorityByValue[value] || null;
},
};
$rootScope.$on('subscriber:create', () => service.fetchSubscribers());
$rootScope.$on('subscriber:update', () => service.fetchSubscribers());
// add new cvs to the list when created
$rootScope.$on('vocabularies:created', (event, data) => {
api.find('vocabularies', data.vocabulary_id).then((cv) => {
service.cvs = service.cvs.concat([cv]);
});
});
// update cv on change
$rootScope.$on('vocabularies:updated', (event, data) => {
api.find('vocabularies', data.vocabulary_id).then((cv) => {
service.cvs = service.cvs.map((_cv) => _cv._id === cv._id ? cv : _cv);
});
});
return service;
}
angular.module('superdesk.apps.authoring.metadata', [
'superdesk.apps.authoring.widgets',
'superdesk.apps.publish',
'vs-repeat',
])
.config(['authoringWidgetsProvider', function(authoringWidgetsProvider) {
authoringWidgetsProvider
.widget('metadata', {
icon: 'info',
label: gettext('Info'),
removeHeader: true,
template: 'scripts/apps/authoring/metadata/views/metadata-widget.html',
order: 1,
side: 'right',
display: {
authoring: true,
packages: true,
killedItem: true,
legalArchive: true,
archived: true,
picture: true,
personal: true,
},
});
}])
.controller('MetadataWidgetCtrl', MetadataCtrl)
.service('metadata', MetadataService)
.directive('sdMetaTarget', MetaTargetedPublishingDirective)
.directive('sdMetaTerms', MetaTermsDirective)
.directive('sdMetaTags', MetaTagsDirective)
.directive('sdMetaDropdown', MetaDropdownDirective)
.directive('sdMetaWordsList', MetaWordsListDirective)
.directive('sdMetadropdownFocus', MetadropdownFocusDirective)
.directive('sdMetaLocators', MetaLocatorsDirective)
.directive('sdPreferedCvItemsConfig', PreferedCvItemsConfigDirective)
.directive('sdMetaPlace', MetaPlaceDirective)
;
| jerome-poisson/superdesk-client-core | scripts/apps/authoring/metadata/metadata.js | JavaScript | agpl-3.0 | 47,809 |
/*
* This file is part of FortressJS - Fast, secure, powerful and simple I/O framework
* Copyright (c) 2014-2016 Adrien THIERRY
* http://fortressjs.com - http://seraum.com
*
* sources : https://github.com/seraum/fortressjs
*
* this program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* You can be released from the requirements of the license by purchasing
* a commercial license. Buying such a license is mandatory as soon as you
* develop commercial activities involving the FortressJS software without
* disclosing the source code of your own applications. Visit http://seraum.com/
* and feel free to contact us.
*
*/
/**
* @namespace App
* @description App module file description
* @param config {object} config object initialized at server start
*
* @example function myApp(config)
* {
*
* this.code = function(req, res)
* {
* req.continue = false; // stop the app loop for this request
*
* res.end('Hello, world !');
* }
*
* this.runOnce = function()
* {
* // do something here, it will be called only on 1 thread
* }
*
* // we forge a route
* wf.Router.GET('*', '/about', routeCallback);
*
* function routeCallback(req, res)
* {
* // do something here, it will be called when route match
* }
* }
*/
/**
* @method code
* @description method that is called at each request loop
* @memberof App
* @param req {object} http request object
* @param res {object} http response object
*
*/
/**
* @method runOnce
* @memberof App
* @description method that is called only on one thread
*
*/
module.exports.LoadApps = LoadApps;
var wf = WF();
global.next = function(req, res){ process.nextTick(function() { UTILS.LoopExec(req, res); }); };
function LoadApps()
{
wf.parseServers(cbApps);
}
function parseApp(srv, appPath, root, current)
{
var confModule = new wf.AppClass.App(root, current);
if(confModule.appState && confModule.init.state)
{
var newModule = {};
try
{
var loadedModule = require(root + confModule.name + "/" + confModule.name + wf.CONF.APP_END);
if(loadedModule && typeof loadedModule == "function")
{
newModule = new loadedModule(confModule);
if(newModule.code !== undefined && typeof newModule.code === "function") newModule.execute = true;
if(newModule.runOnce && process.env.wrkId && process.env.wrkId == 0) newModule.runOnce();
}
}
catch(e) { console.log("Error in App : " + root + confModule.name + "/" + confModule.name + wf.CONF.APP_END);}
wf.SERVERS[srv].APPS[appPath].push(
{
' path': root, 'name': confModule.name, 'init': confModule.init, 'place': appPath, 'exec': newModule, 'view': confModule.view,
});
}
}
function parseAppContainer(srv, rootPath, appPath)
{
wf.SERVERS[srv].APPS[appPath] = [];
var tmpDir = rootPath + appPath + "/";
if(fs.lstatSync(tmpDir).isDirectory())
{
var tmpArray = fs.readdirSync(tmpDir);
for(var m = 0; m < tmpArray.length; m++)
{
parseApp(srv, appPath, tmpDir, tmpArray[m]);
}
wf.SERVERS[srv].APPS[appPath].sort(function(a, b){return a.init.pos - b.init.pos;});
var result = wf.SERVERS[srv].APPS[appPath];
wf.SERVERS[srv].APPS[appPath] = result;
}
}
function cbApps(s)
{
var rootPath = wf.CONF.SRV_PATH + s + '/' + wf.CONF.APP_FOLDER;
wf.SERVERS[s].APPS = {};
if(fs.existsSync(rootPath) && fs.lstatSync(rootPath).isDirectory())
{
var appPath = fs.readdirSync(rootPath);
for(var p = 0; p < appPath.length; p++)
{
parseAppContainer(s, rootPath, appPath[p]);
}
}
}
| seraum/fortpress | base/essential/app.essential.js | JavaScript | agpl-3.0 | 4,149 |
$(document).ready(function() {
$("#tshare").submit(function(event) {
event.preventDefault();
N.json.profile.share($(this).serialize(),function(d) {
if(d.status == 'ok')
{
$(this).html('<h1>' + d.message + '</h1>');
}
else
{
$("#errore").html(d.message);
}
});
});
});
| nerdzeu/nerdz-template-stillblack | js/share.js | JavaScript | agpl-3.0 | 404 |
OC.L10N.register(
"news",
{
"Feed contains invalid XML" : "В ленте присутствует недействительный XML",
"Feed not found: either the website does not provide a feed or blocks access. To rule out blocking, try to download the feed on your server's command line using curl: curl http://the-feed.tld" : "Новостная лента не найдена: либо веб-сайт не предоставляет новостную ленту, либо он блокирует доступ к ней. Чтобы обойти блокировку, попробуйте скачать новостную ленту в командную строку своего сервера, используя curl: curl http://the-feed.tld",
"Detected feed format is not supported" : "Обнаруженный формат ленты не поддерживается",
"SSL Certificate is invalid" : "SSL сертификат недействительный ",
"Website not found" : "Сайт не найден",
"More redirects than allowed, aborting" : "Количество перенаправлений больше допустимого, отменяем",
"Bigger than maximum allowed size" : "Больше максимально допустимого размера",
"Request timed out" : "Превышено время ожидания запроса",
"Request failed, network connection unavailable!" : "Запрос не удался, нет сетевого соединения!",
"Request unauthorized. Are you logged in?" : "Запрос не авторизован. Вы вошли в систему?",
"Request forbidden. Are you an admin?" : "Запрос запрещён. Вы действительно администратор?",
"Token expired or app not enabled! Reload the page!" : "Срок действия токена истек или программа не задействована! Перезагрузите страницу!",
"Internal server error! Please check your " : "Внутренняя ошибка сервера. Пожалуйста, проверьте",
"Request failed, ownCloud is in currently " : "Запрос не удался, ownCloud сейчас",
"Can not add feed: Exists already" : "Не удаётся добавить ленту: Уже существует",
"Articles without feed" : "Статьи без новостной ленты",
"Can not add folder: Exists already" : "Не удаётся добавить каталог. Каталог уже существует",
"Use ownCloud cron for updates" : "Использовать стандартный cron от ownCloud для обновлений",
"Disable this if you run a custom updater such as the Python updater included in the app" : "Отключите, если собираетесь использовать другой механизм обновлений, например, Python updater, включенный в поставку этого приложения",
"Purge interval" : "Интервал очистки",
"Minimum amount of seconds after deleted feeds and folders are removed from the database; values below 60 seconds are ignored" : "Минимальное количество секунд, после которого удалённые ленты и каталоги будут удалены из базы данных; значения меньше 60 секунд будут проигнорированы",
"Maximum read count per feed" : "Максимальное количество статей для ленты",
"Defines the maximum amount of articles that can be read per feed which won't be deleted by the cleanup job; if old articles reappear after being read, increase this value; negative values such as -1 will turn this feature off completely" : "Максимальное количество статей для каждой ленты, которые не будут удалены при очистке; если старые статьи появляются снова после прочтения, то увеличьте это значение; отрицательные значения, например, -1, полностью отключает эту функцию.",
"Maximum redirects" : "Максимум перенаправлений",
"How many redirects the feed fetcher should follow" : "Сколько перенаправлений должен обрабатывать загрузчик ленты",
"Maximum feed page size" : "Максимальный размер страницы для ленты",
"Maximum feed size in bytes. If the RSS/Atom page is bigger than this value, the update will be aborted" : "Максимальный размер ленты в байтах. Если размер страницы RSS/Atom больше этого значения, обновление будет отменено",
"Feed fetcher timeout" : "Время ожидания для загрузчика ленты",
"Maximum number of seconds to wait for an RSS or Atom feed to load; if it takes longer the update will be aborted" : "Максимальное количество секунд ожидания загрузки ленты RSS или Atom; если обновление занимает больше времени, то оно будет отменено",
"Explore Service URL" : "URL сервиса исследования",
"If given, this service's URL will be queried for displaying the feeds in the explore feed section. To fall back to the built in explore service, leave this input empty" : "Если указан, то URL сервиса будет опрашиваться с целью отображения лент в секции исследования. Для возврата к встроенному сервису, оставьте поле пустым.",
"Saved" : "Сохранено",
"Download" : "Скачать",
"Close" : "Закрыть",
"Ajax or webcron cron mode detected! Your feeds will not be updated correctly. It is recommended to either use the operating system cron or a custom updater." : "Обнаружена настройка синхронизации по Ajax cron или webcron! Ваши новостные ленты не будут корректно обновляться. Рекомендуется использовать cron операционной системы или собственный механизм обновления.",
"How to set up the operating system cron" : "Как настроить cron (планировщик задач) операционной системы",
"How to set up a custom updater (faster and no possible deadlock) " : "Как настроить другой способ обновления (быстрее и без риска взаимной блокировки)",
"Subscribe" : "Подписаться",
"Refresh" : "Обновить",
"No articles available" : "Нет доступных записей",
"No unread articles available" : "Нет непрочтённых записей",
"Open website" : "Открыть веб-сайт",
"Star article" : "Добавить в избранное",
"Unstar article" : "Убрать из избранного",
"Keep article unread" : "Оставить статью непрочитанной",
"Remove keep article unread" : "Удалить отметку от непрочтении",
"by" : "автор",
"from" : "из",
"Play audio" : "Проиграть аудио-запись",
"Download video" : "Скачать видео",
"Download audio" : "Скачать аудио-запись",
"Keyboard shortcut" : "Горячие клавиши",
"Description" : "Описание",
"right" : "направо",
"Jump to next article" : "Перейти на следующую статью",
"left" : "налево",
"Jump to previous article" : "Перейти на предыдущую статью",
"Toggle star article" : "Добавить/убрать из избранного",
"Star article and jump to next one" : "Добавить статью в избранное и перейти к следующей",
"Toggle keep current article unread" : "Переключатель прочтения текущей статьи",
"Open article in new tab" : "Открыть статью в новой вкладке",
"Toggle expand article in compact view" : "Открыть статью при просмотре в компактном режиме",
"Load next feed" : "Загрузить следующую ленту",
"Load previous feed" : "Загрузить предыдущую ленту",
"Load next folder" : "Загрузить следующий каталог",
"Load previous folder" : "Загрузить предыдущий каталог",
"Scroll to active navigation entry" : "Переход к выбранному элементу",
"Focus search field" : "Сфокусироваться на поле поиска",
"Mark current article's feed/folder read" : "Пометить папку текущей статьи как прочитанную",
"Web address" : "Веб адрес",
"Feed exists already!" : "Лента уже существует!",
"Folder" : "Каталог",
"No folder" : "Нет каталога",
"New folder" : "Новый каталог",
"Folder name" : "Имя каталога",
"Go back" : "Вернуться назад",
"Folder exists already!" : "Каталог уже существует!",
"New Folder" : "Новый каталог",
"Create" : "Создать",
"Explore" : "Исследовать",
"Deleted feed" : "Удалённая лента",
"Undo delete feed" : "Отменить удаление ленты",
"Rename" : "Переименовать",
"Menu" : "Меню",
"Unpin feed from the top" : "Отсоединить фид сверху",
"Pin feed to the top" : "Прикрепить фид наверх",
"No feed ordering" : "Не указан порядок новостных лент",
"Reversed feed ordering" : "Обратный порядок новостной ленты",
"Normal feed ordering" : "Обычный порядок новостной ленты",
"Enable full text feed fetching" : "Включить загрузку полного текста новостной ленты",
"Disable full text feed fetching" : "Выключить загрузку полного текста новостной ленты",
"Rename feed" : "Переименовать ленту",
"Delete feed" : "Удалить ленту",
"Mark all articles read" : "Пометить все статьи как прочитанные",
"Dismiss" : "Прекратить",
"Collapse" : "Свернуть",
"Deleted folder" : "Удаленный каталог",
"Undo delete folder" : "Отменить удаление каталога",
"Rename folder" : "Переименовать каталог",
"Delete folder" : "Удалить каталог",
"Starred" : "Избранное",
"Unread articles" : "Не прочтённые статьи",
"All articles" : "Все статьи",
"Settings" : "Настройки",
"Keyboard shortcuts" : "Горячие клавиши",
"Disable mark read through scrolling" : "Отключить установку отметок о прочтении при прокручивании",
"Compact view" : "Компактный вид",
"Expand articles on key navigation" : "Раскрывать статьи при навигации клавишами",
"Show all articles" : "Показать все статьи",
"Reverse ordering (oldest on top)" : "Обратный порядок (самые старые сверху)",
"Subscriptions (OPML)" : "Подписки (OPML)",
"Import" : "Импорт",
"Export" : "Экспорт",
"Error when importing: file does not contain valid OPML" : "Ошибка при импорте: файл не содержит правильный OPML",
"Unread/Starred Articles" : "Непрочтенные/Избранные статьи",
"Error when importing: file does not contain valid JSON" : "Ошибка при импорте: файл не содержит правильный JSON"
},
"nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);");
| IBBoard/news | l10n/ru.js | JavaScript | agpl-3.0 | 12,909 |
builder.CreateFile("docx");
var oDocument = Api.GetDocument();
var oParagraph, oParaPr;
var oMyStyle = oDocument.CreateStyle("My document style");
oParaPr = oMyStyle.GetParaPr();
oParaPr.SetContextualSpacing(true);
oParagraph = oDocument.GetElement(0);
oParagraph.AddText("This is a paragraph with contextual spacing set to 'false' (no paragraph style is applied).");
oParagraph = Api.CreateParagraph();
oParagraph.AddText("This is a paragraph with contextual spacing set to 'false' (no paragraph style is applied).");
oDocument.Push(oParagraph);
oParagraph = Api.CreateParagraph();
oParagraph.SetStyle(oMyStyle);
oParagraph.AddText("This is a paragraph with contextual spacing set to 'true' (paragraph style is applied).");
oDocument.Push(oParagraph);
oParagraph = Api.CreateParagraph();
oParagraph.SetStyle(oMyStyle);
oParagraph.AddText("This is a paragraph with contextual spacing set to 'true' (paragraph style is applied).");
oDocument.Push(oParagraph);
builder.SaveFile("docx", "SetContextualSpacing.docx");
builder.CloseFile();
| ONLYOFFICE/doc-builder-testing | asserts/js/docx/smoke/api_para_pr/set_contextual_spacing.js | JavaScript | agpl-3.0 | 1,035 |
const webpack = require('webpack')
const path = require('path')
var config = {
entry: [
'./src/main'
],
output: {
path: path.join(__dirname, '..'),
filename: 'litewrite.min.js'
},
plugins: [
new webpack.optimize.OccurenceOrderPlugin(),
new webpack.NoErrorsPlugin(),
new webpack.IgnorePlugin(new RegExp('^(xmlhttprequest|./lang)$'))
],
module: {
loaders: [
{
test: [/\.txt$/, /\.html$/],
loader: 'raw'
}
]
},
resolve: {
alias: {
remotestorage: path.join(__dirname, '../lib/remotestorage'),
'remotestorage-documents': path.join(__dirname, '../lib/remotestorage-documents'),
'rs-adapter': path.join(__dirname, '../lib/backbone.remoteStorage-documents'),
snap: path.join(__dirname, '../lib/snap')
}
},
cssnext: {
browsers: 'last 2 versions'
}
}
if (process.env.NODE_ENV === 'production') {
config.plugins.push(
new webpack.optimize.UglifyJsPlugin({
compressor: {
warnings: false
}
})
)
} else {
config.devtool = 'cheap-module-eval-source-map'
config.entry.unshift('webpack-hot-middleware/client')
config.plugins.push(new webpack.HotModuleReplacementPlugin())
}
module.exports = config
| xMartin/litewrite | scripts/webpack.config.js | JavaScript | agpl-3.0 | 1,242 |
var extend = Object.assign || require('util')._extend
// short names for common things
var shorthands = {
'un': 'uninstall',
'rb': 'rebuild',
'list': 'ls',
'ln': 'link',
'i': 'install',
'it': 'install-test',
'up': 'update',
'c': 'config',
's': 'search',
'se': 'search',
'unstar': 'star', // same function
'tst': 'test',
't': 'test',
'ddp': 'dedupe',
'v': 'view',
'run': 'run-script'
}
var affordances = {
'la': 'ls',
'll': 'ls',
'verison': 'version',
'isntall': 'install',
'dist-tags': 'dist-tag',
'apihelp': 'help',
'find-dupes': 'dedupe',
'upgrade': 'update',
'login': 'adduser',
'add-user': 'adduser',
'author': 'owner',
'home': 'docs',
'issues': 'bugs',
'info': 'view',
'show': 'view',
'find': 'search',
'unlink': 'uninstall',
'remove': 'uninstall',
'rm': 'uninstall',
'r': 'uninstall'
}
// these are filenames in .
var cmdList = [
'install',
'install-test',
'uninstall',
'cache',
'config',
'set',
'get',
'update',
'outdated',
'prune',
'pack',
'dedupe',
'rebuild',
'link',
'publish',
'star',
'stars',
'adduser',
'login', // This is an alias for `adduser` but it can be confusing
'logout',
'unpublish',
'owner',
'access',
'team',
'deprecate',
'shrinkwrap',
'help',
'help-search',
'ls',
'search',
'view',
'init',
'version',
'edit',
'explore',
'docs',
'repo',
'bugs',
'root',
'prefix',
'bin',
'whoami',
'dist-tag',
'ping',
'test',
'stop',
'start',
'restart',
'run-script',
'completion'
]
var plumbing = [
'build',
'unbuild',
'xmas',
'substack',
'visnup'
]
module.exports.aliases = extend(extend({}, shorthands), affordances)
module.exports.shorthands = shorthands
module.exports.affordances = affordances
module.exports.cmdList = cmdList
module.exports.plumbing = plumbing
| MostafaHirsi/etherpad-lite-heroku | etherpad-lite/src/node_modules/npm/lib/config/cmd-list.js | JavaScript | agpl-3.0 | 1,864 |
'use strict';
const slug = require('limax');
const cdn = require('dumonda-me-server-lib').cdn;
const db = requireDb();
const security = require('./security');
const uuid = require('dumonda-me-server-lib').uuid;
const time = require('dumonda-me-server-lib').time;
const logger = require('dumonda-me-server-lib').logging.getLogger(__filename);
const createSuggestion = async function (userId, questionId, title, description, explanation) {
let suggestionId = uuid.generateUUID(), created = time.getNowUtcTimestamp();
await security.isAllowedToCreateSuggestion(userId, questionId);
let dbResponse = await db.cypher()
.match("(question:Question {questionId: {questionId}}), (user:User {userId: {userId}})")
.create(`(suggestion:QuestionSuggestion {suggestionId: {suggestionId}, title: {title},
description: {description}, explanation: {explanation}, created: {created}, open: true})`)
.merge(`(user)-[:IS_CREATOR]->(suggestion)`)
.merge(`(suggestion)-[:SUGGESTION]->(question)`)
.return(`user.name AS name`)
.end({userId, questionId, title, description, explanation, suggestionId, created}).send();
if (dbResponse.length === 1) {
logger.info(`Created suggestion ${suggestionId} for question ${questionId}`);
let response = {
suggestionId, created, creator: {
userId: userId, name: dbResponse[0].name, slug: slug(dbResponse[0].name),
userImage: await cdn.getSignedUrl(`profileImage/${userId}/thumbnail.jpg`),
userImagePreview: await cdn.getSignedUrl(`profileImage/${userId}/profilePreview.jpg`),
isLoggedInUser: true, isTrustUser: false
}
};
return response;
}
};
module.exports = {
createSuggestion
};
| Elyoos/Elyoos | dumondaMe/api/models/superUser/question/suggestion/create.js | JavaScript | agpl-3.0 | 1,812 |
// retina.js, a high-resolution image swapper (http://retinajs.com), v0.0.2
(function () {
function t(e) {
this.path = e;
var t = this.path.split("."), n = t.slice(0, t.length - 1).join("."), r = t[t.length - 1];
this.at_2x_path = n + "@2x." + r
}
function n(e) {
this.el = e, this.path = new t(this.el.getAttribute("src"));
var n = this;
this.path.check_2x_variant(function (e) {
e && n.swap()
})
}
var e = typeof exports == "undefined" ? window : exports;
e.RetinaImagePath = t, t.confirmed_paths = [], t.prototype.is_external = function () {
return!!this.path.match(/^https?\:/i) && !this.path.match("//" + document.domain)
}, t.prototype.check_2x_variant = function (e) {
var n, r = this;
if (this.is_external())return e(!1);
if (this.at_2x_path in t.confirmed_paths)return e(!0);
n = new XMLHttpRequest, n.open("HEAD", this.at_2x_path), n.onreadystatechange = function () {
return n.readyState != 4 ? e(!1) : n.status >= 200 && n.status <= 399 ? (t.confirmed_paths.push(r.at_2x_path), e(!0)) : e(!1)
}, n.send()
}, e.RetinaImage = n, n.prototype.swap = function (e) {
function n() {
var device_pixel = 1;
if (window.devicePixelRatio > 1.5) {
device_pixel = 2;
}
t.el.complete ? (t.el.setAttribute("width", (parseInt(t.el.naturalWidth, 10) * device_pixel)), t.el.setAttribute("height", (parseInt(t.el.naturalHeight, 10) * device_pixel)), t.el.setAttribute("src", e)) : setTimeout(n, 5)
}
typeof e == "undefined" && (e = this.path.at_2x_path);
var t = this;
n()
}, e.devicePixelRatio > 1 && (window.onload = function () {
var e = document.getElementsByTagName("img"), t = [], r, i;
for (r = 0; r < e.length; r++)i = e[r], t.push(new n(i))
})
})(); | tiltfactor/mg-game | www/js/retina.js | JavaScript | agpl-3.0 | 1,943 |
import cockpit from "cockpit";
import QUnit from "qunit-tests";
QUnit.test("basic", function (assert) {
const done = assert.async();
assert.expect(4);
const channel = cockpit.channel({ payload: "echo" });
let pass = 0;
const onControl = (ev, options) => {
if (pass === 0) {
assert.equal(options.command, "ready", "got ready");
pass += 1;
} else {
assert.equal(options.command, "done", "got done");
channel.close();
channel.removeEventListener("control", onControl);
done();
}
};
channel.addEventListener("control", onControl);
channel.addEventListener("message", (ev, payload) => {
assert.strictEqual(payload, "the payload", "got the right payload");
channel.control({ command: "done" });
});
assert.strictEqual(channel.binary, false, "not binary");
channel.send("the payload");
});
QUnit.test("binary empty", function (assert) {
const done = assert.async();
assert.expect(2);
const channel = cockpit.channel({
payload: "echo",
binary: true
});
const onMessage = (ev, payload) => {
assert.ok(payload instanceof Uint8Array, "got a byte array");
assert.strictEqual(payload.length, 0, "got the right payload");
channel.removeEventListener("message", onMessage);
done();
};
channel.addEventListener("message", onMessage);
channel.send("");
});
QUnit.test("binary", function (assert) {
const done = assert.async();
assert.expect(3);
const channel = cockpit.channel({ payload: "echo", binary: true });
const onMessage = (ev, payload) => {
assert.ok(payload instanceof Uint8Array, "got a byte array");
const array = [];
for (let i = 0; i < payload.length; i++)
array.push(payload[i]);
assert.deepEqual(array, [0, 1, 2, 3, 4, 5, 6, 7], "got back right data");
channel.close();
channel.removeEventListener("message", onMessage);
done();
};
channel.addEventListener("message", onMessage);
const buffer = new ArrayBuffer(8);
const view = new Uint8Array(buffer);
for (let i = 0; i < 8; i++)
view[i] = i;
assert.strictEqual(channel.binary, true, "binary set");
channel.send(buffer);
});
QUnit.test("fence", function (assert) {
const done = assert.async();
assert.expect(2);
const before = cockpit.channel({ payload: "echo" });
before.addEventListener("message", onMessage);
const fence = cockpit.channel({ payload: "echo", group: "fence" });
fence.addEventListener("message", onMessage);
const after = cockpit.channel({ payload: "echo" });
after.addEventListener("message", onMessage);
const received = [];
function onMessage(ev, payload) {
received.push(payload);
if (received.length == 3) {
assert.deepEqual(received, ["1", "2", "3"], "got back before and fence data");
fence.close();
} else if (received.length == 5) {
assert.deepEqual(received, ["1", "2", "3", "4", "5"], "got back data in right order");
before.close();
after.close();
done();
}
}
/* We send messages in this order, but they should echoed in numeric order */
before.send("1");
after.send("4");
after.send("5");
fence.send("2");
fence.send("3");
});
QUnit.start();
| cockpit-project/cockpit | pkg/base1/test-echo.js | JavaScript | lgpl-2.1 | 3,473 |
/* jshint ignore:start */
/* -*- mode: javascript; c-basic-offset: 4; indent-tabs-mode: nil -*- */
//
// Dalliance Genome Explorer
// (c) Thomas Down 2006-2013
//
// kspace.js
//
if (typeof(require) !== 'undefined') {
var utils = require('./utils');
var Awaited = utils.Awaited;
var pusho = utils.pusho;
var sa = require('./sourceadapters');
var MappedFeatureSource = sa.MappedFeatureSource;
var CachingFeatureSource = sa.CachingFeatureSource;
var BWGFeatureSource = sa.BWGFeatureSource;
var RemoteBWGFeatureSource = sa.RemoteBWGFeatureSource;
var BAMFeatureSource = sa.BAMFeatureSource;
var RemoteBAMFeatureSource = sa.RemoteBAMFeatureSource;
var DummySequenceSource = sa.DummySequenceSource;
var DummyFeatureSource = sa.DummyFeatureSource;
var OverlayFeatureSource = require('./overlay').OverlayFeatureSource;
var spans = require('./spans');
var Range = spans.Range;
var union = spans.union;
var intersection = spans.intersection;
var downsample = require('./sample').downsample;
var das = require('./das');
var DASSequence = das.DASSequence;
}
function FetchPool() {
this.reqs = [];
this.awaitedFeatures = {};
}
FetchPool.prototype.addRequest = function(xhr) {
this.reqs.push(xhr);
}
FetchPool.prototype.abortAll = function() {
for (var i = 0; i < this.reqs.length; ++i) {
this.reqs[i].abort();
}
}
function KSCacheBaton(chr, min, max, scale, features, status, coverage) {
this.chr = chr;
this.min = min;
this.max = max;
this.coverage = coverage;
this.scale = scale;
this.features = features || [];
this.status = status;
}
KSCacheBaton.prototype.toString = function() {
return this.chr + ":" + this.min + ".." + this.max + ";scale=" + this.scale;
}
function KnownSpace(tierMap, chr, min, max, scale, seqSource) {
this.tierMap = tierMap;
this.chr = chr;
this.min = min;
this.max = max;
this.scale = scale;
this.seqSource = seqSource || new DummySequenceSource();
this.viewCount = 0;
this.featureCache = {};
this.latestViews = {};
}
KnownSpace.prototype.bestCacheOverlapping = function(chr, min, max) {
var baton = this.featureCache[this.tierMap[0]];
if (baton) {
return baton;
} else {
return null;
}
}
KnownSpace.prototype.viewFeatures = function(chr, min, max, scale) {
if (scale != scale) {
throw "viewFeatures called with silly scale";
}
if (chr != this.chr) {
throw "Can't extend Known Space to a new chromosome";
}
if (min < 1) {
min = 1;
}
this.min = min;
this.max = max;
this.scale = scale;
if (this.pool) {
this.pool.abortAll();
}
this.pool = new FetchPool();
this.awaitedSeq = new Awaited();
this.seqWasFetched = false;
this.viewCount++;
this.startFetchesForTiers(this.tierMap);
}
function filterFeatures(features, min, max) {
var ff = [];
var featuresByGroup = {};
for (var fi = 0; fi < features.length; ++fi) {
var f = features[fi];
if (!f.min || !f.max) {
ff.push(f);
} else if (f.groups && f.groups.length > 0) {
pusho(featuresByGroup, f.groups[0].id, f);
} else if (f.min <= max && f.max >= min) {
ff.push(f);
}
}
for (var gid in featuresByGroup) {
var gf = featuresByGroup[gid];
var gmin = 100000000000, gmax = -100000000000;
for (var fi = 0; fi < gf.length; ++fi) {
var f = gf[fi];
gmin = Math.min(gmin, f.min);
gmax = Math.max(gmax, f.max);
}
if (gmin <= max || gmax >= min) {
for (var fi = 0; fi < gf.length; ++fi) {
ff.push(gf[fi]);
}
}
}
return ff;
}
KnownSpace.prototype.invalidate = function(tier) {
if (!this.pool) {
return;
}
this.featureCache[tier] = null;
this.startFetchesForTiers([tier]);
}
KnownSpace.prototype.startFetchesForTiers = function(tiers) {
var thisB = this;
var awaitedSeq = this.awaitedSeq;
var needSeq = false;
var gex;
for (var t = 0; t < tiers.length; ++t) {
try {
if (this.startFetchesFor(tiers[t], awaitedSeq)) {
needSeq = true;
}
} catch (ex) {
tiers[t].updateStatus(ex);
console.log('Error fetching tier source');
console.log(ex);
gex = ex;
}
}
if (needSeq && !this.seqWasFetched) {
this.seqWasFetched = true;
var smin = this.min, smax = this.max;
if (this.cs) {
if (this.cs.start <= smin && this.cs.end >= smax) {
var cachedSeq;
if (this.cs.start == smin && this.cs.end == smax) {
cachedSeq = this.cs;
} else {
cachedSeq = new DASSequence(this.cs.name, smin, smax, this.cs.alphabet,
this.cs.seq.substring(smin - this.cs.start, smax + 1 - this.cs.start));
}
return awaitedSeq.provide(cachedSeq);
}
}
this.seqSource.fetch(this.chr, smin, smax, this.pool, function(err, seq) {
if (seq) {
if (!thisB.cs || (smin <= thisB.cs.start && smax >= thisB.cs.end) ||
(smin >= thisB.cs.end) || (smax <= thisB.cs.start) ||
((smax - smin) > (thisB.cs.end - thisB.cs.start)))
{
thisB.cs = seq;
}
awaitedSeq.provide(seq);
} else {
console.log('Sequence loading failed', err);
awaitedSeq.provide(null);
}
});
}
if (gex)
throw gex;
}
KnownSpace.prototype.startFetchesFor = function(tier, awaitedSeq) {
var thisB = this;
var viewID = this.viewCount;
var source = tier.getSource() || new DummyFeatureSource();
var needsSeq = tier.needsSequence(this.scale);
var baton = thisB.featureCache[tier];
var wantedTypes = tier.getDesiredTypes(this.scale);
var chr = this.chr, min = this.min, max = this.max;
if (wantedTypes === undefined) {
return false;
}
if (baton && baton.chr === this.chr && baton.min <= min && baton.max >= max) {
var cachedFeatures = baton.features;
if (baton.min < min || baton.max > max) {
cachedFeatures = filterFeatures(cachedFeatures, min, max);
}
thisB.provision(tier, baton.chr, intersection(baton.coverage, new Range(min, max)), baton.scale, wantedTypes, cachedFeatures, baton.status, needsSeq ? awaitedSeq : null);
var availableScales = source.getScales();
if (baton.scale <= this.scale || !availableScales) {
return needsSeq;
} else {
}
}
if (source.instrument)
console.log('Starting fetch ' + viewID + ' (' + min + ', ' + max + ')');
source.fetch(chr, min, max, this.scale, wantedTypes, this.pool, function(status, features, scale, coverage) {
if (source.instrument)
console.log('Finishing fetch ' + viewID);
var latestViewID = thisB.latestViews[tier] || -1;
if (latestViewID > viewID) {
return;
}
if (!coverage) {
coverage = new Range(min, max);
}
if (!baton || (min < baton.min) || (max > baton.max)) { // FIXME should be merging in some cases?
thisB.featureCache[tier] = new KSCacheBaton(chr, min, max, scale, features, status, coverage);
}
thisB.latestViews[tier] = viewID;
thisB.provision(tier, chr, coverage, scale, wantedTypes, features, status, needsSeq ? awaitedSeq : null);
});
return needsSeq;
}
KnownSpace.prototype.provision = function(tier, chr, coverage, actualScale, wantedTypes, features, status, awaitedSeq) {
tier.updateStatus(status);
if (!status) {
var mayDownsample = false;
var src = tier.getSource();
while (MappedFeatureSource.prototype.isPrototypeOf(src) || CachingFeatureSource.prototype.isPrototypeOf(src) || OverlayFeatureSource.prototype.isPrototypeOf(src)) {
if (OverlayFeatureSource.prototype.isPrototypeOf(src)) {
src = src.sources[0];
} else {
src = src.source;
}
}
if (BWGFeatureSource.prototype.isPrototypeOf(src) || RemoteBWGFeatureSource.prototype.isPrototypeOf(src) || BAMFeatureSource.prototype.isPrototypeOf(src) || RemoteBAMFeatureSource.prototype.isPrototypeOf(src)) {
mayDownsample = true;
}
if (!src.opts || (!src.opts.forceReduction && !src.opts.noDownsample)) {
if ((actualScale < (this.scale/2) && features.length > 200) ||
(mayDownsample && wantedTypes && wantedTypes.length == 1 && wantedTypes.indexOf('density') >= 0))
{
features = downsample(features, this.scale);
}
}
if (awaitedSeq) {
awaitedSeq.await(function(seq) {
tier.viewFeatures(chr, coverage, actualScale, features, seq);
});
} else {
tier.viewFeatures(chr, coverage, actualScale, features);
}
}
}
if (typeof(module) !== 'undefined') {
module.exports = {
KnownSpace: KnownSpace
};
}
/* jshint ignore:end */
| Pagesmith/pagesmith-core | htdocs/core/dalliance/js/kspace.js | JavaScript | lgpl-3.0 | 9,463 |
isc.DataSource.create({
ID:"dsField",
fields : [
{ name:"name" },
{ name:"title" },
{ name:"type", valueMap:["text","boolean","date","int","decimal","link"]},
{ name:"required", title:"req", type:"boolean", width:40},
{ name:"hidden", title:"hide", type:"boolean", width:40}
]
});
isc.ListGrid.create({
ID:"customFieldsGrid",
dataSource:"dsField",
height:130,
canEdit:true, listEndEditAction: "next", editEvent:"click", modalEditing:true,
saveLocally:true, cellChanged : "bindButton.rebind()",
canReorderRecords:true,
data : [
{ name:"nextShipment", required:true },
{ name:"customField", title:"Order Quantity", type:"int" }
],
extraSpace:7
});
customFieldsGrid.delayCall("startEditing");
isc.DynamicForm.create({ ID:"sampleView", useAllDataSourceFields:true, titleWidth:150, overflow:"auto", height:"78%" });
isc.VLayout.create({
ID:"layoutButton",
layoutLeftMargin:5,
members: [
isc.IButton.create({
ID:"bindButton",
title:"Try it",
click : "this.rebind()",
rebind : function () {
sampleView.setDataSource("supplyItem", customFieldsGrid.getData());
}
})
]
});
bindButton.rebind();
isc.SectionStack.create({
width:"100%", height:"100%", visibilityMode:"multiple",
membersMargin: 6,
sections : [
{ title:"Field Editing", items:[customFieldsGrid, layoutButton], expanded:true },
{ title:"Sample Binding", items:[sampleView], expanded:true }
]
});
| kylemwhite/isc | isomorphic_11.1p/system/reference/inlineExamples/extending/customizeFields.js | JavaScript | lgpl-3.0 | 1,597 |
/**
* Created by wlh on 2016/10/10.
*/
'use strict';
let money2Hanzi = require('./index');
let assert = require("assert");
describe('index.js', function() {
it("10011001 => 壹仟零壹万壹仟零壹元整 should be ok", function() {
assert.equal('壹仟零壹万壹仟零壹元整', money2Hanzi.toHanzi(10011001))
})
it("11011011 => 壹仟壹佰零壹万壹仟零壹拾壹元整 should be ok", function() {
assert.equal('壹仟壹佰零壹万壹仟零壹拾壹元整', money2Hanzi.toHanzi(11011011))
})
it("10011001.01 => 壹仟零壹万壹仟零壹元壹分整 should be ok", function() {
assert.equal('壹仟零壹万壹仟零壹元壹分整', money2Hanzi.toHanzi(10011001.01))
})
it("200 => 贰佰元整 should be ok", function() {
assert.equal('贰佰元整', money2Hanzi.toHanzi(200));
})
it("2200 => 贰仟贰佰元整 should be ok", function() {
assert.equal('贰仟贰佰元整', money2Hanzi.toHanzi(2200));
})
it("'2200' => 贰仟贰佰元整 should be ok", function() {
assert.equal('贰仟贰佰元整', money2Hanzi.toHanzi('2200'));
})
}) | wanglihui/money2hanzi | test.js | JavaScript | lgpl-3.0 | 1,115 |
'use strict';
var path = require('path');
var gulp = require('gulp');
var conf = require('./conf');
var $ = require('gulp-load-plugins')({
pattern: ['gulp-*', 'main-bower-files', 'uglify-save-license', 'del']
});
gulp.task('partials', function () {
return gulp.src([
path.join(conf.paths.src, '/app/**/*.html'),
path.join(conf.paths.tmp, '/serve/app/**/*.html')
])
.pipe($.minifyHtml({
empty: true,
spare: true,
quotes: true
}))
.pipe($.angularTemplatecache('templateCacheHtml.js', {
module: 'osteo',
root: 'app'
}))
.pipe(gulp.dest(conf.paths.tmp + '/partials/'));
});
gulp.task('html', ['inject', 'partials'], function () {
var partialsInjectFile = gulp.src(path.join(conf.paths.tmp, '/partials/templateCacheHtml.js'), { read: false });
var partialsInjectOptions = {
starttag: '<!-- inject:partials -->',
ignorePath: path.join(conf.paths.tmp, '/partials'),
addRootSlash: false
};
var htmlFilter = $.filter('*.html');
var jsFilter = $.filter('**/*.js');
var cssFilter = $.filter('**/*.css');
var assets;
return gulp.src(path.join(conf.paths.tmp, '/serve/*.html'))
.pipe($.inject(partialsInjectFile, partialsInjectOptions))
.pipe(assets = $.useref.assets())
.pipe($.rev())
.pipe(jsFilter)
.pipe($.ngAnnotate())
.pipe($.uglify({ preserveComments: $.uglifySaveLicense })).on('error', conf.errorHandler('Uglify'))
.pipe(jsFilter.restore())
.pipe(cssFilter)
.pipe($.csso())
.pipe(cssFilter.restore())
.pipe(assets.restore())
.pipe($.useref())
.pipe($.revReplace())
.pipe(htmlFilter)
.pipe($.minifyHtml({
empty: true,
spare: true,
quotes: true,
conditionals: true
}))
.pipe(htmlFilter.restore())
.pipe(gulp.dest(path.join(conf.paths.dist, '/')))
.pipe($.size({ title: path.join(conf.paths.dist, '/'), showFiles: true }));
});
// Only applies for fonts from bower dependencies
// Custom fonts are handled by the "other" task
gulp.task('fonts', function () {
return gulp.src($.mainBowerFiles())
.pipe($.filter('**/*.{eot,svg,ttf,woff,woff2}'))
.pipe($.flatten())
.pipe(gulp.dest(path.join(conf.paths.dist, '/fonts/')));
});
gulp.task('other', function () {
var fileFilter = $.filter(function (file) {
return file.stat.isFile();
});
return gulp.src([
path.join(conf.paths.src, '/**/*'),
path.join('!' + conf.paths.src, '/**/*.{html,css,js,less}')
])
.pipe(fileFilter)
.pipe(gulp.dest(path.join(conf.paths.dist, '/')));
});
gulp.task('clean', function (done) {
$.del([path.join(conf.paths.dist, '/'), path.join(conf.paths.tmp, '/')], done);
});
gulp.task('build', ['html', 'fonts', 'other']);
| OlivierDupre/osteo | gulp/build.js | JavaScript | lgpl-3.0 | 2,731 |
import * as CANNON from './dependencies/cannon-es.js';
let world = null;
let lastCallTime;
const timeStep = 1 / 60;
const init = () => {
world = new CANNON.World();
world = new CANNON.World({
gravity: new CANNON.Vec3(0, -9.82, 0), // m/s²
});
world.quatNormalizeSkip = 0;
world.quatNormalizeFast = false;
const solver = new CANNON.GSSolver();
solver.iterations = 15;
solver.tolerance = 0.2;
world.solver = new CANNON.SplitSolver(solver);
world.broadphase = new CANNON.NaiveBroadphase();
};
const addBody = (body) => {
world.addBody(body);
};
const update = () => {
const time = performance.now() / 1000;
if (!lastCallTime) {
world.step(timeStep);
} else {
const dt = time - lastCallTime;
world.step(timeStep, dt);
}
lastCallTime = time;
};
const Physics = {
init,
update,
addBody
};
export { Physics as default };
| seriva/GenesisDeviceJS | app/src/physics.js | JavaScript | lgpl-3.0 | 971 |
/* ************************************************************************
qooxdoo - the new era of web development
http://qooxdoo.org
Copyright:
2004-2010 1&1 Internet AG, Germany, http://www.1und1.de
License:
LGPL: http://www.gnu.org/licenses/lgpl.html
EPL: http://www.eclipse.org/org/documents/epl-v10.php
See the LICENSE file in the project's top-level directory for details.
Authors:
* Tristan Koch (tristankoch)
************************************************************************ */
qx.Mixin.define("widgetbrowser.MControls",
{
members:
{
initControls: function(widgets, options)
{
options = options || {};
var controls = new qx.ui.container.Composite;
controls.setLayout(new qx.ui.layout.HBox(10));
this.add(controls);
if (options.disabled) {
var toggleDisabled = new qx.ui.form.ToggleButton("Disabled");
toggleDisabled.addListener("changeValue", function() {
widgets.forEach(function(widget, index) {
if (widget.setEnabled) {
widget.setEnabled(!this.getValue());
}
}, this);
});
controls.add(toggleDisabled);
}
if (options.hovered) {
var toggleHovered = new qx.ui.form.ToggleButton("Hovered");
toggleHovered.addListener("changeValue", function() {
widgets.forEach(function(widget, index) {
if (this.getValue()) {
widget.addState("hovered");
} else {
widget.removeState("hovered");
}
}, this);
});
controls.add(toggleHovered);
}
if (options.selected) {
var toggleSelected = new qx.ui.form.ToggleButton("Selected");
toggleSelected.addListener("changeValue", function() {
widgets.forEach(function(widget, index) {
if (this.getValue()) {
widget.addState("selected");
} else {
widget.removeState("selected");
}
}, this);
});
controls.add(toggleSelected);
}
if (options.focused) {
var toggleWidgetFocus = function (widget, status) {
if (status) {
widget.addState("focused");
} else {
widget.removeState("focused");
}
};
var toggleFocused = new qx.ui.form.ToggleButton("Focused");
toggleFocused.addListener("changeValue", function(e) {
widgets.forEach(function(widget, index) {
if (widget instanceof qx.ui.form.RadioButtonGroup) {
var children = widget.getChildren();
children.forEach(function (child) {
toggleWidgetFocus(child, this.getValue());
}, this);
} else {
toggleWidgetFocus(widget, this.getValue());
}
}, this);
});
controls.add(toggleFocused);
}
if (options.invalid) {
var toggleInvalid = new qx.ui.form.ToggleButton("Invalid");
toggleInvalid.addListener("changeValue", function(e) {
widgets.forEach(function(widget, index) {
if (widget.setInvalidMessage && widget.setValid) {
widget.setInvalidMessage("This is invalid message number " + index + ".");
widget.setValid(!this.getValue());
}
}, this);
});
controls.add(toggleInvalid);
}
if (options.overflow) {
var toggleInvalid = new qx.ui.form.ToggleButton("Overflow");
toggleInvalid.addListener("changeValue", function(e) {
widgets.forEach(function(widget, index) {
widget.toggleOverflow(widget, e.getData());
}, this);
});
controls.add(toggleInvalid);
}
if (options.hidesome) {
var tb = new qx.ui.form.ToggleButton("Hide some");
tb.addListener("changeValue", function(e) {
widgets.forEach(function(widget, index) {
if (widget.canHide) {
e.getData() ? widget.exclude() : widget.show();
}
}, this);
});
controls.add(tb);
}
}
}
}); | sebastienhupin/qxrad | qooxdoo/application/widgetbrowser/source/class/widgetbrowser/MControls.js | JavaScript | lgpl-3.0 | 4,192 |
var searchData=
[
['detect',['Detect',['../class_yandex_1_1_translator_1_1_i_yandex_translator_extensions.html#adf436ce24d63c6b3be3174dfcb69f6ea',1,'Yandex.Translator.IYandexTranslatorExtensions.Detect(this IYandexTranslator translator, string text)'],['../class_yandex_1_1_translator_1_1_i_yandex_translator_extensions.html#ae9a445f45c1b8c23c1ede5698ae333bd',1,'Yandex.Translator.IYandexTranslatorExtensions.Detect(this IYandexTranslator translator, string text, out string language)']]],
['detectedlanguageresult',['DetectedLanguageResult',['../class_yandex_1_1_translator_1_1_detected_language_result.html#acb2879029f985d52a2afb70f9b5cbf4e',1,'Yandex.Translator.DetectedLanguageResult.DetectedLanguageResult()'],['../class_yandex_1_1_translator_1_1_detected_language_result.html#a33607971a489058987d7e0ddc8bee730',1,'Yandex.Translator.DetectedLanguageResult.DetectedLanguageResult(int code, string language)']]]
];
| prokhor-ozornin/Yandex.NET.Translator | doc/html/search/functions_2.js | JavaScript | lgpl-3.0 | 922 |
qx.Theme.define("qx.test.theme.manager.mock.Decoration",
{
extend : qx.theme.modern.Decoration,
decorations :
{
"button" :
{
style :
{
radius: 10,
color: "border-button",
width: 2,
startColor: "button-start",
endColor: "button-end",
startColorPosition: 35,
endColorPosition: 100
}
}
}
});
| sebastienhupin/qxrad | qooxdoo/framework/source/class/qx/test/theme/manager/mock/Decoration.js | JavaScript | lgpl-3.0 | 384 |
define("rhAddonControllers", [ "SHARED/jquery", "SHARED/juzu-ajax","SHARED/userInvitation","calendar"], function($, jz,invite,calendar) {
var rhCtrl = function($scope, $q, $timeout, $http, $filter, Upload) {
var rhContainer = $('#rhAddon');
var deferred = $q.defer();
$scope.infoPageUrl = "/portal/dw/rh-info";
$scope.currentUser="";
$scope.employeesSpace="";
$scope.currentUserAvatar="";
$scope.currentUserName="";
$scope.sickBalance="";
$scope.holidaysBalance="";
$scope.hrId="";
$scope.insuranceId="";
$scope.socialSecNumber="";
$scope.vacationRequestsToValidate = [];
$scope.vacationSubsRequests = [];
$scope.myVacationRequests = [];
$scope.comments = [];
$scope.history = [];
$scope.userCalendars = [];
$scope.userCalendarId = "";
$scope.managerCalendarId = "";
$scope.vrmanagers = [];
$scope.vrsubs = [];
$scope.calEvents = [];
$scope.attachements = [];
$scope.showForm = false;
$scope.showDetails = false;
$scope.showResume = false;
$scope.showList = true;
$scope.showCal = false;
$scope.showSick = false;
$scope.showRequestsTab = true;
$scope.showHollidays = true;
$scope.showLeave = false;
$scope.showConventional = false;
$scope.showLogs = false;
$scope.showFullReq= false;
$scope.showAlert = false;
$scope.showInfoBox = true;
$scope.newVacationRequest = {id: null};
$scope.vacationsToVAlidateFilter = "active";
$scope.myVacationsFilter = "active";
$scope.vrOwnerData = null;
$scope.newComment = null;
$scope.cVacations = [];
$scope.officialDays = [];
$scope.cVacation = null;
$scope.oVacations = [];
$scope.vacationRequesttoShow = null;
$scope.initModals= function(){
$(".nbrDays").text('');
$("#substitutes, #managers").val('');
$scope.newVacationRequest.type = '';
$scope.newVacationRequest.fromDate ='';
$scope.newVacationRequest.toDate = '';
$scope.newVacationRequest.reason = '';
}
$scope.showBalance= function(){
if( $scope.newVacationRequest.type == 'holiday'){
$scope.showSick=false;
$scope.showHollidays=true;
$scope.showLeave=false;
$scope.showConventional=false;
} else if( $scope.newVacationRequest.type == 'sick'){
$scope.showSick=true;
$scope.showHollidays=false;
$scope.showLeave=false;
$scope.showConventional=false;
} else if( $scope.newVacationRequest.type == 'leave'){
$scope.showSick=false;
$scope.showHollidays=false;
$scope.showLeave=true;
$scope.showConventional=false;
}else if( $scope.newVacationRequest.type == 'conventional'){
$scope.showSick=false;
$scope.showHollidays=false;
$scope.showLeave=false;
$scope.showConventional=true;
}
else {
$scope.showSick=false;
$scope.showHollidays=false;
$scope.showLeave=false;
$scope.showConventional=false;
}
}
$scope.setConventional = function(cVacation){
$scope.cVacation=cVacation;
$scope.newVacationRequest.daysNumber=cVacation.daysNumber;
}
$scope.showFormFn = function(){
$scope.showInfoTab = false;
$scope.showRequestsTab=true;
$scope.showForm = true;
if($scope.getUrlParameterByName('rid')){
$scope.showDetails = true;
$scope.showFullReq = false;
}
}
$scope.toggleView = function(){
$scope.showInfoTab = false;
$scope.showRequestsTab=true;
$scope.showCal = !$scope.showCal;
$text = $(".show-calender").text();
if($text.indexOf($scope.i18n.showCalendar) >= 0){
/*$text = $scope.i18n.hideCalendar;*/
$text = "<i class='uiIconPLFEvent'></i><span id='forum' class='tabName show-calender'>"+$scope.i18n.hideCalendar+"</span>";
$scope.showForm = false;
$scope.showList = false;
$scope.showDetails = false;
}else{
/*$text = $scope.i18n.showCalendar;*/
$text = "<i class='uiIconPLFEvent'></i><span id='forum' class='tabName show-calender'>"+$scope.i18n.showCalendar+"</span>";
$scope.showResume = false;
$scope.showList = true;
$scope.showDetails = true;
}
$("#resultMessage").toggleClass("hide_alert");
$text = $(".show-calender").html($text);
}
$scope.loadBundles = function() {
$http({
method : 'GET',
url : rhContainer.jzURL('RHRequestManagementController.getBundle')
}).then(function successCallback(data) {
$scope.i18n = data.data;
$scope.showAlert = false;
$scope.loadData();
deferred.resolve(data);
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
}
$scope.loadContext = function() {
$http({
method : 'GET',
url : rhContainer.jzURL('RHRequestManagementController.getContext')
}).then(function successCallback(data) {
$scope.completeCurrentUser = data.data;
$scope.currentUser=data.data.currentUser;
$scope.employeesSpace=data.data.employeesSpace
$scope.currentUserAvatar=data.data.currentUserAvatar;
$scope.currentUserName=data.data.currentUserName;
$scope.sickBalance=data.data.sickBalance;
$scope.holidaysBalance=data.data.holidaysBalance;
$scope.hrId=data.data.hrId;
$scope.insuranceId=data.data.insuranceId;
$scope.socialSecNumber=data.data.socialSecNumber;
$scope.officialDays=data.data.officialDays;
var rsetUrl="/rest/rhrequest/users/find?currentUser="+$scope.currentUser+"&spaceURL="+$scope.employeesSpace;
invite.build('managers', rsetUrl,'choose user');
console.log(invite.build('substitutes', rsetUrl,'choose user'));
console.log(deferred.resolve(data));
$scope.showAlert = false;
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
}
$scope.getUrlParameterByName = function(name, url) {
if (!url) {
url = window.location.href;
}
name = name.replace(/[\[\]]/g, "\\$&");
var regex = new RegExp("[?&]" + name + "(=([^&#]*)|&|#|$)"),
results = regex.exec(url);
if (!results) return null;
if (!results[2]) return '';
return decodeURIComponent(results[2].replace(/\+/g, " "));
}
$scope.showRequestfromUrl = function() {
var requestId = $scope.getUrlParameterByName('rid');
if (typeof requestId !== 'undefined' && requestId !==null) {
$http({
method : 'GET',
url : rhContainer.jzURL('RHRequestManagementController.getVacationRequest')+ "&id=" +requestId
}).then(function successCallback(data) {
if(data.data==""){
$scope.setResultMessage($scope.i18n.requestNotFound, "error");
}else{
$scope.showVacationRequest(data.data);
$scope.showInfoBox=false;
$scope.showFullReq = true;
$scope.showAlert = false;
}
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
}
}
$scope.loadVacationRequestsToValidate= function(status) {
var url="";
if(status!=null){
url=url+ "&status="+status;
}
$http({
method : 'GET',
url : rhContainer.jzURL('RHRequestManagementController.getVacationRequestsForCurrentValidator')+url
}).then(function successCallback(data) {
$scope.vacationRequestsToValidate = data.data;
if($scope.vacationRequestsToValidate.length>0){
$scope.showList=true;
$scope.showForm=false;
}
$scope.showAlert = false;
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
};
$scope.loadMyVacationRequests = function(status) {
var url="";
if(status!=null){
url=url+ "&status="+status;
}
$http({
method : 'GET',
url : rhContainer.jzURL('RHRequestManagementController.getVacationRequestsOfCurrentUser')+url
}).then(function successCallback(data) {
$scope.myVacationRequests = data.data;
if($scope.myVacationRequests.length>0){
$scope.showList=true;
$scope.showForm=false;
}
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
};
$scope.saveVacationRequest = function() {
// if (!$scope.validateVacationRequestForm($scope.newVacationRequest)) {
// return;
// }
var datefrom = $scope.updateDateFormat($("#fromDate").val(), $("#fromTime option[value]:selected").text());
var dateto = $scope.updateDateFormat($("#toDate").val(), $("#toTime option[value]:selected").text());
if(($scope.newVacationRequest.type != "leave") && ($scope.newVacationRequest.type != "conventional") && (!$scope.newVacationRequest.daysNumber)){
$scope.setResultMessage($scope.i18n.nbrDate, "error");
$("#daysNumberHollidays, #daysNumberSick").addClass("ng-invalid");
$("#toDate, #fromDate").removeClass("ng-invalid");
}else if( ($scope.newVacationRequest.type != "leave") && ($scope.newVacationRequest.type != "conventional") && (($("#toDate").val() == "") || ($("#fromDate").val() == "")||
(($("#toTime option[value]:selected").text() == "") || ($("#toTime option[value]:selected").text() == "")) ||
(dateto == NaN) || (datefrom == NaN))){
$("#daysNumberHollidays, #daysNumberSick").removeClass("ng-invalid");
$scope.setResultMessage($scope.i18n.fromToDate, "error");
$("#toDate, #fromDate, #toTime, #fromTime").addClass("ng-invalid");
}else if(($scope.newVacationRequest.type == "leave") && ($("#fromDate").val() == "") || (($scope.newVacationRequest.type == "leave") && ($("#fromTime option[value]:selected").text() == ""))){
$("#daysNumberHollidays, #daysNumberSick").removeClass("ng-invalid");
$scope.setResultMessage($scope.i18n.leaveDateMsg, "error");
$("#toDate, #fromDate, #toTime, #fromTime").addClass("ng-invalid");
}else if(datefrom > dateto){
$("#daysNumberHollidays, #daysNumberSick").removeClass("ng-invalid");
$scope.setResultMessage($scope.i18n.fromToSup, "error");
$("#toDate, #fromDate").addClass("ng-invalid");
} else if($scope.getUsers("managers")[0] == ""){
$scope.setResultMessage($scope.i18n.manager, "error");
$(".managersInput .selectize-input").addClass("ng-invalid");
}else if(($scope.newVacationRequest.type == "conventional") && (($("#fromDate").val() == ""))){
$scope.setResultMessage($scope.i18n.leaveDateMsg, "error");
$(".managersInput .selectize-input").addClass("ng-invalid");
}else{
$("#daysNumberHollidays, #daysNumberSick,.managersInput .selectize-input").removeClass("ng-invalid");
$("#toDate, #fromDate").removeClass("ng-invalid");
$scope.showAlert=false;
$scope.newVacationRequest.fromDate = (datefrom);
$scope.newVacationRequest.toDate = (dateto);
var managers= $scope.getUsers("managers");
var substitutes= $scope.getUsers("substitutes");
$scope.newVacationRequestWithManagers = {
vacationRequestDTO : $scope.newVacationRequest,
managers : managers,
substitutes : substitutes,
exoCalendarId: $scope.userCalendarId
};
$scope.newVacationRequestWithManagers.cVacation=$scope.cVacation;
$http({
data : $scope.newVacationRequestWithManagers,
method : 'POST',
headers : {
'Content-Type' : 'application/json'
},
url : rhContainer.jzURL('RHRequestManagementController.saveVacationRequest')
}).then(function successCallback(data) {
$scope.myVacationRequests = data.data;
$scope.showForm = false;
$scope.newVacationRequest = {id : null };
$("#managers").val("");
$("#substitutes").val("");
$("#userCalendar").val("");
$scope.showAlert = false;
calendar.refresh('myCalendar');
$scope.initModals();
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
}
}
$scope.deleteRequest = function(vacationRequest) {
if (!confirm($scope.i18n.deleteConfirm + " " + vacationRequest.id)) {
return;
}
/*$scope.setResultMessage($scope.i18n.savingVacationRequest, "info");*/
$http({
data : vacationRequest,
method : 'POST',
headers : {
'Content-Type' : 'application/json'
},
url : rhContainer.jzURL('RHRequestManagementController.deleteRequest')
}).then(function successCallback(data) {
$scope.myVacationRequests = data.data;
$scope.showForm = false;
$scope.showForm = false;
calendar.refresh('myCalendar');
$scope.setResultMessage($scope.i18n.deleteRequest, "success");
$timeout(function() {
$scope.showAlert = false;
}, 3000);
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
};
$scope.showVacationRequest = function(vacationRequest) {
$scope.vacationRequesttoShow=vacationRequest;
$scope.loadVrOwnerData(vacationRequest);
$scope.loadManagers(vacationRequest);
$scope.loadSubstitues(vacationRequest);
$scope.loadAttachments(vacationRequest);
$scope.loadComments(vacationRequest);
$scope.loadHistory(vacationRequest);
$scope.showDetails = true;
};
$scope.showVacationRequestById = function(id) {
$http({
method : 'GET',
url : rhContainer.jzURL('RHRequestManagementController.getVacationRequest')+ "&id=" +id
}).then(function successCallback(data) {
$scope.showVacationRequest(data.data);
$scope.showAlert = false;
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
}
$scope.showVacationResume = function(id) {
$http({
method : 'GET',
url : rhContainer.jzURL('RHRequestManagementController.getVacationRequest')+ "&id=" +id
}).then(function successCallback(data) {
/*POPUP HERE*/
$scope.vacationRequesttoShow=data.data;
$scope.loadManagers(data.data);
$scope.loadVrOwnerData(data.data);
$scope.loadSubstitues(data.data);
$scope.loadComments(data.data);
$scope.loadHistory(data.data);
$scope.showResume = true;
/*POPUP HERE*/
$scope.showAlert = false;
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
}
$scope.loadSubstitues = function(vacationRequest) {
$http({
data : vacationRequest,
method : 'POST',
headers : {
'Content-Type' : 'application/json'
},
url : rhContainer.jzURL('RHRequestManagementController.getSubstitutesByRequestID')
}).then(function successCallback(data) {
$scope.vrsubs = data.data;
$scope.showAlert = false;
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
};
$scope.loadManagers = function(vacationRequest) {
$http({
data : vacationRequest,
method : 'POST',
headers : {
'Content-Type' : 'application/json'
},
url : rhContainer.jzURL('RHRequestManagementController.getValidatorsByRequestID')
}).then(function successCallback(data) {
$scope.vrmanagers = data.data;
$scope.showAlert = false;
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
};
$scope.loadVrOwnerData = function(vacationRequest) {
$http({
data : vacationRequest,
method : 'POST',
headers : {
'Content-Type' : 'application/json'
},
url : rhContainer.jzURL('RHRequestManagementController.getVrOwnerData')
}).then(function successCallback(data) {
$scope.vrOwnerData = data.data;
$scope.showAlert = false;
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
};
$scope.loadComments = function(vacationRequest) {
$http({
data : vacationRequest,
method : 'POST',
headers : {
'Content-Type' : 'application/json'
},
url : rhContainer.jzURL('RHRequestManagementController.getComments')
}).then(function successCallback(data) {
$scope.comments = data.data;
$scope.showAlert = false;
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
};
$scope.loadHistory = function(vacationRequest) {
$http({
data : vacationRequest,
method : 'POST',
headers : {
'Content-Type' : 'application/json'
},
url : rhContainer.jzURL('RHRequestManagementController.getHistory')
}).then(function successCallback(data) {
$scope.history = data.data;
$scope.showAlert = false;
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
};
$scope.saveComment = function() {
if($scope.newComment.commentText){
$scope.showAlert = false;
$scope.setResultMessage($scope.i18n.savingVacationRequest, "info");
$scope.newComment.requestId=$scope.vacationRequesttoShow.id;
$scope.newComment.postedTime= Date.now();
$scope.newComment.posterId=$scope.currentUser;
$scope.newComment.posterAvatar=$scope.currentUserAvatar;
$scope.newComment.posterName=$scope.currentUserName;
$http({
data : $scope.newComment,
method : 'POST',
headers : {
'Content-Type' : 'application/json'
},
url : rhContainer.jzURL('RHRequestManagementController.saveComment')
}).then(function successCallback(data) {
$scope.comments.push($scope.newComment);
$scope.newComment = {
id : null
};
$scope.showAlert = false;
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
}else{
$scope.setResultMessage($scope.i18n.emptyComment, "error");
}
}
$scope.approveRequest = function(vacationRequest) {
$http({
data : vacationRequest,
method : 'POST',
headers : {
'Content-Type' : 'application/json'
},
url : rhContainer.jzURL('RHRequestManagementController.approveRequest')
}).then(function successCallback(data) {
$scope.loadVacationRequestsToValidate();
$http({
method : 'GET',
url : rhContainer.jzURL('RHRequestManagementController.getVacationRequest')+ "&id=" +$scope.vacationRequesttoShow.id
}).then(function successCallback(data) {
$scope.showVacationRequest(data.data);
$scope.showAlert = false;
calendar.refresh('myCalendar');
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
}
$scope.declineRequest = function(vacationRequest) {
$http({
data : vacationRequest,
method : 'POST',
headers : {
'Content-Type' : 'application/json'
},
url : rhContainer.jzURL('RHRequestManagementController.declineRequest')
}).then(function successCallback(data) {
$scope.loadVacationRequestsToValidate();
$http({
method : 'GET',
url : rhContainer.jzURL('RHRequestManagementController.getVacationRequest')+ "&id=" +$scope.vacationRequesttoShow.id
}).then(function successCallback(data) {
$scope.showVacationRequest(data.data);
$scope.showAlert = false;
calendar.refresh('myCalendar');
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
}
$scope.getUsers = function(id) {
var data = $("#"+id).val().split(",");
return data;
}
// function which set the result message with the given style
$scope.setResultMessage = function(text, type) {
$scope.resultMessageClass = "alert-" + type;
$scope.resultMessageClassExt = "uiIcon" + type.charAt(0).toUpperCase()
+ type.slice(1);
$scope.showAlert = true;
$scope.resultMessage = text;
}
$scope.validateVacationRequestForm = function(vacationRequest) {
return true;
};
$scope.uploadFiles = function(file, errFiles) {
$scope.f = file;
$scope.errFile = errFiles && errFiles[0];
if (file) {
file.upload = Upload.upload({
url: rhContainer.jzURL('RHRequestManagementController.uploadFile'),
data: {requestId: $scope.vacationRequesttoShow.id,
file: file}
});
file.upload.then(function (response) {
$timeout(function () {
file.result = response.data;
$scope.attachements = $scope.loadAttachments($scope.vacationRequesttoShow);
file.progress =undefined;
});
}, function (response) {
if (response.status > 0)
$scope.errorMsg = response.status + ': ' + response.data;
}, function (evt) {
file.progress = Math.min(100, parseInt(100.0 *
evt.loaded / evt.total));
});
}
}
$scope.loadAttachments = function(vacationRequest) {
$http({
data : vacationRequest,
method : 'POST',
headers : {
'Content-Type' : 'application/json'
},
url : rhContainer.jzURL('RHRequestManagementController.getRequestAttachements')
}).then(function successCallback(data) {
$scope.showAlert = false;
$scope.attachements = data.data;
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
};
$scope.deleteAttachement = function(fileName) {
$http({
url : rhContainer.jzURL('RHRequestManagementController.deleteFile')+"&requestId="+$scope.vacationRequesttoShow.id+"&fileName="+fileName
}).then(function successCallback(data) {
$scope.attachements = $scope.loadAttachments($scope.vacationRequesttoShow);
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
};
$scope.geti18n = function(id) {
for(var propt in $scope.i18n){
if(id==propt) return $scope.i18n[propt];
}
return id;
};
$scope.getLocaleDate = function(date) {
if($scope.i18n&&$scope.i18n.offset){
return date+$scope.i18n.offset;
}else{
return date;
}
};
$scope.loadData = function() {
var requestId = $scope.getUrlParameterByName('rid');
var urlParam = "";
if (typeof requestId !== 'undefined' && requestId !==null) {
urlParam = "&rid=" +requestId ;
}
$http({
method : 'GET',
url : rhContainer.jzURL('RHRequestManagementController.getData')+ urlParam
}).then(function successCallback(data) {
$scope.currentUser=data.data.currentUser;
$scope.currentUserAvatar = data.data.currentUserAvatar;
$scope.currentUserName = data.data.currentUserName;
$scope.employeesSpace = data.data.employeesSpace;
$scope.sickBalance = data.data.sickBalance;
$scope.holidaysBalance = data.data.holidaysBalance;
$scope.hrId = data.data.hrId;
$scope.insuranceId = data.data.insuranceId;
$scope.socialSecNumber = data.data.socialSecNumber;
if(data.data.vacationRequestsToShow!=null){
$scope.showVacationRequest(data.data.vacationRequestsToShow);
$scope.showInfoBox=false;
$scope.showFullReq = true;
$scope.showAlert = false;
$scope.showRequestsTab = true;
}
$scope.myVacationRequests = data.data.myVacationRequests;
$scope.vacationRequestsToValidate = data.data.vacationRequestsToValidate;
$scope.vacationSubsRequests = data.data.vacationSubsRequests;
if(data.data.conventionalVacations!=null) {$scope.cVacations = data.data.conventionalVacations;}
if(data.data.officialVacations!=null) {$scope.oVacations = data.data.officialVacations;}
$scope.officialDays=data.data.officialDays;
var rsetUrl="/rest/rhrequest/users/find?currentUser="+$scope.currentUser+"&spaceURL="+$scope.employeesSpace;
invite.build('managers', rsetUrl,'choose user');
invite.build('substitutes', rsetUrl,'choose user');
calendar.build('myCalendar');
console.log(deferred.resolve(data));
$scope.showAlert = false;
deferred.resolve(data);
$('#rhAddon').css('visibility', 'visible');
$(".rhLoadingBar").remove()
}, function errorCallback(data) {
$scope.setResultMessage($scope.i18n.defaultError, "error");
});
}
$scope.refreshController = function() {
try {
$scope.$digest()
} catch (excep) {
// No need to display errors in console
}
};
$scope.updateDateFormat = function(date, time) {
var dateSplit = date;
dateSplit = dateSplit.split("-");
// return Date.parse(dateSplit[1] + '-' + dateSplit[0] + '-' + dateSplit[2]);
dateSplit = moment(dateSplit[2] + '-' + dateSplit[1] + '-' + dateSplit[0] + ' '+ time);
return Date.parse(dateSplit);
};
$scope.formatDate = function(date) {
var day = date.getDate();
var monthIndex = date.getMonth();
monthIndex=monthIndex+1;
return day + '-' + monthIndex;
};
$scope.calculateDays = function(vr) {
var j = 0;
var offDays="";
var datefrom = $scope.updateDateFormat($("#fromDate").val(), $("#fromTime option[value]:selected").text());
var dateto = $scope.updateDateFormat($("#toDate").val(), $("#toTime option[value]:selected").text());
var dateArray = new Array();
var fromDate = new Date();
fromDate.setTime(datefrom);
var toDate = new Date();
toDate.setTime(dateto);
var currentDate = new Date();
currentDate.setTime(datefrom);
while (currentDate <= toDate) {
var isOff=isOffDay(currentDate);
if(isOff){
offDays=offDays+' '+ $scope.formatDate(currentDate)+',';
}
if (currentDate.getDay() != 6 && currentDate.getDay() != 0 && !isOff) {
j++;
}
currentDate.setDate(currentDate.getDate() + 1);
}
if (fromDate.getHours() > 12 && fromDate.getHours() < 19 ) j = j - 0.5;
if (toDate.getHours() > 7 && toDate.getHours() < 15) j = j - 0.5;
$scope.newVacationRequest.daysNumber = j;
$(".nbrDays").text(j);
if(offDays!=""){
$(".oDays").text("( "+$scope.i18n.bankHolidays+": "+offDays+")");
} else $(".oDays").text("");
};
function isOffDay(date) {
if ($scope.officialDays.length == 0) {
return false;
} else {
for (i = 0; i < $scope.officialDays.length; i++) {
var od = new Date();
od.setTime($scope.officialDays[i]);
if (sameDay(date, od)) return true;
}
}
return false;
}
function sameDay(d1, d2) {
return d1.getFullYear() === d2.getFullYear() && d1.getMonth() === d2.getMonth() && d1.getDate() === d2.getDate();
}
$scope.loadBundles();
$( "#toDate, #fromDate, #fromTime, #toTime" ).on( "change", function() {
if(($("#toDate").val() != "") && ($("#fromDate").val() != "") &&
($("#toTime option[value]:selected").text() != "") && ($("#toTime option[value]:selected").text() != "") ){$scope.calculateDays($scope.newVacationRequest);}
});
};
return rhCtrl;
}); | exo-addons/rh-requests-management | portlet/src/main/java/org/exoplatform/rhmanagement/portlet/rhManagement/assets/js/controllers.js | JavaScript | lgpl-3.0 | 33,616 |
/**
* Copyright (C) 2005-2015 Alfresco Software Limited.
*
* This file is part of Alfresco
*
* Alfresco is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* Alfresco is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Alfresco. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* This is a unit test for AlfTabContainer
*
* @author Richard Smith
*/
define(["intern!object",
"intern/chai!expect",
"intern/chai!assert",
"require",
"alfresco/TestCommon",
"intern/dojo/node!leadfoot/keys"],
function (registerSuite, expect, assert, require, TestCommon, keys) {
var browser;
registerSuite({
name: "Tab Container Tests",
setup: function() {
browser = this.remote;
return TestCommon.loadTestWebScript(this.remote, "/AlfTabContainer", "Tab Container Tests").end();
},
beforeEach: function() {
browser.end();
},
"Check the tab container is present": function () {
return browser.findByCssSelector("div.alfresco-layout-AlfTabContainer > div.dijitTabContainer")
.then(function () {
},
function () {
assert(false, "Tab container not rendered");
});
},
"Check the correct number of tabs is present": function() {
return browser.findAllByCssSelector("div.dijitTabListWrapper > div.dijitTabContainerTop-tabs > div.dijitTab")
.then(
function (tabs) {
expect(tabs.length).to.equal(11, "There are not 11 tabs");
}
);
},
"Check the correct number of panels is present": function() {
return browser.findAllByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper")
.then(
function (panels) {
expect(panels.length).to.equal(11, "There are not 11 panels");
}
);
},
"Visible panel not rendered": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper.dijitVisible")
.then(
function () {
},
function () {
assert(false, "Visible panel not rendered");
});
},
"Check the correct number of panels is present (2)": function() {
return browser.findAllByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper.dijitHidden")
.then(
function (panels) {
expect(panels.length).to.equal(10, "There are not 10 panels");
}
);
},
"Checking 3rd panel is visible": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(3)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitVisible", "The 3rd panel should be visible");
expect(currClasses).to.not.contain("dijitHidden", "The 3rd panel should not be hidden");
});
},
"Checking last panel is hidden": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:last-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitHidden", "The last panel should be hidden");
expect(currClasses).to.not.contain("dijitVisible", "The last panel should not be visible");
});
},
"Checking 3rd panel is hidden": function() {
return browser.findByCssSelector("div.dijitTabListWrapper > div.dijitTabContainerTop-tabs > div.dijitTab:last-of-type")
.click()
.end()
// Test current panel states
.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(3)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.not.contain("dijitVisible", "The 3rd panel should not be visible");
expect(currClasses).to.contain("dijitHidden", "The 3rd panel should be hidden");
});
},
"Checking last panel is visible": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:last-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.not.contain("dijitHidden", "The last panel should not be hidden");
expect(currClasses).to.contain("dijitVisible", "The last panel should be visible");
});
},
"Checking 3rd panel is visible (2)": function() {
return browser.findByCssSelector("div.dijitTabListWrapper > div.dijitTabContainerTop-tabs > div.dijitTab:nth-of-type(3)")
.click()
.end()
// Test current panel states
.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(3)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitVisible", "The 3rd panel should be visible");
expect(currClasses).to.not.contain("dijitHidden", "The 3rd panel should not be hidden");
});
},
"Checking last panel is hidden (2)": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:last-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitHidden", "The last panel should be hidden");
expect(currClasses).to.not.contain("dijitVisible", "The last panel should not be visible");
});
},
"Post Coverage Results": function() {
TestCommon.alfPostCoverageResults(this, browser);
}
});
// This test reloads the page to clear any previous focus and make keyboard actions more predictable
registerSuite({
name: "Tab Container Tests (keyboard)",
setup: function() {
browser = this.remote;
return TestCommon.loadTestWebScript(this.remote, "/AlfTabContainer", "Tab Container Tests (keyboard)").end();
},
beforeEach: function() {
browser.end();
},
"Checking 3rd panel is visible": function () {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(3)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitVisible", "The 3rd panel should be visible");
expect(currClasses).to.not.contain("dijitHidden", "The 3rd panel should not be hidden");
});
},
"Checking 4th is hidden": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(4)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitHidden", "The 4th panel should be hidden");
expect(currClasses).to.not.contain("dijitVisible", "The 4th panel should not be visible");
});
},
"Checking 3rd panel is hidden": function() {
return browser.pressKeys(keys.TAB)
.pressKeys(keys.ARROW_RIGHT)
// Test current panel states
.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(3)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.not.contain("dijitVisible", "The 3rd panel should not be visible");
expect(currClasses).to.contain("dijitHidden", "The 3rd panel should be hidden");
});
},
"Checking 4th panel is visible": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(4)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.not.contain("dijitHidden", "The 4th panel should not be hidden");
expect(currClasses).to.contain("dijitVisible", "The 4th panel should be visible");
});
},
"Checking 3rd panel is visible (2)": function() {
return browser.pressKeys(keys.ARROW_LEFT)
// Test current panel states
.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(3)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitVisible", "The 3rd panel should be visible");
expect(currClasses).to.not.contain("dijitHidden", "The 3rd panel should not be hidden");
});
},
"Checking 4th panel is hidden": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(4)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitHidden", "The 4th panel should be hidden");
expect(currClasses).to.not.contain("dijitVisible", "The 4th panel should not be visible");
});
},
"Post Coverage Results": function() {
TestCommon.alfPostCoverageResults(this, browser);
}
});
// This test reloads the page to clear any previous focus and make keyboard actions more predictable
registerSuite({
name: "Tab Container Tests (function)",
setup: function() {
browser = this.remote;
return TestCommon.loadTestWebScript(this.remote, "/AlfTabContainer", "Tab Container Tests (function)").end();
},
beforeEach: function() {
browser.end();
},
"Checking 3rd panel is visible": function () {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(3)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitVisible", "The 3rd panel should be visible");
expect(currClasses).to.not.contain("dijitHidden", "The 3rd panel should not be hidden");
});
},
"Checking 1st panel is visible after external selection by index": function() {
return browser.findById("SELECT_TAB_1")
.click()
.end()
.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:first-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitVisible", "The 1st panel should be visible");
expect(currClasses).to.not.contain("dijitHidden", "The 1st panel should not be hidden");
});
},
"Checking 3rd panel is hidden after external selection by index": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(3)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitHidden", "The 3rd panel should be hidden");
expect(currClasses).to.not.contain("dijitVisible", "The 3rd panel should not be visible");
});
},
"Checking 2nd panel is visible after external selection by index": function() {
return browser.findById("SELECT_TAB_2")
.click()
.end()
.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(2)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitVisible", "The 2nd panel should be visible");
expect(currClasses).to.not.contain("dijitHidden", "The 2nd panel should not be hidden");
});
},
"Checking 1st panel is hidden after external selection by index": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:first-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitHidden", "The 1st panel should be hidden");
expect(currClasses).to.not.contain("dijitVisible", "The 1st panel should not be visible");
});
},
"Checking 1st panel is visible after external selection by title": function() {
return browser.findById("SELECT_TAB_3")
.click()
.end()
.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:first-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitVisible", "The 1st panel should be visible");
expect(currClasses).to.not.contain("dijitHidden", "The 1st panel should not be hidden");
});
},
"Checking 2nd panel is hidden after external selection by title": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(4)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitHidden", "The 2nd panel should be hidden");
expect(currClasses).to.not.contain("dijitVisible", "The 2nd panel should not be visible");
});
},
"Checking 2nd panel is visible after external selection by title": function() {
return browser.findById("SELECT_TAB_4")
.click()
.end()
.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(2)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitVisible", "The 2nd panel should be visible");
expect(currClasses).to.not.contain("dijitHidden", "The 2nd panel should not be hidden");
});
},
"Checking 1st panel is hidden after external selection by title": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:first-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitHidden", "The 1st panel should be hidden");
expect(currClasses).to.not.contain("dijitVisible", "The 1st panel should not be visible");
});
},
"Checking 1st panel is visible after external selection by id": function() {
return browser.findById("SELECT_TAB_5")
.click()
.end()
.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:first-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitVisible", "The 1st panel should be visible");
expect(currClasses).to.not.contain("dijitHidden", "The 1st panel should not be hidden");
});
},
"Checking 2nd panel is hidden after external selection by id": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(4)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitHidden", "The 2nd panel should be hidden");
expect(currClasses).to.not.contain("dijitVisible", "The 2nd panel should not be visible");
});
},
"Checking 2nd panel is visible after external selection by id": function() {
return browser.findById("SELECT_TAB_6")
.click()
.end()
.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(2)")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitVisible", "The 2nd panel should be visible");
expect(currClasses).to.not.contain("dijitHidden", "The 2nd panel should not be hidden");
});
},
"Checking 1st panel is hidden after external selection by id": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:first-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitHidden", "The 1st panel should be hidden");
expect(currClasses).to.not.contain("dijitVisible", "The 1st panel should not be visible");
});
},
"Checking 1st tab is disabled after external selection by index": function() {
return browser.findById("DISABLE_TAB_1")
.click()
.end()
.findByCssSelector("div.dijitTabContainerTop-tabs > div:first-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitDisabled", "The 1st panel should be disabled");
});
},
"Checking 1st tab is enabled after external selection by index": function() {
return browser.findById("DISABLE_TAB_2")
.click()
.end()
.findByCssSelector("div.dijitTabContainerTop-tabs > div:first-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.not.contain("dijitDisabled", "The 1st panel should not be disabled");
});
},
"Checking 1st tab is disabled after external selection by title": function() {
return browser.findById("DISABLE_TAB_3")
.click()
.end()
.findByCssSelector("div.dijitTabContainerTop-tabs > div:first-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitDisabled", "The 1st panel should be disabled");
});
},
"Checking 1st tab is enabled after external selection by title": function() {
return browser.findById("DISABLE_TAB_4")
.click()
.end()
.findByCssSelector("div.dijitTabContainerTop-tabs > div:first-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.not.contain("dijitDisabled", "The 1st panel should not be disabled");
});
},
"Checking 1st tab is disabled after external selection by id": function() {
return browser.findById("DISABLE_TAB_5")
.click()
.end()
.findByCssSelector("div.dijitTabContainerTop-tabs > div:first-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.contain("dijitDisabled", "The 1st panel should be disabled");
});
},
"Checking 1st tab is enabled after external selection by id": function() {
return browser.findById("DISABLE_TAB_6")
.click()
.end()
.findByCssSelector("div.dijitTabContainerTop-tabs > div:first-of-type")
.getAttribute("class")
.then(
function(currClasses) {
expect(currClasses).to.not.contain("dijitDisabled", "The 1st panel should not be disabled");
});
},
"Check the correct number of tabs is present": function() {
return browser.findAllByCssSelector("div.dijitTabListWrapper > div.dijitTabContainerTop-tabs > div.dijitTab")
.then(
function (tabs) {
expect(tabs.length).to.equal(11, "There are not 11 tabs");
}
);
},
"Check the correct number of tabs is present after deleting tab 7": function() {
return browser.findById("DELETE_TAB_1")
.click()
.end()
.findAllByCssSelector("div.dijitTabListWrapper > div.dijitTabContainerTop-tabs > div.dijitTab")
.then(
function (tabs) {
expect(tabs.length).to.equal(10, "There are not 10 tabs");
}
);
},
"Check the correct number of tabs is present after deleting tab titled 'Logo 8'": function() {
return browser.findById("DELETE_TAB_2")
.click()
.end()
.findAllByCssSelector("div.dijitTabListWrapper > div.dijitTabContainerTop-tabs > div.dijitTab")
.then(
function (tabs) {
expect(tabs.length).to.equal(9, "There are not 9 tabs");
}
);
},
"Check the correct number of tabs is present after deleting tab with id 'dijit_layout_ContentPane_8": function() {
return browser.findById("DELETE_TAB_3")
.click()
.end()
.findAllByCssSelector("div.dijitTabListWrapper > div.dijitTabContainerTop-tabs > div.dijitTab")
.then(
function (tabs) {
expect(tabs.length).to.equal(8, "There are not 8 tabs");
}
);
},
"Check that delayed processing form control is displayed correctly": function() {
return browser.findById("dijit_layout_TabContainer_0_tablist_dijit_layout_ContentPane_9")
.click()
.end()
.findByCssSelector("#FormControl1 .label")
.getVisibleText()
.then(function(text) {
assert.equal(text, "Select...", "The form control was not displayed correctly");
});
},
"Check that non-delayed processing form control is displayed correctly": function() {
return browser.findById("dijit_layout_TabContainer_0_tablist_dijit_layout_ContentPane_10")
.click()
.end()
.findByCssSelector("#FormControl2 .label")
.getVisibleText()
.then(function(text) {
assert.equal(text, "Select...", "The form control was not displayed correctly");
});
},
"Post Coverage Results": function() {
TestCommon.alfPostCoverageResults(this, browser);
}
});
registerSuite({
name: "Tab Container Tests (example use case)",
setup: function() {
browser = this.remote;
return TestCommon.loadTestWebScript(this.remote, "/AlfTabContainerUseCase", "Tab Container Tests (example use case)").end();
},
beforeEach: function() {
browser.end();
},
"Check the correct number of tabs is present": function() {
return browser.findAllByCssSelector("div.dijitTabListWrapper > div.dijitTabContainerTop-tabs > div.dijitTab")
.then(
function (tabs) {
assert.lengthOf(tabs, 1, "Only one tab should be initially shown");
}
);
},
"Add a new panel to display first item": function () {
return browser.findByCssSelector(".alfresco-lists-views-AlfListView tr:first-child .alfresco-renderers-Property .value")
.click()
.end()
.findAllByCssSelector("div.dijitTabListWrapper > div.dijitTabContainerTop-tabs > div.dijitTab")
.then(function (tabs) {
assert.lengthOf(tabs, 2, "A second tab should have been added");
});
},
"Checking new panel is selected": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(2)")
.isDisplayed()
.then(function(displayed) {
assert.isTrue(displayed, "The new tab should have been selected");
});
},
"Check that the new panel has rendered content correctly": function() {
return browser.findByCssSelector("div.dijitTabPaneWrapper > div.dijitTabContainerTopChildWrapper:nth-of-type(2) .alfresco-html-Label")
.getVisibleText()
.then(function(text) {
assert.equal(text, "One", "The new tab content was rendered correctly");
});
},
"Check that the form control in the new panel has rendered correctly": function() {
return browser.findByCssSelector("#SELECT_FOR_One .label")
.getVisibleText()
.then(function(text) {
assert.equal(text, "Select...", "The form control was not displayed correctly");
});
},
"Post Coverage Results": function() {
TestCommon.alfPostCoverageResults(this, browser);
}
});
registerSuite({
name: "Tab Container Tests (example use case 2)",
setup: function() {
browser = this.remote;
return TestCommon.loadTestWebScript(this.remote, "/AlfTabContainerUseCase2", "Tab Container Tests (example use case 2)").end();
},
beforeEach: function() {
browser.end();
},
"Select second tab and check search is not in progress": function() {
return browser.findByCssSelector(".dijitTabInner:nth-child(2) .tabLabel")
.click()
.end()
.findById("SEARCH_LIST")
.end()
.getAllPublishes("ALF_SEARCH_REQUEST")
.then(function(payloads){
assert.lengthOf(payloads, 0, "Search request should not have been made");
});
},
"Click a button to trigger a reload and check reload request occurs": function() {
return browser.findById("RELOAD_BUTTON_label")
.click()
.end()
.getLastPublish("ALF_SEARCH_REQUEST", "Search request did not occur");
},
"Post Coverage Results": function() {
TestCommon.alfPostCoverageResults(this, browser);
}
});
registerSuite({
name: "Tab Container Tests (height calculations)",
setup: function() {
browser = this.remote;
return TestCommon.loadTestWebScript(this.remote, "/MixedLayoutHeights", "Tab Container Tests (height calculations)").end();
},
beforeEach: function() {
browser.end();
},
// See AKU-489 - we want to check that a sidebar inside a tab is not bigger than the window. In fact
// it's height should be the body height, minus the offset (approx 36px) and the configured footer (10px)
"Check inner sidebar height": function() {
var height;
return browser.findByCssSelector(".dijitTabInner:nth-child(2) .tabLabel")
.click()
.end()
.findByCssSelector("body")
.getSize()
.then(function(size) {
height = size.height;
})
.end()
.findById("SIDEBAR")
.getSize()
.then(function(size) {
var target = height - 46;
assert.closeTo(size.height, target, 5, "Sidebar height incorrect");
});
},
// See AKU-506 - make sure that widgets waiting for page readiness (in this case a list) get informed that
// they can do their stuff (in this case, load data)
"Check that list data is loaded": function() {
return browser.findByCssSelector(".dijitTabInner:nth-child(3) .tabLabel")
.click()
.end()
.getLastPublish("ALF_RETRIEVE_DOCUMENTS_REQUEST_SUCCESS", "List data was not requested on tab load");
},
"Post Coverage Results": function() {
TestCommon.alfPostCoverageResults(this, browser);
}
});
}); | nzheyuti/Aikau | aikau/src/test/resources/alfresco/layout/AlfTabContainerTest.js | JavaScript | lgpl-3.0 | 29,314 |
var assert = require('assert')
, should = require('should')
, utils = require('../../lib/utils');
/**
* Tests
*/
describe('Utils', function() {
it('should have a function (defaultYear) that respond current year', function(done) {
var now = new Date();
var year = utils.defaultYear();
year.should.equal(now.getFullYear());
done();
});
it('should have a function (defaultMonth) that respond current month', function(done) {
var now = new Date();
var month = utils.defaultMonth();
month.should.equal(now.getMonth() + 1);
done();
});
it('should have a function (defaultDay) that respond current day', function(done) {
var now = new Date();
var day = utils.defaultDay();
day.should.equal(now.getDate());
done();
});
it('Array should have a pad method', function(done) {
var array = new Array(1, 2, 3).pad(5, 0);
array.length.should.equal(5);
array[3].should.equal(0);
array[4].should.equal(0);
done();
});
it('should have a function (rightPad) to rigth pad a string', function(done) {
var str = 'aa';
str = utils.rightPad(str, 4, '0');
str.length.should.equal(4);
str[0].should.equal('0');
str[1].should.equal('0');
str[2].should.equal('a');
str[3].should.equal('a');
done();
});
it('should have a function (datePad) to pad a date', function(done) {
var now = new Date();
var paddedDate = utils.datePad({
year: 1985
});
should.exist(paddedDate.year);
should.exist(paddedDate.month);
should.exist(paddedDate.day);
paddedDate.year.should.equal(1985);
paddedDate.month.should.equal(1);
paddedDate.day.should.equal(1);
var newPaddedDate = utils.datePad({});
should.exist(newPaddedDate.year);
should.exist(newPaddedDate.month);
should.exist(newPaddedDate.day);
newPaddedDate.year.should.equal(now.getFullYear());
newPaddedDate.month.should.equal(1);
newPaddedDate.day.should.equal(1);
done();
});
it('should have a function (dateObjectValid) to determine if date is valid', function(done) {
utils.dateObjectValid('1985-01-18').should.be.false;
utils.dateObjectValid({year: 1985, month: 1, day: 18}).should.be.true;
utils.dateObjectValid({year: 1985}).should.be.true;
utils.dateObjectValid({year: 1985, month: 1}).should.be.true;
utils.dateObjectValid({year: 1985, day: 1}).should.be.true;
utils.dateObjectValid({month: 1}).should.be.true;
utils.dateObjectValid({month: 1, day: 18}).should.be.true;
utils.dateObjectValid({day: 18}).should.be.true;
utils.dateObjectValid({year: -1}).should.be.false;
utils.dateObjectValid({month: -1}).should.be.false;
utils.dateObjectValid({month: 13}).should.be.false;
utils.dateObjectValid({day: -1}).should.be.false;
utils.dateObjectValid({day: 32}).should.be.false;
done();
});
it('should have a function (jsDateToArray) to convert a js Date to an array', function(done) {
var jsDate = new Date();
jsDate.setFullYear(1985);
jsDate.setMonth(1 - 1);
jsDate.setDate(18);
var arrayDate = utils.jsDateToArray(jsDate);
arrayDate[0].should.equal(1985);
arrayDate[1].should.equal(1);
arrayDate[2].should.equal(18);
done();
});
it('should have a function (dateToJSDate) to convert a date object to a js Date', function(done) {
var date = { year: 1985, day: 31 };
var jsDate = utils.dateToJSDate(date);
jsDate.getFullYear().should.equal(1985);
jsDate.getMonth().should.equal(1 - 1);
jsDate.getDate().should.equal(31);
done();
});
it('should have a function (jsDateToDate) to convert a js Date to a date object', function(done) {
var jsDate = new Date();
jsDate.setFullYear(1985);
jsDate.setMonth(1 - 1);
jsDate.setDate(18);
var date = utils.jsDateToDate(jsDate);
date.year.should.equal(1985);
date.month.should.equal(1);
date.day.should.equal(18);
done();
});
it('should have a function (arrayToDateObject) to convert an array date to date object', function(done) {
utils.arrayToDateObject([1985]).year.should.equal(1985);
utils.arrayToDateObject([1985, 1]).year.should.equal(1985);
utils.arrayToDateObject([1985, 1]).month.should.equal(1);
utils.arrayToDateObject([1985, 1, 18]).year.should.equal(1985);
utils.arrayToDateObject([1985, 1, 18]).month.should.equal(1);
utils.arrayToDateObject([1985, 1, 18]).day.should.equal(18);
should.not.exist(utils.arrayToDateObject([]).year);
should.not.exist(utils.arrayToDateObject([]).month);
should.not.exist(utils.arrayToDateObject([]).day);
should.not.exist(utils.arrayToDateObject([1985, -1]).month);
should.not.exist(utils.arrayToDateObject([1985, 13]).month);
should.not.exist(utils.arrayToDateObject([1985, 1, -1]).day);
should.not.exist(utils.arrayToDateObject([1985, 1, 32]).day);
done();
});
it('should have a function (yearMonthDayToString) to convert parameters to a string date', function(done) {
utils.yearMonthDayToString(1985).should.equal('1985');
utils.yearMonthDayToString(1985, 1).should.equal('1985-01');
utils.yearMonthDayToString(1985, 1, 18).should.equal('1985-01-18');
done();
});
it('should have a function (getDaysBetweenDates) to calculate the number of days between two objects dates', function(done) {
utils.getDaysBetweenDates({ year: 1985, month: 1, day: 1 }, { year: 1985, month: 1, day: 18 }).should.equal(18);
utils.getDaysBetweenDates({ year: 1985, month: 1, day: 1 }, { year: 1985, month: 12, day: 31 }).should.equal(365);
done();
});
it('should have a function (getDatesBetweenDates) to get all dates between two dates', function(done) {
var dates = utils.getDatesBetweenDates({ year: 1985, month: 1, day: 1 }, { year: 1985, month: 2, day: 28 });
dates.length.should.equal(31 + 28);
dates[0].year.should.equal(1985);
dates[0].month.should.equal(1);
dates[0].day.should.equal(1);
dates[17].year.should.equal(1985);
dates[17].month.should.equal(1);
dates[17].day.should.equal(18);
dates[31 + 1 - 1].year.should.equal(1985);
dates[31 + 1 - 1].month.should.equal(2);
dates[31 + 1 - 1].day.should.equal(1);
dates[31 + 28 - 1].year.should.equal(1985);
dates[31 + 28 - 1].month.should.equal(2);
dates[31 + 28 - 1].day.should.equal(28);
done();
});
}); | magiccyril/Tempo-API | test/lib/test-utils.js | JavaScript | lgpl-3.0 | 6,427 |
/*
* Creative Commons Copyright 2013 Ursudio <info@ursudio.com>
* http://www.ursudio.com/
* Please attribute Ursudio in any production associated with this javascript plugin.
*/
L.TileLayer.WebGLHeatMap = L.Class.extend({
options: {
size: 30000, // in meters
opacity: 1,
gradientTexture: false,
alphaRange: 1,
cooldownPerSecond: 0.015
},
initialize: function (options) {
this.data = [];
L.Util.setOptions(this, options);
},
onAdd: function (map) {
this.map = map;
var mapsize = map.getSize();
var options = this.options;
var c = document.createElement("canvas");
c.id = 'webgl-leaflet-' + L.Util.stamp(this);
c.width = mapsize.x;
c.height = mapsize.y;
c.style.opacity = options.opacity;
c.style.position = 'absolute';
map.getPanes().overlayPane.appendChild(c);
this.WebGLHeatMap = createWebGLHeatmap({
canvas: c,
gradientTexture: options.gradientTexture,
alphaRange: [0, options.alphaRange]
});
this.canvas = c;
map.on("move", this._plot, this);
/* hide layer on zoom, because it doesn't animate zoom */
map.on("zoomstart", this._hide, this);
map.on("zoomend", this._show, this);
this._plot();
},
dissapate: function() {
var self = this;
var opts = this.options;
$.each(this.data, function(key, val) {
self.data[key][2] = val[2]-opts.cooldownPerSecond;
if(val[2] <= 0) {
self.data.splice(key, 1);
}
});
},
onRemove: function (map) {
map.getPanes().overlayPane.removeChild(this.canvas);
map.off("move", this._plot, this);
map.off("zoomstart", this._hide, this);
map.off("zoomend", this._show, this);
},
_hide : function () {
this.canvas.style.display = 'none';
},
_show : function () {
this.canvas.style.display = 'block';
},
_clear: function () {
var heatmap = this.WebGLHeatMap;
heatmap.clear();
heatmap.display();
},
_resizeRequest : undefined,
_plot: function () {
this.active = true;
var map = this.map;
if (this._resizeRequest !== map._resizeRequest) {
this.resize();
this._resizeRequest = map._resizeRequest;
}
var heatmap = this.WebGLHeatMap;
heatmap.clear();
L.DomUtil.setPosition(this.canvas, map.latLngToLayerPoint(map.getBounds().getNorthWest()));
var dataLen = this.data.length;
if (dataLen) {
for (var i = 0; i < dataLen; i++) {
var dataVal = this.data[i],
latlng = new L.LatLng(dataVal[0], dataVal[1]),
point = map.latLngToContainerPoint(latlng);
heatmap.addPoint(
Math.floor(point.x),
Math.floor(point.y),
this._scale(latlng),
dataVal[2]);
}
heatmap.update();
heatmap.display();
}
},
_scale: function (latlng) {
// necessary to maintain accurately sized circles
// to change scale to miles (for example), you will need to convert 40075017 (equatorial circumference of the Earth in metres) to miles
var lngRadius = (this.options.size / 40075017) * 360 / Math.cos(L.LatLng.DEG_TO_RAD * latlng.lat);
var latlng2 = new L.LatLng(latlng.lat, latlng.lng - lngRadius);
var point = this.map.latLngToLayerPoint(latlng);
var point2 = this.map.latLngToLayerPoint(latlng2);
return Math.max(Math.round(point.x - point2.x), 1);
},
resize: function () {
//helpful for maps that change sizes
var mapsize = this.map.getSize();
this.canvas.width = mapsize.x;
this.canvas.height = mapsize.y;
this.WebGLHeatMap.adjustSize();
},
addDataPoint: function (lat, lon, value) {
this.data.push( [ lat, lon, value/100 ] );
},
setData: function (dataset) {
// format: [[lat, lon, intensity],...]
this.data = dataset;
},
clearData: function () {
this.data = [];
},
update: function () {
this._plot();
}
});
L.TileLayer.webglheatmap = function (options) {
return new L.TileLayer.WebGLHeatMap(options);
};
| merlijntishauser/ripe-hackathon-disco | web/demo/js/webgl-heatmap-leaflet.js | JavaScript | lgpl-3.0 | 4,104 |
/*!
* Copyright (c) Metaways Infosystems GmbH, 2011
* LGPLv3, http://opensource.org/licenses/LGPL-3.0
*/
Ext.ns('MShop.panel.order.base.address');
MShop.panel.order.base.address.DeliveryItemUi = Ext.extend(Ext.FormPanel, {
title : MShop.I18n.dt('admin', 'Delivery address'),
flex : 1,
autoScroll : true,
recordName : 'Order_Base_Address',
idProperty : 'order.base.address.id',
siteidProperty : 'order.base.address.siteid',
initComponent : function() {
this.initStore();
this.items = [{
xtype : 'fieldset',
style : 'padding-right: 25px;',
border : false,
autoWidth : true,
labelAlign : 'left',
defaults : {
anchor : '100%'
},
items : [{
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'ID'),
name : 'order.base.address.id'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Address ID'),
name : 'order.base.address.addressid'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Company'),
name : 'order.base.address.company'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Vat ID'),
name : 'order.base.address.vatid'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Salutation'),
name : 'order.base.address.salutation'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Title'),
name : 'order.base.address.title'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Firstname'),
name : 'order.base.address.firstname'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Lastname'),
name : 'order.base.address.lastname'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Address 1'),
name : 'order.base.address.address1'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Address 2'),
name : 'order.base.address.address2'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Address 3'),
name : 'order.base.address.address3'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Postal code'),
name : 'order.base.address.postal'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'City'),
name : 'order.base.address.city'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'State'),
name : 'order.base.address.state'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Country'),
name : 'order.base.address.countryid'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Telephone'),
name : 'order.base.address.telephone'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Telefax'),
name : 'order.base.address.telefax'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'E-Mail'),
name : 'order.base.address.email'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Website'),
name : 'order.base.address.website'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Latitude'),
name : 'order.base.address.latitude'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Longitude'),
name : 'order.base.address.longitude'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Created'),
name : 'order.base.address.ctime'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Last modified'),
name : 'order.base.address.mtime'
}, {
xtype : 'displayfield',
fieldLabel : MShop.I18n.dt('admin', 'Editor'),
name : 'order.base.address.editor'
}]
}];
MShop.panel.order.base.address.DeliveryItemUi.superclass.initComponent.call(this);
},
initStore : MShop.panel.ListItemListUi.prototype.initStore,
onStoreException : MShop.panel.AbstractListUi.prototype.onStoreException,
onBeforeLoad : MShop.panel.AbstractListUi.prototype.setSiteParam,
onBeforeWrite : Ext.emptyFn,
onDestroy : function() {
this.store.un('beforeload', this.setFilters, this);
this.store.un('beforeload', this.onBeforeLoad, this);
this.store.un('load', this.onStoreLoad, this);
this.store.un('beforewrite', this.onBeforeWrite, this);
this.store.un('write', this.onStoreWrite, this);
this.store.un('exception', this.onStoreException, this);
MShop.panel.order.base.address.DeliveryItemUi.superclass.onDestroy.apply(this, arguments);
},
afterRender : function() {
// fetch ItemUI
this.itemUi = this.findParentBy(function(c) {
return c.isXType(MShop.panel.AbstractItemUi, false);
});
this.store.load({});
MShop.panel.order.base.address.DeliveryItemUi.superclass.afterRender.apply(this, arguments);
},
onStoreLoad : function() {
if(this.store.getCount() === 0) {
var recordType = MShop.Schema.getRecord(this.recordName);
this.record = new recordType({});
this.store.add(this.record);
} else {
this.record = this.store.getAt(0);
}
this.getForm().loadRecord(this.record);
},
setFilters : function(store, options) {
if(!this.itemUi.record || this.itemUi.record.phantom) {
// nothing to load
this.onStoreLoad();
return false;
}
// filter for refid
options.params = options.params || {};
options.params.condition = {
'&&' : [{
'==' : {
'order.base.address.baseid' : this.itemUi.record.data['order.baseid']
}
}, {
'==' : {
'order.base.address.type' : 'delivery'
}
}]
};
return true;
}
});
Ext.reg('MShop.panel.order.base.address.deliveryitemui', MShop.panel.order.base.address.DeliveryItemUi);
//hook order base address into the order ItemUi
Ext.ux.ItemRegistry.registerItem('MShop.panel.order.base.address.ItemUi',
'MShop.panel.order.base.address.DeliveryItemUi', MShop.panel.order.base.address.DeliveryItemUi, 20);
| aimeos/ai-admin-extadm | admin/extjs/src/panel/order/address/DeliveryItemUi.js | JavaScript | lgpl-3.0 | 7,495 |
/*
* SonarQube
* Copyright (C) 2009-2017 SonarSource SA
* mailto:info AT sonarsource DOT com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 3 of the License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program; if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
module.exports = function() {
const args = Array.prototype.slice.call(arguments, 0, -1);
return window.t.apply(this, args);
};
| lbndev/sonarqube | server/sonar-web/src/main/js/helpers/handlebars/t.js | JavaScript | lgpl-3.0 | 974 |
'use strict';
var passport = require('../../core/utility/Passport');
module.exports = function (app) {
var controller = app.controllers.api.Interpolator;
app.post(app.locals.BASE_URL + 'api/Interpolator', passport.isAuthenticated, controller.post);
app.get(app.locals.BASE_URL + 'api/Interpolator', passport.isAuthenticated, controller.get);
app.get(app.locals.BASE_URL + 'api/Interpolator/:id', passport.isAuthenticated, controller.get);
app.put(app.locals.BASE_URL + 'api/Interpolator/:id', passport.isAuthenticated, controller.put);
}; | TerraMA2/terrama2 | webapp/routes/api/Interpolator.js | JavaScript | lgpl-3.0 | 551 |
import selfAndParents from "./selfAndParents.js";
/**
* Returns an array with all DOM elements affected by an event.
* The function serves as a polyfill for
* [`Event.composedPath()`](https://dom.spec.whatwg.org/#dom-event-composedpath).
*
* @category Event
* @param {Event} evt The triggered event.
* @return {Array.<HTMLElement>} The DOM elements affected by the event.
*
* @example
* let domChild = document.createElement("div"),
* domParent = document.createElement("div"),
* domGrandparent = document.createElement("div"),
* body = document.body,
* html = document.querySelector("html");
*
* domParent.appendChild(domChild);
* domGrandparent.appendChild(domParent);
* body.appendChild(domGrandparent);
*
* domChild.addEventListener("click", dealWithClick);
* const dealWithClick = evt => getEventPath(evt);
*
* // when domChild is clicked:
* // => [domChild, domParent, domGrandparent, body, html, document, window]
*/
const getEventPath = evt => {
let path = (evt.composedPath && evt.composedPath()) || evt.path,
target = evt.target;
if (target == null) {
return undefined;
}
if (path != null) {
path = (!path.includes(window)) ? path.concat([window]) : path;
return path;
}
if (target === window) {
return [window];
}
return selfAndParents(target).concat([window]);
};
export default getEventPath;
| leofavre/canivete | dist/getEventPath.js | JavaScript | unlicense | 1,361 |
exports.command = {
name: "file",
autoload: true,
unloadable: false,
min_rank: 0,
display: "Show a list of files, or a the content of one",
help: "There can be a number of files available for you to read. This is the command used to either list or read them.",
usage: ".file [<filename>]",
execute: function(socket, command, command_access) {
var chalk = require('chalk');
command = command.trim();
const fs = require('fs');
const directory = './files/';
// if command called without parameters
if (command.trim() === "") {
command_access.sendData(socket, chalk.cyan("+-- List of available files: --------+\r\n"));
fs.readdirSync(directory).forEach(file => {
command_access.sendData(socket, " " + chalk.bold(file) + "\r\n");
});
command_access.sendData(socket, chalk.cyan("+------------------------------------+\r\n"));
} else {
// if command called with parameters
try {
command_access.sendData(socket, "\r\n" + fs.readFileSync(directory + command) + "\r\n");
} catch(e) {
command_access.sendData(socket, chalk.red(":: ") + "That file isn't available.\r\n");
}
}
}
}
| marado/TalkerNode | commands/file.js | JavaScript | unlicense | 1,132 |
import { configure, addDecorator } from '@kadira/storybook';
import { ThemeProvider } from 'styled-components'
import React from 'react';
import '../src/index.css';
addDecorator((story) => (
<ThemeProvider theme={{buttonColor: 'LightSkyBlue'}}>
{story()}
</ThemeProvider>
))
function loadStories() {
require('../src/stories');
}
configure(loadStories, module);
| amsb/storybook_styled-components_example | .storybook/config.js | JavaScript | unlicense | 374 |
// Only create main object once
if (!Zotero.BetterBibTeX) {
var loader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"].getService(Components.interfaces.mozIJSSubScriptLoader);
loader.loadSubScript("chrome://zotero-better-bibtex/content/dict.js");
loader.loadSubScript("chrome://zotero-better-bibtex/content/zotero-better-bibtex.js");
loader.loadSubScript("chrome://zotero-better-bibtex/content/Formatter.js");
window.addEventListener('load', function(e) { Zotero.BetterBibTeX.init(); }, false);
}
| adunning/zotero-better-bibtex | chrome/content/zotero-better-bibtex/include.js | JavaScript | unlicense | 517 |
'use strict';
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
require('document-register-element');
var moment = require('moment');
var config = require('../config');
var template = require('./day.t');
require('./d-day.scss');
var Day = function (_HTMLElement) {
_inherits(Day, _HTMLElement);
function Day() {
_classCallCheck(this, Day);
return _possibleConstructorReturn(this, (Day.__proto__ || Object.getPrototypeOf(Day)).call(this));
}
_createClass(Day, [{
key: 'conncetedCallback',
value: function conncetedCallback() {
this.day = moment(this.getAttribute('date') || new Date());
this.outerHTML = template({
day: this.day,
selected: Boolean(this.getAttribute('selected')),
highlighted: Boolean(this.getAttribute('highlighted')),
class: this.getAttribute('class') || '',
disabled: this.getAttribute('disabled')
});
}
}]);
return Day;
}(HTMLElement);
customElements.define(config.dayComponent, Day); | pankajpatel/dates | lib/d-day/d-day.js | JavaScript | unlicense | 2,410 |
import React from 'react';
import Reflux from 'reflux';
import DocTitle from 'components/docTitle';
import MediaSigninButtons from 'components/mediaSigninButtons';
import LocalSignupForm from 'components/localSignupForm';
import authStore from 'stores/auth';
export default React.createClass( {
mixins: [
Reflux.connect( authStore, 'auth' )
],
getInitialState() {
return {
errors: {}
};
},
render() {
return (
<div id="signup">
<DocTitle
title="Register"
/>
{ authStore.isRegisterCompleted() && this.renderRegisterComplete() }
{ !authStore.isRegisterCompleted() && this.renderRegisterForm() }
</div>
);
},
renderRegisterComplete(){
return(
<div className="alert alert-info text-center animate bounceIn" role="alert">
A confirmation email has been sent. Click on the link to verify your email address and activate your account.
</div>
);
},
renderRegisterForm(){
return (
<div>
<h2 className="text-center">Register An Account</h2>
<p className="text-center">Create a free account</p>
<div className="row">
<div className="col-md-4 col-md-offset-4">
<LocalSignupForm />
<div className="strike"><span className="or">OR</span></div>
<MediaSigninButtons />
</div>
</div>
</div>
);
}
} );
| FrontSmith/FSFramework | client/src/app/views/signup.js | JavaScript | unlicense | 1,667 |
define([
"jquery",
"thorax"
], function (jQuery, Thorax) {
/**
* @module bauplan%layout%controller
* @description View and SubView handling
*
* var LayoutController = require("bauplan.layout.controller");
*
* or as part of the Bauplan bundle
*
* var Bauplan = require("bauplan");
* var LayoutController = Bauplan.LayoutController;
*
* Set the view of the ViewWithLayoutModel named "foo" to "bar"
*
* foo.view template
* …
* {layout view=view}
* …
* LayoutController.set("foo", "bar");
*
* The result is as if a view helper calling "bar.view" had been inserted to "foo.view" which can be switched or updated without any effect on the other elements in foo.view.
*
* See the example app for a basic demonstration of this.
*
* If only one argument is passed, the ViewWithLayoutModel is set to the default ("site-content")
*
* So the following call sets the view in "site-content" to "foo"
*
* LayoutController.set("foo");
*
* Setting the same view again is ignored
*
* LayoutController.set("foo"); -> Does not run
*
* Additional variables can be passed through to the view that is set. In this case, the "'article" view is loaded, with the options passed to initialize set to viewOptions
*
* {layout view=view options=viewOptions}
* …
* LayoutController.set({
* view: "article",
* viewOptions: {
* article: "foo",
* redacted: true
* }
* });
*
* setScroll will not only set the chosen view, but also sets the viewport back to top of the document
*
* LayoutController.setScroll("login");
*
* ### Existing subviews
*
* If the subview to be loaded in context is already present and has a setLayout method, then that method will be executed instead of reinstantiating the subview. This enables lightweight udpates such as setting and removing classes rather than having to rerender the view
*
* @return {instance} LayoutController
*/
var BauplanLayoutController = {
defaultlayoutview: "site-content",
/**
* @method updateLayoutView
* @private
* @instance
* @param {string|model} viewModel
* @param {object|string} viewValues
* @param {string} layoutId
* @description Generic layout setting handler
*/
updateLayoutView: function (viewModel, viewValues, layoutId) {
if (viewModel) {
if (typeof viewValues === "string") {
viewValues = {
view: viewValues
};
}
if (!viewValues.view) {
viewValues.view = "default";
var vvvOptions = viewValues.viewOptions;
if (vvvOptions) {
if (vvvOptions.name && !vvvOptions.template) {
var vvvtemplate = vvvOptions.name;
if (!vvvtemplate.match(/\.view$/)) {
vvvtemplate += ".view";
}
vvvOptions.template = vvvtemplate;
}
}
}
//console.log(viewModel.layoutid, viewValues, layoutId);
if (viewModel.layoutid === this.defaultlayoutview) {
if (viewValues.view) {
//jQuery('body').addClass("active-view-"+viewValues.view);
//alternatively, after we've rendered
// check to see parent and set automagickally
}
}
var viewElement = function(view) {
return jQuery('[data-view-name="'+view+'"]');
};
var isViewInDocument = function(view) {
return !!viewElement(view).closest("body").length;
};
var checkInDocument = function(view) {
//console.log("checkInDocument", view);
if (typeof view !== "string") {
return;
}
if (!isViewInDocument(view)) {
setTimeout(function(){
checkInDocument(view);
}, 0);
} else {
var actualView = viewElement(view).view();
//console.log("actualView", view, actualView, actualView.postRender);
if (actualView && actualView.postRender) {
actualView.postRender();
}
}
};
var skipValues = {};
for (var prop in viewValues) {
if (viewValues[prop] === viewModel.get(prop)) {
//delete viewValues[prop];
skipValues[viewValues[prop]] = true;
} else {
// doesn't handle nested views
// and it would be good to recurse back up
/* var propVal = viewModel.get(prop);
if (typeof propVal === "string") {
var previousView = viewElement(propVal).view();
if (previousView && previousView.preRemove) {
preRemoves.push(previousView.preRemove);
}
}
*/
}
}
var updateModel = function() {
for (var layoutProp in viewValues) {
if (typeof viewValues[layoutProp] === "string") {
var viewEl = viewElement(viewValues[layoutProp]);
if (viewEl.view() && viewEl.view().setLayout) {
viewEl.view().setLayout();
delete viewValues[layoutProp];
}
}
}
viewModel.set(viewValues);
var layoutid = viewModel.layoutid;
for (var newProp in viewValues) {
checkInDocument(viewValues[newProp]);
if (newProp.match(/view/i) && typeof viewValues[newProp] === "string") {
var layoutPrefix = "layoutview-"+layoutid+"-active-"+newProp+"-";
var activeClass = layoutPrefix + viewValues[newProp];
var body = jQuery("body");
if (!body.hasClass(activeClass)) {
if (body.removePrefixedClass) {
body.removePrefixedClass(layoutPrefix);
}
body.addClass(activeClass);
}
}
}
};
// great, but, erm, view.children?
var removeChildViews = function(view, callback, skip) {
view = view.view();
var childViews = [];
view.$("[data-view-name]").each(function(){
var that = jQuery(this);
if (that.parent().closest("[data-view-name]").get(0) === view.el) {
if (!skip || !skip[that.attr("data-view-name")]) {
childViews.push(that);
}
}
});
var childCount = childViews.length;
var currentCallback = function() {
var preRemove = view.preRemove;
if (preRemove) {
preRemove(callback);
} else {
callback();
}
};
var childCallback = function() {
childCount--;
if (childCount < 1) {
currentCallback();
}
};
if (childCount) {
for (var v = 0; v < childViews.length; v++) {
removeChildViews(childViews[v], childCallback);
}
} else {
currentCallback();
}
};
var layoutView = viewElement(viewModel.name);
if (layoutView.length) {
removeChildViews(layoutView, updateModel, skipValues);
} else {
updateModel();
}
}
},
/**
* @method set
* @instance
* @param {string} [layout=this.defaultlayoutview]
* @param {string|object} view
* @param {string} [view.view] View name
* @param {object} [view.viewOptions] View options
* @description Set the view of a ViewWithLayoutModel
*/
// maybe it would be better to do set(layout, view, viewOptions)
// and therefore set(view, viewOptions)
// if arguments.length === 3, definitely an explicit layout call
// if args.length === 2, is arguments[1] an object?
// if args.length === 1, definitely an implicit defaultlayoutview call
// er, no. Think it through again Alex
// what would happen if calling an explicit sub-layout? ;)
// but maybe set(x, y, z, zoptions)?
// where y is set in x, z is set in y and on. No options for any bar the last view though.
// Think on, young *cough* Padawan
// ...
// ...
// more to the point, if defaultlayoutview alone is called, by default set should scrollTop
// and it should be explicit to not invoke the scrollTopping
set: function(layout, view) {
if (arguments.length === 1) {
view = arguments[0];
layout = this.defaultlayoutview;
}
var Bauplan = this.bauplan;
if (Bauplan.Authentication.locked() && view !== "locked") {
setTimeout(function(){
Bauplan.Router.callRoute("locked", {trigger:true});
}, 1);
return;
}
var that = this;
var currentScrollTop = view.scrolltop ? 0 : jQuery(document).scrollTop();
var doSetting = function() {
var layoutViewModel = new Thorax.LayoutViewModel(layout);
that.updateLayoutView(layoutViewModel, view);
jQuery(document).scrollTop(currentScrollTop);
};
doSetting();
/*if (typeof view === "object" && view.scrolltop) {
doSetting();
//jQuery("html, body").animate({ scrollTop: 0 }, 250, doSetting);
} else {
doSetting();
}*/
},
/**
* @method setScroll
* @instance
* @param {string|object} view
* @param {string} [view.view] View name
* @param {object} [view.viewOptions] View options
* @description Set the view of the default ViewWithLayoutModel and scroll to the top of the document
*/
setScroll: function(view) {
if (typeof view === "string") {
view = {
view: view
};
}
view.scrolltop = true;
this.set(view);
},
/**
* @method genericView
* @instance
* @param {string} template
* @description Loads the default view using the named template
*/
genericView: function (template) {
this.set({
viewOptions: {
name: template
}
});
}
};
return BauplanLayoutController;
}); | solidgoldpig/bauplan | js/bauplan.layout.controller.js | JavaScript | unlicense | 12,216 |
var Vertex = function(){
function Vertex( params ){
for( var key in params) {
this[key] = params[key];
}
this.neighbours = [];
}
function clone(){
var out = new Vertex();
for( var key in this){
out[ key ] = this[key];
}
return out;
}
var _p = Vertex.prototype;
_p.constructor = Vertex;
_p.clone = clone;
return Vertex;
}(); | nicoptere/graph | graph/Vertex.js | JavaScript | unlicense | 443 |
define(["jquery", "modules/RestCakeClient"], function ($, RestCakeClient) {
var $$JsClassName = function (serviceUrl) {
// Private variables
var self = this;
this._client = new RestCakeClient(serviceUrl);
this.defaultErrorHandler = function(err)
{
if (err && typeof err === "string")
{
alert("Error: " + err);
}
else if (err && typeof err === "object" && err.Message)
{
alert("Error: " + err.Message);
}
};
this.getDefaultErrorCallback = function (msg) {
return function (err) { self.defaultErrorHandler(msg); };
};
$$ServiceMethods
}; // end of $$JsClassName function
var baseurl = "$$BaseUrl";
var client = new $$JsClassName(baseurl);
return client;
});
| sam-meacham/restcake | src/RestCake/Clients/Js/AmdClient2.js | JavaScript | apache-2.0 | 717 |
/*************************************************************
*
* MathJax/localization/cdo/HTML-CSS.js
*
* Copyright (c) 2009-2017 The MathJax Consortium
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
MathJax.Localization.addTranslation("cdo","HTML-CSS",{
version: "2.7.2-beta.0",
isLoaded: true,
strings: {
}
});
MathJax.Ajax.loadComplete("[MathJax]/localization/cdo/HTML-CSS.js");
| jinntrance/mathjax | unpacked/localization/cdo/HTML-CSS.js | JavaScript | apache-2.0 | 950 |
/**
* Symbol Art Editor
*
* @author malulleybovo (since 2021)
* @license GNU General Public License v3.0
*
* @licstart The following is the entire license notice for the
* JavaScript code in this page.
*
* Copyright (C) 2021 Arthur Malulley B. de O.
*
*
* The JavaScript code in this page is free software: you can
* redistribute it and/or modify it under the terms of the GNU
* General Public License (GNU GPL) as published by the Free Software
* Foundation, either version 3 of the License, or (at your option)
* any later version. The code is distributed WITHOUT ANY WARRANTY;
* without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
*
* As additional permission under GNU GPL version 3 section 7, you
* may distribute non-source (e.g., minimized or compacted) forms of
* that code without the copy of the GNU GPL normally required by
* section 4, provided you include this license notice and a URL
* through which recipients can access the Corresponding Source.
*
* @licend The above is the entire license notice
* for the JavaScript code in this page.
*
*/
class UIColorPicker extends UIView {
get viewPath() { return 'res/templates/colorpicker.html' }
_backButton = (() => {
this.didLoad(_ => {
this._backButton = this.view.find('#backbutton');
this.updateState();
this._backButton.gestureRecognizer = new UITapGestureRecognizer({
targetHtmlElement: this._backButton[0], onTap: () => {
if (this._eyeDropperOpen) {
this._eyeDropperOpen = false;
} else if (this._colorPalette.length > 0 && this._contentView.css('visibility') !== 'hidden') {
this._colorPaletteOpen = true;
} else {
ApplicationState.shared.trigger = TriggerType.closeWindow;
}
}
});
});
})();
_colorEyeDropper = (() => {
this.didLoad(_ => {
this._colorEyeDropper = this.view.find('#coloreyedropper');
this._colorEyeDropper.gestureRecognizer = new UITapGestureRecognizer({
targetHtmlElement: this._colorEyeDropper[0], onTap: () => {
if (this._requestedEyeDropperColors) {
this._requestedEyeDropperColors();
}
if (this._eyeDropperOpen) {
this._eyeDropperOpen = false;
return;
}
this._eyeDropperOpen = true;
}
});
});
})();
_colorPreview = (() => {
this.didLoad(_ => {
this._colorPreview = this.view.find('#colorpreview');
this._colorPreview.gestureRecognizer = new UITapGestureRecognizer({
targetHtmlElement: this._colorPreview[0], onTap: () => {
navigator.clipboard.writeText('#' + this._colorHexTextField.val());
this._copyHexIndicator.css('transform', 'scale(0.9)');
setTimeout(_ => {
this._copyHexIndicator.css('transform', '');
}, 100);
}
});
});
})();
_copyHexIndicator = (() => {
this.didLoad(_ => {
this._copyHexIndicator = this.view.find('#copyhexindicator');
});
})();
_colorWheelContainer = (() => {
this.didLoad(_ => {
this._colorWheelContainer = this.view.find('#colorwheelcontainer');
this.updateState();
this._colorWheelContainer.gestureRecognizer = new UIGestureRecognizer({
targetHtmlElement: this._colorWheelContainer[0], onPointerDown: (event) => {
this._updateColor({ fromColorWheelEvent: event, lastInteraction: false });
}, onPointerMove: (event) => {
this._updateColor({ fromColorWheelEvent: event, lastInteraction: false });
}, onPointerUp: () => {
this._updateColor({ fromColorWheelEvent: event, lastInteraction: true });
}
});
});
})();
_colorWheel = (() => {
this.didLoad(_ => {
this._colorWheel = this.view.find('#colorwheel');
this.updateState();
});
})();
_colorWheelCrosshair = (() => {
this.didLoad(_ => {
this._colorWheelCrosshair = this.view.find('#colorwheelcrosshair');
});
})();
_colorHexTextField = (() => {
this.didLoad(_ => {
this._colorHexTextField = this.view.find('#colorhextextfield');
if (mobileClient) {
this._colorHexTextField.helper = new UITextFieldHelper({
view: this._colorHexTextField,
title: 'Color HEX value:',
onInput: (value) => {
this._updateColorHex({ fromText: value });
this._updateColor({ fromText: value, lastInteraction: true });
return this._colorHexTextField.val();
}
});
}
this.updateState();
this._colorHexTextField.on('input', () => {
this._updateColorHex({ fromText: this._colorHexTextField.val() });
this._updateColor({ fromText: this._colorHexTextField.val(), lastInteraction: true });
});
});
})();
_colorValueContainer = (() => {
this.didLoad(_ => {
this._colorValueContainer = this.view.find('#colorvaluecontainer');
this.updateState();
this._colorValueContainer.gestureRecognizer = new UIGestureRecognizer({
targetHtmlElement: this._colorValueContainer[0], onPointerDown: (event) => {
this._updateColor({ fromValueSliderEvent: event, lastInteraction: false });
}, onPointerMove: (event) => {
this._updateColor({ fromValueSliderEvent: event, lastInteraction: false });
}, onPointerUp: () => {
this._updateColor({ fromValueSliderEvent: event, lastInteraction: true });
}
});
});
})();
_colorValueSlider = (() => {
this.didLoad(_ => {
this._colorValueSlider = this.view.find('#colorvalueslider');
this.updateState();
});
})();
_colorValueSliderBar = (() => {
this.didLoad(_ => {
this._colorValueSliderBar = this.view.find('#colorvaluesliderbar');
});
})();
_alphaContainer = (() => {
this.didLoad(_ => {
this._alphaContainer = this.view.find('#alphaslidercontainer');
this.updateState();
this._alphaContainer.gestureRecognizer = new UIGestureRecognizer({
targetHtmlElement: this._alphaContainer[0], onPointerDown: (event) => {
this._updateAlpha({ fromAlphaSliderEvent: event, lastInteraction: false });
}, onPointerMove: (event) => {
this._updateAlpha({ fromAlphaSliderEvent: event, lastInteraction: false });
}, onPointerUp: () => {
this._updateAlpha({ fromAlphaSliderEvent: event, lastInteraction: true });
}
});
});
})();
_alphaSlider = (() => {
this.didLoad(_ => {
this._alphaSlider = this.view.find('#alphaslider');
this.updateState();
});
})();
_alphaSliderBar = (() => {
this.didLoad(_ => {
this._alphaSliderBar = this.view.find('#alphasliderbar');
});
})();
_contentView = (() => {
this.didLoad(_ => {
this._contentView = this.view.find('#colorpickercontent');
});
})();
_colorPaletteList = (() => {
this.didLoad(_ => {
this._colorPaletteList = this.view.find('#colorpalettelist');
});
})();
_colorSwapIcon = (() => {
this.didLoad(_ => {
this._colorSwapIcon = this.view.find('#colorswapicon');
});
})();
_colorEyeDropperList = (() => {
this.didLoad(_ => {
this._colorEyeDropperList = this.view.find('#coloreyedropperlist');
});
})();
get loaded() {
return this._backButton instanceof jQuery
&& this._colorEyeDropper instanceof jQuery
&& this._colorPreview instanceof jQuery
&& this._copyHexIndicator instanceof jQuery
&& this._colorWheelContainer instanceof jQuery
&& this._colorWheel instanceof jQuery
&& this._colorWheelCrosshair instanceof jQuery
&& this._colorHexTextField instanceof jQuery
&& this._colorValueSlider instanceof jQuery
&& this._colorValueSliderBar instanceof jQuery
&& this._alphaContainer instanceof jQuery
&& this._alphaSlider instanceof jQuery
&& this._alphaSliderBar instanceof jQuery
&& this._contentView instanceof jQuery
&& this._colorPaletteList instanceof jQuery
&& this._colorSwapIcon instanceof jQuery
&& this._colorEyeDropperList instanceof jQuery;
}
set isHidden(value) {
if (typeof value !== 'boolean') return;
this.view.css('left', value ? '-282pt' : '5pt');
if (!value) {
this.didLoad(() => {
this._update();
});
} else {
this.didLoad(() => {
this._colorHexTextField.blur();
});
}
}
_onColorChange = null;
set onColorChange(value) {
if (typeof value !== 'function' && value !== null) return;
this._onColorChange = value;
}
_requestedEyeDropperColors = null;
set requestedEyeDropperColors(value) {
if (typeof value !== 'function' && value !== null) return;
this._requestedEyeDropperColors = value;
}
_colorPalette = [];
_selectedColorFromPalette = null;
_hsvColor = { hue: 0.5, saturation: 0.75, value: 0.5 };
_opacity = new Opacity({ value: 1 });
set _colorPaletteOpen(value) {
if (typeof value !== 'boolean') return;
if (value) {
[this._contentView, this._colorPreview, this._copyHexIndicator, this._colorEyeDropper, this._colorEyeDropperList].forEach(a => {
a.css('visibility', 'hidden');
});
[this._colorPaletteList, this._colorSwapIcon].forEach(a => {
a.css('visibility', '');
});
} else {
[this._colorPaletteList, this._colorSwapIcon, this._colorEyeDropperList].forEach(a => {
a.css('visibility', 'hidden');
});
[this._contentView, this._colorPreview, this._copyHexIndicator, this._colorEyeDropper].forEach(a => {
a.css('visibility', '');
});
}
}
get _eyeDropperOpen() {
return this._colorEyeDropperList.css('visibility') !== 'hidden';
}
set _eyeDropperOpen(value) {
if (typeof value !== 'boolean') return;
if (value) {
[this._contentView, this._colorPreview, this._copyHexIndicator, this._colorPaletteList, this._colorSwapIcon].forEach(a => {
a.css('visibility', 'hidden');
});
[this._colorEyeDropperList, this._colorEyeDropper].forEach(a => {
a.css('visibility', '');
});
this._colorEyeDropper.css('color', '#ff9e2c');
} else {
[this._colorPaletteList, this._colorSwapIcon, this._colorEyeDropperList].forEach(a => {
a.css('visibility', 'hidden');
});
[this._contentView, this._colorPreview, this._copyHexIndicator, this._colorEyeDropper].forEach(a => {
a.css('visibility', '');
});
this._colorEyeDropper.css('color', '');
}
}
_eyeDropperColorPreviews = [];
_eyeDropperColors = []
get eyeDropperColors() { return this._eyeDropperColors }
set eyeDropperColors(value) {
if (!Array.isArray(value)) return;
let updatedList = value.filter(a => a && a.color instanceof Color && a.opacity instanceof Opacity);
let differs = updatedList.length !== this._eyeDropperColors.length;
for (var i = 0; !differs && i < updatedList.length; i++) {
if (this._eyeDropperColors[i].color.value !== updatedList[i].color.value
|| this._eyeDropperColors[i].opacity.index !== updatedList[i].opacity.index) {
differs = true;
break;
}
}
if (differs) {
this._eyeDropperColors = updatedList;
this.showEyeDropperList();
}
}
constructor({ onColorChange = null, requestedEyeDropperColors = null } = { }) {
super();
this.onColorChange = onColorChange;
this.requestedEyeDropperColors = requestedEyeDropperColors;
(new UIColorPreview()); // preload component
this.didLoad(_ => {
this.view.gestureRecognizer = new UIGestureRecognizer({
targetHtmlElement: this.view[0],
preventsDefault: false,
onPointerDown: (event) => {
// to prevent propagation
}, onPointerMove: (event) => {
// to prevent propagation
}, onPointerUp: (event) => {
// to prevent propagation
}, onScroll: (event) => {
// to prevent propagation
}
});
});
ApplicationState.shared.add({
onChangeViewModeListener: () => {
this.updateState();
},
onChangeTriggerListener: () => {
this.updateState();
}
});
}
updateState() {
switch (ApplicationState.shared.viewMode) {
case ViewMode.symbolEditorMode:
break;
case ViewMode.layerEditorMode:
case ViewMode.helperImageMode:
default:
this.isHidden = true;
return;
}
switch (ApplicationState.shared.trigger) {
case TriggerType.openColorPicker:
setTimeout(_ => {
ApplicationState.shared.trigger = TriggerType.none;
}, 100);
this.isHidden = false;
break;
case TriggerType.closeWindow:
this.isHidden = true;
break;
default: break;
}
}
showColorPalette({ list }) {
if (!Array.isArray(list) || list.length === 0 || list.filter(a => !(a instanceof Symbol)).length !== 0) return;
this._colorPaletteOpen = true;
let occurrences = {};
list.forEach(a => {
if (occurrences[`${a.color.value}/${a.opacity.index}`]) {
occurrences[`${a.color.value}/${a.opacity.index}`].layerUuids.push(a.uuid);
} else {
occurrences[`${a.color.value}/${a.opacity.index}`] = {
layerUuids: [a.uuid],
item: a
}
}
});
this._colorPaletteList.empty();
this._colorPalette = [];
Object.values(occurrences).forEach(a => {
let subview = new UIColorPreview({
color: a.item.color,
opacity: a.item.opacity,
layerUuids: a.layerUuids,
onTap: sender => {
this._selectedColorFromPalette = sender;
this.updateColor({
fromHex: sender.color.hex,
opacityValue: sender.opacity.value,
clearsColorPalette: false
});
}
});
this._colorPalette.push(subview);
subview.append({ to: this._colorPaletteList });
});
}
showEyeDropperList() {
let list = this._eyeDropperColors;
if (list.length === 0) return;
this._colorEyeDropperList.empty();
for (var index in list) {
let item = list[index];
let subview;
if (this._eyeDropperColorPreviews[index]) {
subview = this._eyeDropperColorPreviews[index];
subview.color = item.color;
subview.opacity = item.opacity;
} else {
subview = new UIColorPreview({
color: item.color,
opacity: item.opacity,
layerUuids: [],
onTap: sender => {
this._updateColor({ fromText: sender.color.hex, lastInteraction: true });
}
});
this._eyeDropperColorPreviews.push(subview);
}
subview.append({ to: this._colorEyeDropperList });
}
}
updateColor({ fromHex, opacityValue, clearsColorPalette = true }) {
if (clearsColorPalette) {
this._selectedColorFromPalette = null;
this._colorPalette = [];
this._colorPaletteList.empty();
}
[this._contentView, this._colorPreview, this._copyHexIndicator, this._colorEyeDropper].forEach(a => {
a.css('visibility', '');
});
[this._colorPaletteList, this._colorSwapIcon, this._colorEyeDropperList].forEach(a => {
a.css('visibility', 'hidden');
});
this._colorEyeDropper.css('color', '');
this._opacity.value = opacityValue;
this._updateAlphaSlider();
this._updateColor({ fromText: fromHex, lastInteraction: false });
}
_updateColor({ fromColorWheelEvent, fromText, fromValueSliderEvent, lastInteraction }) {
if (fromColorWheelEvent instanceof Event) {
let originInViewportSpace = this._colorWheelContainer.offset();
let areaHalfSize = 0.5 * parseFloat(this._colorWheelContainer.width());
let colorWheelHalfSize = 0.5 * parseFloat(this._colorWheelContainer.find('img').width());
let crosshairHalfSize = 0.5 * parseFloat(this._colorWheelCrosshair.outerWidth());
let pointerCartesianCoordinateInLocalSpaceCenteredInColorWheel = {
x: fromColorWheelEvent.clientX - originInViewportSpace.left - areaHalfSize,
y: fromColorWheelEvent.clientY - originInViewportSpace.top - areaHalfSize,
};
let distanceFromOrigin = Math.sqrt(
Math.pow(pointerCartesianCoordinateInLocalSpaceCenteredInColorWheel.x, 2) +
Math.pow(pointerCartesianCoordinateInLocalSpaceCenteredInColorWheel.y, 2));
let pointerPolarCoordinateInLocalSpaceCenteredInColorWheel = {
radius: distanceFromOrigin > colorWheelHalfSize ? colorWheelHalfSize : distanceFromOrigin,
theta: Math.atan2(pointerCartesianCoordinateInLocalSpaceCenteredInColorWheel.y, pointerCartesianCoordinateInLocalSpaceCenteredInColorWheel.x)
};
let hue = pointerPolarCoordinateInLocalSpaceCenteredInColorWheel.theta / (2 * Math.PI);
if (hue < 0) hue = -hue;
else hue = 1 - hue;
let saturation = pointerPolarCoordinateInLocalSpaceCenteredInColorWheel.radius / colorWheelHalfSize;
this._hsvColor = {
hue: hue,
saturation: saturation,
value: this._hsvColor.value
};
} else if (typeof fromText === 'string') {
let text = fromText;
text = text.toUpperCase();
text = text.replace(/[^A-F0-9]/g, '');
text = text.substr(0, 6);
if (!/^[A-F0-9]{6}$/.test(text)) return;
this._hsvColor = this.convertToHsv({
r: parseInt('0x' + text.substr(0, 2)),
g: parseInt('0x' + text.substr(2, 2)),
b: parseInt('0x' + text.substr(4, 2))
});
} else if (fromValueSliderEvent instanceof Event) {
let originInViewportSpace = this._colorValueSlider.offset();
let pointerCartesianCoordinateInLocalSpaceCenteredInSlider = {
x: fromValueSliderEvent.clientX - originInViewportSpace.left,
y: fromValueSliderEvent.clientY - originInViewportSpace.top,
};
let width = this._colorValueSlider.width();
let rawValue = pointerCartesianCoordinateInLocalSpaceCenteredInSlider.x / width;
this._hsvColor.value = Math.max(0, Math.min(1, rawValue));
} else {
return;
}
this._update();
if (this._onColorChange) {
let hexColor = this._colorHexTextField.val();
this._onColorChange(this._selectedColorFromPalette, hexColor, this._opacity, lastInteraction);
if (lastInteraction && this._selectedColorFromPalette && this._colorPalette) {
this._selectedColorFromPalette.color = new Color({ hexValue: parseInt('0x' + hexColor) });
this._selectedColorFromPalette.opacity = new Opacity({ index: this._opacity.index });
}
}
}
_updateAlpha({ fromAlphaSliderEvent, lastInteraction }) {
let originInViewportSpace = this._alphaSlider.offset();
let pointerCartesianCoordinateInLocalSpaceCenteredInSlider = {
x: fromAlphaSliderEvent.clientX - originInViewportSpace.left,
y: fromAlphaSliderEvent.clientY - originInViewportSpace.top,
};
let width = this._alphaSlider.width();
let rawValue = pointerCartesianCoordinateInLocalSpaceCenteredInSlider.x / width;
let index = Math.max(0, Math.min(1, rawValue)) * (Opacity.upperBound - Opacity.lowerBound) + Opacity.lowerBound;
this._opacity.index = Math.round(index);
this._updateAlphaSlider();
if (this._onColorChange) {
let hexColor = this._colorHexTextField.val();
this._onColorChange(this._selectedColorFromPalette, hexColor, this._opacity, lastInteraction);
if (lastInteraction && this._selectedColorFromPalette && this._colorPalette) {
this._selectedColorFromPalette.color = new Color({ hexValue: parseInt('0x' + hexColor) });
this._selectedColorFromPalette.opacity = new Opacity({ index: this._opacity.index });
}
}
}
_update() {
this._updateCrosshair({ hue: this._hsvColor.hue, saturation: this._hsvColor.saturation, value: this._hsvColor.value });
let rgbColor = this.convertToRgb({ hue: this._hsvColor.hue, saturation: this._hsvColor.saturation, value: this._hsvColor.value });
let hexColor = this.convertToHex({ r: rgbColor.r, g: rgbColor.g, b: rgbColor.b });
this._updateColorHex({ fromText: hexColor });
this._updateColorValueSlider({ hue: this._hsvColor.hue, saturation: this._hsvColor.saturation, value: this._hsvColor.value });
this._updateColorPreview();
this._updateAlphaSlider();
}
_updateCrosshair({ hue, saturation, value }) {
if (typeof hue !== 'number' || Number.isNaN(hue)
|| !Number.isFinite(hue) || hue < 0 || hue > 1
|| typeof saturation !== 'number' || Number.isNaN(saturation)
|| !Number.isFinite(saturation) || saturation < 0 || saturation > 1) return;
let areaHalfSize = 0.5 * parseFloat(this._colorWheelContainer.width());
let colorWheelHalfSize = 0.5 * parseFloat(this._colorWheelContainer.find('img').width());
let crosshairHalfSize = 0.5 * parseFloat(this._colorWheelCrosshair.outerWidth());
let theta = -hue * 2 * Math.PI;
let radius = saturation * colorWheelHalfSize;
let rectifiedCartesianCoordinate = {
x: Math.cos(theta) * radius,
y: Math.sin(theta) * radius
}
this._colorWheelCrosshair.css('left', (areaHalfSize - crosshairHalfSize + rectifiedCartesianCoordinate.x) + 'px');
this._colorWheelCrosshair.css('top', (areaHalfSize - crosshairHalfSize + rectifiedCartesianCoordinate.y) + 'px');
this._colorWheel.css('filter', `brightness(${value})`);
}
_updateColorHex({ fromText }) {
let text = fromText;
if (typeof text !== 'string') return;
text = text.toUpperCase();
text = text.replace(/[^A-F0-9]/g, '');
text = text.substr(0, 6);
this._colorHexTextField.val(text);
}
_updateColorValueSlider({ hue, saturation, value }) {
if (typeof value !== 'number' || Number.isNaN(value) || !Number.isFinite(value)) return;
this._colorValueSliderBar.css('width', Math.max(0, Math.min(100, value * 100)) + '%');
let rgbColor = this.convertToRgb({ hue: this._hsvColor.hue, saturation: this._hsvColor.saturation, value: this._hsvColor.value });
this._colorValueSliderBar.css('background', `linear-gradient(to right, black, rgb(${rgbColor.r}, ${rgbColor.g}, ${rgbColor.b}))`);
}
_updateColorPreview() {
let hexText = this._colorHexTextField.val();
this._colorPreview.css('color', '#' + hexText);
let value = (Math.round((this._hsvColor.value > 0.5 ? 0.3 : 0.7) * 16) % 16).toString(16);
this._copyHexIndicator.css('color', `#${value}${value}${value}`);
}
_updateAlphaSlider() {
let alpha = (this._opacity.index - Opacity.lowerBound) / (Opacity.upperBound - Opacity.lowerBound);
if (typeof alpha !== 'number' || Number.isNaN(alpha) || !Number.isFinite(alpha)
|| alpha < 0 || alpha > 1) return;
this._alphaSliderBar.css('width', Math.max(0, Math.min(100, alpha * 100)) + '%');
let intensity = Math.round(alpha * 255);
this._alphaSliderBar.css('background', `linear-gradient(to right, black, rgb(${intensity}, ${intensity}, ${intensity}))`);
}
convertToRgb({ hue, saturation, value }) {
let r, g, b, i, f, p, q, t;
i = Math.floor(hue * 6);
f = hue * 6 - i;
p = value * (1 - saturation);
q = value * (1 - f * saturation);
t = value * (1 - (1 - f) * saturation);
switch (i % 6) {
case 0: r = value, g = t, b = p; break;
case 1: r = q, g = value, b = p; break;
case 2: r = p, g = value, b = t; break;
case 3: r = p, g = q, b = value; break;
case 4: r = t, g = p, b = value; break;
case 5: r = value, g = p, b = q; break;
}
return {
r: Math.round(r * 255),
g: Math.round(g * 255),
b: Math.round(b * 255)
};
}
convertToHsv({ r, g, b }) {
let max = Math.max(r, g, b),
min = Math.min(r, g, b),
d = max - min,
h,
s = (max === 0 ? 0 : d / max),
v = max / 255;
switch (max) {
case min: h = 0; break;
case r: h = (g - b) + d * (g < b ? 6 : 0); h /= 6 * d; break;
case g: h = (b - r) + d * 2; h /= 6 * d; break;
case b: h = (r - g) + d * 4; h /= 6 * d; break;
}
return {
hue: h,
saturation: s,
value: v
};
}
convertToHex({ r, g, b }) {
let value = (Math.min(255, Math.max(0, Math.round(r))) << 16)
+ (Math.min(255, Math.max(0, Math.round(g))) << 8)
+ (Math.min(255, Math.max(0, Math.round(b))))
return ('000000' + value.toString(16)).slice(-6).toUpperCase();
}
}
| malulleybovo/SymbolArtEditorOnline | src/components/ui/UIColorPicker.js | JavaScript | apache-2.0 | 27,823 |
'use strict';
var diffex = require('diffex');
var domready = require('domready');
domready(function() {
var template = document.getElementById('template');
var input = document.getElementById('input');
var result = document.getElementById('result');
var extract = document.getElementById('extract');
function displayResults() {
result.textContent = JSON.stringify(diffex(template.value).parse(input.value), null, 2);
}
extract.onclick = displayResults;
displayResults();
});
| flowxo/diffex | demo/index.js | JavaScript | apache-2.0 | 499 |
import jsonp from '@utils/jsonp'
import {commonParams, options} from './config'
export function getHotKey() {
const url = 'https://c.y.qq.com/splcloud/fcgi-bin/gethotkey.fcg'
const data = Object.assign({}, commonParams, {
uin: 0,
needNewCode: 1,
platform: 'h5',
})
return jsonp(url, data, options)
}
export function search(query, page, zhida, perpage) {
const url = 'https://c.y.qq.com/soso/fcgi-bin/search_for_qq_cp'
const data = Object.assign({}, commonParams, {
w: query,
p: page,
perpage,
n: perpage || 40,
catZhida: zhida ? 1 : 0,
zhidaqu: 1,
t: 0,
flag: 1,
ie: 'utf-8',
sem: 1,
aggr: 0,
remoteplace: 'txt.mqq.all',
uin: 0,
needNewCode: 1,
platform: 'h5',
})
return jsonp(url, data, options)
}
| styleyan/vue-music | src/api/search.js | JavaScript | apache-2.0 | 793 |
describe('coreos.services.pollerSvc', function () {
'use strict';
var pollerSvcProvider, pollerSvc, mockScope, $timeout, mockPromise, $q;
beforeEach(function () {
// Initialize the service provider by injecting it to a fake module's
// config block.
angular.module('testApp', [], function () {})
.config(function(_pollerSvcProvider_) {
pollerSvcProvider = _pollerSvcProvider_;
});
// Initialize coreos.services injector
module('coreos.services', 'testApp', 'mocks');
// Kickstart the injectors previously registered with angular.mock.module.
// Inject instance of poller service.
inject(function($injector) {
$q = $injector.get('$q');
$timeout = $injector.get('$timeout');
pollerSvc = $injector.get('pollerSvc');
mockScope = $injector.get('$rootScope').$new();
mockPromise = $injector.get('mocks.promise');
});
});
it('sets the settings object on the provider', function () {
var settingsObj = { foo: 'bar' };
pollerSvcProvider.settings(settingsObj);
expect(pollerSvcProvider.settings()).toBe(settingsObj);
});
describe('isRegistered()', function() {
it('reports false for unregistered names', function() {
expect(pollerSvc.isRegistered('idontexist')).toBe(false);
});
it('reports true for registered names', function() {
pollerSvc.register('iexist', {});
expect(pollerSvc.isRegistered('iexist')).toBe(true);
});
});
describe('register()', function() {
var options;
beforeEach(function() {
options = {};
});
it('sets the default options', function() {
pollerSvc.register('myPoller', options);
expect(options.startIn).toBe(0);
expect(options.catch).toBe(angular.noop);
expect(options.then).toBe(angular.noop);
expect(options.finally).toBe(angular.noop);
});
it('automatically kills the poller when scope is destroyed', function() {
options.scope = mockScope;
pollerSvc.register('myPoller', options);
mockScope.$destroy();
mockScope.$digest();
expect(pollerSvc.isRegistered('myPoller')).toBe(false);
});
it('runs the specified function', function() {
options.fn = function() {
return mockPromise;
};
spyOn(options, 'fn').andCallThrough();
pollerSvc.register('myPoller', options);
$timeout.flush();
expect(options.fn).toHaveBeenCalled();
});
it('polls', function() {
var counter = 0;
options = {
fn: function() {
var d = $q.defer();
if (counter < 10) {
d.resolve('hi');
} else {
pollerSvc.kill('pollingPoller');
}
return d.promise;
},
then: function() {
counter++;
}
};
pollerSvc.register('pollingPoller', options);
$timeout.flush();
expect(counter).toBe(10);
});
});
describe('kill()', function() {
var options;
beforeEach(function() {
options = {
fn: function() {
var d = $q.defer();
d.resolve('yup');
return d.promise;
},
interval: 10,
then: jasmine.createSpy()
};
});
it('fails silently if poller doesnt exist', function() {
expect(pollerSvc.kill.bind(null, 'idontexist')).not.toThrow();
});
it('cancels any outstanding timeouts', function() {
var spinCounter;
runs(function() {
spinCounter = 0;
pollerSvc.register('myPoller', options);
$timeout.flush();
pollerSvc.kill('myPoller');
});
waitsFor(function() {
// Spin for a while to see if any operations get queued up.
spinCounter++;
return spinCounter === 10;
}, 0);
runs(function() {
expect($timeout.verifyNoPendingTasks).not.toThrow();
});
});
it('deletes the poller from the index', function() {
pollerSvc.register('myPoller', options);
pollerSvc.kill('myPoller');
expect(pollerSvc.isRegistered('myPoller')).toBe(false);
});
it('stops polling', function() {
var counter = 0, spinCounter = 0;
runs(function() {
options = {
fn: function() {
var d = $q.defer();
if (counter < 10) {
d.resolve('hi');
} else {
pollerSvc.kill('pollingPoller');
}
return d.promise;
},
then: function() {
counter++;
}
};
pollerSvc.register('pollingPoller', options);
$timeout.flush();
});
waitsFor(function() {
spinCounter++;
return spinCounter === 20;
}, 0);
runs(function() {
// Should still be 10.
expect(counter).toBe(10);
});
});
});
describe('killAll()', function() {
var options;
beforeEach(function() {
options = {};
});
it('kills and removes all pollers', function() {
pollerSvc.register('one', options);
pollerSvc.register('two', options);
pollerSvc.register('three', options);
pollerSvc.killAll();
expect(pollerSvc.isRegistered('one')).toBe(false);
expect(pollerSvc.isRegistered('two')).toBe(false);
expect(pollerSvc.isRegistered('three')).toBe(false);
});
});
});
| coreos/coreos-web | src/module/poller.test.js | JavaScript | apache-2.0 | 5,370 |
import NewGroupModule from './newGroup'
import NewGroupController from './newGroup.controller';
import NewGroupComponent from './newGroup.component';
import NewGroupTemplate from './newGroup.html';
describe('NewGroup', () => {
let $rootScope, makeController;
beforeEach(window.module(NewGroupModule.name));
beforeEach(inject((_$rootScope_) => {
$rootScope = _$rootScope_;
makeController = () => {
return new NewGroupController();
};
}));
describe('Module', () => {
// top-level specs: i.e., routes, injection, naming
});
describe('Controller', () => {
// controller specs
it('has a name property [REMOVE]', () => { // erase if removing this.name from the controller
let controller = makeController();
expect(controller).to.have.property('name');
});
});
describe('Template', () => {
// template specs
// tip: use regex to ensure correct bindings are used e.g., {{ }}
it('has name in template [REMOVE]', () => {
expect(NewGroupTemplate).to.match(/{{\s?vm\.name\s?}}/g);
});
});
describe('Component', () => {
// component/directive specs
let component = NewGroupComponent;
it('includes the intended template',() => {
expect(component.template).to.equal(NewGroupTemplate);
});
it('uses `controllerAs` syntax', () => {
expect(component).to.have.property('controllerAs');
});
it('invokes the right controller', () => {
expect(component.controller).to.equal(NewGroupController);
});
});
});
| netfox01/Piggy | client/app/components/newGroup/newGroup.spec.js | JavaScript | apache-2.0 | 1,612 |
export function bufferDeletedBook(deletedBook) {
return {
type: 'BUFFER_FOR_DELETED_BOOK',
deletedBook
}
}
export function clearDeletedBook(){
return {
type: 'CLEAR_BOOK_BUFFER'
}
}
| MelanistOnca/bookList | public/js/actions/deletedBook.js | JavaScript | apache-2.0 | 205 |
/**
Copyright 2014 Gordon Williams (gw@pur3.co.uk)
This Source Code is subject to the terms of the Mozilla Public
License, v2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
------------------------------------------------------------------
Actual low-level code for flashing Espruino Devices
------------------------------------------------------------------
**/
"use strict";
(function(){
var dataReceived = undefined; // listener for when data is received
var bytesReceived = []; // list of characters for when no handler is specified
var ACK = 0x79;
var NACK = 0x1F;
var DEFAULT_FLASH_OFFSET = 1024*10; /* Skip size of F1 bootloader by default */
function init() {
}
var getBinary = function(url, callback) {
console.log("Downloading "+url);
Espruino.Core.Status.setStatus("Downloading binary...");
var xhr = new XMLHttpRequest();
xhr.responseType = "arraybuffer";
xhr.addEventListener("load", function () {
if (xhr.status === 200) {
Espruino.Core.Status.setStatus("Done.");
var data = xhr.response;
callback(undefined,data);
} else
callback("Error downloading file - HTTP "+xhr.status);
});
xhr.addEventListener("error", function () {
callback("Error downloading file");
});
xhr.open("GET", url, true);
xhr.send(null);
};
var initialiseChip = function(callback, timeout) {
if (!Espruino.Core.Status.hasProgress())
Espruino.Core.Status.setStatus("Initialising...");
console.log("Initialising...");
var iTimeout = setTimeout(function() {
dataReceived = undefined;
clearInterval(iPoll);
//callback("Can't find STM32 bootloader. Make sure the chip is reset with BOOT0=1 and BOOT1=0");
callback("Can't find STM32 bootloader. Make sure the chip is reset into bootloader mode by holding down BTN1 while pressing RST");
}, (timeout==undefined)?10000:timeout);
var iPoll = setInterval(function() {
console.log("Sending... 0x7F");
Espruino.Core.Serial.write("\x7f", false);
}, 70);
dataReceived = function (c) {
console.log("got "+c);
if (c==ACK || c==NACK) {
clearTimeout(iTimeout);
clearInterval(iPoll);
if (!Espruino.Core.Status.hasProgress())
Espruino.Core.Status.setStatus("Initialised.");
console.log("Initialised. Just waiting for a bit...");
// wait for random extra data...
dataReceived = function(c){
console.log("Already ACKed but got "+c);
};
setTimeout(function() {
dataReceived = undefined;
// finally call callback
bodgeClock(callback);
}, 500);
}
};
};
var waitForACK = function(callback, timeout) {
var ms = timeout?timeout:1000;
var iTimeout = setTimeout(function() {
dataReceived = undefined;
callback("Timeout waiting for ACK - "+ms+"ms");
}, ms);
dataReceived = function (c) {
//console.log("Got data "+JSON.stringify(c));
dataReceived = undefined;
if (c==ACK) {
clearTimeout(iTimeout);
callback(undefined);
} else
callback("Expected ACK but got "+c);
};
};
var sendData = function(data, callback, timeout) {
var s = "";
var chksum = 0;
for (var i in data) {
chksum = chksum ^ data[i];
s += String.fromCharCode(data[i]);
}
Espruino.Core.Serial.write(s + String.fromCharCode(chksum), false);
/* wait for ACK *NOW* - not in the write callback, as by that time we
may have already received the ACK we were looking for */
waitForACK(callback, timeout);
};
var receiveData = function(count, callback, timeout) {
var data = new Uint8Array(count);
var dataCount = 0;
var iTimeout = setTimeout(function() {
dataReceived = undefined;
callback("Timeout reading "+count+" bytes");
}, timeout?timeout:2000);
dataReceived = function (c) {
data[dataCount++] = c;
if (dataCount == count) {
clearTimeout(iTimeout);
dataReceived = undefined;
callback(undefined,data);
}
};
};
var sendCommand = function(command, callback) {
Espruino.Core.Serial.write(String.fromCharCode(command) + String.fromCharCode(0xFF ^ command), false);
/* wait for ACK *NOW* - not in the write callback, as by that time we
may have already received the ACK we were looking for */
waitForACK(callback);
};
var eraseChip = function(callback) {
Espruino.Core.Status.setStatus("Erasing...");
// Extended erase
sendCommand(0x44, function(err) {
if (err) { callback(err); return; }
console.log("We may be some time...");
sendData([0xFF,0xFF], function(err) {
if (err) { callback(err); return; }
callback(undefined);
}, 20000/*timeout*/);
});
};
var readData = function(callback, addr, readBytes) {
console.log("Reading "+readBytes+" bytes from 0x"+addr.toString(16)+"...");
// send read command
sendCommand(0x11, function(err) {
if (err) {
console.log("Error sending command ("+err+").");
callback(err);
return;
}
// send address
sendData([(addr>>24)&0xFF,(addr>>16)&0xFF,(addr>>8)&0xFF,addr&0xFF], function(err) {
if (err) {
console.log("Error sending address. ("+err+")");
callback(err);
return;
}
// send amount of bytes we want
sendData([readBytes-1], function(err) {
if (err) {
console.log("Error while reading. ("+err+")");
callback(err);
return;
}
receiveData(readBytes, /*function(err) {
if (err) {
console.log("Error while reading. retrying...");
initialiseChip(function (err) {
if (err) callback(err);
else readData(callback, addr, readBytes);
}, 10000);
return;
}
callback(undefined, data);
}*/callback, 1000);
}, 2000/*timeout*/);
});
});
};
var bodgeClock = function(callback) {
/* 1v43 bootloader ran APB1 at 9Mhz, which isn't enough for
some STM32 silicon, which has a bug. Instead, set the APB1 clock
using the bootloader write command, which will fix it up enough for
flashing. */
var RCC_CFGR = 0x40021004;
readData(function(err, data) {
if (err) return callback(err);
var word = (data[3]<<24) | (data[2]<<16) | (data[1]<<8) | data[0];
console.log("RCC->CFGR = "+word);
var newword = (word&0xFFFFF8FF) | 0x00000400;
if (newword==word) {
console.log("RCC->CFGR is correct");
callback(undefined);
} else {
console.log("Setting RCC->CFGR to "+newword);
writeData(callback, RCC_CFGR, [newword&0xFF, (newword>>8)&0xFF, (newword>>16)&0xFF, (newword>>24)&0xFF]);
}
}, RCC_CFGR, 4);
};
var writeData = function(callback, addr, data) {
if (data.length>256) callback("Writing too much data");
console.log("Writing "+data.length+" bytes at 0x"+addr.toString(16)+"...");
// send write command
sendCommand(0x31, function(err) {
if (err) {
console.log("Error sending command ("+err+"). retrying...");
initialiseChip(function (err) {
if (err) callback(err);
else writeData(callback, addr, data);
}, 30000);
return;
}
// send address
sendData([(addr>>24)&0xFF,(addr>>16)&0xFF,(addr>>8)&0xFF,addr&0xFF], function(err) {
if (err) {
console.log("Error sending address ("+err+"). retrying...");
initialiseChip(function (err) {
if (err) callback(err);
else writeData(callback, addr, data);
}, 30000);
return;
}
// work out data to send
var sData = [ data.length-1 ];
// for (var i in data) doesn't just do 0..data.length-1 in node!
for (var i=0;i<data.length;i++) sData.push(data[i]&0xFF);
// send data
sendData(sData, function(err) {
if (err) {
console.log("Error while writing ("+err+"). retrying...");
initialiseChip(function (err) {
if (err) callback(err);
else writeData(callback, addr, data);
}, 30000);
return;
}
callback(undefined); // done
}, 2000/*timeout*/);
});
});
};
var writeAllData = function(binary, flashOffset, callback) {
var chunkSize = 256;
console.log("Writing "+binary.byteLength+" bytes");
Espruino.Core.Status.setStatus("Writing flash...", binary.byteLength);
var writer = function(offset) {
if (offset>=binary.byteLength) {
Espruino.Core.Status.setStatus("Write complete!");
callback(undefined); // done
return;
}
var len = binary.byteLength - offset;
if (len > chunkSize) len = chunkSize;
var data = new Uint8Array(binary, offset, len);
writeData(function(err) {
if (err) { callback(err); return; }
Espruino.Core.Status.incrementProgress(chunkSize);
writer(offset + chunkSize);
}, 0x08000000 + offset, data);
};
writer(flashOffset);
};
var readAllData = function(binaryLength, flashOffset, callback) {
var data = new Uint8Array(flashOffset);
var chunkSize = 256;
console.log("Reading "+binaryLength+" bytes");
Espruino.Core.Status.setStatus("Reading flash...", binaryLength);
var reader = function(offset) {
if (offset>=binaryLength) {
Espruino.Core.Status.setStatus("Read complete!");
callback(undefined, data); // done
return;
}
var len = binaryLength - offset;
if (len > chunkSize) len = chunkSize;
readData(function(err, dataChunk) {
if (err) { callback(err); return; }
for (var i in dataChunk)
data[offset+i] = dataChunk[i];
Espruino.Core.Status.incrementProgress(chunkSize);
reader(offset + chunkSize);
}, 0x08000000 + offset, chunkSize);
};
reader(flashOffset);
};
function flashBinaryToDevice(binary, flashOffset, callback) {
if (typeof flashOffset === 'function') {
// backward compatibility if flashOffset is missed
callback = flashOffset;
flashOffset = null;
}
if (!flashOffset && flashOffset !== 0) {
flashOffset = DEFAULT_FLASH_OFFSET;
}
if (typeof binary == "string") {
var buf = new ArrayBuffer(binary.length);
var a = new Uint8Array(buf);
for (var i=0;i<binary.length;i++)
a[i] = binary.charCodeAt(i);
binary = buf;
}
// add serial listener
dataReceived = undefined;
Espruino.Core.Serial.startListening(function (readData) {
var bufView=new Uint8Array(readData);
//console.log("Got "+bufView.length+" bytes");
for (var i=0;i<bufView.length;i++) bytesReceived.push(bufView[i]);
if (dataReceived!==undefined) {
for (var i=0;i<bytesReceived.length;i++) {
if (dataReceived===undefined) console.log("OH NO!");
dataReceived(bytesReceived[i]);
}
bytesReceived = [];
}
});
Espruino.Core.Serial.setBinary(true);
var hadSlowWrite = Espruino.Core.Serial.isSlowWrite();
Espruino.Core.Serial.setSlowWrite(false, true/*force*/);
var oldHandler;
if (Espruino.Core.Terminal) {
oldHandler = Espruino.Core.Terminal.setInputDataHandler(function() {
// ignore keyPress from terminal during flashing
});
}
var finish = function(err) {
Espruino.Core.Serial.setSlowWrite(hadSlowWrite);
Espruino.Core.Serial.setBinary(false);
if (Espruino.Core.Terminal)
Espruino.Core.Terminal.setInputDataHandler(oldHandler);
callback(err);
};
// initialise
initialiseChip(function (err) {
if (err) { finish(err); return; }
eraseChip(function (err) {
if (err) { finish(err); return; }
writeAllData(binary, flashOffset, function (err) {
if (err) { finish(err); return; }
finish();
});
});
/*readAllData(binary.byteLength, function(err,chipData) {
if (err) {
finish(err);
return;
}
var errors = 0;
var needsErase = false;
var binaryData = new Uint8Array(binary, 0, binary.byteLength);
for (var i=FLASH_OFFSET;i<binary.byteLength;i++) {
if (binaryData[i]!=chipData[i]) {
if (chipData[i]!=0xFF) needsErase = true;
console.log(binaryData[i]+" vs "+data[i]);
errors++;
}
}
console.log(errors+" differences, "+(needsErase?"needs erase":"doesn't need erase"));
});*/
});
}
function flashDevice(url, flashOffset, callback) {
getBinary(url, function (err, binary) {
if (err) { callback(err); return; }
console.log("Downloaded "+binary.byteLength+" bytes");
flashBinaryToDevice(binary, flashOffset, callback);
});
};
function resetDevice(callback) {
// add serial listener
dataReceived = undefined;
Espruino.Core.Serial.startListening(function (readData) {
var bufView=new Uint8Array(readData);
//console.log("Got "+bufView.length+" bytes");
for (var i=0;i<bufView.length;i++) bytesReceived.push(bufView[i]);
if (dataReceived!==undefined) {
for (var i=0;i<bytesReceived.length;i++) {
if (dataReceived===undefined) console.log("OH NO!");
dataReceived(bytesReceived[i]);
}
bytesReceived = [];
}
});
Espruino.Core.Serial.setBinary(true);
var hadSlowWrite = Espruino.Core.Serial.isSlowWrite();
Espruino.Core.Serial.setSlowWrite(false, true/*force*/);
var oldHandler = Espruino.Core.Terminal.setInputDataHandler(function() {
// ignore keyPress from terminal during flashing
});
var finish = function(err) {
Espruino.Core.Serial.setSlowWrite(hadSlowWrite);
Espruino.Core.Serial.setBinary(false);
Espruino.Core.Terminal.setInputDataHandler(oldHandler);
callback(err);
};
// initialise
initialiseChip(function (err) {
if (err) return finish(err);
var data = new Uint8Array([0x04,0x00,0xFA,0x05]);
var addr = 0xE000ED0C;
console.log("Writing "+data.length+" bytes at 0x"+addr.toString(16)+"...");
// send write command
sendCommand(0x31, function(err) {
if (err) return finish(err);
// send address
sendData([(addr>>24)&0xFF,(addr>>16)&0xFF,(addr>>8)&0xFF,addr&0xFF], function(err) {
if (err) return finish(err);
// work out data to send
// for (var i in data) doesn't just do 0..data.length-1 in node!
for (var i=0;i<data.length;i++) sData.push(data[i]&0xFF);
var s = "";
var chksum = 0;
for (var i in sData) {
chksum = chksum ^ sData[i];
s += String.fromCharCode(sData[i]);
}
Espruino.Core.Serial.write(s + String.fromCharCode(chksum), false, finish);
}, 2000/*timeout*/);
});
});
};
Espruino.Core.Flasher = {
init : init,
flashDevice : flashDevice,
flashBinaryToDevice : flashBinaryToDevice,
resetDevice : resetDevice
};
}());
| amperka/EspruinoTools | core/flasher.js | JavaScript | apache-2.0 | 15,435 |
/**
* This module provides the controller for the settings page.
*/
(function(ng, $) {
var module = ng.module("settings", [
"router",
"resources"
]);
// define url /settings
module.config(function(routerProvider) {
routerProvider.when("settings", "/settings", {
controller: "settingsCtrl",
templateUrl: "/html/settings.html",
resolve: {
// wait till the current logged in user is loaded.
user: function(getUser) {
return getUser(true);
}
}
});
});
/**
* The controller changes the page title.
*/
module.controller("settingsCtrl", function($translate, pageTitle) {
$translate("pageTitles.settings").then(function(title) {
pageTitle.change(title);
});
});
})(angular, jQuery);
| XMBomb/InComb | WebContent/js/settings.js | JavaScript | apache-2.0 | 736 |
'use strict';
var BoundingSphere = require('./BoundingSphere');
var Cartesian3 = require('./Cartesian3');
var ComponentDatatype = require('./ComponentDatatype');
var defaultValue = require('./defaultValue');
var defined = require('./defined');
var DeveloperError = require('./DeveloperError');
var Ellipsoid = require('./Ellipsoid');
var Geometry = require('./Geometry');
var GeometryAttribute = require('./GeometryAttribute');
var GeometryAttributes = require('./GeometryAttributes');
var IndexDatatype = require('./IndexDatatype');
var CesiumMath = require('./Math');
var PrimitiveType = require('./PrimitiveType');
var WallGeometryLibrary = require('./WallGeometryLibrary');
var scratchCartesian3Position1 = new Cartesian3();
var scratchCartesian3Position2 = new Cartesian3();
/**
* A description of a wall outline. A wall is defined by a series of points,
* which extrude down to the ground. Optionally, they can extrude downwards to a specified height.
*
* @alias WallOutlineGeometry
* @constructor
*
* @param {Object} options Object with the following properties:
* @param {Cartesian3[]} options.positions An array of Cartesian objects, which are the points of the wall.
* @param {Number} [options.granularity=CesiumMath.RADIANS_PER_DEGREE] The distance, in radians, between each latitude and longitude. Determines the number of positions in the buffer.
* @param {Number[]} [options.maximumHeights] An array parallel to <code>positions</code> that give the maximum height of the
* wall at <code>positions</code>. If undefined, the height of each position in used.
* @param {Number[]} [options.minimumHeights] An array parallel to <code>positions</code> that give the minimum height of the
* wall at <code>positions</code>. If undefined, the height at each position is 0.0.
* @param {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid for coordinate manipulation
*
* @exception {DeveloperError} positions length must be greater than or equal to 2.
* @exception {DeveloperError} positions and maximumHeights must have the same length.
* @exception {DeveloperError} positions and minimumHeights must have the same length.
*
* @see WallGeometry#createGeometry
* @see WallGeometry#fromConstantHeight
*
* @example
* // create a wall outline that spans from ground level to 10000 meters
* var wall = new Cesium.WallOutlineGeometry({
* positions : Cesium.Cartesian3.fromDegreesArrayHeights([
* 19.0, 47.0, 10000.0,
* 19.0, 48.0, 10000.0,
* 20.0, 48.0, 10000.0,
* 20.0, 47.0, 10000.0,
* 19.0, 47.0, 10000.0
* ])
* });
* var geometry = Cesium.WallOutlineGeometry.createGeometry(wall);
*/
function WallOutlineGeometry(options) {
options = defaultValue(options, defaultValue.EMPTY_OBJECT);
var wallPositions = options.positions;
var maximumHeights = options.maximumHeights;
var minimumHeights = options.minimumHeights;
//>>includeStart('debug', pragmas.debug);
if (!defined(wallPositions)) {
throw new DeveloperError('options.positions is required.');
}
if (defined(maximumHeights) && maximumHeights.length !== wallPositions.length) {
throw new DeveloperError('options.positions and options.maximumHeights must have the same length.');
}
if (defined(minimumHeights) && minimumHeights.length !== wallPositions.length) {
throw new DeveloperError('options.positions and options.minimumHeights must have the same length.');
}
//>>includeEnd('debug');
var granularity = defaultValue(options.granularity, CesiumMath.RADIANS_PER_DEGREE);
var ellipsoid = defaultValue(options.ellipsoid, Ellipsoid.WGS84);
this._positions = wallPositions;
this._minimumHeights = minimumHeights;
this._maximumHeights = maximumHeights;
this._granularity = granularity;
this._ellipsoid = Ellipsoid.clone(ellipsoid);
this._workerName = 'createWallOutlineGeometry';
var numComponents = 1 + wallPositions.length * Cartesian3.packedLength + 2;
if (defined(minimumHeights)) {
numComponents += minimumHeights.length;
}
if (defined(maximumHeights)) {
numComponents += maximumHeights.length;
}
/**
* The number of elements used to pack the object into an array.
* @type {Number}
*/
this.packedLength = numComponents + Ellipsoid.packedLength + 1;
}
/**
* Stores the provided instance into the provided array.
*
* @param {WallOutlineGeometry} value The value to pack.
* @param {Number[]} array The array to pack into.
* @param {Number} [startingIndex=0] The index into the array at which to start packing the elements.
*
* @returns {Number[]} The array that was packed into
*/
WallOutlineGeometry.pack = function(value, array, startingIndex) {
//>>includeStart('debug', pragmas.debug);
if (!defined(value)) {
throw new DeveloperError('value is required');
}
if (!defined(array)) {
throw new DeveloperError('array is required');
}
//>>includeEnd('debug');
startingIndex = defaultValue(startingIndex, 0);
var i;
var positions = value._positions;
var length = positions.length;
array[startingIndex++] = length;
for (i = 0; i < length; ++i, startingIndex += Cartesian3.packedLength) {
Cartesian3.pack(positions[i], array, startingIndex);
}
var minimumHeights = value._minimumHeights;
length = defined(minimumHeights) ? minimumHeights.length : 0;
array[startingIndex++] = length;
if (defined(minimumHeights)) {
for (i = 0; i < length; ++i) {
array[startingIndex++] = minimumHeights[i];
}
}
var maximumHeights = value._maximumHeights;
length = defined(maximumHeights) ? maximumHeights.length : 0;
array[startingIndex++] = length;
if (defined(maximumHeights)) {
for (i = 0; i < length; ++i) {
array[startingIndex++] = maximumHeights[i];
}
}
Ellipsoid.pack(value._ellipsoid, array, startingIndex);
startingIndex += Ellipsoid.packedLength;
array[startingIndex] = value._granularity;
return array;
};
var scratchEllipsoid = Ellipsoid.clone(Ellipsoid.UNIT_SPHERE);
var scratchOptions = {
positions : undefined,
minimumHeights : undefined,
maximumHeights : undefined,
ellipsoid : scratchEllipsoid,
granularity : undefined
};
/**
* Retrieves an instance from a packed array.
*
* @param {Number[]} array The packed array.
* @param {Number} [startingIndex=0] The starting index of the element to be unpacked.
* @param {WallOutlineGeometry} [result] The object into which to store the result.
* @returns {WallOutlineGeometry} The modified result parameter or a new WallOutlineGeometry instance if one was not provided.
*/
WallOutlineGeometry.unpack = function(array, startingIndex, result) {
//>>includeStart('debug', pragmas.debug);
if (!defined(array)) {
throw new DeveloperError('array is required');
}
//>>includeEnd('debug');
startingIndex = defaultValue(startingIndex, 0);
var i;
var length = array[startingIndex++];
var positions = new Array(length);
for (i = 0; i < length; ++i, startingIndex += Cartesian3.packedLength) {
positions[i] = Cartesian3.unpack(array, startingIndex);
}
length = array[startingIndex++];
var minimumHeights;
if (length > 0) {
minimumHeights = new Array(length);
for (i = 0; i < length; ++i) {
minimumHeights[i] = array[startingIndex++];
}
}
length = array[startingIndex++];
var maximumHeights;
if (length > 0) {
maximumHeights = new Array(length);
for (i = 0; i < length; ++i) {
maximumHeights[i] = array[startingIndex++];
}
}
var ellipsoid = Ellipsoid.unpack(array, startingIndex, scratchEllipsoid);
startingIndex += Ellipsoid.packedLength;
var granularity = array[startingIndex];
if (!defined(result)) {
scratchOptions.positions = positions;
scratchOptions.minimumHeights = minimumHeights;
scratchOptions.maximumHeights = maximumHeights;
scratchOptions.granularity = granularity;
return new WallOutlineGeometry(scratchOptions);
}
result._positions = positions;
result._minimumHeights = minimumHeights;
result._maximumHeights = maximumHeights;
result._ellipsoid = Ellipsoid.clone(ellipsoid, result._ellipsoid);
result._granularity = granularity;
return result;
};
/**
* A description of a walloutline. A wall is defined by a series of points,
* which extrude down to the ground. Optionally, they can extrude downwards to a specified height.
*
* @param {Object} options Object with the following properties:
* @param {Cartesian3[]} options.positions An array of Cartesian objects, which are the points of the wall.
* @param {Number} [options.maximumHeight] A constant that defines the maximum height of the
* wall at <code>positions</code>. If undefined, the height of each position in used.
* @param {Number} [options.minimumHeight] A constant that defines the minimum height of the
* wall at <code>positions</code>. If undefined, the height at each position is 0.0.
* @param {Ellipsoid} [options.ellipsoid=Ellipsoid.WGS84] The ellipsoid for coordinate manipulation
* @returns {WallOutlineGeometry}
*
*
* @example
* // create a wall that spans from 10000 meters to 20000 meters
* var wall = Cesium.WallOutlineGeometry.fromConstantHeights({
* positions : Cesium.Cartesian3.fromDegreesArray([
* 19.0, 47.0,
* 19.0, 48.0,
* 20.0, 48.0,
* 20.0, 47.0,
* 19.0, 47.0,
* ]),
* minimumHeight : 20000.0,
* maximumHeight : 10000.0
* });
* var geometry = Cesium.WallOutlineGeometry.createGeometry(wall);
*
* @see WallOutlineGeometry#createGeometry
*/
WallOutlineGeometry.fromConstantHeights = function(options) {
options = defaultValue(options, defaultValue.EMPTY_OBJECT);
var positions = options.positions;
//>>includeStart('debug', pragmas.debug);
if (!defined(positions)) {
throw new DeveloperError('options.positions is required.');
}
//>>includeEnd('debug');
var minHeights;
var maxHeights;
var min = options.minimumHeight;
var max = options.maximumHeight;
var doMin = defined(min);
var doMax = defined(max);
if (doMin || doMax) {
var length = positions.length;
minHeights = (doMin) ? new Array(length) : undefined;
maxHeights = (doMax) ? new Array(length) : undefined;
for (var i = 0; i < length; ++i) {
if (doMin) {
minHeights[i] = min;
}
if (doMax) {
maxHeights[i] = max;
}
}
}
var newOptions = {
positions : positions,
maximumHeights : maxHeights,
minimumHeights : minHeights,
ellipsoid : options.ellipsoid
};
return new WallOutlineGeometry(newOptions);
};
/**
* Computes the geometric representation of a wall outline, including its vertices, indices, and a bounding sphere.
*
* @param {WallOutlineGeometry} wallGeometry A description of the wall outline.
* @returns {Geometry|undefined} The computed vertices and indices.
*/
WallOutlineGeometry.createGeometry = function(wallGeometry) {
var wallPositions = wallGeometry._positions;
var minimumHeights = wallGeometry._minimumHeights;
var maximumHeights = wallGeometry._maximumHeights;
var granularity = wallGeometry._granularity;
var ellipsoid = wallGeometry._ellipsoid;
var pos = WallGeometryLibrary.computePositions(ellipsoid, wallPositions, maximumHeights, minimumHeights, granularity, false);
if (!defined(pos)) {
return;
}
var bottomPositions = pos.bottomPositions;
var topPositions = pos.topPositions;
var length = topPositions.length;
var size = length * 2;
var positions = new Float64Array(size);
var positionIndex = 0;
// add lower and upper points one after the other, lower
// points being even and upper points being odd
length /= 3;
var i;
for (i = 0; i < length; ++i) {
var i3 = i * 3;
var topPosition = Cartesian3.fromArray(topPositions, i3, scratchCartesian3Position1);
var bottomPosition = Cartesian3.fromArray(bottomPositions, i3, scratchCartesian3Position2);
// insert the lower point
positions[positionIndex++] = bottomPosition.x;
positions[positionIndex++] = bottomPosition.y;
positions[positionIndex++] = bottomPosition.z;
// insert the upper point
positions[positionIndex++] = topPosition.x;
positions[positionIndex++] = topPosition.y;
positions[positionIndex++] = topPosition.z;
}
var attributes = new GeometryAttributes({
position : new GeometryAttribute({
componentDatatype : ComponentDatatype.DOUBLE,
componentsPerAttribute : 3,
values : positions
})
});
var numVertices = size / 3;
size = 2 * numVertices - 4 + numVertices;
var indices = IndexDatatype.createTypedArray(numVertices, size);
var edgeIndex = 0;
for (i = 0; i < numVertices - 2; i += 2) {
var LL = i;
var LR = i + 2;
var pl = Cartesian3.fromArray(positions, LL * 3, scratchCartesian3Position1);
var pr = Cartesian3.fromArray(positions, LR * 3, scratchCartesian3Position2);
if (Cartesian3.equalsEpsilon(pl, pr, CesiumMath.EPSILON10)) {
continue;
}
var UL = i + 1;
var UR = i + 3;
indices[edgeIndex++] = UL;
indices[edgeIndex++] = LL;
indices[edgeIndex++] = UL;
indices[edgeIndex++] = UR;
indices[edgeIndex++] = LL;
indices[edgeIndex++] = LR;
}
indices[edgeIndex++] = numVertices - 2;
indices[edgeIndex++] = numVertices - 1;
return new Geometry({
attributes : attributes,
indices : indices,
primitiveType : PrimitiveType.LINES,
boundingSphere : new BoundingSphere.fromVertices(positions)
});
};
module.exports = WallOutlineGeometry;
| lasalvavida/node-cesium-experimental | Modules/Core/lib/WallOutlineGeometry.js | JavaScript | apache-2.0 | 14,155 |
/*globals initTestDB, emit, generateAdapterUrl, PouchDB */
/*globals PERSIST_DATABASES, initDBPair, openTestDB, putAfter */
/*globals cleanupTestDatabases, strictEqual */
"use strict";
var adapters = [
['local-1', 'http-1'],
['http-1', 'http-2'],
['http-1', 'local-1'],
['local-1', 'local-2']];
var qunit = module;
var downAdapters = ['local-1'];
var deletedDocAdapters = [['local-1', 'http-1']];
var interHTTPAdapters = [['http-1', 'http-2']];
// if we are running under node.js, set things up
// a little differently, and only test the leveldb adapter
if (typeof module !== undefined && module.exports) {
var Pouch = require('../src/pouch.js');
var LevelPouch = require('../src/adapters/pouch.leveldb.js');
var utils = require('./test.utils.js');
for (var k in utils) {
global[k] = global[k] || utils[k];
}
qunit = QUnit.module;
downAdapters = [];
}
adapters.map(function(adapters) {
qunit('replication: ' + adapters[0] + ':' + adapters[1], {
setup : function () {
this.name = generateAdapterUrl(adapters[0]);
this.remote = generateAdapterUrl(adapters[1]);
Pouch.enableAllDbs = true;
},
teardown: cleanupTestDatabases
});
var docs = [
{_id: "0", integer: 0, string: '0'},
{_id: "1", integer: 1, string: '1'},
{_id: "2", integer: 2, string: '2'}
];
asyncTest("Test basic pull replication", function() {
var self = this;
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, {}, function(err, results) {
db.replicate.from(self.remote, function(err, result) {
ok(result.ok, 'replication was ok');
ok(result.docs_written === docs.length, 'correct # docs written');
start();
});
});
});
});
asyncTest("Test basic pull replication plain api", function() {
var self = this;
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, {}, function(err, results) {
Pouch.replicate(self.remote, self.name, {}, function(err, result) {
ok(result.ok, 'replication was ok');
equal(result.docs_written, docs.length, 'correct # docs written');
start();
});
});
});
});
asyncTest("Test basic pull replication plain api 2", function() {
var self = this;
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, {}, function(err, results) {
Pouch.replicate(self.remote, self.name, {complete: function(err, result) {
ok(result.ok, 'replication was ok');
equal(result.docs_written, docs.length, 'correct # docs written');
start();
}});
});
});
});
asyncTest("Local DB contains documents", function() {
var self = this;
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, {}, function(err, _) {
db.bulkDocs({docs: docs}, {}, function(err, _) {
db.replicate.from(self.remote, function(err, _) {
db.allDocs(function(err, result) {
ok(result.rows.length === docs.length, 'correct # docs exist');
start();
});
});
});
});
});
});
asyncTest("Test basic push replication", function() {
var self = this;
initDBPair(this.name, this.remote, function(db, remote) {
db.bulkDocs({docs: docs}, {}, function(err, results) {
db.replicate.to(self.remote, function(err, result) {
ok(result.ok, 'replication was ok');
ok(result.docs_written === docs.length, 'correct # docs written');
start();
});
});
});
});
asyncTest("Test basic push replication take 2", function() {
var self = this;
initDBPair(this.name, this.remote, function(db, remote) {
db.bulkDocs({docs: docs}, {}, function(err, _) {
db.replicate.to(self.remote, function(err, _) {
remote.allDocs(function(err, result) {
ok(result.rows.length === docs.length, 'correct # docs written');
start();
});
});
});
});
});
asyncTest("Test basic push replication sequence tracking", function() {
var self = this;
initDBPair(this.name, this.remote, function(db, remote) {
var doc1 = {_id: 'adoc', foo:'bar'};
db.put(doc1, function(err, result) {
db.replicate.to(self.remote, function(err, result) {
equal(result.docs_read, 1, 'correct # changed docs read on first replication');
db.replicate.to(self.remote, function(err, result) {
equal(result.docs_read, 0, 'correct # changed docs read on second replication');
db.replicate.to(self.remote, function(err, result) {
equal(result.docs_read, 0, 'correct # changed docs read on third replication');
start();
});
});
});
});
});
});
asyncTest("Test checkpoint", function() {
var self = this;
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, {}, function(err, results) {
db.replicate.from(self.remote, function(err, result) {
ok(result.ok, 'replication was ok');
ok(result.docs_written === docs.length, 'correct # docs written');
db.replicate.from(self.remote, function(err, result) {
ok(result.ok, 'replication was ok');
equal(result.docs_written, 0, 'correct # docs written');
equal(result.docs_read, 0, 'no docs read');
start();
});
});
});
});
});
asyncTest("Test continuous pull checkpoint", function() {
var self = this;
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, {}, function(err, results) {
var changeCount = docs.length;
var changes = db.changes({
continuous: true,
onChange: function(change) {
if (--changeCount) {
return;
}
replication.cancel();
changes.cancel();
db.replicate.from(self.remote, {complete: function(err, details) {
equal(details.docs_read, 0, 'We restarted from checkpoint');
start();
}});
}
});
var replication = db.replicate.from(self.remote, {continuous: true});
});
});
});
asyncTest("Test continuous push checkpoint", function() {
var self = this;
initDBPair(this.name, this.remote, function(db, remote) {
db.bulkDocs({docs: docs}, {}, function(err, results) {
var changeCount = docs.length;
var changes = remote.changes({
continuous: true,
onChange: function(change) {
if (--changeCount) {
return;
}
replication.cancel();
changes.cancel();
db.replicate.to(self.remote, {complete: function(err, details) {
equal(details.docs_read, 0, 'We restarted from checkpoint');
start();
}});
}
});
var replication = db.replicate.to(self.remote, {continuous: true});
});
});
});
asyncTest("Test checkpoint 2", function() {
var self = this;
var doc = {_id: "3", count: 0};
initDBPair(this.name, this.remote, function(db, remote) {
remote.put(doc, {}, function(err, results) {
db.replicate.from(self.remote, function(err, result) {
ok(result.ok, 'replication was ok');
doc._rev = results.rev;
doc.count++;
remote.put(doc, {}, function(err, results) {
doc._rev = results.rev;
doc.count++;
remote.put(doc, {}, function(err, results) {
db.replicate.from(self.remote, function(err, result) {
ok(result.ok, 'replication was ok');
equal(result.docs_written, 1, 'correct # docs written');
start();
});
});
});
});
});
});
});
asyncTest("Test checkpoint 3 :)", function() {
var self = this;
var doc = {_id: "3", count: 0};
initDBPair(this.name, this.remote, function(db, remote) {
db.put(doc, {}, function(err, results) {
Pouch.replicate(db, remote, {}, function(err, result) {
ok(result.ok, 'replication was ok');
doc._rev = results.rev;
doc.count++;
db.put(doc, {}, function(err, results) {
doc._rev = results.rev;
doc.count++;
db.put(doc, {}, function(err, results) {
Pouch.replicate(db, remote, {}, function(err, result) {
ok(result.ok, 'replication was ok');
ok(result.docs_written === 1, 'correct # docs written');
start();
});
});
});
});
});
});
});
asyncTest('Testing allDocs with some conflicts (issue #468)', function() {
// we indeed needed replication to create failing test here!
initDBPair(this.name, this.remote, function(db1, db2) {
var doc = {
_id: "foo",
_rev: "1-a",
value: "generic"
};
db1.put(doc, {new_edits: false}, function(err, res) {
db2.put(doc, {new_edits: false}, function(err, res) {
putAfter(db2, {_id: "foo", _rev: "2-b", value: "db2"}, "1-a", function(err, res) {
putAfter(db1, {_id: "foo", _rev: "2-c", value: "whatever"}, "1-a", function(err,res) {
putAfter(db1, {_id: "foo", _rev: "3-c", value: "db1"}, "2-c", function(err, res) {
db1.get("foo", function(err, doc) {
ok(doc.value === "db1", "db1 has correct value (get)");
db2.get("foo", function(err, doc) {
ok(doc.value === "db2", "db2 has correct value (get)");
Pouch.replicate(db1, db2, function() {
Pouch.replicate(db2, db1, function() {
db1.get("foo", function(err, doc) {
ok(doc.value === "db1", "db1 has correct value (get after replication)");
db2.get("foo", function(err, doc) {
ok(doc.value === "db1", "db2 has correct value (get after replication)");
db1.allDocs({include_docs: true}, function(err, res) { // redundant but we want to test it
ok(res.rows[0].doc.value === "db1", "db1 has correct value (allDocs)");
db2.allDocs({include_docs: true}, function(err, res) {
ok(res.rows[0].doc.value === "db1", "db2 has correct value (allDocs)");
start();
});
});
});
});
});
});
});
});
});
});
});
});
});
});
});
// CouchDB will not generate a conflict here, it uses a deteministic
// method to generate the revision number, however we cannot copy its
// method as it depends on erlangs internal data representation
asyncTest("Test basic conflict", function() {
var self = this;
var doc1 = {_id: 'adoc', foo:'bar'};
var doc2 = {_id: 'adoc', bar:'baz'};
initDBPair(this.name, this.remote, function(db, remote) {
db.put(doc1, function(err, localres) {
remote.put(doc2, function(err, remoteres) {
db.replicate.to(self.remote, function(err, _) {
remote.get('adoc', {conflicts: true}, function(err, result) {
ok(result._conflicts, 'result has a conflict');
start();
});
});
});
});
});
});
asyncTest("Test _conflicts key", function() {
var self = this;
var doc1 = {_id: 'adoc', foo:'bar'};
var doc2 = {_id: 'adoc', bar:'baz'};
initDBPair(this.name, this.remote, function(db, remote) {
db.put(doc1, function(err, localres) {
remote.put(doc2, function(err, remoteres) {
db.replicate.to(self.remote, function(err, _) {
var queryFun = {
map: function(doc) {
if (doc._conflicts) {
emit(doc._id, [doc._rev].concat(doc._conflicts));
}
}
};
remote.query(queryFun, {reduce: false, conflicts: true}, function(_, res) {
equal(res.rows.length, 1, "_conflict key exists");
start();
});
});
});
});
});
});
asyncTest("Test basic continuous pull replication", function() {
var self = this;
var doc1 = {_id: 'adoc', foo:'bar'};
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, {}, function(err, results) {
var count = 0;
var rep = db.replicate.from(self.remote, {continuous: true});
var changes = db.changes({
onChange: function(change) {
++count;
if (count === 3) {
return remote.put(doc1);
}
if (count === 4) {
ok(true, 'Got all the changes');
rep.cancel();
changes.cancel();
start();
}
},
continuous: true
});
});
});
});
asyncTest("Test basic continuous push replication", function() {
var self = this;
var doc1 = {_id: 'adoc', foo:'bar'};
initDBPair(this.name, this.remote, function(db, remote) {
db.bulkDocs({docs: docs}, {}, function(err, results) {
var count = 0;
var rep = remote.replicate.from(db, {continuous: true});
var changes = remote.changes({
onChange: function(change) {
++count;
if (count === 3) {
return db.put(doc1);
}
if (count === 4) {
ok(true, 'Got all the changes');
rep.cancel();
changes.cancel();
start();
}
},
continuous: true
});
});
});
});
asyncTest("Test cancel pull replication", function() {
var self = this;
var doc1 = {_id: 'adoc', foo:'bar'};
var doc2 = {_id: 'anotherdoc', foo:'baz'};
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, {}, function(err, results) {
var count = 0;
var replicate = db.replicate.from(self.remote, {continuous: true});
var changes = db.changes({
continuous: true,
onChange: function(change) {
++count;
if (count === 3) {
remote.put(doc1);
}
if (count === 4) {
replicate.cancel();
remote.put(doc2);
// This setTimeout is needed to ensure no further changes come through
setTimeout(function() {
ok(count === 4, 'got no more docs');
changes.cancel();
start();
}, 500);
}
}
});
});
});
});
asyncTest("Replication filter", function() {
var docs1 = [
{_id: "0", integer: 0},
{_id: "1", integer: 1},
{_id: "2", integer: 2},
{_id: "3", integer: 3}
];
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs1}, function(err, info) {
var replicate = db.replicate.from(remote, {
filter: function(doc) { return doc.integer % 2 === 0; }
}, function() {
db.allDocs(function(err, docs) {
equal(docs.rows.length, 2);
replicate.cancel();
start();
});
});
});
});
});
asyncTest("Replication with different filters", function() {
var more_docs = [
{_id: '3', integer: 3, string: '3'},
{_id: '4', integer: 4, string: '4'}
];
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, function(err, info) {
db.replicate.from(remote, {
filter: function(doc) { return doc.integer % 2 === 0; }
}, function(err, response){
remote.bulkDocs({docs:more_docs}, function(err, info) {
db.replicate.from(remote, {}, function(err, response) {
ok(response.docs_written === 3,'correct # of docs replicated');
start();
});
});
});
});
});
});
asyncTest("Replication doc ids", function() {
var thedocs = [
{_id: '3', integer: 3, string: '3'},
{_id: '4', integer: 4, string: '4'},
{_id: '5', integer: 5, string: '5'}
];
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: thedocs}, function(err, info) {
db.replicate.from(remote, {
doc_ids: ['3', '4']
}, function(err, response){
strictEqual(response.docs_written, 2, 'correct # of docs replicated');
start();
});
});
});
});
asyncTest("Replication with same filters", function() {
var more_docs = [
{_id: '3', integer: 3, string: '3'},
{_id: '4', integer: 4, string: '4'}
];
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, function(err, info) {
db.replicate.from(remote, {
filter: function(doc) { return doc.integer % 2 === 0; }
}, function(err, response){
remote.bulkDocs({docs:more_docs}, function(err, info) {
db.replicate.from(remote, {
filter: function(doc) { return doc.integer % 2 === 0; }
}, function(err, response) {
ok(response.docs_written === 1,'correct # of docs replicated');
start();
});
});
});
});
});
});
asyncTest("Replication with deleted doc", function() {
var docs1 = [
{_id: "0", integer: 0},
{_id: "1", integer: 1},
{_id: "2", integer: 2},
{_id: "3", integer: 3},
{_id: "4", integer: 4, _deleted: true}
];
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs1}, function(err, info) {
var replicate = db.replicate.from(remote, function() {
db.allDocs(function(err, res) {
equal(res.total_rows, 4, 'Replication with deleted docs');
start();
});
});
});
});
});
asyncTest("Replication notifications", function() {
var self = this;
var changes = 0;
var onChange = function(c) {
changes++;
ok(true, 'Got change notification');
if (changes === 3) {
ok(true, 'Got all change notification');
start();
}
};
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, {}, function(err, results) {
db.replicate.from(self.remote, {onChange: onChange});
});
});
});
asyncTest("Replication with remote conflict", function() {
var doc = {_id: 'test', test: "Remote 1"},
winningRev;
initDBPair(this.name, this.remote, function(db, remote) {
remote.post(doc, function(err, resp) {
doc._rev = resp.rev;
Pouch.replicate(remote, db, function(err, resp) {
doc.test = "Local 1";
db.put(doc, function(err, resp) {
doc.test = "Remote 2";
remote.put(doc, function(err, resp) {
doc._rev = resp.rev;
doc.test = "Remote 3";
remote.put(doc, function(err, resp) {
winningRev = resp.rev;
Pouch.replicate(db, remote, function(err, resp) {
Pouch.replicate(remote, db, function(err, resp) {
remote.get('test', {revs_info: true}, function(err, remotedoc) {
db.get('test', {revs_info: true}, function(err, localdoc) {
equal(localdoc._rev, winningRev, "Local chose correct winning revision");
equal(remotedoc._rev, winningRev, "Remote chose winning revision");
start();
});
});
});
});
});
});
});
});
});
});
});
asyncTest("Replication of multiple remote conflicts (#789)", function() {
var doc = {_id: '789', _rev: '1-a', value: 'test'};
function createConflicts(db, callback) {
db.put(doc, {new_edits: false}, function(err, res) {
putAfter(db, {_id: '789', _rev: '2-a', value: 'v1'}, '1-a',
function(err, res) {
putAfter(db, {_id: '789', _rev: '2-b', value: 'v2'}, '1-a',
function(err, res) {
putAfter(db, {_id: '789', _rev: '2-c', value: 'v3'}, '1-a',
function(err, res) {
callback();
});
});
});
});
}
initDBPair(this.name, this.remote, function(db, remote) {
createConflicts(remote, function() {
db.replicate.from(remote, function(err, result) {
ok(result.ok, 'replication was ok');
// in this situation, all the conflicting revisions should be read and
// written to the target database (this is consistent with CouchDB)
ok(result.docs_written === 3, 'correct # docs written');
ok(result.docs_read === 3, 'correct # docs read');
start();
});
});
});
});
asyncTest("Replicate large number of docs", function() {
var docs = [];
var num = 30;
for (var i = 0; i < num; i++) {
docs.push({_id: 'doc_' + i, foo: 'bar_' + i});
}
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, function(err, info) {
var replicate = db.replicate.from(remote, {}, function() {
db.allDocs(function(err, res) {
equal(res.total_rows, num, 'Replication with deleted docs');
start();
});
});
});
});
});
asyncTest("Ensure checkpoint after deletion", function() {
var db1name = this.name;
var adoc = {'_id' :'adoc'};
var newdoc = {'_id' :'newdoc'};
initDBPair(this.name, this.remote, function(db1, db2) {
db1.post(adoc, function() {
Pouch.replicate(db1, db2, {complete: function() {
Pouch.destroy(db1name, function() {
var fresh = new PouchDB(db1name);
fresh.post(newdoc, function() {
Pouch.replicate(fresh, db2, {complete: function() {
db2.allDocs(function(err, docs) {
equal(docs.rows.length, 2, 'Woot, got both');
start();
});
}});
});
});
}});
});
});
});
asyncTest("issue #909 Filtered replication bails at paging limit", function() {
var self = this;
var docs = [];
var num = 100;
for (var i = 0; i < num; i++) {
docs.push({_id: 'doc_' + i, foo: 'bar_' + i});
}
num = 100;
var docList = [];
for (i = 0; i < num; i+=5) {
docList.push('doc_' + i);
}
// uncomment this line to test only docs higher than paging limit
docList = ['doc_33', 'doc_60', 'doc_90'];
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, {}, function(err, results) {
db.replicate.from(self.remote, {continuous: false, doc_ids: docList}, function(err, result) {
ok(result.ok, 'replication was ok');
ok(result.docs_written === docList.length, 'correct # docs written');
start();
});
});
});
});
});
// test a basic "initialize pouch" scenario when couch instance contains deleted revisions
// currently testing idb-http only
deletedDocAdapters.map(function(adapters) {
qunit('replication: ' + adapters[0] + ':' + adapters[1], {
setup : function () {
this.name = generateAdapterUrl(adapters[0]);
this.remote = generateAdapterUrl(adapters[1]);
}
});
asyncTest("doc count after multiple replications with deleted revisions.", function() {
var self = this;
var runs = 2;
// helper. remove each document in db and bulk load docs into same
function rebuildDocuments(db, docs, callback) {
db.allDocs({include_docs:true}, function (err, response) {
var count = 0;
var limit = response.rows.length;
if (limit === 0) {
bulkLoad(db, docs, callback);
}
response.rows.forEach(function(doc) {
db.remove(doc, function(err, response) {
++count;
if (count === limit){
bulkLoad(db, docs, callback);
}
});
});
});
}
// helper.
function bulkLoad(db, docs, callback){
db.bulkDocs({docs:docs}, function (err, results) {
if (err) {
console.error("Unable to bulk load docs. Err: " + JSON.stringify(err));
return;
}
callback(results);
});
}
// a basic map function to mimic our testing situation
function map(doc) {
if (doc.common === true) {
emit(doc._id, doc.rev);
}
}
// The number of workflow cycles to perform. 2+ was always failing
// reason for this test.
var workflow = function(name, remote, x){
// some documents. note that the variable Date component,
//thisVaries, makes a difference.
// when the document is otherwise static, couch gets the same hash
// when calculating revision.
// and the revisions get messed up in pouch
var docs = [
{_id: "0", integer: 0, thisVaries: new Date(), common: true},
{_id: "1", integer: 1, thisVaries: new Date(), common: true},
{_id: "2", integer: 2, thisVaries: new Date(), common: true},
{_id: "3", integer: 3, thisVaries: new Date(), common: true}
];
openTestDB(remote, function(err, dbr){
rebuildDocuments(dbr, docs, function(){
openTestDB(name, function(err, db){
db.replicate.from(remote, function(err, result) {
db.query({map:map}, {reduce: false}, function (err, result) {
equal(result.rows.length, docs.length, "correct # docs replicated");
if (--x) {
workflow(name, remote, x);
} else {
start();
}
});
});
});
});
});
};
// new pouch and couch
initDBPair(self.name, self.remote, function(){
// Rinse, repeat our workflow...
workflow(self.name, self.remote, runs);
});
});
asyncTest("issue #300 rev id unique per doc", 3, function() {
var docs = [{_id: "a"}, {_id: "b"}];
var self = this;
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, {}, function(err, _){
db.replicate.from(self.remote, function(err, _){
db.allDocs(function(err, result){
ok(result.rows.length === 2, "correct number of rows");
ok(result.rows[0].id === "a", "first doc ok");
ok(result.rows[1].id === "b", "second doc ok");
start();
});
});
});
});
});
asyncTest("issue #585 Store checkpoint on target db.", function() {
var docs = [{_id: "a"}, {_id: "b"}];
var self = this;
initDBPair(this.name, this.remote, function(db, remote) {
db.bulkDocs({docs: docs}, {}, function(err, _) {
db.replicate.to(self.remote, function(err, result) {
ok(result.docs_written === docs.length, 'docs replicated ok');
Pouch.destroy(self.remote, function (err, result) {
ok(result.ok === true, 'remote was deleted');
db.replicate.to(self.remote, function (err, result) {
ok(result.docs_written === docs.length, 'docs were written again because target was deleted.');
start();
});
});
});
});
});
});
});
// This test only needs to run for one configuration, and it slows stuff
// down
downAdapters.map(function(adapter) {
qunit('replication: ' + adapter, {
setup : function () {
this.name = generateAdapterUrl(adapter);
}
});
asyncTest("replicate from down server test", function (){
expect(1);
initTestDB(this.name, function(err, db) {
db.replicate.to('http://infiniterequest.com', function (err, changes) {
ok(err);
start();
});
});
});
});
// Server side replication via `server: true` between http
interHTTPAdapters.map(function(adapters) {
qunit('server side replication: ' + adapters[0] + ':' + adapters[1], {
setup : function () {
this.name = generateAdapterUrl(adapters[0]);
this.remote = generateAdapterUrl(adapters[1]);
}
});
var docs = [
{_id: "0", integer: 0, string: '0'},
{_id: "1", integer: 1, string: '1'},
{_id: "2", integer: 2, string: '2'}
];
asyncTest("Test basic replication", function() {
var self = this;
initTestDB(this.name, function(err, db) {
db.bulkDocs({docs: docs}, {}, function(err, results) {
Pouch.replicate(self.name, self.remote, {server: true}, function(err, result) {
ok(result.ok, 'replication was ok');
equal(result.history[0].docs_written, docs.length, 'correct # docs written');
start();
});
});
});
});
asyncTest("Test cancel continuous replication", function() {
var self = this;
var doc1 = {_id: 'adoc', foo:'bar'};
var doc2 = {_id: 'anotherdoc', foo:'baz'};
initDBPair(this.name, this.remote, function(db, remote) {
remote.bulkDocs({docs: docs}, {}, function(err, results) {
var count = 0;
var replicate = db.replicate.from(self.remote, {server: true, continuous: true});
var changes = db.changes({
continuous: true,
onChange: function(change) {
++count;
if (count === 3) {
remote.put(doc1);
}
if (count === 4) {
replicate.cancel();
remote.put(doc2);
// This setTimeout is needed to ensure no further changes come through
setTimeout(function() {
ok(count === 4, 'got no more docs');
changes.cancel();
start();
}, 500);
}
}
});
});
});
});
});
| codeforboston/ma-laws | js/pouchdb/tests/test.replication.js | JavaScript | apache-2.0 | 30,859 |
module.exports = function(request, response, next) {
var async = require('async'),
sprintf = require('sprintf').sprintf,
app = request.shell,
redis = app.settings.redis;
var fs = require('fs');
async.waterfall([
function (callback) {
require('./keys_regexp')(request, callback);
},
function(keys, callback) {
if (app.isShell) {
keys.forEach(function(key) {
response.blue("[hset]" + key);
response.ln();
});
request.question('Do you want to set values [N]/Y', function(answer) {
answer = answer.toLowerCase();
if (answer === "yes" || answer === "y") {
callback(null, keys);
} else {
callback('Aborting by user.');
}
});
} else {
callback(null, keys);
}
},
function(keys, callback) {
async.each(keys, function(key, cback) {
redis.hset(key, request.params.field, request.params.value, cback);
}, callback);
}
], function(err) {
if (err) {
response.red(err);
response.ln();
}
response.prompt();
});
}; | wf9a5m75/redis-ex-cli | includes/hset.js | JavaScript | apache-2.0 | 1,168 |
importScripts('serviceworker-cache-polyfill.js');
var CACHE_VERSION = 1;
var CURRENT_CACHES = {
mycache: 'my-cache-v-' + CACHE_VERSION
};
self.addEventListener('install', function(event) {
var urlsToCache = [
'/index.html',
'/css/main.css'
];
console.log("Install:", urlsToCache);
event.waitUntil(
caches.open(CURRENT_CACHES['mycache']).then(function(cache) {
cache.addAll(urlsToCache.map(function(urlToPrefetch) {
return new Request(urlToPrefetch, {mode: 'no-cors'});
})).then(function() {
console.log('All resources have been fetched and cached.');
});
}).catch(function(error) {
console.error('Pre-fetching failed:', error);
})
);
});
self.addEventListener('activate', function(event) {
console.log("Activate:", event);
var expectedCacheNames = Object.keys(CURRENT_CACHES).map(function(key) {
return CURRENT_CACHES[key];
});
event.waitUntil(
caches.keys().then(function(cacheNames) {
return Promise.all(
cacheNames.map(function(cacheName) {
if (expectedCacheNames.indexOf(cacheName) == -1) {
console.log('Deleting out of date cache:', cacheName);
return caches.delete(cacheName);
}
})
);
})
);
});
self.addEventListener('fetch', function(event) {
console.log('Handling fetch event for', event.request.url);
event.respondWith(
caches.match(event.request).then(function(response) {
if (response) {
console.log('Found response in cache:', response);
return response;
}
console.log('No response found in cache. Fetch from network...');
//
// This is a read-through cache in Matt Gaunt style
// See: http://www.html5rocks.com/en/tutorials/service-worker/introduction/
//
// Variation: Jeff Posnick - Google Chrome team
// See: https://github.com/GoogleChrome/samples/tree/gh-pages/service-worker/read-through-caching
//
var fetchRequest = event.request.clone();
return fetch(fetchRequest).then(
function(response) {
if(!response || response.status !== 200 || response.type !== 'basic') {
return response;
}
var responseToCache = response.clone();
caches.open(CURRENT_CACHES['mycache']).then(function(cache) {
var cacheRequest = event.request.clone();
console.log("adding to cache");
cache.put(cacheRequest, responseToCache);
});
return response;
});
})
);
});
| justinribeiro/service-worker-codelab-gdg-oakdale | step-03/service-worker.js | JavaScript | apache-2.0 | 2,589 |
/*
* Copyright (c) 2014 DataTorrent, Inc. ALL Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
exports.line = require('./Line/LineOpChartView');
exports.candle = require('./Candle/CandleOpChartView'); | andyperlitch/malhar-ui-console-2 | js/app/lib/widgets/OpChartWidget/lib/OpChartView.js | JavaScript | apache-2.0 | 730 |
var syn = angular.module("syn", []);
syn.controller("modulec", function ($scope) {
$scope.aa = "測試一下";
$scope.uInput="123";
//$scope.first_controller= uInput;
//myservice.variablename = $scope.first_controller;
//$scope.second_controller= myservice.variablename;
});
/*
angular.module("test", [])
.controller('Test1', Test1)
.controller('Test2', Test2)
.factory('Data', Data);
function Test1($scope, Data) {
$scope.lastname = '';
$scope.$watch('lastname', function(newValue2, oldValue2) {
if (newValue2 !== oldValue2)
Data.setLastName(newValue2);
});
}
function Test2($scope, Data) {
$scope.$watch(function() {
return Data.getLastName();
}, function(newValue2, oldValue2) {
if (newValue2 !== oldValue2)
$scope.lastname = newValue2;
});
}
function Data() {
var data = {
LastName: '',
}
return {
getLastName: function() {
return data.LastName;
},
setLastName: function(lastname) {
data.LastName = lastname;
}
}
}
*/ | x8830102/lifepay | js/syn.js | JavaScript | apache-2.0 | 1,061 |
function closeAll() {
$('.modal').modal('hide');
}
$(function () {
$(".modal-content").draggable({
handle: ".modal-header"
});
//Clear modal content for reuse the wrapper by other functions
$('body').on('hidden.bs.modal', '.modal', function () {
$(this).removeData('bs.modal');
});
});
| tmkasun/pysmsgate | assets/js/application.js | JavaScript | apache-2.0 | 326 |
var hierarchyPresets = [
{
"name": "Named Entity Recognition (NER)",
"entities": [
"Person",
"Organisation",
"Location",
"Miscellaneous"
]
},
{
"name": "Fine-grained Entity Recognition (FIGER)",
"entities": [
"person",
"person/actor",
"person/architect",
"person/artist",
"person/athlete",
"person/author",
"person/coach",
"person/director",
"person/doctor",
"person/engineer",
"person/monarch",
"person/musician",
"person/politician",
"person/religious_leader",
"person/soldier",
"person/terrorist",
"organization",
"organization/airline",
"organization/company",
"organization/educational_institution",
"organization/fraternity_sorority",
"organization/sports_league",
"organization/sports_team",
"organization/terrorist_organisation",
"organization/government_agency",
"organization/government",
"organization/political_party",
"organization/educational_department",
"organization/military",
"organization/news_agency",
"location",
"location/city",
"location/country",
"location/county",
"location/province",
"location/railway",
"location/road",
"location/bridge",
"location/body_of_water",
"location/island",
"location/mountain",
"location/glacier",
"location/astral_body",
"location/cemetary",
"location/park",
"product",
"product/engine",
"product/airplane",
"product/car",
"product/ship",
"product/spacecraft",
"product/train",
"product/camera",
"product/mobile_phone",
"product/computer",
"product/software",
"product/game",
"product/instrument",
"product/weapon",
"art",
"art/film",
"art/play",
"art/written_work",
"art/newspaper",
"art/music",
"event",
"event/attack",
"event/election",
"event/protest",
"event/military_conflict",
"event/natural_disaster",
"event/sports_event",
"event/terrorist_attack",
"event/building",
"event/airport",
"event/dam",
"event/hospital",
"event/hotel",
"event/library",
"event/power_station",
"event/restaurant",
"event/sports_facility",
"event/theater",
"time",
"color",
"award",
"educational_degree",
"title",
"law",
"ethnicity",
"language",
"religion",
"god",
"chemical_thing",
"biological_thing",
"medical_treatment",
"disease",
"symptom",
"drug",
"body_part",
"living_thing",
"animal",
"food",
"website",
"broadcast_network",
"broadcast_program",
"tv_channel",
"currency",
"stock_exchange",
"algorithm",
"programming_language",
"transit_system",
"transit_line"
]
},
{
"name": "Maintenance work orders",
"entities": [
"Item",
"Activity",
"Location",
"Time",
"Attribute",
"Cardinality",
"Agent",
"Consumable",
"Observation",
"Observation/Observed_state",
"Observation/Quantitative",
"Observation/Qualitative",
"Specifier",
"Event",
"Unsure",
"Typo",
"Abbreviation",
],
"descriptions": {
"Item": "A maintainable item",
"Consumable": "Entities that are replaced and not repaired. & oil, grease, bolts, water, filters, gasket",
"Activity": "An action done by an agent",
"Observation/Observed_state": "The state of an item - must be discrete (in that state or not) and unambiguous",
"Observation/Qualitative": "An imprecise measure",
"Observation/Quantitative": "A precise measure (include units if available)",
"Location": "Where an item is, either absolutely or relative to another item",
"Specifier": "An adjective that specifies an item, i.e. could differentiate it from other items",
"Attribute": "An attribute of an item. It is specific to an item. The attribute is not a value",
"Agent": "A person, organisation, or individual",
"Cardinality": "Numerical values or terms describing members of a set",
"Time": "When an activity occurs, either absolutely or relative in time to another activity",
"Event": "A point in time that describes a state transition. No agent is specifically identified",
"Typo": "A spelling error or typo",
"Unsure": "Use this tag when not sure what something is",
"Abbreviation": "An abbreviated term",
}
},
{
"name": "Maintenance work orders (v2)",
"entities": [
"Item",
"Activity",
"Location",
"Location/Absolute_loc",
"Location/Relative_loc",
"Time",
"Time/Absolute_time",
"Time/Relative_time",
"Attribute",
"Attribute/Attribute_desc",
"Attribute/Attribute_value",
"Cardinality",
"Agent",
"Consumable_or_commodity",
"Consumable_or_commodity/Consumable",
"Consumable_or_commodity/Commodity",
"Consumable_or_commodity/Waste_biproduct",
"Negation",
"Observed_state",
"Action",
"Action/Function",
"Action/Malfunction",
"Specifier",
"Identifier",
"Identifier/Item_ID",
"Identifier/Make",
"Suggest_tag",
"Unsure",
"Typo",
"Abbreviation",
"Noise",
"Privacy",
]
},
{
"name": "Mining accidents",
"entities": [
"accident_cause",
"accident_cause/bodily_contact",
"accident_cause/caught_between",
"accident_cause/fall",
"accident_cause/fall/fall_from_heights",
"accident_cause/fall/fall_from_vehicle",
"accident_cause/over_exertion",
"accident_cause/recurrence",
"accident_cause/stepping",
"accident_cause/struck_by_object",
"accident_cause/trip_and_fall",
"accident_cause/vehicle_related",
"activity",
"activity/driving",
"activity/running",
"activity/walking",
"age_group",
"age_group/age_15_24",
"age_group/age_25_34",
"age_group/age_35_44",
"age_group/age_45_54",
"age_group/age_55_64",
"age_group/age_65_100",
"body_part",
"body_part/arm",
"body_part/arm/elbow",
"body_part/arm/elbow/left_elbow",
"body_part/arm/elbow/right_elbow",
"body_part/arm/hand",
"body_part/arm/hand/fingers",
"body_part/arm/hand/left_hand",
"body_part/arm/hand/right_hand",
"body_part/arm/hand/thumb",
"body_part/arm/hand/thumb/left_thumb",
"body_part/arm/hand/thumb/right_thumb",
"body_part/arm/left_arm",
"body_part/arm/right_arm",
"body_part/arm/shoulder",
"body_part/arm/shoulder/left_shoulder",
"body_part/arm/shoulder/right_shoulder",
"body_part/arm/wrist",
"body_part/arm/wrist/left_wrist",
"body_part/arm/wrist/right_wrist",
"body_part/back",
"body_part/back/lower_back",
"body_part/back/upper_back",
"body_part/body",
"body_part/body/chest",
"body_part/body/stomach",
"body_part/body/torso",
"body_part/groin",
"body_part/head",
"body_part/head/ear",
"body_part/head/ear/left_ear",
"body_part/head/ear/right_ear",
"body_part/head/eye",
"body_part/head/eye/left_eye",
"body_part/head/eye/right_eye",
"body_part/head/mouth",
"body_part/head/nose",
"body_part/leg",
"body_part/leg/ankle",
"body_part/leg/ankle/left_ankle",
"body_part/leg/ankle/right_ankle",
"body_part/leg/calf",
"body_part/leg/calf/left_calf",
"body_part/leg/calf/right_calf",
"body_part/leg/foot",
"body_part/leg/foot/left_foot",
"body_part/leg/foot/right_foot",
"body_part/leg/foot/toes",
"body_part/leg/knee",
"body_part/leg/knee/left_knee",
"body_part/leg/knee/right_knee",
"body_part/leg/left_leg",
"body_part/leg/right_leg",
"body_part/leg/thigh",
"body_part/leg/thigh/left_thigh",
"body_part/leg/thigh/right_thigh",
"body_part/neck",
"equipment",
"equipment/bund_wall",
"equipment/cage",
"equipment/cables",
"equipment/catenery_cable",
"equipment/chock",
"equipment/chute",
"equipment/filter",
"equipment/headframe",
"equipment/jumbo",
"equipment/mechanical_equipment",
"equipment/mechanical_equipment/auger",
"equipment/mechanical_equipment/cavity_monitoring_system",
"equipment/mechanical_equipment/conveyor",
"equipment/mechanical_equipment/crusher",
"equipment/mechanical_equipment/pump",
"equipment/mechanical_equipment/pump/sump_pump",
"equipment/mechanical_equipment/skip",
"equipment/personal_protective_equipment",
"equipment/pipe",
"gender",
"gender/female",
"gender/male",
"injury",
"injury/amputation",
"injury/bite",
"injury/bruises",
"injury/bruises/contusion",
"injury/burn",
"injury/burn/electric_burn",
"injury/burn/thermal_burn",
"injury/chemical_effect",
"injury/crush_injury",
"injury/dislocation",
"injury/dislocation/displacement",
"injury/fracture",
"injury/fracture/break",
"injury/laceration",
"injury/loss_of_conciousness",
"injury/multiple_injuries",
"injury/muscle",
"injury/muscle/sprain",
"injury/muscle/strain",
"injury/puncture",
"injury/splinter",
"injury/unspecified_injuries",
"location",
"location/camp_medical_centre",
"location/kitchen",
"location/office",
"person",
"person/blast_guard",
"person/blaster",
"person/boilermaker",
"person/chef",
"person/contractor",
"person/driller",
"person/driver",
"person/electrical_worker",
"person/employee",
"person/fitter",
"person/individual",
"person/injured_person",
"person/maintainer",
"person/offsider",
"person/operator",
"person/personnel",
"person/process_worker",
"person/service_crew",
"person/spotter",
"person/supervisor",
"person/telehandler",
"person/underground_operator",
"person/worker",
"severity",
"severity/minor",
"severity/serious",
"severity/fatal",
"severity/ndi",
"vehicle",
"vehicle/light_vehicle",
"vehicle/light_vehicle/car",
"vehicle/light_vehicle/forklift",
"vehicle/light_vehicle/man_car",
"vehicle/light_vehicle/mine_car",
"vehicle/light_vehicle/ute",
"vehicle/light_vehicle/golf_buggy",
"vehicle/heavy_vehicle",
"vehicle/heavy_vehicle/bogger",
"vehicle/heavy_vehicle/continuous_miner",
"vehicle/heavy_vehicle/dozer",
"vehicle/heavy_vehicle/dump_truck",
"vehicle/heavy_vehicle/excavator",
"vehicle/heavy_vehicle/haul_truck",
"vehicle/heavy_vehicle/scraper",
"vehicle/heavy_vehicle/grader",
"unspecified_category"
],
},
]
export default hierarchyPresets;
| Michael-Stewart-Webdev/annotation-tool | tagging_interface/src/views/NewProjectView/functions/hierarchy_presets.js | JavaScript | apache-2.0 | 13,583 |
define('require-style!less/desktop/controls',[],function(){});
define('require-style!less/phone/controls',[],function(){});
// Copyright (c) Microsoft Open Technologies, Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
define('WinJS/Controls/DatePicker',[
'../Core/_Global',
'../Core/_WinRT',
'../Core/_Base',
'../Core/_BaseUtils',
'../Core/_Events',
'../Core/_Resources',
'../Utilities/_Control',
'../Utilities/_ElementUtilities',
'../Utilities/_Hoverable',
'../Utilities/_Select',
'require-style!less/desktop/controls',
'require-style!less/phone/controls'
], function datePickerInit(_Global, _WinRT, _Base, _BaseUtils, _Events, _Resources, _Control, _ElementUtilities, _Hoverable, _Select) {
"use strict";
_Base.Namespace.define("WinJS.UI", {
/// <field>
/// <summary locid="WinJS.UI.DatePicker">Allows users to pick a date value.</summary>
/// <compatibleWith platform="Windows" minVersion="8.0"/>
/// </field>
/// <name locid="WinJS.UI.DatePicker_name">Date Picker</name>
/// <icon src="ui_winjs.ui.datepicker.12x12.png" width="12" height="12" />
/// <icon src="ui_winjs.ui.datepicker.16x16.png" width="16" height="16" />
/// <htmlSnippet><![CDATA[<div data-win-control="WinJS.UI.DatePicker"></div>]]></htmlSnippet>
/// <event name="change" locid="WinJS.UI.DatePicker_e:change">Occurs when the current date changes.</event>
/// <resource type="javascript" src="//WinJS.3.0/js/base.js" shared="true" />
/// <resource type="javascript" src="//WinJS.3.0/js/ui.js" shared="true" />
/// <resource type="css" src="//WinJS.3.0/css/ui-dark.css" shared="true" />
DatePicker: _Base.Namespace._lazy(function () {
// Constants definition
var DEFAULT_DAY_PATTERN = 'day',
DEFAULT_MONTH_PATTERN = '{month.full}',
DEFAULT_YEAR_PATTERN = 'year.full';
var strings = {
get ariaLabel() { return _Resources._getWinJSString("ui/datePicker").value; },
get selectDay() { return _Resources._getWinJSString("ui/selectDay").value; },
get selectMonth() { return _Resources._getWinJSString("ui/selectMonth").value; },
get selectYear() { return _Resources._getWinJSString("ui/selectYear").value; },
};
var yearFormatCache = {};
function newFormatter(pattern, calendar, defaultPattern) {
var dtf = _WinRT.Windows.Globalization.DateTimeFormatting;
pattern = !pattern ? defaultPattern : pattern;
var c = new dtf.DateTimeFormatter(pattern);
if (calendar) {
return new dtf.DateTimeFormatter(pattern, c.languages, c.geographicRegion, calendar, c.clock);
}
return c;
}
function formatCacheLookup(pattern, calendar, defaultPattern) {
var pat = yearFormatCache[pattern];
if (!pat) {
pat = yearFormatCache[pattern] = {};
}
var cal = pat[calendar];
if (!cal) {
cal = pat[calendar] = {};
}
var def = cal[defaultPattern];
if (!def) {
def = cal[defaultPattern] = {};
def.formatter = newFormatter(pattern, calendar, defaultPattern);
def.years = {};
}
return def;
}
function formatYear(pattern, calendar, defaultPattern, datePatterns, order, cal) {
var cache = formatCacheLookup(pattern, calendar, defaultPattern);
var y = cache.years[cal.year + "-" + cal.era];
if (!y) {
y = cache.formatter.format(cal.getDateTime());
cache.years[cal.year + "-" + cal.era] = y;
}
return y;
}
function formatMonth(pattern, calendar, defaultPattern, cal) {
var cache = formatCacheLookup(pattern, calendar, defaultPattern);
// can't cache actual month names because the hebrew calendar varies
// the month name depending on religious holidays and leap months.
//
return cache.formatter.format(cal.getDateTime());
}
function formatDay(pattern, calendar, defaultPattern, cal) {
var cache = formatCacheLookup(pattern, calendar, defaultPattern);
// can't cache actual day names because the format may include the day of the week,
// which, of course, varies from month to month.
//
return cache.formatter.format(cal.getDateTime());
}
function newCal(calendar) {
var glob = _WinRT.Windows.Globalization;
var c = new glob.Calendar();
if (calendar) {
return new glob.Calendar(c.languages, calendar, c.getClock());
}
return c;
}
function yearDiff(start, end) {
var yearCount = 0;
if (start.era === end.era) {
yearCount = end.year - start.year;
} else {
while (start.era !== end.era || start.year !== end.year) {
yearCount++;
start.addYears(1);
}
}
return yearCount;
}
var DatePicker = _Base.Class.define(function DatePicker_ctor(element, options) {
/// <signature helpKeyword="WinJS.UI.DatePicker.DatePicker">
/// <summary locid="WinJS.UI.DatePicker.constructor">Creates a new DatePicker control.</summary>
/// <param name="element" type="HTMLElement" domElement="true" locid="WinJS.UI.DatePicker.constructor_p:element">
/// The DOM element that will host the DatePicker control.
/// </param>
/// <param name="options" type="Object" locid="WinJS.UI.DatePicker.constructor_p:options">
/// An object that contains one or more property/value pairs to apply to the new control. Each property of the options object corresponds
/// to one of the control's properties or events.
/// </param>
/// <returns type="WinJS.UI.DatePicker" locid="WinJS.UI.DatePicker.constructor_returnValue">A constructed DatePicker control.</returns>
/// <compatibleWith platform="Windows" minVersion="8.0"/>
/// </signature>
// Default to current date
this._currentDate = new Date();
// Default to +/- 100 years
this._minYear = this._currentDate.getFullYear() - 100;
this._maxYear = this._currentDate.getFullYear() + 100;
this._datePatterns = {
date: null,
month: null,
year: null
};
element = element || _Global.document.createElement("div");
_ElementUtilities.addClass(element, "win-disposable");
element.winControl = this;
var label = element.getAttribute("aria-label");
if (!label) {
element.setAttribute("aria-label", strings.ariaLabel);
}
// Options should be set after the element is initialized which is
// the same order of operation as imperatively setting options.
this._init(element);
_Control.setOptions(this, options);
}, {
_information: null,
_currentDate: null,
_calendar: null,
_disabled: false,
_dateElement: null,
_dateControl: null,
_monthElement: null,
_monthControl: null,
_minYear: null,
_maxYear: null,
_yearElement: null,
_yearControl: null,
_datePatterns: {
date: null,
month: null,
year: null
},
_addAccessibilityAttributes: function () {
//see http://www.w3.org/TR/wai-aria/rdf_model.png for details
this._domElement.setAttribute("role", "group");
this._dateElement.setAttribute("aria-label", strings.selectDay);
this._monthElement.setAttribute("aria-label", strings.selectMonth);
this._yearElement.setAttribute("aria-label", strings.selectYear);
},
_addControlsInOrder: function () {
var e = this._domElement;
var that = this;
var orderIndex = 0; // don't use forEach's index, because "era" is in the list
that._information.order.forEach(function (s) {
switch (s) {
case "month":
e.appendChild(that._monthElement);
_ElementUtilities.addClass(that._monthElement, "win-order" + (orderIndex++));
break;
case "date":
e.appendChild(that._dateElement);
_ElementUtilities.addClass(that._dateElement, "win-order" + (orderIndex++));
break;
case "year":
e.appendChild(that._yearElement);
_ElementUtilities.addClass(that._yearElement, "win-order" + (orderIndex++));
break;
}
});
},
_createControlElements: function () {
this._monthElement = _Global.document.createElement("select");
this._monthElement.className = "win-datepicker-month";
this._dateElement = _Global.document.createElement("select");
this._dateElement.className = "win-datepicker-date";
this._yearElement = _Global.document.createElement("select");
this._yearElement.className = "win-datepicker-year";
},
_createControls: function () {
var info = this._information;
var index = info.getIndex(this.current);
if (info.forceLanguage) {
this._domElement.setAttribute("lang", info.forceLanguage);
this._domElement.setAttribute("dir", info.isRTL ? "rtl" : "ltr");
}
this._yearControl = new _Select._Select(this._yearElement, {
dataSource: this._information.years,
disabled: this.disabled,
index: index.year
});
this._monthControl = new _Select._Select(this._monthElement, {
dataSource: this._information.months(index.year),
disabled: this.disabled,
index: index.month
});
this._dateControl = new _Select._Select(this._dateElement, {
dataSource: this._information.dates(index.year, index.month),
disabled: this.disabled,
index: index.date
});
this._wireupEvents();
},
dispose: function () {
/// <signature helpKeyword="WinJS.UI.DatePicker.dispose">
/// <summary locid="WinJS.UI.DatePicker.dispose">
/// Disposes this control.
/// </summary>
/// <compatibleWith platform="Windows" minVersion="8.0"/>
/// </signature>
},
/// <field type="String" locid="WinJS.UI.DatePicker.calendar" helpKeyword="WinJS.UI.DatePicker.calendar">
/// Gets or sets the calendar to use.
/// <compatibleWith platform="Windows" minVersion="8.0"/>
/// </field>
calendar: {
get: function () {
return this._calendar;
},
set: function (value) {
this._calendar = value;
this._setElement(this._domElement);
}
},
/// <field type="Date" locid="WinJS.UI.DatePicker.current" helpKeyword="WinJS.UI.DatePicker.current">
/// Gets or sets the current date of the DatePicker.
/// <compatibleWith platform="Windows" minVersion="8.0"/>
/// </field>
current: {
get: function () {
var d = this._currentDate;
var y = d.getFullYear();
return new Date(Math.max(Math.min(this.maxYear, y), this.minYear), d.getMonth(), d.getDate(), 12, 0, 0, 0);
},
set: function (value) {
var newDate;
if (typeof (value) === "string") {
newDate = new Date(Date.parse(value));
newDate.setHours(12, 0, 0, 0);
} else {
newDate = value;
}
var oldDate = this._currentDate;
if (oldDate !== newDate) {
this._currentDate = newDate;
this._updateDisplay();
}
}
},
/// <field type="Boolean" locid="WinJS.UI.DatePicker.disabled" helpKeyword="WinJS.UI.DatePicker.disabled">
/// Gets or sets a value that specifies whether the DatePicker is disabled. A value of true indicates that the DatePicker is disabled.
/// <compatibleWith platform="Windows" minVersion="8.0"/>
/// </field>
disabled: {
get: function () { return this._disabled; },
set: function (value) {
if (this._disabled !== value) {
this._disabled = value;
// all controls get populated at the same time, so any check is OK
//
if (this._yearControl) {
this._monthControl.setDisabled(value);
this._dateControl.setDisabled(value);
this._yearControl.setDisabled(value);
}
}
}
},
/// <field type="String" locid="WinJS.UI.DatePicker.datePattern" helpKeyword="WinJS.UI.DatePicker.datePattern">
/// Gets or sets the display pattern for the date.
/// <compatibleWith platform="Windows" minVersion="8.0"/>
/// </field>
datePattern: {
get: function () { return this._datePatterns.date; },
set: function (value) {
if (this._datePatterns.date !== value) {
this._datePatterns.date = value;
this._init();
}
}
},
/// <field type="HTMLElement" domElement="true" hidden="true" locid="WinJS.UI.DatePicker.element" helpKeyword="WinJS.UI.DatePicker.element">
/// Gets the DOM element for the DatePicker.
/// <compatibleWith platform="Windows" minVersion="8.0"/>
/// </field>
element: {
get: function () { return this._domElement; }
},
_setElement: function (element) {
this._domElement = this._domElement || element;
if (!this._domElement) { return; }
_ElementUtilities.empty(this._domElement);
_ElementUtilities.addClass(this._domElement, "win-datepicker");
this._updateInformation();
this._createControlElements();
this._addControlsInOrder();
this._createControls();
this._addAccessibilityAttributes();
},
/// <field type="Number" integer="true" locid="WinJS.UI.DatePicker.minYear" helpKeyword="WinJS.UI.DatePicker.minYear">
/// Gets or sets the minimum Gregorian year available for picking.
/// <compatibleWith platform="Windows" minVersion="8.0"/>
/// </field>
minYear: {
get: function () {
return this._information.getDate({ year: 0, month: 0, date: 0 }).getFullYear();
},
set: function (value) {
if (this._minYear !== value) {
this._minYear = value;
if (value > this._maxYear) {
this._maxYear = value;
}
this._updateInformation();
if (this._yearControl) {
this._yearControl.dataSource = this._information.years;
}
this._updateDisplay();
}
}
},
/// <field type="Number" integer="true" locid="WinJS.UI.DatePicker.maxYear" helpKeyword="WinJS.UI.DatePicker.maxYear">
/// Gets or sets the maximum Gregorian year available for picking.
/// <compatibleWith platform="Windows" minVersion="8.0"/>
/// </field>
maxYear: {
get: function () {
var index = {
year: this._information.years.getLength() - 1
};
index.month = this._information.months(index.year).getLength() - 1;
index.date = this._information.dates(index.year, index.month).getLength() - 1;
return this._information.getDate(index).getFullYear();
},
set: function (value) {
if (this._maxYear !== value) {
this._maxYear = value;
if (value < this._minYear) {
this._minYear = value;
}
this._updateInformation();
if (this._yearControl) {
this._yearControl.dataSource = this._information.years;
}
this._updateDisplay();
}
}
},
/// <field type="String" locid="WinJS.UI.DatePicker.monthPattern" helpKeyword="WinJS.UI.DatePicker.monthPattern">
/// Gets or sets the display pattern for the month.
/// <compatibleWith platform="Windows" minVersion="8.0"/>
/// </field>
monthPattern: {
get: function () { return this._datePatterns.month; },
set: function (value) {
if (this._datePatterns.month !== value) {
this._datePatterns.month = value;
this._init();
}
}
},
_updateInformation: function () {
// since "year" in the date ctor can be two digit (85 == 1985), we need
// to force "full year" to capture dates < 100 a.d.
//
var min = new Date(this._minYear, 0, 1, 12, 0, 0);
var max = new Date(this._maxYear, 11, 31, 12, 0, 0);
min.setFullYear(this._minYear);
max.setFullYear(this._maxYear);
this._information = DatePicker.getInformation(min, max, this._calendar, this._datePatterns);
},
_init: function (element) {
this._setElement(element);
},
_updateDisplay: function () {
if (!this._domElement) {
return;
}
// all controls get populated at the same time, so any check is OK
//
if (this._yearControl) {
//Render display index based on constraints (minYear and maxYear constraints)
//Will not modify current date
var index = this._information.getIndex(this.current);
this._yearControl.index = index.year;
this._monthControl.dataSource = this._information.months(index.year);
this._monthControl.index = index.month;
this._dateControl.dataSource = this._information.dates(index.year, index.month);
this._dateControl.index = index.date;
}
},
_wireupEvents: function () {
var that = this;
function changed() {
that._currentDate = that._information.getDate({ year: that._yearControl.index, month: that._monthControl.index, date: that._dateControl.index }, that._currentDate);
var index = that._information.getIndex(that._currentDate);
// Changing the month (or year, if the current date is 2/29) changes the day range, and could have made the day selection invalid
that._monthControl.dataSource = that._information.months(index.year);
that._monthControl.index = index.month;
that._dateControl.dataSource = that._information.dates(index.year, index.month);
that._dateControl.index = index.date;
}
this._dateElement.addEventListener("change", changed, false);
this._monthElement.addEventListener("change", changed, false);
this._yearElement.addEventListener("change", changed, false);
},
/// <field type="String" locid="WinJS.UI.DatePicker.yearPattern" helpKeyword="WinJS.UI.DatePicker.yearPattern">
/// Gets or sets the display pattern for year.
/// <compatibleWith platform="Windows" minVersion="8.0"/>
/// </field>
yearPattern: {
get: function () { return this._datePatterns.year; },
set: function (value) {
if (this._datePatterns.year !== value) {
this._datePatterns.year = value;
this._init();
}
}
},
}, {
_getInformationWinRT: function (startDate, endDate, calendar, datePatterns) {
datePatterns = datePatterns || { date: DEFAULT_DAY_PATTERN, month: DEFAULT_MONTH_PATTERN, year: DEFAULT_YEAR_PATTERN };
var tempCal = newCal(calendar);
var monthCal = newCal(calendar);
var dayCal = newCal(calendar);
tempCal.setToMin();
var minDateTime = tempCal.getDateTime();
tempCal.setToMax();
var maxDateTime = tempCal.getDateTime();
function clamp(date) {
return new Date(Math.min(new Date(Math.max(minDateTime, date)), maxDateTime));
}
tempCal.hour = 12;
startDate = clamp(startDate);
endDate = clamp(endDate);
tempCal.setDateTime(endDate);
var end = { year: tempCal.year, era: tempCal.era };
tempCal.setDateTime(startDate);
var yearLen = 0;
yearLen = yearDiff(tempCal, end) + 1;
// Explicity use a template that's equivalent to a longdate template
// as longdate/shortdate can be overriden by the user
var dateformat = formatCacheLookup("day month.full year", calendar).formatter;
var localdatepattern = dateformat.patterns[0];
var isRTL = localdatepattern.charCodeAt(0) === 8207;
var order = ["date", "month", "year"];
var indexes = {
month: localdatepattern.indexOf("{month"),
date: localdatepattern.indexOf("{day"),
year: localdatepattern.indexOf("{year")
};
order.sort(function (a, b) {
if (indexes[a] < indexes[b]) {
return -1;
} else if (indexes[a] > indexes[b]) {
return 1;
} else {
return 0;
}
});
var yearSource = (function () {
return {
getLength: function () { return yearLen; },
getValue: function (index) {
tempCal.setDateTime(startDate);
tempCal.addYears(index);
return formatYear(datePatterns.year, calendar, DEFAULT_YEAR_PATTERN, datePatterns, order, tempCal);
}
};
})();
var monthSource = function (yearIndex) {
monthCal.setDateTime(startDate);
monthCal.addYears(yearIndex);
return {
getLength: function () { return monthCal.numberOfMonthsInThisYear; },
getValue: function (index) {
monthCal.month = monthCal.firstMonthInThisYear;
monthCal.addMonths(index);
return formatMonth(datePatterns.month, calendar, DEFAULT_MONTH_PATTERN, monthCal);
}
};
};
var dateSource = function (yearIndex, monthIndex) {
dayCal.setDateTime(startDate);
dayCal.addYears(yearIndex);
dayCal.month = dayCal.firstMonthInThisYear;
dayCal.addMonths(monthIndex);
dayCal.day = dayCal.firstDayInThisMonth;
return {
getLength: function () { return dayCal.numberOfDaysInThisMonth; },
getValue: function (index) {
dayCal.day = dayCal.firstDayInThisMonth;
dayCal.addDays(index);
return formatDay(datePatterns.date, calendar, DEFAULT_DAY_PATTERN, dayCal);
}
};
};
return {
isRTL: isRTL,
forceLanguage: dateformat.resolvedLanguage,
order: order,
getDate: function (index, lastDate) {
var lastCal;
if (lastDate) {
tempCal.setDateTime(lastDate);
lastCal = { year: tempCal.year, month: tempCal.month, day: tempCal.day };
}
var c = tempCal;
c.setDateTime(startDate);
c.addYears(index.year);
var guessMonth;
if (c.firstMonthInThisYear > c.lastMonthInThisYear) {
if (index.month + c.firstMonthInThisYear > c.numberOfMonthsInThisYear) {
guessMonth = index.month + c.firstMonthInThisYear - c.numberOfMonthsInThisYear;
} else {
guessMonth = index.month + c.firstMonthInThisYear;
}
if (lastCal && lastCal.year !== c.year) {
// Year has changed in some transitions in Thai Calendar, this will change the first month, and last month indices of the year.
guessMonth = Math.max(Math.min(lastCal.month, c.numberOfMonthsInThisYear), 1);
}
} else {
if (lastCal && lastCal.year !== c.year) {
// Year has changed in some transitions in Thai Calendar, this will change the first month, and last month indices of the year.
guessMonth = Math.max(Math.min(lastCal.month, c.firstMonthInThisYear + c.numberOfMonthsInThisYear - 1), c.firstMonthInThisYear);
} else {
guessMonth = Math.max(Math.min(index.month + c.firstMonthInThisYear, c.firstMonthInThisYear + c.numberOfMonthsInThisYear - 1), c.firstMonthInThisYear);
}
}
c.month = guessMonth;
var guessDay = Math.max(Math.min(index.date + c.firstDayInThisMonth, c.firstDayInThisMonth + c.numberOfDaysInThisMonth - 1), c.firstDayInThisMonth);
if (lastCal && (lastCal.year !== c.year || lastCal.month !== c.month)) {
guessDay = Math.max(Math.min(lastCal.day, c.firstDayInThisMonth + c.numberOfDaysInThisMonth - 1), c.firstDayInThisMonth);
}
c.day = c.firstDayInThisMonth;
c.addDays(guessDay - c.firstDayInThisMonth);
return c.getDateTime();
},
getIndex: function (date) {
var curDate = clamp(date);
tempCal.setDateTime(curDate);
var cur = { year: tempCal.year, era: tempCal.era };
var yearIndex = 0;
tempCal.setDateTime(startDate);
tempCal.month = 1;
yearIndex = yearDiff(tempCal, cur);
tempCal.setDateTime(curDate);
var monthIndex = tempCal.month - tempCal.firstMonthInThisYear;
if (monthIndex < 0) {
// A special case is in some ThaiCalendar years first month
// of the year is April, last month is March and month flow is wrap-around
// style; April, March .... November, December, January, February, March. So the first index
// will be 4 and last index will be 3. We are handling the case to convert this wraparound behavior
// into selected index.
monthIndex = tempCal.month - tempCal.firstMonthInThisYear + tempCal.numberOfMonthsInThisYear;
}
var dateIndex = tempCal.day - tempCal.firstDayInThisMonth;
var index = {
year: yearIndex,
month: monthIndex,
date: dateIndex
};
return index;
},
years: yearSource,
months: monthSource,
dates: dateSource
};
},
_getInformationJS: function (startDate, endDate) {
var minYear = startDate.getFullYear();
var maxYear = endDate.getFullYear();
var yearSource = {
getLength: function () { return Math.max(0, maxYear - minYear + 1); },
getValue: function (index) { return minYear + index; }
};
var months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
var monthSource = function () {
return {
getLength: function () { return months.length; },
getValue: function (index) { return months[index]; },
getMonthNumber: function (index) { return Math.min(index, months.length - 1); }
};
};
var dateSource = function (yearIndex, monthIndex) {
var temp = new Date();
var year = yearSource.getValue(yearIndex);
// The +1 is needed to make using a day of 0 work correctly
var month = monthIndex + 1; // index is always correct, unlike getMonth which changes when the date is invalid
temp.setFullYear(year, month, 0);
var maxValue = temp.getDate();
return {
getLength: function () { return maxValue; },
getValue: function (index) { return "" + (index + 1); },
getDateNumber: function (index) { return Math.min(index + 1, maxValue); }
};
};
return {
order: ["month", "date", "year"],
getDate: function (index) {
return new Date(
yearSource.getValue(index.year),
monthSource(index.year).getMonthNumber(index.month),
dateSource(index.year, index.month).getDateNumber(index.date),
12, 0
);
},
getIndex: function (date) {
var yearIndex = 0;
var year = date.getFullYear();
if (year < minYear) {
yearIndex = 0;
} else if (year > this.maxYear) {
yearIndex = yearSource.getLength() - 1;
} else {
yearIndex = date.getFullYear() - minYear;
}
var monthIndex = Math.min(date.getMonth(), monthSource(yearIndex).getLength());
var dateIndex = Math.min(date.getDate() - 1, dateSource(yearIndex, monthIndex).getLength());
return {
year: yearIndex,
month: monthIndex,
date: dateIndex
};
},
years: yearSource,
months: monthSource,
dates: dateSource
};
}
});
if (_WinRT.Windows.Globalization.Calendar && _WinRT.Windows.Globalization.DateTimeFormatting) {
DatePicker.getInformation = DatePicker._getInformationWinRT;
} else {
DatePicker.getInformation = DatePicker._getInformationJS;
}
_Base.Class.mix(DatePicker, _Events.createEventProperties("change"));
_Base.Class.mix(DatePicker, _Control.DOMEventMixin);
return DatePicker;
})
});
});
| xirzec/winjs-modules | WinJS/Controls/DatePicker.js | JavaScript | apache-2.0 | 37,303 |
module.exports = {
projects: [
{
displayName: "Browser tests",
testEnvironment: "jsdom",
setupFilesAfterEnv: ["jest-extended"],
},
{
displayName: "Node tests",
testEnvironment: "node",
setupFilesAfterEnv: ["jest-extended"],
},
{
displayName: "ESLint",
runner: "jest-runner-eslint",
testMatch: ["**/*.js"],
testPathIgnorePatterns: ["/dist/", "/node_modules/"],
},
],
};
| mopidy/mopidy.js | jest.config.js | JavaScript | apache-2.0 | 457 |
// Protractor configuration file, see link for more information
// https://github.com/angular/protractor/blob/master/lib/config.ts
const { SpecReporter } = require('jasmine-spec-reporter');
exports.config = {
allScriptsTimeout: 11000,
specs: [
'./supp-benefits/src/mspsb-happy-path.e2e-spec.ts'
],
multiCapabilities: [{
// 'browserName': 'firefox'
// }, {
'browserName': 'chrome'
}],
directConnect: true,
baseUrl: 'http://localhost:4300/',
framework: 'jasmine2',
jasmineNodeOpts: {
showColors: true,
defaultTimeoutInterval: 30000,
print: function() {}
},
onPrepare: function() {
require('ts-node').register({
project: require('path').join(__dirname, './tsconfig.e2e.json')
});
jasmine.getEnv().addReporter(new SpecReporter({ spec: { displayStacktrace: true } }));
var jasmineReporters = require('jasmine-reporters');
// returning the promise makes protractor wait for the reporter config before executing tests
return browser.getProcessedConfig().then(function(config) {
// you could use other properties here if you want, such as platform and version
var browserName = config.capabilities.browserName;
var junitReporter = new jasmineReporters.JUnitXmlReporter({
consolidateAll: true,
savePath: 'testresults',
// this will produce distinct xml files for each capability
filePrefix: browserName + '-xmloutput',
modifySuiteName: function(generatedSuiteName, suite) {
// this will produce distinct suite names for each capability,
// e.g. 'firefox.login tests' and 'chrome.login tests'
return browserName + '.' + generatedSuiteName;
}
});
jasmine.getEnv().addReporter(junitReporter);
});
}
}; | bcgov/MyGovBC-MSP | e2e/protractor.supp-benefits.conf.js | JavaScript | apache-2.0 | 1,837 |
(function() {
'use strict';
angular
.module('wordsearchApp')
.directive('jhSort', jhSort);
function jhSort () {
var directive = {
restrict: 'A',
scope: {
predicate: '=jhSort',
ascending: '=',
callback: '&'
},
controller: SortController,
controllerAs: 'vm',
bindToController: true
};
return directive;
}
SortController.$inject = ['$scope', '$element'];
function SortController ($scope, $element) {
var vm = this;
vm.applyClass = applyClass;
vm.resetClasses = resetClasses;
vm.sort = sort;
vm.triggerApply = triggerApply;
$scope.$watchGroup(['vm.predicate', 'vm.ascending'], vm.triggerApply);
vm.triggerApply();
function applyClass (element) {
var thisIcon = element.find('span.glyphicon'),
sortIcon = 'glyphicon-sort',
sortAsc = 'glyphicon-sort-by-attributes',
sortDesc = 'glyphicon-sort-by-attributes-alt',
remove = sortIcon + ' ' + sortDesc,
add = sortAsc;
if (!vm.ascending) {
remove = sortIcon + ' ' + sortAsc;
add = sortDesc;
}
vm.resetClasses();
thisIcon.removeClass(remove);
thisIcon.addClass(add);
}
function resetClasses () {
var allThIcons = $element.find('span.glyphicon'),
sortIcon = 'glyphicon-sort',
sortAsc = 'glyphicon-sort-by-attributes',
sortDesc = 'glyphicon-sort-by-attributes-alt';
allThIcons.removeClass(sortAsc + ' ' + sortDesc);
allThIcons.addClass(sortIcon);
}
function sort (field) {
if (field !== vm.predicate) {
vm.ascending = true;
} else {
vm.ascending = !vm.ascending;
}
vm.predicate = field;
$scope.$apply();
vm.callback();
}
function triggerApply (values) {
vm.resetClasses();
if (values && values[0] !== '_score') {
vm.applyClass($element.find('th[jh-sort-by=\'' + values[0] + '\']'));
}
}
}
})();
| hillwater/wordsearch | src/main/webapp/app/components/util/sort.directive.js | JavaScript | apache-2.0 | 2,375 |
// Load modules
var Events = require('events');
var Lab = require('lab');
var Hapi = require('..');
// Declare internals
var internals = {};
// Test shortcuts
var expect = Lab.expect;
var before = Lab.before;
var after = Lab.after;
var describe = Lab.experiment;
var it = Lab.test;
describe('Protect', function () {
it('catches error when handler throws after reply() is called', function (done) {
var server = new Hapi.Server({ debug: false });
var handler = function (request, reply) {
reply('ok');
process.nextTick(function () {
throw new Error('should not leave domain');
});
};
server.route({ method: 'GET', path: '/', handler: handler });
server.inject('/', function (res) {
expect(res.statusCode).to.equal(200);
done();
});
});
it('catches error when handler throws twice after reply() is called', function (done) {
var server = new Hapi.Server({ debug: false });
var handler = function (request, reply) {
reply('ok');
process.nextTick(function () {
throw new Error('should not leave domain 1');
});
process.nextTick(function () {
throw new Error('should not leave domain 2');
});
};
server.route({ method: 'GET', path: '/', handler: handler });
server.inject('/', function (res) {
expect(res.statusCode).to.equal(200);
done();
});
});
it('catches errors thrown during request handling in non-request domain', function (done) {
var Client = function () {
Events.EventEmitter.call(this);
};
Hapi.utils.inherits(Client, Events.EventEmitter);
var plugin = {
name: 'test',
version: '1.0.0',
register: function (plugin, options, next) {
plugin.after(function (plugin, afterNext) {
var client = new Client(); // Created in the server domain
plugin.bind({ client: client });
afterNext();
});
plugin.route({
method: 'GET',
path: '/',
handler: function (request, reply) {
this.client.on('event', request.domain.bind(function () {
throw new Error('boom'); // Caught by the server domain by default, not request domain
}));
this.client.emit('event');
}
});
next();
}
};
var server = new Hapi.Server(0, { debug: false });
server.pack.register(plugin, function (err) {
expect(err).to.not.exist;
server.start(function () {
server.inject('/', function (res) {
done();
});
});
});
});
});
| thebillkidy/RandomProjects | NodeJS/HapiAndLabTDDTutorial/node_modules/hapi/test/protect.js | JavaScript | apache-2.0 | 3,103 |
'use strict';
/* App Module */
angular.module('main', ['ngRoute', 'LocalStorageModule'])
.config(['$routeProvider', 'localStorageServiceProvider', function ($routeProvider, localStorageServiceProvider) {
localStorageServiceProvider.setPrefix('st2Storage');
$routeProvider
.when('/graph', {
templateUrl: 'apps/graph/template.html',
controller: 'GraphCtrl',
name: 'st2-graph',
title: 'Graph'
})
.otherwise({redirectTo: '/graph'});
}]);
angular.module('main')
.controller('MainCtrl', ['$scope', '$rootScope', '$location', '$http', '$log', '$route',
function ($s, $root, $loc, $http, $log, $route) {
$s.route = $route;
$s.root = $root;
$root.Math = Math;
$s.$on("$routeChangeStart", function (event, next) {
if (next.$$route) {
window.name = next.$$route.name;
}
});
$log.time("Loading Config data.");
$http.get("/config")
.success(function (res) {
$root.config = res;
$log.time("Config data has been loaded.");
}).error(function () {
$root.config = {};
$log.time("Config data has been failed.");
});
$(window).resize(function () {
$root.$broadcast('resize');
});
}
]);
| StackStorm/graph | web/main.js | JavaScript | apache-2.0 | 1,305 |
/*!
* ${copyright}
*/
// Provides class sap.ui.core.util.ExportColumn
sap.ui.define([
'sap/ui/base/ManagedObject',
'./ExportCell' // convenience dependency for legacy code that uses global names
],
function(ManagedObject) {
'use strict';
/**
* Constructor for a new ExportColumn.
*
* @param {string} [sId] id for the new control, generated automatically if no id is given
* @param {object} [mSettings] initial settings for the new control
*
* @class
* Can have a name and a cell template.
* @extends sap.ui.base.ManagedObject
*
* @author SAP SE
* @version ${version}
* @since 1.22.0
*
* @public
* @deprecated Since version 1.73
* @alias sap.ui.core.util.ExportColumn
*/
var ExportColumn = ManagedObject.extend("sap.ui.core.util.ExportColumn", {
metadata: {
library: "sap.ui.core",
properties: {
/**
* Column name.
*/
name: "string"
},
aggregations: {
/**
* Cell template for column.
*/
template: {
type: "sap.ui.core.util.ExportCell",
multiple: false
}
}
}
});
return ExportColumn;
});
| SAP/openui5 | src/sap.ui.core/src/sap/ui/core/util/ExportColumn.js | JavaScript | apache-2.0 | 1,103 |
/*
* Copyright 2014 Per Eckerdal
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict';
var expect = require('chai').expect;
var testPathUtil = require('../dist/test_path_util');
describe('Test path util', function() {
it('should return the parent path of a test path', function() {
expect(testPathUtil.suitePathOf({ path: ['a'], file: 'file' }))
.to.be.deep.equal({ path: [], file: 'file' });
});
it('should return null for root paths', function() {
expect(testPathUtil.suitePathOf({ path: [], file: 'file' })).to.be.null;
});
});
| pereckerdal/overman | test/test_test_path_util.js | JavaScript | apache-2.0 | 1,080 |
import { logger } from '../logger.js';
import Rectangle from './rectangle.js';
import Screen from './screen.js';
/**
* A window
*/
export default class Frame {
constructor(parent, xid, props) {
//console.log("Q")
//console.log({parent, xid, props});
this.dimensions = new Rectangle(0,0,1,1);
//console.log("R")
this.parent = parent;
this.xid = xid;
this.props = props;
//console.log("S")
}
getWindowList() {
return [this];
}
getScreen() {
return this.parent.getScreen();
}
setXwin(xid, props) {
this.xid = xid;
this.props = props;
}
toString() {
return "{ Frame " + this.xid + " }";
}
/**
* Show this window, tell X to draw it.
*/
show() {
if (this.xid) {
global.X.MapWindow( this.xid );
// Make sure the window is in the correct position again.
this.redraw();
}
}
/**
* Hide this window, tell X not to draw it.
*/
hide() {
if (this.xid) {
global.X.UnmapWindow( this.xid );
}
}
/**
* Focus this window.
*/
focus() {
if (this.xid) {
global.X.SetInputFocus( this.xid );
const old_focus = global.focus_window;
global.focus_window = this;
if( old_focus !== null ) old_focus.redraw();
this.redraw();
}
}
/**
* Tell X where to position this window and set the
* border color.
*/
redraw() {
if (this.xid) {
console.log({xid: this.xid, dimensions: this.dimensions});
const screen = this.getScreen();
const color = (this === global.focus_window)
? screen.focus_color
: screen.normal_color;
const borderWidth = (this.windowType === 'DESKTOP' || this.windowType === 'DOCK')
? 0
: screen.border_width;
if (borderWidth > 0) {
global.X.ChangeWindowAttributes(
this.xid,
{
borderPixel: color
}
);
}
global.X.ConfigureWindow(
this.xid,
{
x: this.dimensions.x,
y: this.dimensions.y,
width: this.dimensions.width - 2*borderWidth,
height: this.dimensions.height - 2*borderWidth,
borderWidth: borderWidth,
stackMode: (this.windowType === 'DESKTOP') ? 1 : 0
}
);
}
}
/**
* Destroy this window.
*/
destroyChildren() {
global.X.DestroyWindow( this.xid );
this.xid = null;
}
/**
* Execute a function on this window.
*/
forEachWindow(callback) {
callback( this );
}
}
| ellis/AirWM | old/objects/Frame.js | JavaScript | apache-2.0 | 2,329 |
/**
* This layout manager is used to center contents within a container. As a subclass of
* {@link Ext.layout.container.Fit fit layout}, CenterLayout expects to have one child
* item; multiple items will be placed overlapping. The layout does not require any config
* options. Items in the container can use percentage width or height rather than be fit
* to the full size of the container.
*
* Example usage:
*
* // The content panel is centered in the container
*
* var p = Ext.create('Ext.Panel', {
* title: 'Center Layout',
* layout: 'center',
* items: [{
* title: 'Centered Content',
* width: '75%', // assign 75% of the container width to the item
* html: 'Some content'
* }]
* });
*
* If you leave the title blank and specify no border you can create a non-visual, structural
* container just for centering the contents.
*
* var p = Ext.create('Ext.Container', {
* layout: 'center',
* items: [{
* title: 'Centered Content',
* width: 300,
* height: '90%', // assign 90% of the container height to the item
* html: 'Some content'
* }]
* });
*/
Ext.define('Ext.layout.container.Center', {
extend: 'Ext.layout.container.Fit',
alias: [
'layout.center',
'layout.ux.center'
],
alternateClassName: 'Ext.ux.layout.Center',
type: 'center',
percentRe: /^\d+(?:\.\d+)?\%$/,
itemCls: Ext.baseCSSPrefix + 'center-layout-item',
childEls: [
'targetEl'
],
renderTpl: [
'<div id="{ownerId}-targetEl" data-ref="targetEl" class="{targetElCls}" role="presentation">' +
'{%this.renderBody(out, values)%}' +
'</div>'
],
beginLayout: function(ownerContext) {
var me = this,
percentRe = me.percentRe,
childItems, len, i, itemContext, item,
widthModel, heightModel;
me.callParent([ownerContext]);
childItems = ownerContext.childItems;
for (i = 0, len = childItems.length; i < len; ++i) {
itemContext = childItems[i];
item = itemContext.target;
widthModel = itemContext.widthModel;
heightModel = itemContext.heightModel;
if (percentRe.test(item.width)) {
item.getEl().setStyle('width', '');
}
if (percentRe.test(item.height)) {
item.getEl().setStyle('height', '');
}
}
ownerContext.targetElContext = ownerContext.getEl('targetEl', me);
},
beginLayoutCycle: function(ownerContext, firstCycle) {
var targetEl = this.targetEl;
this.callParent([ownerContext, firstCycle]);
targetEl.setStyle('width', '');
targetEl.setStyle('height', '');
},
getRenderTarget: function() {
return this.targetEl;
},
getItemSizePolicy: function (item, ownerSizeModel) {
var me = this,
sizeModel = ownerSizeModel || me.owner.getSizeModel(),
percentRe = me.percentRe,
mode = ((sizeModel.width.shrinkWrap || !percentRe.test(item.width)) ? 0 : 1) | // jshint ignore:line
((sizeModel.height.shrinkWrap || !percentRe.test(item.height)) ? 0 : 2);
return me.sizePolicies[mode];
},
isItemBoxParent: function (itemContext) {
return true;
},
isItemShrinkWrap: function(item) {
return true;
},
calculate: function(ownerContext) {
var targetElContext = ownerContext.targetElContext,
info;
this.callParent([ownerContext]);
info = ownerContext.state.info;
if (ownerContext.widthModel.shrinkWrap) {
targetElContext.setWidth(info.contentWidth);
}
if (ownerContext.heightModel.shrinkWrap) {
targetElContext.setHeight(info.contentHeight);
}
},
getPos: function (itemContext, info, dimension) {
var modelName = dimension + 'Model',
size = itemContext.props[dimension],
pos = 0;
if (!itemContext[modelName].calculated) {
size += info.margins[dimension];
}
if (!info.ownerContext[modelName].shrinkWrap) {
pos = Math.round((info.targetSize[dimension] - size) / 2);
if (isNaN(pos)) {
this.done = false;
}
}
return Math.max(pos, 0);
},
positionItemX: function (itemContext, info) {
var left = this.getPos(itemContext, info, 'width');
itemContext.setProp('x', left);
},
positionItemY: function (itemContext, info) {
var top = this.getPos(itemContext, info, 'height');
itemContext.setProp('y', top);
},
setItemHeight: function (itemContext, info) {
var ratio = parseFloat(itemContext.target.height) / 100;
itemContext.setHeight(Math.round((info.targetSize.height - info.margins.height) * ratio));
},
setItemWidth: function (itemContext, info) {
var ratio = parseFloat(itemContext.target.width) / 100;
itemContext.setWidth(Math.round((info.targetSize.width - info.margins.width) * ratio));
}
});
| rzen/link-rest-cms-demo | src/main/webapp/ext/src/layout/container/Center.js | JavaScript | apache-2.0 | 5,297 |
function Controller() {
function showSpinner() {
$.activityIndicator.show();
}
function hideSpinner() {
$.activityIndicator.hide();
}
require("alloy/controllers/BaseController").apply(this, Array.prototype.slice.call(arguments));
this.__controllerPath = "Widgets/Loading";
arguments[0] ? arguments[0]["__parentSymbol"] : null;
arguments[0] ? arguments[0]["$model"] : null;
arguments[0] ? arguments[0]["__itemTemplate"] : null;
var $ = this;
var exports = {};
$.__views.container = Ti.UI.createView({
zIndex: 99999,
id: "container"
});
$.__views.container && $.addTopLevelView($.__views.container);
$.__views.background = Ti.UI.createView({
backgroundColor: "#333",
opacity: .5,
id: "background"
});
$.__views.container.add($.__views.background);
$.__views.square = Ti.UI.createView({
width: 100,
height: 100,
backgroundColor: "black",
borderRadius: 10,
opacity: .7,
id: "square"
});
$.__views.container.add($.__views.square);
$.__views.activityIndicator = Ti.UI.createActivityIndicator({
messageid: "loading",
height: 20,
width: 90,
color: "white",
textAlign: "center",
font: {
fontSize: 14,
fontWeight: "bold"
},
id: "activityIndicator"
});
$.__views.container.add($.__views.activityIndicator);
exports.destroy = function() {};
_.extend($, $.__views);
exports.showSpinner = showSpinner;
exports.hideSpinner = hideSpinner;
_.extend($, exports);
}
var Alloy = require("alloy"), Backbone = Alloy.Backbone, _ = Alloy._;
module.exports = Controller; | eduardo-itexico/cultura_mob | Resources/alloy/controllers/Widgets/Loading.js | JavaScript | apache-2.0 | 1,751 |
const express = require('express');
const bodyParser = require('body-parser');
const cors = require('cors');
const Realm = require('realm');
const RealmQuery = require('./RealmQuery');
const { isNil, resultsToPlainArray } = require('./utils');
const utils = require('../../../../www/utils');
const app = express();
app.use(cors());
app.use(bodyParser.json({ limit: '50mb' }));
const realms = new Map();
const realmResults = new Map();
app.post('/initialize', (req, res) => {
const { configuration, schema } = req.body;
const { schemaVersion } = configuration;
const realmID = realms.size;
const realm = new Realm({
schema: schema.map(s => Object.create(s)),
schemaVersion
});
realms.set(realmID, realm);
res.send({
realmInstanceID: realmID,
schemas: realm.schema,
schemaVersion: realm.schemaVersion
});
});
app.post('/create', (req, res) => {
const {
realmInstanceID,
schemaName,
json: rawJSON,
update = false
} = req.body;
if (isNil(schemaName)) {
res.status(400);
res.send({ error: { msg: 'schemaName cannot be null or undefined' } });
return;
}
const realm = realms.get(realmInstanceID);
if (realm === undefined) {
res.status(400);
res.send(new Error('realm instance not found. Did you call initialize?'));
}
const schemas = realm.schema;
const model = schemas.find(s => s.name === schemaName);
if (isNil(model)) {
res.status(400);
res.send({ error: { msg: `model ${schemaName} not found in schema` } });
return;
}
const json = utils.normalizeDates(rawJSON, schemas, model);
realm.write(() => {
try {
if (Array.isArray(json)) {
json.forEach(item => {
realm.create(schemaName, item, update);
});
} else {
realm.create(schemaName, json, update);
}
} catch (error) {
res.status(400);
console.trace(error);
res.send(error);
return;
}
res.send({});
});
});
app.post('/findAll', (req, res) => {
const { realmInstanceID, schemaName, ops } = req.body;
const realm = realms.get(realmInstanceID);
const results = RealmQuery.findAll(realm, schemaName, ops);
const realmResultsId = realmResults.size;
realmResults.set(realmResultsId, results);
res.send({
realmResultsId,
results: resultsToPlainArray(results)
});
});
app.post('/findAllSorted', (req, res) => {
const { realmInstanceID, schemaName, ops, sortField, sortOrder } = req.body;
const realm = realms.get(realmInstanceID);
const results = RealmQuery.findAllSorted(
realm,
schemaName,
ops,
sortField,
sortOrder
);
const realmResultsId = realmResults.size;
realmResults.set(realmResultsId, results);
res.send({
realmResultsId,
results: resultsToPlainArray(results)
});
});
app.listen(8080, function() {
console.log('Realm server listening on port 8080!');
});
| airamrguez/cordova-plugin-realm | src/browser/server/src/index.js | JavaScript | apache-2.0 | 2,888 |
'use strict';
/**
* Module dependencies.
*/
var mongoose = require('mongoose'),
errorHandler = require('./errors.server.controller'),
Bookito = mongoose.model('Bookito'),
_ = require('lodash');
/**
* Create a Bookito
*/
exports.create = function(req, res) {
var bookito = new Bookito(req.body);
bookito.user = req.user;
bookito.save(function(err) {
if (err) {
return res.status(400).send({
message: errorHandler.getErrorMessage(err)
});
} else {
res.jsonp(bookito);
}
});
};
/**
* Show the current Bookito
*/
exports.read = function(req, res) {
res.jsonp(req.bookito);
};
/**
* Update a Bookito
*/
exports.update = function(req, res) {
var bookito = req.bookito ;
bookito = _.extend(bookito , req.body);
bookito.save(function(err) {
if (err) {
return res.status(400).send({
message: errorHandler.getErrorMessage(err)
});
} else {
res.jsonp(bookito);
}
});
};
/**
* Delete an Bookito
*/
exports.delete = function(req, res) {
var bookito = req.bookito ;
bookito.remove(function(err) {
if (err) {
return res.status(400).send({
message: errorHandler.getErrorMessage(err)
});
} else {
res.jsonp(bookito);
}
});
};
/**
* List of Bookitos
*/
exports.list = function(req, res) {
Bookito.find().sort('-created').populate('user', 'displayName').exec(function(err, bookitos) {
if (err) {
return res.status(400).send({
message: errorHandler.getErrorMessage(err)
});
} else {
res.jsonp(bookitos);
}
});
};
/**
* Bookito middleware
*/
exports.bookitoByID = function(req, res, next, id) {
Bookito.findById(id).populate('user', 'displayName').exec(function(err, bookito) {
if (err) return next(err);
if (! bookito) return next(new Error('Failed to load Bookito ' + id));
req.bookito = bookito ;
next();
});
};
/**
* Bookito authorization middleware
*/
exports.hasAuthorization = function(req, res, next) {
if (req.bookito.user.id !== req.user.id) {
return res.status(403).send('User is not authorized');
}
next();
};
| jdbranham/bookito | app/controllers/bookitos.server.controller.js | JavaScript | apache-2.0 | 2,037 |
var tty = require("tty"),
keypress = require("keypress");
var util = {};
util.setRawMode = function(mode) {
if (process.stdin.setRawMode) {
process.stdin.setRawMode(mode);
} else {
tty.setRawMode(mode);
}
};
util.passphrase = function(prompt, callback) {
process.stderr.write(prompt);
keypress(process.stdin);
process.stdin.resume();
var passphrase = "";
process.stdin.on("keypress", function(c, key) {
if (key && (key.name == "return" || key.name == "enter")) {
process.stderr.write("\n");
process.stdin.pause();
callback(passphrase);
} else if (key && key.name == "backspace") {
if (passphrase.length > 0) {
passphrase = passphrase.substring(0, passphrase.length-1);
process.stderr.write('\x1B[D\x1B[K');
}
} else if (key && key.ctrl && key.name == "u") {
process.stderr.write(passphrase.replace(/./g, '\x1B[D'));
passphrase = "";
} else if (key && key.ctrl && key.name == "c") {
process.stdin.pause();
callback(null);
} else {
process.stderr.write("*");
passphrase += c;
}
});
};
module.exports = util;
| dcodeIO/endecrypt | src/cli.js | JavaScript | apache-2.0 | 1,278 |
function viewTransferContent(id, transfer_type, transfer_description){
transferContentWin.show();
var selection = Ext.getCmp('orderGrid').getView().getSelectionModel().getSelection();
if(selection[0].get('can_review') == 1){
Ext.getCmp('transferReviewBtn').enable();
}else{
Ext.getCmp('transferReviewBtn').disable();
}
Ext.getCmp('transfer_transfer_type').setValue(transfer_type);
Ext.getCmp('transfer_transfer_description').setValue(transfer_description);
transferItemsStore.load({
params: {
transfer_id: id
}
});
}
var transferItemsStore = Ext.create('Ext.data.Store', {
model: 'Items',
proxy: {
type: 'ajax',
reader: 'json',
url: homePath+'/public/erp/purchse_order/getordertransferitems'
}
});
var transferItemsGrid = Ext.create('Ext.grid.Panel', {
minHeight: 420,
maxHeight: 420,
id: 'transferItemsGrid',
columnLines: true,
selModel: {
mode: 'MULTI'
},
store: transferItemsStore,
viewConfig: {
stripeRows: false,// 取消偶数行背景色
getRowClass: function(record) {
var transfer_type = record.get('items_transfer_type');
if(transfer_type == 'update'){
return 'view-update-row';
}else if(transfer_type == 'delete'){
return 'view-delete-row';
}
}
},
columns: [{
xtype: 'rownumberer'
}, {
text: 'ID',
align: 'center',
hidden: true,
dataIndex: 'items_id',
width: 50
}, {
text: '变更类别',
dataIndex: 'items_transfer_type',
align: 'center',
renderer: function(val){
if(val == 'update'){
return '更新';
}else if(val == 'add'){
return '添加';
}else if(val == 'delete'){
return '删除';
}
},
width: 80
}, {
text: '启用',
dataIndex: 'items_active',
align: 'center',
renderer: activeRender,
width: 50
}, {
text: '申请',
align: 'center',
dataIndex: 'items_req_number',
renderer: function(val, cellmeta, record, rowIndex){
if(val != ''){
cellmeta.tdAttr = 'data-qtip="' + val + '"';
return '<img src="'+homePath+'/public/images/icons/ok.png"></img>';
}
},
width: 50
}, {
text: '物料号',
dataIndex: 'items_code',
width: 120
}, {
text: '名称',
dataIndex: 'items_name',
width: 120
}, {
text: '描述',
dataIndex: 'items_description',
width: 180
}, {
text: '数量',
dataIndex: 'items_qty',
align: 'center',
width: 80
}, {
text: '已收货',
align: 'center',
dataIndex: 'items_qty_receive',
renderer: function(val, meta, record){
meta.style = 'background-color: #FFFFDF';
return val;
},
width: 80
}, {
text: '单位',
align: 'center',
dataIndex: 'items_unit',
width: 60
}, {
text: '单价',
renderer: function(value, meta, rec){
return setMoney(value, getCurrentCurrency());
},
dataIndex: 'items_price',
width: 100
}, {
text: '金额',
dataIndex: 'items_total',
width: 120
}, {
text: '需求日期',//多个申请时,取最早日期
align: 'center',
dataIndex: 'items_request_date',
renderer: Ext.util.Format.dateRenderer('Y-m-d'),
width: 110
}, {
text: '申请单号',
dataIndex: 'items_req_number',
width: 120
}, {
text: '供应商产品型号',
dataIndex: 'items_supplier_code',
width: 100
}, {
text: '供应商产品名称',
dataIndex: 'items_supplier_codename',
width: 100
}, {
text: '供应商产品描述',
dataIndex: 'items_supplier_description',
width: 100
}, {
text: '收货仓位',
renderer: warehouseRender,
dataIndex: 'items_warehouse_code',
width: 150
}, {
text: '需求部门',
dataIndex: 'items_dept_id',
renderer: deptRender,
width: 120
}, {
text: '项目信息',
dataIndex: 'items_project_info',
width: 200
}, {
text: '备注',
dataIndex: 'items_remark',
width: 200
}]
});
var transferContentForm = Ext.create('Ext.form.Panel', {
id: 'transferContentForm',
border: 0,
bodyPadding: '2 2 0',
fieldDefaults: {
msgTarget: 'side',
labelWidth: 75
},
items: [{
xtype: 'fieldcontainer',
msgTarget : 'side',
layout: 'hbox',
defaults: {
labelStyle: 'font-weight:bold',
labelWidth: 75,
labelAlign: 'right'
},
items: [{
fieldLabel: '变更类别',
xtype: 'displayfield',
id: 'transfer_transfer_type',
name: 'transfer_type'
}, {
fieldLabel: '变更说明',
xtype: 'displayfield',
id: 'transfer_transfer_description',
name: 'transfer_description'
}]
}, transferItemsGrid],
buttons: [{
text: '审核',
id: 'transferReviewBtn',
handler: function(){
reviewOrder();
}
}, {
text: '取消',
handler: function() {
this.up('form').getForm().reset();
transferContentWin.hide();
}
}]
});
var transferContentWin = Ext.create('Ext.window.Window', {
title: '变更内容',
border: 0,
width: 1000,
modal: true,
constrainHeader: true,
id: 'transferContentWin',
layout: 'fit',
maximizable: true,
resizable: true,
closeAction: 'hide',
resizable: true,
items: [transferContentForm]
}); | eoasoft/evolve | application/modules/erp/views/scripts/purchse/order/js/transfer.js | JavaScript | apache-2.0 | 5,966 |
/**
* @author Diego Lafuente
*/
Ti.include(Titanium.Filesystem.resourcesDirectory + 'api/util/core.js');
/**
* The XML Reader string class. Receives an xml string and a description map and returns an array of objects
* @param xmlString: the xml in string format
* @param descriptionMap: an array representing the values to be extracted from the xml.
* @param tag: the tag representing the objects in the xml to be read. If the tag is null or empty, the map refers to the root element.
* see testXmlReader to fully understand this class
*/
var XmlReader = function(xmlString, descriptionMap, tag)
{
// self-reference
var self = this;
//util toolbox
var util = require('api/util/util');
/**
* Reads the objects from the xmlString using the descriptionMap
* Returns an array of JS objects
*/
self.readObjects = function() {
//initialize result
var result =[];
//wrap the string in a jquery object
var xmlObject = Ti.XML.parseString(xmlString);
//parse it
if (tag && (tag.length > 0)) { //there is a tag to go for
var nodeList = xmlObject.getElementsByTagName(tag);
for (var i=0; i<nodeList.length; i++) {
//Ti.API.info("Processing element... " + i);
result.push(processElement(nodeList.item(i), descriptionMap));
}
} else { //No tag, browse the root element
result = processElement(xmlObject.cloneNode(true), descriptionMap);
}
return result;
}
/**
* Process an element of the xml according to the description Map and returns an object
* element: could be a Ti.XML.Node or a Ti.XML.Document
*/
function processElement(element, descriptionMap) {
//initialize result
var result = {};
//iterate descriptionMap
for (var i=0; i<descriptionMap.length; i++) {
//Ti.API.info("Started iteration " + i + "/" + (descriptionMap.length-1));
var item = descriptionMap[i];
// Ti.API.info("Processing item: " + JSON.stringify(item));
if (typeof item === 'string') { //It's a string
result[item] = element.getElementsByTagName(item).item(0).textContent;
//Ti.API.info("Found string in descriptionMap. Field: " + item +". Value: " + result[item]);
}
else if (typeof item === 'object') { //It's a dictionary
if (Object.keys(item).length !== 1)
Ti.API.error ("Malformed descriptionMap. More than 1 element in object: " + JSON.stringify(item));
//get the first (and only) key of the dictionary
for (var key in item) {
var value = item[key];
if (value instanceof Array) { //It's a list
//Ti.API.info("Key: " + key + " is listified as: " + key.listify());
//initialize list
var listifiedKey = key.listify();
result[listifiedKey] = [];
//Get the NodeList that defines the actual list
var listNodeList = nodeListInPath(element, key);
//go through it and parse each element
for (var j=0; j<listNodeList.length; j++) {
//Ti.API.info("Checking for: " + key);
result[listifiedKey].push(processElement(listNodeList.item(j), value));
}
}
else if (typeof value === 'string') { //It's a deep value
//Ti.API.info("deep value: " + key + " - " + value);
result[key] = valueInXml(element, value);
}
break; //we only consider the first key
}
}
//Ti.API.info("Finished iteration " + i + "/" + (descriptionMap.length-1));
}
//Ti.API.info("result about to be returned: " +JSON.stringify(result));
return result;
}
/**
* Explores the given XML element and returns nodeList indicated by the path
* element: could be a Ti.XML.Node or a Ti.XML.Document. Contains the element to look in.
* path: a dot separated string like string like "TicketInfo.ImageList.Image" containing the path to look in.
*/
function nodeListInPath(element, path) {
var result = element;
var pathArray = path.split('.');
//the first elements of the path have to be unique
for (var i=0; i<pathArray.length - 1; i++) {
result = result.getElementsByTagName(pathArray[i]).item(0);
}
//the last element defines the nodeList
result = result.getElementsByTagName(pathArray[pathArray.length - 1]);
//Ti.API.info("Returning NodeList of length " + result.length + " for path " + path);
return result;
}
/**
* Explores an xml element and returns the value in path
* element: could be a Ti.XML.Node or a Ti.XML.Document. Contains the element to look i
* path: a dot-seàrated string like "Description.@languageCode" containing the path to look in. "@" is for attributes
*/
function valueInXml (element, path) {
var realPath = path.startsWith('@') ? path.substringUpTo('@') : path.substringUpTo('.@');
var attribute = path.substringFrom('@');
var tip = realPath.length == 0 ? element : nodeListInPath(element,realPath).item(0);
var value = null;
if (attribute === '') { //No attributes
value = tip.textContent;
}
else { //There is an attribute at the end
var attributes = tip.getAttributes();
var namedItem = attributes.getNamedItem(attribute);
value = namedItem.textContent;
//value = tip.getAttributes().getNamedItem(attribute).textContent;
}
//Ti.API.info("Value for path " + path + ": " + value + ". RealPath: " + realPath + " - Attribute: " + attribute + " - Replaced RealPath: " + realPath.replace(/\./g,' '));
return value;
}
return self;
}
module.exports = XmlReader; | DiegoTUI/TuiTiApi | Resources/api/IO/XmlReader.js | JavaScript | apache-2.0 | 6,278 |
const logger = require('log4js').getLogger('Role');
const validRoles = ['admin', 'manager', 'user'];
/**
* Crea una nueva instancia de rol de usuario de negocio.
* @constructor
* @this {Role}
* @param {string} type Tipo de rol [admin||user||manager].
* @return {Role} nuevo rol.
*/
function Role(type = '') {
this.type = type.toLowerCase();
}
Role.fromObj = function (roleObj) {
return new Role(roleObj.type || roleObj.role || roleObj);
};
Role.manager = function () {
return new Role('manager');
};
Role.user = function () {
return new Role('user');
};
Role.admin = function () {
return new Role('admin');
};
Role.all = function () {
return [Role.user(), Role.admin(), Role.manager()];
};
/**
* Convierte a objetos de tipo Role en un arreglo de sus nombres.
* @param {Array<Role>} roles Roles a convertir en un arreglo de strings.
* @return {Array<string>} Arreglo de nombres de roles.
*/
Role.asStrings = function (roles = []) {
const strings = [];
roles.forEach(role => strings.push(role.type || role));
return strings;
};
/**
* Crea un arrelgo de objetos de tipo Role a partir de un arreglo de strings con nombres de roles.
* @param {Array<string>} roleStrings Nombres de roles.
* @return {Array<Role>} Arreglo de roles.
*/
Role.fromStrings = function (roleStrings) {
roleStrings = Role.asStrings(roleStrings);
const roles = [];
roleStrings.forEach(s => roles.push(new Role(s)));
return roles;
};
/**
* Filtra un arreglo de roles dejando solo los roles validos.
* @param {Array<Role>} roles roles a filtrar.
* @return {Array<Role>} Arreglo con roles validos.
*/
Role.filterValid = function (roles) {
roles = Role.fromStrings(roles);
return roles.filter(r => r.isValid());
};
/**
* Determina la diferencia de roles.
* @param {Array} roles1 Roles en BBDD.
* @param {Array} roles2 Roles nuevos.
* @return {object} {keep:'Roles a guardar', add:'roles a agregar', remove:'roles a eliminar'}
*/
Role.diff = function (roles1, roles2) {
roles1 = Role.asStrings(roles1);
roles2 = Role.asStrings(roles2);
const keep = [];
const remove = [];
const add = [];
roles1.forEach(role1 => {
if (roles2.indexOf(role1) >= 0) keep.push(role1);
else remove.push(role1);
});
roles2.forEach(role2 => {
if (roles1.indexOf(role2) < 0) add.push(role2);
});
const diff = { keep, add, remove };
console.log(`diff ${roles1} vs ${roles2}:`);
console.log(diff);
return diff;
};
Role.isValid = function (role) {
const type = Role.fromObj(role).type;
return validRoles.indexOf(type) >= 0;
};
/**
* Filtra y estandariza un conjunto de roles y los devuelve como strings.
* @param {Array<Role>} roles Conjunto de roles.
* @return {Array<string>} Ids de los roles en lowercase.
*/
Role.standarize = function (roles) {
roles = Role.filterValid(roles);
roles = Role.asStrings(roles);
return roles.map(role => role.toLowerCase());
};
Role.prototype.isManager = function () {
return this.type.valueOf() == 'manager';
};
Role.prototype.isUser = function () {
return this.type.valueOf() == 'user';
};
Role.prototype.isAdmin = function () {
return this.type.valueOf() == 'admin';
};
Role.prototype.isValid = function () {
return Role.isValid(this.type);
};
module.exports = Role; | zaragozamartin91/taller2SharedServer | model/Role.js | JavaScript | apache-2.0 | 3,359 |
/*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of
* the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
* License for the specific language governing permissions and limitations under
* the License.
*/
goog.provide('jstestdriver.TestRunFilter');
goog.require('jstestdriver');
/**
* @constructor
*/
jstestdriver.TestRunFilter = function(testCaseInfo) {
this.testCaseInfo_ = testCaseInfo;
};
jstestdriver.TestRunFilter.prototype.getDefaultTestRunConfiguration = function() {
return this.createTestRunConfiguration_(this.testCaseInfo_.getTestNames());
};
/**
* Includes and excludes tests based on the given expressions. Expressions are
* of the form:
*
* Expr:
* "all" | RegExp | -RegExp
*
* RegExp:
* A JavaScript regular expression without the quoting characters.
*
* @param expressions {Array.<string>} The expression strings.
*/
jstestdriver.TestRunFilter.prototype.getTestRunConfigurationFor = function(expressions) {
var positiveExpressions = this.filter_(expressions, this.regexMatcher_(/^[^-].*/));
if (positiveExpressions.length < 1) {
positiveExpressions.push('all');
}
var negativeExpressions = this.filter_(expressions, this.regexMatcher_(/^-.*/));
var testMethodMap = this.buildTestMethodMap_();
var excludedTestIds = this.getExcludedTestIds_(testMethodMap, negativeExpressions);
var matchedTests = this.getMatchedTests_(testMethodMap, positiveExpressions, excludedTestIds);
return matchedTests.length > 0 ? this.createTestRunConfiguration_(matchedTests) : null;
};
jstestdriver.TestRunFilter.prototype.createTestRunConfiguration_ = function(tests) {
return new jstestdriver.TestRunConfiguration(this.testCaseInfo_, tests);
};
/**
* @param regex {RegExp} The regular expression.
* @return {function(string): boolean} A function that tests the given RegExp
* against the function's expression argument.
* @private
*/
jstestdriver.TestRunFilter.prototype.regexMatcher_ = function(regex) {
return function(expression) {
return regex.test(expression);
};
};
/**
* @return {Object.<string, string>} A map from test method id to test method
* name, where a test method id is of the form TestCaseName#testMethodName.
* @private
*/
jstestdriver.TestRunFilter.prototype.buildTestMethodMap_ = function() {
var testMethodMap = {};
var testMethods = this.testCaseInfo_.getTestNames();
var testMethodsLength = testMethods.length;
for (var i = 0; i < testMethodsLength; ++i) {
var methodName = testMethods[i];
if (this.isTestMethod_(methodName)) {
testMethodMap[this.buildTestMethodId_(methodName)] = methodName;
}
}
return testMethodMap;
};
/**
* @param methodName {string} A name of a method of the test class.
* @return {boolean} True if the method name begins with 'test'.
* @private
*/
jstestdriver.TestRunFilter.prototype.isTestMethod_ = function(methodName) {
return /^test.*/.test(methodName);
};
/**
* @param testMethod {string} The name of the test method.
* @return {string} A test method id which is of the form
* TestCaseName#testMethodName.
* @private
*/
jstestdriver.TestRunFilter.prototype.buildTestMethodId_ = function(testMethod) {
return this.testCaseInfo_.getTestCaseName() + '#' + testMethod;
};
/**
* @param expressions {Array.<string>} The expression strings.
* @param condition {function(string): boolean} A condition that applies to the
* expression strings.
* @return {Array.<string>} Any expression strings for which the condition holds.
* @private
*/
jstestdriver.TestRunFilter.prototype.filter_ = function(expressions, condition) {
var result = [];
for (var i = 0; i < expressions.length; ++i) {
if (condition(expressions[i])) {
result.push(expressions[i]);
}
}
return result;
};
/**
* @param testMethodMap {Object.<string, string>} A map from test method id to
* test method name.
* @param negativeExpressions {Array.<string>} The negative expression strings.
* @return {Object.<string, boolean>} A map from test method id to boolean that
* signals whether a test method should be excluded from this test run.
* @private
*/
jstestdriver.TestRunFilter.prototype.getExcludedTestIds_ = function(
testMethodMap, negativeExpressions) {
var excludedTestIds = {};
for (var i = 0; i < negativeExpressions.length; ++i) {
var expr = negativeExpressions[i].substring(1);
var pattern = new RegExp(expr);
for (var testMethodId in testMethodMap) {
if (pattern.test(testMethodId)) {
excludedTestIds[testMethodId] = true;
}
}
}
return excludedTestIds;
};
/**
* @param testMethodMap {Object.<string, string>} A map from test method id to
* test method name.
* @param positiveExpressions {Array.<string>} The positive expression strings.
* @param excludedTestIds {Object.<string, boolean>} A map from test method id to
* boolean that signals whether a test method should be excluded from this
* test run.
* @return {Array.<string>} A list of test method names for test methods that
* should be run.
* @private
*/
jstestdriver.TestRunFilter.prototype.getMatchedTests_ = function(
testMethodMap, positiveExpressions, excludedTestIds) {
var matchedTests = [];
for (var i = 0; i < positiveExpressions.length; i++) {
var expr = positiveExpressions[i];
if (expr == 'all') {
expr = '.*';
}
var pattern = new RegExp(expr);
for (var testMethodId in testMethodMap) {
if (pattern.test(testMethodId) && !excludedTestIds[testMethodId]) {
matchedTests.push(testMethodMap[testMethodId]);
}
}
}
return matchedTests;
};
| BladeRunnerJS/brjs-JsTestDriver | JsTestDriver/src/com/google/jstestdriver/javascript/TestRunFilter.js | JavaScript | apache-2.0 | 6,027 |
var searchData=
[
['quality_5fblob_5fpc',['quality_blob_pc',['../a02479.html#a8feb6e6d0d216514b3fa83ca2f4078e5',1,'tesseract::Tesseract']]],
['quality_5fchar_5fpc',['quality_char_pc',['../a02479.html#a90fbdb46a983a7da9a3625a8e5a5fe5a',1,'tesseract::Tesseract']]],
['quality_5fmin_5finitial_5falphas_5freqd',['quality_min_initial_alphas_reqd',['../a02479.html#a991cd3e6b917b850d7cccb7df1fabfa5',1,'tesseract::Tesseract']]],
['quality_5foutline_5fpc',['quality_outline_pc',['../a02479.html#aa8f33558afec91ea781fc11368ce209b',1,'tesseract::Tesseract']]],
['quality_5frej_5fpc',['quality_rej_pc',['../a02479.html#a886bd9a9910c385d5c1a38a7c340d2b2',1,'tesseract::Tesseract']]],
['quality_5frowrej_5fpc',['quality_rowrej_pc',['../a02479.html#a4a2be7907ac8c08a04d704b316b2ee1c',1,'tesseract::Tesseract']]]
];
| stweil/tesseract-ocr.github.io | 4.0.0/search/variables_10.js | JavaScript | apache-2.0 | 814 |
var searchData=
[
['ana',['ana',['../d4/dfc/interface_r_h_printjob.html#a646c6a3f321de56b29bfe23cf96ee4b3',1,'RHPrintjob']]],
['autoplacecopies',['autoplaceCopies',['../d0/d34/interface_s_t_l_composer.html#ad09c6aeaf119dc107606cb48b90d7e53',1,'STLComposer']]],
['avgbedcolor',['avgBedColor',['../d7/d99/interface_temperature_history.html#a4348768ad3bf1540ac079e40fb191981',1,'TemperatureHistory']]],
['avgextrudercolor',['avgExtruderColor',['../d7/d99/interface_temperature_history.html#a7c4c9cce3d5db4bdb2b49b41a2b364e2',1,'TemperatureHistory']]],
['avgoutputcolor',['avgOutputColor',['../d7/d99/interface_temperature_history.html#aaeac6ecaaaa1180b9ff5475df75e1f45',1,'TemperatureHistory']]],
['axiscolor',['axisColor',['../d7/d99/interface_temperature_history.html#a9dac69b4a8a01cab961c66d012bb8d24',1,'TemperatureHistory']]]
];
| repetier/Repetier-Host-Mac | docs/classes/html/search/properties_61.js | JavaScript | apache-2.0 | 843 |
'use strict';
var bigTanh = require('../../util/bignumber').tanh_coth;
function factory (type, config, load, typed) {
var collection = load(require('../../type/matrix/collection'));
/**
* Calculate the hyperbolic tangent of a value,
* defined as `tanh(x) = (exp(2 * x) - 1) / (exp(2 * x) + 1)`.
*
* For matrices, the function is evaluated element wise.
*
* Syntax:
*
* math.tanh(x)
*
* Examples:
*
* // tanh(x) = sinh(x) / cosh(x) = 1 / coth(x)
* math.tanh(0.5); // returns 0.46211715726000974
* math.sinh(0.5) / math.cosh(0.5); // returns 0.46211715726000974
* 1 / math.coth(0.5); // returns 0.46211715726000974
*
* See also:
*
* sinh, cosh, coth
*
* @param {number | BigNumber | Complex | Unit | Array | Matrix} x Function input
* @return {number | BigNumber | Complex | Array | Matrix} Hyperbolic tangent of x
*/
var tanh = typed('tanh', {
'number': _tanh,
'Complex': function (x) {
var r = Math.exp(2 * x.re);
var re = r * Math.cos(2 * x.im);
var im = r * Math.sin(2 * x.im);
var den = (re + 1) * (re + 1) + im * im;
return new type.Complex(
((re - 1) * (re + 1) + im * im) / den,
im * 2 / den
);
},
'BigNumber': function (x) {
return bigTanh(x, type.BigNumber, false);
},
'Unit': function (x) {
if (!x.hasBase(type.Unit.BASE_UNITS.ANGLE)) {
throw new TypeError ('Unit in function tanh is no angle');
}
return _tanh(x.value);
},
'Array | Matrix': function (x) {
// deep map collection, skip zeros since tanh(0) = 0
return collection.deepMap(x, tanh, true);
}
});
return tanh;
}
/**
* Calculate the hyperbolic tangent of a number
* @param {number} x
* @returns {number}
* @private
*/
function _tanh (x) {
var e = Math.exp(2 * x);
return (e - 1) / (e + 1);
}
exports.name = 'tanh';
exports.factory = factory;
| mikberg/mathjs | lib/function/trigonometry/tanh.js | JavaScript | apache-2.0 | 2,075 |
var searchData=
[
['oam_5fflow_5fremoved',['OAM_FLOW_REMOVED',['../ofp-util_8h.html#a74eb35100ca14b7b520dacbb9522e311a76dfbe4ec60ba6e1aebf052b43dbdcc6',1,'ofp-util.h']]],
['oam_5fn_5ftypes',['OAM_N_TYPES',['../ofp-util_8h.html#a74eb35100ca14b7b520dacbb9522e311a3ac90656f4476bc0b91309283c6207fc',1,'ofp-util.h']]],
['oam_5fpacket_5fin',['OAM_PACKET_IN',['../ofp-util_8h.html#a74eb35100ca14b7b520dacbb9522e311aa02baa6e19059a7dfa8fe5af82ac590e',1,'ofp-util.h']]],
['oam_5fport_5fstatus',['OAM_PORT_STATUS',['../ofp-util_8h.html#a74eb35100ca14b7b520dacbb9522e311a136b93fe279ac640d3c0d610c86124df',1,'ofp-util.h']]],
['oam_5frequestforward',['OAM_REQUESTFORWARD',['../ofp-util_8h.html#a74eb35100ca14b7b520dacbb9522e311a07649e2e385f67cacd4550dcf614f694',1,'ofp-util.h']]],
['oam_5frole_5fstatus',['OAM_ROLE_STATUS',['../ofp-util_8h.html#a74eb35100ca14b7b520dacbb9522e311ae56937c89f356b89ba028382a1b8d4a1',1,'ofp-util.h']]],
['oam_5ftable_5fstatus',['OAM_TABLE_STATUS',['../ofp-util_8h.html#a74eb35100ca14b7b520dacbb9522e311a114450ea9cc9cd8db9f55fd553117312',1,'ofp-util.h']]],
['odp_5ffit_5ferror',['ODP_FIT_ERROR',['../odp-util_8h.html#a1f545defb39179da375941a4253d4ce9a8d9da37aaacc5a8175b038612bc883cb',1,'odp-util.h']]],
['odp_5ffit_5fperfect',['ODP_FIT_PERFECT',['../odp-util_8h.html#a1f545defb39179da375941a4253d4ce9a0eaf7033dbe13dc0edec66c1387a4044',1,'odp-util.h']]],
['odp_5ffit_5ftoo_5flittle',['ODP_FIT_TOO_LITTLE',['../odp-util_8h.html#a1f545defb39179da375941a4253d4ce9af5f97867533b32c30db55085e0d6fd2a',1,'odp-util.h']]],
['odp_5ffit_5ftoo_5fmuch',['ODP_FIT_TOO_MUCH',['../odp-util_8h.html#a1f545defb39179da375941a4253d4ce9a6d25483027c3e59286a0a037ada6fe77',1,'odp-util.h']]],
['odp_5fkey_5fmetadata_5fsize',['ODP_KEY_METADATA_SIZE',['../odp-util_8h.html#a4f79453548dc20926be4b5a000ecbd66a08403ee6de502e336df15f8e716b0e27',1,'odp-util.h']]],
['ofconn_5fprimary',['OFCONN_PRIMARY',['../connmgr_8h.html#a99dc9a3ed7028ae7a25739267ce0de0aa80dd8984d6be0cbe87c3d0d3265b4017',1,'connmgr.h']]],
['ofconn_5fservice',['OFCONN_SERVICE',['../connmgr_8h.html#a99dc9a3ed7028ae7a25739267ce0de0aa37fe6df9296cf46ca96048bcbea878bc',1,'connmgr.h']]],
['ofp10_5fversion',['OFP10_VERSION',['../openflow-common_8h.html#aaf5c8822be88af8761c5f1ac5526bd56a6b76e2de5f3398e0c1cdd7ad3e15adc5',1,'openflow-common.h']]],
['ofp11_5fversion',['OFP11_VERSION',['../openflow-common_8h.html#aaf5c8822be88af8761c5f1ac5526bd56aac3b574c196e10c819478ef109bdea0e',1,'openflow-common.h']]],
['ofp12_5fversion',['OFP12_VERSION',['../openflow-common_8h.html#aaf5c8822be88af8761c5f1ac5526bd56a7a80e2a04cb0218fa84fb96f4657016f',1,'openflow-common.h']]],
['ofp13_5fversion',['OFP13_VERSION',['../openflow-common_8h.html#aaf5c8822be88af8761c5f1ac5526bd56a6aad6f4f1f615365020c18ad6b516bc4',1,'openflow-common.h']]],
['ofp14_5fversion',['OFP14_VERSION',['../openflow-common_8h.html#aaf5c8822be88af8761c5f1ac5526bd56adf1716383fe42e91de46f76fa55c9a57',1,'openflow-common.h']]],
['ofp15_5fversion',['OFP15_VERSION',['../openflow-common_8h.html#aaf5c8822be88af8761c5f1ac5526bd56af89c0d22ae387a98fcabc39aa962e7c8',1,'openflow-common.h']]],
['ofpacpt_5fflow_5fremoved_5fmaster',['OFPACPT_FLOW_REMOVED_MASTER',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fda433578249023abe05e74b6a6c8889aeb',1,'openflow-1.4.h']]],
['ofpacpt_5fflow_5fremoved_5fslave',['OFPACPT_FLOW_REMOVED_SLAVE',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fdab1d633f4cf1377cc5ffb3144a21f6d7e',1,'openflow-1.4.h']]],
['ofpacpt_5fpacket_5fin_5fmaster',['OFPACPT_PACKET_IN_MASTER',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fdabd07d8cf04c409fc18657cbc421418db',1,'openflow-1.4.h']]],
['ofpacpt_5fpacket_5fin_5fslave',['OFPACPT_PACKET_IN_SLAVE',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fda8a660cf3a109438d0ac261b7da03c67c',1,'openflow-1.4.h']]],
['ofpacpt_5fport_5fstatus_5fmaster',['OFPACPT_PORT_STATUS_MASTER',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fda5b14ed0885a0fcfbda8e40493aec8603',1,'openflow-1.4.h']]],
['ofpacpt_5fport_5fstatus_5fslave',['OFPACPT_PORT_STATUS_SLAVE',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fda45307aea61fd1604a9d5de04861a3b9a',1,'openflow-1.4.h']]],
['ofpacpt_5frequestforward_5fmaster',['OFPACPT_REQUESTFORWARD_MASTER',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fdacac7fd08d549bf93d252b86a3e72766b',1,'openflow-1.4.h']]],
['ofpacpt_5frequestforward_5fslave',['OFPACPT_REQUESTFORWARD_SLAVE',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fda43237886a41d0a991618873e10c594ec',1,'openflow-1.4.h']]],
['ofpacpt_5frole_5fstatus_5fmaster',['OFPACPT_ROLE_STATUS_MASTER',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fdaf645ff55ce172e6ad43ecbc6eb87dc7d',1,'openflow-1.4.h']]],
['ofpacpt_5frole_5fstatus_5fslave',['OFPACPT_ROLE_STATUS_SLAVE',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fda68ef8f1d5ebd77a7f6eaa137b131383c',1,'openflow-1.4.h']]],
['ofpacpt_5ftable_5fstatus_5fmaster',['OFPACPT_TABLE_STATUS_MASTER',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fda9e806c1a8b7d5ddb13ab78ec092cb247',1,'openflow-1.4.h']]],
['ofpacpt_5ftable_5fstatus_5fslave',['OFPACPT_TABLE_STATUS_SLAVE',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fda5d3296379638825d3ab84eaa98794a0a',1,'openflow-1.4.h']]],
['ofpat_5fraw10_5fenqueue',['OFPAT_RAW10_ENQUEUE',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a847161eaed346f036d5df5439c03b339',1,'ofp-actions.c']]],
['ofpat_5fraw10_5foutput',['OFPAT_RAW10_OUTPUT',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a3a8c61ba82447da8d94782c3a9b56788',1,'ofp-actions.c']]],
['ofpat_5fraw10_5fset_5fvlan_5fpcp',['OFPAT_RAW10_SET_VLAN_PCP',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86ab6792b8a2c56de07bad77afbf588556b',1,'ofp-actions.c']]],
['ofpat_5fraw10_5fset_5fvlan_5fvid',['OFPAT_RAW10_SET_VLAN_VID',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a8b41dda7bc3998d4b7e1fe1403449e96',1,'ofp-actions.c']]],
['ofpat_5fraw10_5fstrip_5fvlan',['OFPAT_RAW10_STRIP_VLAN',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a6e8f090e7f8cf54d1decb380d2e173b2',1,'ofp-actions.c']]],
['ofpat_5fraw11_5fgroup',['OFPAT_RAW11_GROUP',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a25468a6620558eeaee5879594a1a7a60',1,'ofp-actions.c']]],
['ofpat_5fraw11_5foutput',['OFPAT_RAW11_OUTPUT',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86abe2bc20cbd08a53ad00eb3a8223745db',1,'ofp-actions.c']]],
['ofpat_5fraw11_5fpop_5fvlan',['OFPAT_RAW11_POP_VLAN',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a6358156841847c19c02abd56c3b7c7af',1,'ofp-actions.c']]],
['ofpat_5fraw11_5fpush_5fvlan',['OFPAT_RAW11_PUSH_VLAN',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a0c02314fac5fbea6db901f54d2b97b2e',1,'ofp-actions.c']]],
['ofpat_5fraw11_5fset_5fnw_5fecn',['OFPAT_RAW11_SET_NW_ECN',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a973d445804eb857da8f669d260c307ef',1,'ofp-actions.c']]],
['ofpat_5fraw11_5fset_5fnw_5fttl',['OFPAT_RAW11_SET_NW_TTL',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86ad70088a5929894033b7eab9c16f5af76',1,'ofp-actions.c']]],
['ofpat_5fraw11_5fset_5fvlan_5fpcp',['OFPAT_RAW11_SET_VLAN_PCP',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a1913a76cf4f7dbb46f610e6e1e6a1245',1,'ofp-actions.c']]],
['ofpat_5fraw11_5fset_5fvlan_5fvid',['OFPAT_RAW11_SET_VLAN_VID',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86ada31f9e9b0e153e9f6c98eb57fa14ec2',1,'ofp-actions.c']]],
['ofpat_5fraw12_5fset_5ffield',['OFPAT_RAW12_SET_FIELD',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a6a6571f3d4528396b9378ae7f44343bd',1,'ofp-actions.c']]],
['ofpat_5fraw15_5fcopy_5ffield',['OFPAT_RAW15_COPY_FIELD',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a52480f2e582c4f838aad68663e0d7a63',1,'ofp-actions.c']]],
['ofpat_5fraw15_5fset_5ffield',['OFPAT_RAW15_SET_FIELD',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a931d2f9e628e489a6209039d4f959706',1,'ofp-actions.c']]],
['ofpat_5fraw_5fdec_5fmpls_5fttl',['OFPAT_RAW_DEC_MPLS_TTL',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a62ccfafbd142d526551c636139390095',1,'ofp-actions.c']]],
['ofpat_5fraw_5fdec_5fnw_5fttl',['OFPAT_RAW_DEC_NW_TTL',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86ab93ca33c9069d23457109ee379e7be1b',1,'ofp-actions.c']]],
['ofpat_5fraw_5fpop_5fmpls',['OFPAT_RAW_POP_MPLS',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86afbb65e78cebaf0605fb7f0ae0c56e4cb',1,'ofp-actions.c']]],
['ofpat_5fraw_5fpush_5fmpls',['OFPAT_RAW_PUSH_MPLS',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a2ab8e01377655a4014df55f23bbad635',1,'ofp-actions.c']]],
['ofpat_5fraw_5fset_5fdl_5fdst',['OFPAT_RAW_SET_DL_DST',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a97d0a4f2a1a4452d6e781e08e5f1cfb8',1,'ofp-actions.c']]],
['ofpat_5fraw_5fset_5fdl_5fsrc',['OFPAT_RAW_SET_DL_SRC',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a4ed5353aa72e3e648984bd1a03649658',1,'ofp-actions.c']]],
['ofpat_5fraw_5fset_5fmpls_5flabel',['OFPAT_RAW_SET_MPLS_LABEL',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a5c8202842b9b451e297a0067bcb30d5e',1,'ofp-actions.c']]],
['ofpat_5fraw_5fset_5fmpls_5ftc',['OFPAT_RAW_SET_MPLS_TC',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86ac5957203c1f4aede1da65bf5c2cf4910',1,'ofp-actions.c']]],
['ofpat_5fraw_5fset_5fmpls_5fttl',['OFPAT_RAW_SET_MPLS_TTL',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86ae5f38c5817180f244a76961248f30122',1,'ofp-actions.c']]],
['ofpat_5fraw_5fset_5fnw_5fdst',['OFPAT_RAW_SET_NW_DST',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a50645ac0c75e734c00657ce74569c151',1,'ofp-actions.c']]],
['ofpat_5fraw_5fset_5fnw_5fsrc',['OFPAT_RAW_SET_NW_SRC',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86ac1b626062e9e00b2c3f6a3be93a73480',1,'ofp-actions.c']]],
['ofpat_5fraw_5fset_5fnw_5ftos',['OFPAT_RAW_SET_NW_TOS',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a0be9746e116e593f3ba3333e78b08ca8',1,'ofp-actions.c']]],
['ofpat_5fraw_5fset_5fqueue',['OFPAT_RAW_SET_QUEUE',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a40d1218454f2fe15e2b7b94838404ef0',1,'ofp-actions.c']]],
['ofpat_5fraw_5fset_5ftp_5fdst',['OFPAT_RAW_SET_TP_DST',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86ad9c105f9e8d594b7b04cf63b76314175',1,'ofp-actions.c']]],
['ofpat_5fraw_5fset_5ftp_5fsrc',['OFPAT_RAW_SET_TP_SRC',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86ac596e0d464ff7e0c7ed4b835535880c5',1,'ofp-actions.c']]],
['ofpbct_5fclose_5freply',['OFPBCT_CLOSE_REPLY',['../openflow-1_84_8h.html#a5048e50087785c04d82195657b0c3349a32e4775c0fa542f4d7afdfc7468276c6',1,'openflow-1.4.h']]],
['ofpbct_5fclose_5frequest',['OFPBCT_CLOSE_REQUEST',['../openflow-1_84_8h.html#a5048e50087785c04d82195657b0c3349a572c1c843eadaaedbd981e3397815863',1,'openflow-1.4.h']]],
['ofpbct_5fcommit_5freply',['OFPBCT_COMMIT_REPLY',['../openflow-1_84_8h.html#a5048e50087785c04d82195657b0c3349acd358005e38b7455d90949367a50aca0',1,'openflow-1.4.h']]],
['ofpbct_5fcommit_5frequest',['OFPBCT_COMMIT_REQUEST',['../openflow-1_84_8h.html#a5048e50087785c04d82195657b0c3349a14a11f3d4de86e026fed9b41b1b96273',1,'openflow-1.4.h']]],
['ofpbct_5fdiscard_5freply',['OFPBCT_DISCARD_REPLY',['../openflow-1_84_8h.html#a5048e50087785c04d82195657b0c3349aa0fb74cdc8b68fee71759562abf1ac16',1,'openflow-1.4.h']]],
['ofpbct_5fdiscard_5frequest',['OFPBCT_DISCARD_REQUEST',['../openflow-1_84_8h.html#a5048e50087785c04d82195657b0c3349a5808b08f191e1eb80311677353be2ec1',1,'openflow-1.4.h']]],
['ofpbct_5fopen_5freply',['OFPBCT_OPEN_REPLY',['../openflow-1_84_8h.html#a5048e50087785c04d82195657b0c3349a48e73ced514c058f0a574a8f6129adf0',1,'openflow-1.4.h']]],
['ofpbct_5fopen_5frequest',['OFPBCT_OPEN_REQUEST',['../openflow-1_84_8h.html#a5048e50087785c04d82195657b0c3349a00732e85396b39db39056d4b3723b501',1,'openflow-1.4.h']]],
['ofpbf_5fatomic',['OFPBF_ATOMIC',['../openflow-1_84_8h.html#a29500230271379ff6c8294ae6796497ca39c12b15a6c4bb8cf6363e052ecda93e',1,'openflow-1.4.h']]],
['ofpbf_5fordered',['OFPBF_ORDERED',['../openflow-1_84_8h.html#a29500230271379ff6c8294ae6796497ca975b97b7754f43b69631855251b77325',1,'openflow-1.4.h']]],
['ofpc10_5freserved',['OFPC10_RESERVED',['../openflow-1_80_8h.html#a07428375daf53bfe237e06cb5fa13d9da14eaa1e5122bef9edc09379cc46da591',1,'openflow-1.0.h']]],
['ofpc10_5fstp',['OFPC10_STP',['../openflow-1_80_8h.html#a07428375daf53bfe237e06cb5fa13d9dad052187ad5b293f1d4b5c5967760fdc8',1,'openflow-1.0.h']]],
['ofpc11_5fgroup_5fstats',['OFPC11_GROUP_STATS',['../openflow-1_81_8h.html#a997309602941c3d757095473693ce4d1a466525118a5e11a464cff37c71df5cc8',1,'openflow-1.1.h']]],
['ofpc12_5fport_5fblocked',['OFPC12_PORT_BLOCKED',['../openflow-1_82_8h.html#ac2f4660def95462a855c4a2a55601266a7a4f518f9e2c38fb44e7536094f33385',1,'openflow-1.2.h']]],
['ofpc_5farp_5fmatch_5fip',['OFPC_ARP_MATCH_IP',['../openflow-common_8h.html#a1740996225178b4327b8b18221f2e918aafe7b64ab0182945ee76e126d783d3db',1,'openflow-common.h']]],
['ofpc_5fflow_5fstats',['OFPC_FLOW_STATS',['../openflow-common_8h.html#a1740996225178b4327b8b18221f2e918a24863a3d01a13fbe45b7579c6aefe9f1',1,'openflow-common.h']]],
['ofpc_5ffrag_5fdrop',['OFPC_FRAG_DROP',['../openflow-common_8h.html#a96d4c59602fa123d4a2a40200a65438ea023b0bfb219285130a5db58f08d7087d',1,'openflow-common.h']]],
['ofpc_5ffrag_5fmask',['OFPC_FRAG_MASK',['../openflow-common_8h.html#a96d4c59602fa123d4a2a40200a65438ea6ba8107383d28d9a32abb2ae93a35117',1,'openflow-common.h']]],
['ofpc_5ffrag_5fnormal',['OFPC_FRAG_NORMAL',['../openflow-common_8h.html#a96d4c59602fa123d4a2a40200a65438eabf214b86bbe1fe8c6d8f510ce4410ceb',1,'openflow-common.h']]],
['ofpc_5ffrag_5fnx_5fmatch',['OFPC_FRAG_NX_MATCH',['../openflow-common_8h.html#a96d4c59602fa123d4a2a40200a65438ea0137445efdd78e0026c4f918bea0e4ef',1,'openflow-common.h']]],
['ofpc_5ffrag_5freasm',['OFPC_FRAG_REASM',['../openflow-common_8h.html#a96d4c59602fa123d4a2a40200a65438ea9ad31b1bdf6264064367be2656c92d24',1,'openflow-common.h']]],
['ofpc_5finvalid_5fttl_5fto_5fcontroller',['OFPC_INVALID_TTL_TO_CONTROLLER',['../openflow-common_8h.html#a96d4c59602fa123d4a2a40200a65438eaa0d8abbadf36f768e488bd06876e2430',1,'openflow-common.h']]],
['ofpc_5fip_5freasm',['OFPC_IP_REASM',['../openflow-common_8h.html#a1740996225178b4327b8b18221f2e918a2adcebc81fdf41a0872f951d13d26ff1',1,'openflow-common.h']]],
['ofpc_5fport_5fstats',['OFPC_PORT_STATS',['../openflow-common_8h.html#a1740996225178b4327b8b18221f2e918a9d0e640ca304d926ffc3009ead69460e',1,'openflow-common.h']]],
['ofpc_5fqueue_5fstats',['OFPC_QUEUE_STATS',['../openflow-common_8h.html#a1740996225178b4327b8b18221f2e918a0c1cbd3ac21cdfa3270e260a77a00721',1,'openflow-common.h']]],
['ofpc_5ftable_5fstats',['OFPC_TABLE_STATS',['../openflow-common_8h.html#a1740996225178b4327b8b18221f2e918a22c813de98dd4d024362058c28846f3d',1,'openflow-common.h']]],
['ofpcml12_5fmax',['OFPCML12_MAX',['../openflow-1_82_8h.html#a1aa7bc07810567c97914b9adefa88410ad7b46cbd292193122d11beb3e50779f5',1,'openflow-1.2.h']]],
['ofpcml12_5fno_5fbuffer',['OFPCML12_NO_BUFFER',['../openflow-1_82_8h.html#a1aa7bc07810567c97914b9adefa88410ad274f74ef4865acbbe28d91f9cf5c254',1,'openflow-1.2.h']]],
['ofpcr12_5frole_5fequal',['OFPCR12_ROLE_EQUAL',['../openflow-1_82_8h.html#a01ce04cf4b080dbf9026ddbd281aefaaa857b0153ddfa17cd9497018b6d1359c2',1,'openflow-1.2.h']]],
['ofpcr12_5frole_5fmaster',['OFPCR12_ROLE_MASTER',['../openflow-1_82_8h.html#a01ce04cf4b080dbf9026ddbd281aefaaab952427983f80ee1d6707f9e9e08e395',1,'openflow-1.2.h']]],
['ofpcr12_5frole_5fnochange',['OFPCR12_ROLE_NOCHANGE',['../openflow-1_82_8h.html#a01ce04cf4b080dbf9026ddbd281aefaaa5fe13cf30bc8d4bda5b76616dcf914df',1,'openflow-1.2.h']]],
['ofpcr12_5frole_5fslave',['OFPCR12_ROLE_SLAVE',['../openflow-1_82_8h.html#a01ce04cf4b080dbf9026ddbd281aefaaafaf2b565873ca2aa344197d0bd2be667',1,'openflow-1.2.h']]],
['ofpcrr_5fconfig',['OFPCRR_CONFIG',['../openflow-1_84_8h.html#a0db3ad9880f8d6d2f977d0aece433b27a17046f1357c961513180b9c4f617c9a2',1,'openflow-1.4.h']]],
['ofpcrr_5fexperimenter',['OFPCRR_EXPERIMENTER',['../openflow-1_84_8h.html#a0db3ad9880f8d6d2f977d0aece433b27a0f6985283c4d22e3d2d867c53997c15b',1,'openflow-1.4.h']]],
['ofpcrr_5fmaster_5frequest',['OFPCRR_MASTER_REQUEST',['../openflow-1_84_8h.html#a0db3ad9880f8d6d2f977d0aece433b27a3ec5ec17e75a193881346403bb1fac41',1,'openflow-1.4.h']]],
['ofperr_5fnxbac_5fbad_5fconjunction',['OFPERR_NXBAC_BAD_CONJUNCTION',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a7cb15a5897bdc6ed42d30c15ee67955b',1,'ofp-errors.h']]],
['ofperr_5fnxbac_5fmust_5fbe_5fzero',['OFPERR_NXBAC_MUST_BE_ZERO',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a5dc55550c0398b21d7c84a20121b58a4',1,'ofp-errors.h']]],
['ofperr_5fnxbfc_5fbad_5fversion',['OFPERR_NXBFC_BAD_VERSION',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a34515c93864ec9b5e5a2478889a6c372',1,'ofp-errors.h']]],
['ofperr_5fnxbrc_5fbad_5freason',['OFPERR_NXBRC_BAD_REASON',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a4729bff4775ff0558e5988d360cc4a1d',1,'ofp-errors.h']]],
['ofperr_5fnxbrc_5ffm_5fbad_5fevent',['OFPERR_NXBRC_FM_BAD_EVENT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a754306d3fe772255f74170c9376824b2',1,'ofp-errors.h']]],
['ofperr_5fnxbrc_5fmust_5fbe_5fzero',['OFPERR_NXBRC_MUST_BE_ZERO',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a4952c011c5394019ca5dab3ccfaa99c6',1,'ofp-errors.h']]],
['ofperr_5fnxbrc_5fnxm_5fbad_5ftype',['OFPERR_NXBRC_NXM_BAD_TYPE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a66be2c85585ec36783fd0db5d32bb8d8',1,'ofp-errors.h']]],
['ofperr_5fnxbrc_5fnxm_5finvalid',['OFPERR_NXBRC_NXM_INVALID',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8af8556b078a861ee3b8102a5e5b038a2d',1,'ofp-errors.h']]],
['ofperr_5fnxbrc_5funencodable_5ferror',['OFPERR_NXBRC_UNENCODABLE_ERROR',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a876fe70cd8b65ae6cebf304e9b22cab8',1,'ofp-errors.h']]],
['ofperr_5fnxfmfc_5fbad_5ftable_5fid',['OFPERR_NXFMFC_BAD_TABLE_ID',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ad4d0da2cf1b21b7c8e6ca6c54a065920',1,'ofp-errors.h']]],
['ofperr_5fnxfmfc_5fhardware',['OFPERR_NXFMFC_HARDWARE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a31fe51d2c9ac141996cb853753b4bfe6',1,'ofp-errors.h']]],
['ofperr_5fnxgtmfc_5falready_5fmapped',['OFPERR_NXGTMFC_ALREADY_MAPPED',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a5d60ddefa2ec0e2f1ba256f4012293aa',1,'ofp-errors.h']]],
['ofperr_5fnxgtmfc_5fbad_5fcommand',['OFPERR_NXGTMFC_BAD_COMMAND',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a352a39b26387c583ff06ef7bb22eb7be',1,'ofp-errors.h']]],
['ofperr_5fnxgtmfc_5fbad_5ffield_5fidx',['OFPERR_NXGTMFC_BAD_FIELD_IDX',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a8df42c09153ba8fc518a1cae8cec0529',1,'ofp-errors.h']]],
['ofperr_5fnxgtmfc_5fbad_5fopt_5flen',['OFPERR_NXGTMFC_BAD_OPT_LEN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8acf466288615f93db5e3f8ed05ac5123c',1,'ofp-errors.h']]],
['ofperr_5fnxgtmfc_5fdup_5fentry',['OFPERR_NXGTMFC_DUP_ENTRY',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8afc72509a7009b52deb2c2a61b2791f72',1,'ofp-errors.h']]],
['ofperr_5fnxgtmfc_5ftable_5ffull',['OFPERR_NXGTMFC_TABLE_FULL',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a7a40135b5e46d17a20daf52f92838ddf',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fbad_5fargument',['OFPERR_OFPBAC_BAD_ARGUMENT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ae0e84a0b423fd379d88572ac69c4560d',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fbad_5flen',['OFPERR_OFPBAC_BAD_LEN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a48f21ebfa21c730e6d5a8443cef48600',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fbad_5fout_5fgroup',['OFPERR_OFPBAC_BAD_OUT_GROUP',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a9045845838e7e74c6d7fa1cef56365f0',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fbad_5fout_5fport',['OFPERR_OFPBAC_BAD_OUT_PORT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a9514c0b8dec6470b9f2d04e2c4b123eb',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fbad_5fqueue',['OFPERR_OFPBAC_BAD_QUEUE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aa15855d8cc1af0dcb1acbe859847ef5d',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fbad_5fset_5fargument',['OFPERR_OFPBAC_BAD_SET_ARGUMENT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a670a9364a8d282f78eee143e5227ff34',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fbad_5fset_5flen',['OFPERR_OFPBAC_BAD_SET_LEN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a5eb480cf3a5ee6efb7e8c06e89fb846b',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fbad_5fset_5fmask',['OFPERR_OFPBAC_BAD_SET_MASK',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a278fbcc8ba55d5d8183aaa6456ef5207',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fbad_5fset_5ftype',['OFPERR_OFPBAC_BAD_SET_TYPE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aff8df2417572ae3a8c920ea6b841b1e1',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fbad_5ftag',['OFPERR_OFPBAC_BAD_TAG',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a7c1d4311ed7f9b6b4da51973dc58c5f2',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fbad_5ftype',['OFPERR_OFPBAC_BAD_TYPE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a70b6e6d5a185cfe4684ec97b0d369eea',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fbad_5fvendor',['OFPERR_OFPBAC_BAD_VENDOR',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a6a1fe5852f6d2b5eefab9f3d21b86bad',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fbad_5fvendor_5ftype',['OFPERR_OFPBAC_BAD_VENDOR_TYPE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8af48c05390e19ecf73e048cdb0ae9abc3',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5feperm',['OFPERR_OFPBAC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a04d1fadd3f2194a8e065063604defcd0',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5fmatch_5finconsistent',['OFPERR_OFPBAC_MATCH_INCONSISTENT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a349d0109061eae89941c75d9af362a42',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5ftoo_5fmany',['OFPERR_OFPBAC_TOO_MANY',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a16471412b179ff2decaed7313dcda096',1,'ofp-errors.h']]],
['ofperr_5fofpbac_5funsupported_5forder',['OFPERR_OFPBAC_UNSUPPORTED_ORDER',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a78c6d3163963afafcfe4d78aeb881f6c',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5fbad_5fflags',['OFPERR_OFPBFC_BAD_FLAGS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a75ca8c58b52000bed15addc2120f0e04',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5fbad_5fid',['OFPERR_OFPBFC_BAD_ID',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aef513c733c8eeb90739a5282a7468331',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5fbad_5ftype',['OFPERR_OFPBFC_BAD_TYPE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a06b92a5b65b3be906305d5add3c20e4a',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5fbundle_5fclosed',['OFPERR_OFPBFC_BUNDLE_CLOSED',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a8df4b36d2e71afa33c0200bbf949a1d7',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5fbundle_5fexist',['OFPERR_OFPBFC_BUNDLE_EXIST',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a96abc5f5fe4faf427a1e9787dfd0461d',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5fbundle_5fin_5fprogress',['OFPERR_OFPBFC_BUNDLE_IN_PROGRESS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a8d5f4ee72c5d4620f88b293e1dcfcd40',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5feperm',['OFPERR_OFPBFC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a48e4f463e815e291225fdff3bd4f307d',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5fmsg_5fbad_5flen',['OFPERR_OFPBFC_MSG_BAD_LEN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a399e75da43e2b76be7e72a811290ef1b',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5fmsg_5fbad_5fxid',['OFPERR_OFPBFC_MSG_BAD_XID',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aab7855b78f65866fa0d265f3877510a0',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5fmsg_5fconflict',['OFPERR_OFPBFC_MSG_CONFLICT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a0150e9df079630f97deca751484165ce',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5fmsg_5ffailed',['OFPERR_OFPBFC_MSG_FAILED',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a71f07b2cfc0644a2495a7b0503549ccb',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5fmsg_5ftoo_5fmany',['OFPERR_OFPBFC_MSG_TOO_MANY',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a419a1d3c0998420227960cf90ff150cc',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5fmsg_5funsup',['OFPERR_OFPBFC_MSG_UNSUP',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a5850302e4fe86fe950421665754fb80b',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5fout_5fof_5fbundles',['OFPERR_OFPBFC_OUT_OF_BUNDLES',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8adf14889bce63c19016f1ab3c42434394',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5ftimeout',['OFPERR_OFPBFC_TIMEOUT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ab677d4b07aec090a055627d99bc374a9',1,'ofp-errors.h']]],
['ofperr_5fofpbfc_5funknown',['OFPERR_OFPBFC_UNKNOWN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8afafaad227071fded4bf6b88de639a070',1,'ofp-errors.h']]],
['ofperr_5fofpbic_5fbad_5fexp_5ftype',['OFPERR_OFPBIC_BAD_EXP_TYPE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ae71190f2537c7cbc229d0c93c37e7eb3',1,'ofp-errors.h']]],
['ofperr_5fofpbic_5fbad_5fexperimenter',['OFPERR_OFPBIC_BAD_EXPERIMENTER',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a19da85c50a620ae837415f1b14112f03',1,'ofp-errors.h']]],
['ofperr_5fofpbic_5fbad_5flen',['OFPERR_OFPBIC_BAD_LEN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ad272efcdac74f7edcbfe9f9bd184bcf0',1,'ofp-errors.h']]],
['ofperr_5fofpbic_5fbad_5ftable_5fid',['OFPERR_OFPBIC_BAD_TABLE_ID',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a01cef15e97a9cfb8ea2efe80b203f6a0',1,'ofp-errors.h']]],
['ofperr_5fofpbic_5fdup_5finst',['OFPERR_OFPBIC_DUP_INST',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a9aa4d6e7a034fb920a167957d4b5c6a5',1,'ofp-errors.h']]],
['ofperr_5fofpbic_5feperm',['OFPERR_OFPBIC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a07c10cd305065820fbf7b960248dec6a',1,'ofp-errors.h']]],
['ofperr_5fofpbic_5funknown_5finst',['OFPERR_OFPBIC_UNKNOWN_INST',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a3df589e94777746ddd5169c9ee1a5c74',1,'ofp-errors.h']]],
['ofperr_5fofpbic_5funsup_5finst',['OFPERR_OFPBIC_UNSUP_INST',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a2b9164a3afada81d997e979cfe161367',1,'ofp-errors.h']]],
['ofperr_5fofpbic_5funsup_5fmetadata',['OFPERR_OFPBIC_UNSUP_METADATA',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a7aeb341bdc28a06de857e73e04539326',1,'ofp-errors.h']]],
['ofperr_5fofpbic_5funsup_5fmetadata_5fmask',['OFPERR_OFPBIC_UNSUP_METADATA_MASK',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a70b0ba905d29a52cd1d5d57e1d9adf8f',1,'ofp-errors.h']]],
['ofperr_5fofpbmc_5fbad_5fdl_5faddr_5fmask',['OFPERR_OFPBMC_BAD_DL_ADDR_MASK',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a63a88f8ac8c4b4b6d1775f1046f343b1',1,'ofp-errors.h']]],
['ofperr_5fofpbmc_5fbad_5ffield',['OFPERR_OFPBMC_BAD_FIELD',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a9da6d27307f9e490d47ffcb3b30503da',1,'ofp-errors.h']]],
['ofperr_5fofpbmc_5fbad_5flen',['OFPERR_OFPBMC_BAD_LEN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aa260178cd196a4c6dd2046db7a84a7d2',1,'ofp-errors.h']]],
['ofperr_5fofpbmc_5fbad_5fmask',['OFPERR_OFPBMC_BAD_MASK',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a0fe001a9337940d029e03bd09a8ce9b2',1,'ofp-errors.h']]],
['ofperr_5fofpbmc_5fbad_5fnw_5faddr_5fmask',['OFPERR_OFPBMC_BAD_NW_ADDR_MASK',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a784186f86bf1fc017e2ec153d13f26d1',1,'ofp-errors.h']]],
['ofperr_5fofpbmc_5fbad_5fprereq',['OFPERR_OFPBMC_BAD_PREREQ',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a816c6cfeabb5afc29e41aa5fe28bf196',1,'ofp-errors.h']]],
['ofperr_5fofpbmc_5fbad_5ftag',['OFPERR_OFPBMC_BAD_TAG',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8af8217646cb9fe944209c3556f6bd18a4',1,'ofp-errors.h']]],
['ofperr_5fofpbmc_5fbad_5ftype',['OFPERR_OFPBMC_BAD_TYPE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a974b564595c388543024f77cfa716065',1,'ofp-errors.h']]],
['ofperr_5fofpbmc_5fbad_5fvalue',['OFPERR_OFPBMC_BAD_VALUE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a8780fba38b28fdbe2ec6945d716bab53',1,'ofp-errors.h']]],
['ofperr_5fofpbmc_5fbad_5fwildcards',['OFPERR_OFPBMC_BAD_WILDCARDS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a133d13aa29e0b2b531a31227fcd1480d',1,'ofp-errors.h']]],
['ofperr_5fofpbmc_5fdup_5ffield',['OFPERR_OFPBMC_DUP_FIELD',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a2fe8f18423b71edda9b68c9e5cdfeb13',1,'ofp-errors.h']]],
['ofperr_5fofpbmc_5feperm',['OFPERR_OFPBMC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aac274ab26f76804548d1fa9056aee8de',1,'ofp-errors.h']]],
['ofperr_5fofpbpc_5fbad_5fexp_5ftype',['OFPERR_OFPBPC_BAD_EXP_TYPE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a3cb06213c1bb7a04162aa3b9ae58ec4c',1,'ofp-errors.h']]],
['ofperr_5fofpbpc_5fbad_5fexp_5fvalue',['OFPERR_OFPBPC_BAD_EXP_VALUE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a755e6f2cd0b8cc9ec9f0be062e24aa20',1,'ofp-errors.h']]],
['ofperr_5fofpbpc_5fbad_5fexperimenter',['OFPERR_OFPBPC_BAD_EXPERIMENTER',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a0bb0403efd0da02362de34485dfbd3ae',1,'ofp-errors.h']]],
['ofperr_5fofpbpc_5fbad_5flen',['OFPERR_OFPBPC_BAD_LEN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a18d8ea5c2e4f13f0f268e381b7034630',1,'ofp-errors.h']]],
['ofperr_5fofpbpc_5fbad_5ftype',['OFPERR_OFPBPC_BAD_TYPE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8af4517f707ce602f78b84a46a90b76eb9',1,'ofp-errors.h']]],
['ofperr_5fofpbpc_5fbad_5fvalue',['OFPERR_OFPBPC_BAD_VALUE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ac7930585963212892d6dcf813906dca9',1,'ofp-errors.h']]],
['ofperr_5fofpbpc_5fdup_5ftype',['OFPERR_OFPBPC_DUP_TYPE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a4a1fe2000eee46e2687854c4358d68aa',1,'ofp-errors.h']]],
['ofperr_5fofpbpc_5feperm',['OFPERR_OFPBPC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ae635127b27af1fa080fdb70a67630746',1,'ofp-errors.h']]],
['ofperr_5fofpbpc_5ftoo_5fmany',['OFPERR_OFPBPC_TOO_MANY',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ad0e7cde242dd180b2ed7e33245cb6894',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5fbad_5flen',['OFPERR_OFPBRC_BAD_LEN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ac6957e73ca55cd351d2c6e6ea4dbac7a',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5fbad_5fpacket',['OFPERR_OFPBRC_BAD_PACKET',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ac82e909fcb03e182d48218158fdd0b97',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5fbad_5fport',['OFPERR_OFPBRC_BAD_PORT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a927b03ea2feed57ff6348eb8599fb04a',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5fbad_5fstat',['OFPERR_OFPBRC_BAD_STAT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a1215b322fd1608a7888666048f84977b',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5fbad_5fsubtype',['OFPERR_OFPBRC_BAD_SUBTYPE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ae8c3bcd6520f05ee26dcc56254387523',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5fbad_5ftable_5fid',['OFPERR_OFPBRC_BAD_TABLE_ID',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a2aa1fa3495e53020afdc19c6d54e45fa',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5fbad_5ftype',['OFPERR_OFPBRC_BAD_TYPE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a01000e4c1b47b69be522d0e6a57d7a63',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5fbad_5fvendor',['OFPERR_OFPBRC_BAD_VENDOR',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aa166b27f2d6339b67707e4cf7d82db8e',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5fbad_5fversion',['OFPERR_OFPBRC_BAD_VERSION',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8abfa79e186bb5bee02914f043e5b88f45',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5fbuffer_5fempty',['OFPERR_OFPBRC_BUFFER_EMPTY',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8adce99a4c6bf8f00fe2dea0a3c90a53bd',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5fbuffer_5funknown',['OFPERR_OFPBRC_BUFFER_UNKNOWN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a727b4932cc128292ed725d78959db314',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5feperm',['OFPERR_OFPBRC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8adeb4838948ea463b163d1cab2ab038c2',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5fis_5fslave',['OFPERR_OFPBRC_IS_SLAVE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a7e634986cea445c980e87b2f29d91d35',1,'ofp-errors.h']]],
['ofperr_5fofpbrc_5fmultipart_5fbuffer_5foverflow',['OFPERR_OFPBRC_MULTIPART_BUFFER_OVERFLOW',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aa24f1fc3fe4ce8a3fc91ab9c9895654e',1,'ofp-errors.h']]],
['ofperr_5fofpfmfc_5fbad_5fcommand',['OFPERR_OFPFMFC_BAD_COMMAND',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a59143fce3618e3b5bed3a7fee96d2d3a',1,'ofp-errors.h']]],
['ofperr_5fofpfmfc_5fbad_5femerg_5ftimeout',['OFPERR_OFPFMFC_BAD_EMERG_TIMEOUT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a9eb4b0f8a4f97b7ef86f2b9e007bd5e1',1,'ofp-errors.h']]],
['ofperr_5fofpfmfc_5fbad_5fflags',['OFPERR_OFPFMFC_BAD_FLAGS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a66510ae949a0d33f14723576c019d34b',1,'ofp-errors.h']]],
['ofperr_5fofpfmfc_5fbad_5ftable_5fid',['OFPERR_OFPFMFC_BAD_TABLE_ID',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aaac26027d450e9f7e6f6f09e91d69804',1,'ofp-errors.h']]],
['ofperr_5fofpfmfc_5fbad_5ftimeout',['OFPERR_OFPFMFC_BAD_TIMEOUT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8af8822f796414fd356ac51e5e10209e9b',1,'ofp-errors.h']]],
['ofperr_5fofpfmfc_5feperm',['OFPERR_OFPFMFC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a3179d229110c297c8c5d8a30c0a668cd',1,'ofp-errors.h']]],
['ofperr_5fofpfmfc_5foverlap',['OFPERR_OFPFMFC_OVERLAP',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ab7f11a37a26ec5cbf1955d0a91f719da',1,'ofp-errors.h']]],
['ofperr_5fofpfmfc_5ftable_5ffull',['OFPERR_OFPFMFC_TABLE_FULL',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a2d942070f1bb01355e78a11cae5b6baa',1,'ofp-errors.h']]],
['ofperr_5fofpfmfc_5funknown',['OFPERR_OFPFMFC_UNKNOWN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a3e2c81d2c9532efcbdb1b5b98c364d4f',1,'ofp-errors.h']]],
['ofperr_5fofpfmfc_5funsupported',['OFPERR_OFPFMFC_UNSUPPORTED',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8acddf565ff8b3bfe3359d2da8801fc950',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5fbad_5fbucket',['OFPERR_OFPGMFC_BAD_BUCKET',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a45e43a8cdec8a129392a5c91e1a1f205',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5fbad_5fcommand',['OFPERR_OFPGMFC_BAD_COMMAND',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a748954c8f44b0d097321a3faf9d7a1dc',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5fbad_5ftype',['OFPERR_OFPGMFC_BAD_TYPE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a6ffb9923542896e51212209a33040a00',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5fbad_5fwatch',['OFPERR_OFPGMFC_BAD_WATCH',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a1a1374a41a7666fd1fd30289afd1bffe',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5fbucket_5fexists',['OFPERR_OFPGMFC_BUCKET_EXISTS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a8553b061753389c4cd745d72409242f9',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5fchained_5fgroup',['OFPERR_OFPGMFC_CHAINED_GROUP',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a74dce7a28705b6391186b2cd722594e9',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5fchaining_5funsupported',['OFPERR_OFPGMFC_CHAINING_UNSUPPORTED',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8addd3c5696b3f12373661aab20e8c5a59',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5feperm',['OFPERR_OFPGMFC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a176434ac2857d51569e524ed09219a28',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5fgroup_5fexists',['OFPERR_OFPGMFC_GROUP_EXISTS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a6574913cafff4ffe2e6b712e628f18c4',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5finvalid_5fgroup',['OFPERR_OFPGMFC_INVALID_GROUP',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aece8301321fe3bbda4f680d1e702f098',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5floop',['OFPERR_OFPGMFC_LOOP',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a83fe8da4174ceca61800ee485350f477',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5fout_5fof_5fbuckets',['OFPERR_OFPGMFC_OUT_OF_BUCKETS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ada36aedbd2d062aaed43b94ac143ccd7',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5fout_5fof_5fgroups',['OFPERR_OFPGMFC_OUT_OF_GROUPS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a5a4da123059eb7030fe32f3ca2ae4f54',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5funknown_5fbucket',['OFPERR_OFPGMFC_UNKNOWN_BUCKET',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a9d3e27b2e77bbcb9158058698604dd5d',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5funknown_5fgroup',['OFPERR_OFPGMFC_UNKNOWN_GROUP',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a5491a09a74827e86ef45cb5474f70346',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5fwatch_5funsupported',['OFPERR_OFPGMFC_WATCH_UNSUPPORTED',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8abd4568a41f85470482a1a2b7bd997575',1,'ofp-errors.h']]],
['ofperr_5fofpgmfc_5fweight_5funsupported',['OFPERR_OFPGMFC_WEIGHT_UNSUPPORTED',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ad8877295dcaf97ae5dfe7a03d41ce50a',1,'ofp-errors.h']]],
['ofperr_5fofphfc_5feperm',['OFPERR_OFPHFC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a9cd58eeb39e90900bd7c14ac8c0b78dc',1,'ofp-errors.h']]],
['ofperr_5fofphfc_5fincompatible',['OFPERR_OFPHFC_INCOMPATIBLE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a2eb2985e6a4357893cc8c5a12c336889',1,'ofp-errors.h']]],
['ofperr_5fofpmmfc_5fbad_5fband',['OFPERR_OFPMMFC_BAD_BAND',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a477255b25d2b08eedb6d2037a8314d7f',1,'ofp-errors.h']]],
['ofperr_5fofpmmfc_5fbad_5fband_5fvalue',['OFPERR_OFPMMFC_BAD_BAND_VALUE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8adf3a05b216fdffa6b81a5f46937d60ba',1,'ofp-errors.h']]],
['ofperr_5fofpmmfc_5fbad_5fburst',['OFPERR_OFPMMFC_BAD_BURST',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a1614e0fa367bb591295cbdae1ee4bc5b',1,'ofp-errors.h']]],
['ofperr_5fofpmmfc_5fbad_5fcommand',['OFPERR_OFPMMFC_BAD_COMMAND',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a3578b4996c99e5ee0cfc6380251ed259',1,'ofp-errors.h']]],
['ofperr_5fofpmmfc_5fbad_5fflags',['OFPERR_OFPMMFC_BAD_FLAGS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a8867b937333a22f9301f03ec1a4cd076',1,'ofp-errors.h']]],
['ofperr_5fofpmmfc_5fbad_5frate',['OFPERR_OFPMMFC_BAD_RATE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a35c473400428deec1a299f28ea724068',1,'ofp-errors.h']]],
['ofperr_5fofpmmfc_5finvalid_5fmeter',['OFPERR_OFPMMFC_INVALID_METER',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a6e3386530b7db219ed05b424d4d10d81',1,'ofp-errors.h']]],
['ofperr_5fofpmmfc_5fmeter_5fexists',['OFPERR_OFPMMFC_METER_EXISTS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a4e8006d501d319ebe0c6efa1f14e4021',1,'ofp-errors.h']]],
['ofperr_5fofpmmfc_5fout_5fof_5fbands',['OFPERR_OFPMMFC_OUT_OF_BANDS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8af5a4f8ef7bedeb5b8d308339079f0386',1,'ofp-errors.h']]],
['ofperr_5fofpmmfc_5fout_5fof_5fmeters',['OFPERR_OFPMMFC_OUT_OF_METERS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a58293beb73a7685588dc86657286af74',1,'ofp-errors.h']]],
['ofperr_5fofpmmfc_5funknown',['OFPERR_OFPMMFC_UNKNOWN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aac622dd9565ba18e3b8d70f59c654f9a',1,'ofp-errors.h']]],
['ofperr_5fofpmmfc_5funknown_5fmeter',['OFPERR_OFPMMFC_UNKNOWN_METER',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a3a605435f8e8eb64d669c07b36114de8',1,'ofp-errors.h']]],
['ofperr_5fofpmofc_5fbad_5fcommand',['OFPERR_OFPMOFC_BAD_COMMAND',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8abad85b993651aeeab188580e486ea538',1,'ofp-errors.h']]],
['ofperr_5fofpmofc_5fbad_5fflags',['OFPERR_OFPMOFC_BAD_FLAGS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a40fcbeb43a59f0fb5ae26ef18513de5b',1,'ofp-errors.h']]],
['ofperr_5fofpmofc_5fbad_5fout',['OFPERR_OFPMOFC_BAD_OUT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aa2f4d9d104bd3b61d8a97b6342e54370',1,'ofp-errors.h']]],
['ofperr_5fofpmofc_5fbad_5ftable_5fid',['OFPERR_OFPMOFC_BAD_TABLE_ID',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ae7784adbd5ef3c52cb40ac5c29d20534',1,'ofp-errors.h']]],
['ofperr_5fofpmofc_5finvalid_5fmonitor',['OFPERR_OFPMOFC_INVALID_MONITOR',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a00f7021c2d283f3fc1391a57bb06c225',1,'ofp-errors.h']]],
['ofperr_5fofpmofc_5fmonitor_5fexists',['OFPERR_OFPMOFC_MONITOR_EXISTS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ac291b59f74baef8d5f91002839eeb776',1,'ofp-errors.h']]],
['ofperr_5fofpmofc_5funknown',['OFPERR_OFPMOFC_UNKNOWN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aab6f7bffc79aeb716c5d71493319b6b5',1,'ofp-errors.h']]],
['ofperr_5fofpmofc_5funknown_5fmonitor',['OFPERR_OFPMOFC_UNKNOWN_MONITOR',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8adfea4ec846e9e07b51857430713b0da0',1,'ofp-errors.h']]],
['ofperr_5fofppmfc_5fbad_5fadvertise',['OFPERR_OFPPMFC_BAD_ADVERTISE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a083bc122c7d017cf3c6a0035a709ab0b',1,'ofp-errors.h']]],
['ofperr_5fofppmfc_5fbad_5fconfig',['OFPERR_OFPPMFC_BAD_CONFIG',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ab05c4c47d681cd4da20f2bf12956f216',1,'ofp-errors.h']]],
['ofperr_5fofppmfc_5fbad_5fhw_5faddr',['OFPERR_OFPPMFC_BAD_HW_ADDR',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a8c81bad15cb675c2d51c4e595cd85f30',1,'ofp-errors.h']]],
['ofperr_5fofppmfc_5fbad_5fport',['OFPERR_OFPPMFC_BAD_PORT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ad57aec7818fc43fa6ced0a601bd39c69',1,'ofp-errors.h']]],
['ofperr_5fofppmfc_5feperm',['OFPERR_OFPPMFC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a69e68bfb482f78e3a410522ba0e6b0eb',1,'ofp-errors.h']]],
['ofperr_5fofpqofc_5fbad_5fport',['OFPERR_OFPQOFC_BAD_PORT',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a00e8f7bb5495c8178e2b5d43eccc38ca',1,'ofp-errors.h']]],
['ofperr_5fofpqofc_5fbad_5fqueue',['OFPERR_OFPQOFC_BAD_QUEUE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a2ba3b2d4a9e2346526f2e501f4a09883',1,'ofp-errors.h']]],
['ofperr_5fofpqofc_5feperm',['OFPERR_OFPQOFC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aec4d465886298f064dede6146eda41f5',1,'ofp-errors.h']]],
['ofperr_5fofprrfc_5fbad_5frole',['OFPERR_OFPRRFC_BAD_ROLE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a357d5f58001cbd05b3c011c10a0b3897',1,'ofp-errors.h']]],
['ofperr_5fofprrfc_5fstale',['OFPERR_OFPRRFC_STALE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8acac458fc9c1758cf448c2ae793d0444a',1,'ofp-errors.h']]],
['ofperr_5fofprrfc_5funsup',['OFPERR_OFPRRFC_UNSUP',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a8bb2d8002647955afe1c33ddec3bc23f',1,'ofp-errors.h']]],
['ofperr_5fofpscfc_5fbad_5fflags',['OFPERR_OFPSCFC_BAD_FLAGS',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aa71b390212bd4cd1afad3c60f91002b0',1,'ofp-errors.h']]],
['ofperr_5fofpscfc_5fbad_5flen',['OFPERR_OFPSCFC_BAD_LEN',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8ae6620e7d0feb04ed8e3fde9591932651',1,'ofp-errors.h']]],
['ofperr_5fofpscfc_5feperm',['OFPERR_OFPSCFC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a355ea4716469f4c236ecea6638484d5e',1,'ofp-errors.h']]],
['ofperr_5fofptffc_5fbad_5fmetadata',['OFPERR_OFPTFFC_BAD_METADATA',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a4ddccacf13f0c891acbebab79957500d',1,'ofp-errors.h']]],
['ofperr_5fofptffc_5fbad_5ftable',['OFPERR_OFPTFFC_BAD_TABLE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a1dcdebb6aed0b2f8a41ee561b4ea3000',1,'ofp-errors.h']]],
['ofperr_5fofptffc_5feperm',['OFPERR_OFPTFFC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a0246690ef1cdde00490e018876f996bb',1,'ofp-errors.h']]],
['ofperr_5fofptmfc_5fbad_5fconfig',['OFPERR_OFPTMFC_BAD_CONFIG',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8a1cb50f88d25c6c9243503e031ce9b62c',1,'ofp-errors.h']]],
['ofperr_5fofptmfc_5fbad_5ftable',['OFPERR_OFPTMFC_BAD_TABLE',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8aa941a798e61040855376e1e7b12df870',1,'ofp-errors.h']]],
['ofperr_5fofptmfc_5feperm',['OFPERR_OFPTMFC_EPERM',['../ofp-errors_8h.html#a8c2bee872b8f73623758e5399a4288d8afcc7539c8620a68864264f64d0de6a8f',1,'ofp-errors.h']]],
['ofpfc_5fadd',['OFPFC_ADD',['../openflow-common_8h.html#ade4802f475f67af8f51ea8481fc4a01fa9ce068bbf3202b49017d5029010cd07c',1,'openflow-common.h']]],
['ofpfc_5fdelete',['OFPFC_DELETE',['../openflow-common_8h.html#ade4802f475f67af8f51ea8481fc4a01fa2e7bbc283fc52ecd2b9648aa16ffdd17',1,'openflow-common.h']]],
['ofpfc_5fdelete_5fstrict',['OFPFC_DELETE_STRICT',['../openflow-common_8h.html#ade4802f475f67af8f51ea8481fc4a01fa52f6cc423a08f0d2ff1862a16cd9e458',1,'openflow-common.h']]],
['ofpfc_5fmodify',['OFPFC_MODIFY',['../openflow-common_8h.html#ade4802f475f67af8f51ea8481fc4a01faca3334c826c0af3c22435028b45f54fe',1,'openflow-common.h']]],
['ofpfc_5fmodify_5fstrict',['OFPFC_MODIFY_STRICT',['../openflow-common_8h.html#ade4802f475f67af8f51ea8481fc4a01fa496dfbe0dd6fc70abdd8ade0e6cc75d3',1,'openflow-common.h']]],
['ofpff10_5femerg',['OFPFF10_EMERG',['../openflow-1_80_8h.html#a6be3af389e19cbeef44414d5abba6c9ca68f5c70a827059fb6f220c78ae1daff1',1,'openflow-1.0.h']]],
['ofpff12_5freset_5fcounts',['OFPFF12_RESET_COUNTS',['../openflow-1_82_8h.html#aa34b6f0f1f39e4cab068cfe33e2382d3a5fca7dfb99419d50e6025d48a0114b6d',1,'openflow-1.2.h']]],
['ofpff13_5fno_5fbyt_5fcounts',['OFPFF13_NO_BYT_COUNTS',['../openflow-1_83_8h.html#af30c24ecc105a26ed2cb2659e57d781cab58125780c715263558f4ec0970352a6',1,'openflow-1.3.h']]],
['ofpff13_5fno_5fpkt_5fcounts',['OFPFF13_NO_PKT_COUNTS',['../openflow-1_83_8h.html#af30c24ecc105a26ed2cb2659e57d781caa9795abdce9b04cc554fbe97701d765c',1,'openflow-1.3.h']]],
['ofpff_5fcheck_5foverlap',['OFPFF_CHECK_OVERLAP',['../openflow-common_8h.html#ae66a0eccb6fd9d40ff4587be58bb8d4da8325fefe6b8653030ddeefa4d24f21bf',1,'openflow-common.h']]],
['ofpff_5fsend_5fflow_5frem',['OFPFF_SEND_FLOW_REM',['../openflow-common_8h.html#ae66a0eccb6fd9d40ff4587be58bb8d4dad4995e3e13705cdc5b1aba3c06691b8b',1,'openflow-common.h']]],
['ofpfmc14_5fadd',['OFPFMC14_ADD',['../openflow-1_84_8h.html#a2df2f62c654f48ae530328d3c59d3a07a04d96d3878e9a917e22ed3a0847ef010',1,'openflow-1.4.h']]],
['ofpfmc14_5fdelete',['OFPFMC14_DELETE',['../openflow-1_84_8h.html#a2df2f62c654f48ae530328d3c59d3a07a6e6d2a12b714b9fa59a4f2c9eed0c91e',1,'openflow-1.4.h']]],
['ofpfmc14_5fmodify',['OFPFMC14_MODIFY',['../openflow-1_84_8h.html#a2df2f62c654f48ae530328d3c59d3a07ac5494f36517a540f8fabbf7a3fc03b93',1,'openflow-1.4.h']]],
['ofpfmf11_5fdl_5fdst',['OFPFMF11_DL_DST',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4ab4463e5c000b8f91954b6da9f365a56e',1,'openflow-1.1.h']]],
['ofpfmf11_5fdl_5fsrc',['OFPFMF11_DL_SRC',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4ad531e7c80c0d2d48755ca6b6e43b66bc',1,'openflow-1.1.h']]],
['ofpfmf11_5fdl_5ftype',['OFPFMF11_DL_TYPE',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4a41cfaf11463b9dd87d7f70b1552de923',1,'openflow-1.1.h']]],
['ofpfmf11_5fdl_5fvlan',['OFPFMF11_DL_VLAN',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4acd6db8ba68cdccf8b02598c3128b45b5',1,'openflow-1.1.h']]],
['ofpfmf11_5fdl_5fvlan_5fpcp',['OFPFMF11_DL_VLAN_PCP',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4aaa3b68b485a4c9e51407994b2b654b6a',1,'openflow-1.1.h']]],
['ofpfmf11_5fin_5fport',['OFPFMF11_IN_PORT',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4a3ab4ccb797631c7889601af700118185',1,'openflow-1.1.h']]],
['ofpfmf11_5fmetadata',['OFPFMF11_METADATA',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4a731cf890b1e5bd78a80c1deba495851a',1,'openflow-1.1.h']]],
['ofpfmf11_5fmpls_5flabel',['OFPFMF11_MPLS_LABEL',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4ab1f826bd4edcc7ce24ac403bcb88659c',1,'openflow-1.1.h']]],
['ofpfmf11_5fmpls_5ftc',['OFPFMF11_MPLS_TC',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4a90d4be578d6d9caf5222fcd488610dbc',1,'openflow-1.1.h']]],
['ofpfmf11_5fnw_5fdst',['OFPFMF11_NW_DST',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4a2901157d42bcd46d0543f13d911fb2e8',1,'openflow-1.1.h']]],
['ofpfmf11_5fnw_5fproto',['OFPFMF11_NW_PROTO',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4a801964ec1c214b94e0c4b72f5f7ec379',1,'openflow-1.1.h']]],
['ofpfmf11_5fnw_5fsrc',['OFPFMF11_NW_SRC',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4a41ad7e71b2c6390209d3f14eb8e8cdae',1,'openflow-1.1.h']]],
['ofpfmf11_5fnw_5ftos',['OFPFMF11_NW_TOS',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4ac4abe500771d94454b1e00a07dac4876',1,'openflow-1.1.h']]],
['ofpfmf11_5ftp_5fdst',['OFPFMF11_TP_DST',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4a2e83cebe53c76888dd829d64e248b8cd',1,'openflow-1.1.h']]],
['ofpfmf11_5ftp_5fsrc',['OFPFMF11_TP_SRC',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4a1bdd6e42c64bbfaa768c49c48a520e27',1,'openflow-1.1.h']]],
['ofpfmf11_5ftype',['OFPFMF11_TYPE',['../openflow-1_81_8h.html#ac37d22f0f7b9ff16dfa0eccbabccc2e4a01b22edff96a8e6667302fe21d20dfc5',1,'openflow-1.1.h']]],
['ofpfmf14_5fadd',['OFPFMF14_ADD',['../openflow-1_84_8h.html#a2aada0a42b030fbaaca472456bd2eac6a751dfc2561293b182e0dbe6a262c987f',1,'openflow-1.4.h']]],
['ofpfmf14_5finitial',['OFPFMF14_INITIAL',['../openflow-1_84_8h.html#a2aada0a42b030fbaaca472456bd2eac6aa800b2ba49a6c956efc0b8eb45fad14f',1,'openflow-1.4.h']]],
['ofpfmf14_5finstructions',['OFPFMF14_INSTRUCTIONS',['../openflow-1_84_8h.html#a2aada0a42b030fbaaca472456bd2eac6a7c2ea63dd6af46acf032d654cb8ac626',1,'openflow-1.4.h']]],
['ofpfmf14_5fmodify',['OFPFMF14_MODIFY',['../openflow-1_84_8h.html#a2aada0a42b030fbaaca472456bd2eac6a34d650b34e952b6d3690d5cbd7b49b25',1,'openflow-1.4.h']]],
['ofpfmf14_5fno_5fabbrev',['OFPFMF14_NO_ABBREV',['../openflow-1_84_8h.html#a2aada0a42b030fbaaca472456bd2eac6a198ff8deda52219e3439f19888f0f995',1,'openflow-1.4.h']]],
['ofpfmf14_5fonly_5fown',['OFPFMF14_ONLY_OWN',['../openflow-1_84_8h.html#a2aada0a42b030fbaaca472456bd2eac6a21a1616c996cc9bb4ff677806c5ccb42',1,'openflow-1.4.h']]],
['ofpfmf14_5fremoved',['OFPFMF14_REMOVED',['../openflow-1_84_8h.html#a2aada0a42b030fbaaca472456bd2eac6ad0b78e90753ae62427a824e0d76c1c1a',1,'openflow-1.4.h']]],
['ofpfw10_5fall',['OFPFW10_ALL',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85a730c5d1098caec716f4cc9614cf62886',1,'openflow-1.0.h']]],
['ofpfw10_5fdl_5fdst',['OFPFW10_DL_DST',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85a3ef2e406c6789e45d982f230b50d7b1c',1,'openflow-1.0.h']]],
['ofpfw10_5fdl_5fsrc',['OFPFW10_DL_SRC',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85a4a673549f354e3725afe6702334c45e5',1,'openflow-1.0.h']]],
['ofpfw10_5fdl_5ftype',['OFPFW10_DL_TYPE',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85a29cb63ee99161087d0655e14fad8e96f',1,'openflow-1.0.h']]],
['ofpfw10_5fdl_5fvlan',['OFPFW10_DL_VLAN',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85aaf836f7cb2616d81a1894fe9926ba921',1,'openflow-1.0.h']]],
['ofpfw10_5fdl_5fvlan_5fpcp',['OFPFW10_DL_VLAN_PCP',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85a5c98dea1130675d5eebc601cfb41b055',1,'openflow-1.0.h']]],
['ofpfw10_5fin_5fport',['OFPFW10_IN_PORT',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85ac6f30e7eac037b1ec1dc68ac8b414cdf',1,'openflow-1.0.h']]],
['ofpfw10_5fnw_5fdst_5fall',['OFPFW10_NW_DST_ALL',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85aadcd9b08af8325f8d3e220ab9e2bb180',1,'openflow-1.0.h']]],
['ofpfw10_5fnw_5fdst_5fbits',['OFPFW10_NW_DST_BITS',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85a024be3fa4d203e4a72a53819ebee2351',1,'openflow-1.0.h']]],
['ofpfw10_5fnw_5fdst_5fmask',['OFPFW10_NW_DST_MASK',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85a40a95e45c9b4af16faa76cad03f97be7',1,'openflow-1.0.h']]],
['ofpfw10_5fnw_5fdst_5fshift',['OFPFW10_NW_DST_SHIFT',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85aaf1e80622ca14f672754164cc46e03be',1,'openflow-1.0.h']]],
['ofpfw10_5fnw_5fproto',['OFPFW10_NW_PROTO',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85a3ed771b6ab41ffb15949773d6b8d07ce',1,'openflow-1.0.h']]],
['ofpfw10_5fnw_5fsrc_5fall',['OFPFW10_NW_SRC_ALL',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85a1454dab3e2c1efcd51729386928b9645',1,'openflow-1.0.h']]],
['ofpfw10_5fnw_5fsrc_5fbits',['OFPFW10_NW_SRC_BITS',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85af1e46e3dc99a575e093ff0718a4c1645',1,'openflow-1.0.h']]],
['ofpfw10_5fnw_5fsrc_5fmask',['OFPFW10_NW_SRC_MASK',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85a0f27757d491490da36c86194aeee5180',1,'openflow-1.0.h']]],
['ofpfw10_5fnw_5fsrc_5fshift',['OFPFW10_NW_SRC_SHIFT',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85ab3ac8bb279ec627e523204d717cd7798',1,'openflow-1.0.h']]],
['ofpfw10_5fnw_5ftos',['OFPFW10_NW_TOS',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85a0fd28e4da66d237abd0b188797d0d271',1,'openflow-1.0.h']]],
['ofpfw10_5ftp_5fdst',['OFPFW10_TP_DST',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85ad798caa7a317b8eefa555aa249a87e6d',1,'openflow-1.0.h']]],
['ofpfw10_5ftp_5fsrc',['OFPFW10_TP_SRC',['../openflow-1_80_8h.html#a673d5e170f5e27a64017fac2c747fb85a12f0df7cd827b5b6bf39cc4da289f893',1,'openflow-1.0.h']]],
['ofpfw11_5fall',['OFPFW11_ALL',['../openflow-1_81_8h.html#a1206354a46fc39f61c709c1772edfe32ad7daa9c334d9a7dcec70d8813bdb5d7e',1,'openflow-1.1.h']]],
['ofpfw11_5fdl_5ftype',['OFPFW11_DL_TYPE',['../openflow-1_81_8h.html#a1206354a46fc39f61c709c1772edfe32adac0f476ae3e82861c6c3b21d4df6f2a',1,'openflow-1.1.h']]],
['ofpfw11_5fdl_5fvlan',['OFPFW11_DL_VLAN',['../openflow-1_81_8h.html#a1206354a46fc39f61c709c1772edfe32a326cbd379d3ca6b44a68cc62cf955fed',1,'openflow-1.1.h']]],
['ofpfw11_5fdl_5fvlan_5fpcp',['OFPFW11_DL_VLAN_PCP',['../openflow-1_81_8h.html#a1206354a46fc39f61c709c1772edfe32adf00e1ec0206724cfad624bc41d36e13',1,'openflow-1.1.h']]],
['ofpfw11_5fin_5fport',['OFPFW11_IN_PORT',['../openflow-1_81_8h.html#a1206354a46fc39f61c709c1772edfe32a3f6ea724ce9104f125d78710a86a2e4c',1,'openflow-1.1.h']]],
['ofpfw11_5fmpls_5flabel',['OFPFW11_MPLS_LABEL',['../openflow-1_81_8h.html#a1206354a46fc39f61c709c1772edfe32a70a06b1a80f0031901d0aa7a98745396',1,'openflow-1.1.h']]],
['ofpfw11_5fmpls_5ftc',['OFPFW11_MPLS_TC',['../openflow-1_81_8h.html#a1206354a46fc39f61c709c1772edfe32acb2a4e641d706d2c978dce2d66811ef4',1,'openflow-1.1.h']]],
['ofpfw11_5fnw_5fproto',['OFPFW11_NW_PROTO',['../openflow-1_81_8h.html#a1206354a46fc39f61c709c1772edfe32ad2650e862b1619c9aeee7bc92a6b5d13',1,'openflow-1.1.h']]],
['ofpfw11_5fnw_5ftos',['OFPFW11_NW_TOS',['../openflow-1_81_8h.html#a1206354a46fc39f61c709c1772edfe32a8abceff8a8e04a2a20458a153ded660a',1,'openflow-1.1.h']]],
['ofpfw11_5ftp_5fdst',['OFPFW11_TP_DST',['../openflow-1_81_8h.html#a1206354a46fc39f61c709c1772edfe32a503427d63f572ec0e0d5f351ddfc71b0',1,'openflow-1.1.h']]],
['ofpfw11_5ftp_5fsrc',['OFPFW11_TP_SRC',['../openflow-1_81_8h.html#a1206354a46fc39f61c709c1772edfe32a12485f9412ab08d05cd2c59e67cb4033',1,'openflow-1.1.h']]],
['ofpg11_5fall',['OFPG11_ALL',['../openflow-1_81_8h.html#aaf0a792642dbc45cccf1ae922e415b32a0d93696c7e6dcc8d2f4b0a7000757316',1,'openflow-1.1.h']]],
['ofpg11_5fany',['OFPG11_ANY',['../openflow-1_81_8h.html#aaf0a792642dbc45cccf1ae922e415b32a25980cd7ec86d5816f7fee49716ab99a',1,'openflow-1.1.h']]],
['ofpg11_5fmax',['OFPG11_MAX',['../openflow-1_81_8h.html#aaf0a792642dbc45cccf1ae922e415b32a13b4c5d86b8b74628d0a65a0fe65fd0d',1,'openflow-1.1.h']]],
['ofpg15_5fbucket_5fall',['OFPG15_BUCKET_ALL',['../openflow-1_85_8h.html#a5b49b5111a676f6c62c79db1b985bd4faa877edc98d353f2da5ec84daf4d31f24',1,'openflow-1.5.h']]],
['ofpg15_5fbucket_5ffirst',['OFPG15_BUCKET_FIRST',['../openflow-1_85_8h.html#a5b49b5111a676f6c62c79db1b985bd4fae289d19c8ff5f96d7928b5b2cd45ba57',1,'openflow-1.5.h']]],
['ofpg15_5fbucket_5flast',['OFPG15_BUCKET_LAST',['../openflow-1_85_8h.html#a5b49b5111a676f6c62c79db1b985bd4fa7025d023d3837434587d1d473aae2a60',1,'openflow-1.5.h']]],
['ofpg15_5fbucket_5fmax',['OFPG15_BUCKET_MAX',['../openflow-1_85_8h.html#a5b49b5111a676f6c62c79db1b985bd4fa66ec47879e1b6f57db621d12c5cff9dc',1,'openflow-1.5.h']]],
['ofpg_5fall',['OFPG_ALL',['../openflow-common_8h.html#af3e96b44e348f3f87eae901118653c9fa8af22da07186598ca0c399b36737661b',1,'openflow-common.h']]],
['ofpg_5fany',['OFPG_ANY',['../openflow-common_8h.html#af3e96b44e348f3f87eae901118653c9fae5e8e9d9a4f7c5fe77030f5203620c62',1,'openflow-common.h']]],
['ofpg_5fmax',['OFPG_MAX',['../openflow-common_8h.html#af3e96b44e348f3f87eae901118653c9fad2c7cfb21c80eeaca4cdf865e3b207ee',1,'openflow-common.h']]],
['ofpgbpt15_5fexperimenter',['OFPGBPT15_EXPERIMENTER',['../openflow-1_85_8h.html#a098699f5d7f3454115624f6748ae63e1a8c4250cea5232cde51f532a0510ae7ff',1,'openflow-1.5.h']]],
['ofpgbpt15_5fwatch_5fgroup',['OFPGBPT15_WATCH_GROUP',['../openflow-1_85_8h.html#a098699f5d7f3454115624f6748ae63e1ab3bfa00000d8a6b2abe6ac585b2c02cf',1,'openflow-1.5.h']]],
['ofpgbpt15_5fwatch_5fport',['OFPGBPT15_WATCH_PORT',['../openflow-1_85_8h.html#a098699f5d7f3454115624f6748ae63e1abae65452d57679fbf3105ab4e4a2cbca',1,'openflow-1.5.h']]],
['ofpgbpt15_5fweight',['OFPGBPT15_WEIGHT',['../openflow-1_85_8h.html#a098699f5d7f3454115624f6748ae63e1a0fad57a38c0eb1781fce5d7865622791',1,'openflow-1.5.h']]],
['ofpgc11_5fadd',['OFPGC11_ADD',['../openflow-1_81_8h.html#a906cfc6c4e8349f2a901263ef8bebb5eac1174057dbf31dcba7ba75306490e7c1',1,'openflow-1.1.h']]],
['ofpgc11_5fdelete',['OFPGC11_DELETE',['../openflow-1_81_8h.html#a906cfc6c4e8349f2a901263ef8bebb5ea14e6542b805a6f6db45266f7496a0d44',1,'openflow-1.1.h']]],
['ofpgc11_5fmodify',['OFPGC11_MODIFY',['../openflow-1_81_8h.html#a906cfc6c4e8349f2a901263ef8bebb5ea1f2eecd3fce6c00a38418c0abff5542a',1,'openflow-1.1.h']]],
['ofpgc15_5fadd',['OFPGC15_ADD',['../openflow-1_85_8h.html#a101a38a46b99eb62dfe97b0003e974e3aecc61ecced93e7a7d505d07374380ad2',1,'openflow-1.5.h']]],
['ofpgc15_5fdelete',['OFPGC15_DELETE',['../openflow-1_85_8h.html#a101a38a46b99eb62dfe97b0003e974e3afef56a3a8cc64a39424589efd94a31e8',1,'openflow-1.5.h']]],
['ofpgc15_5finsert_5fbucket',['OFPGC15_INSERT_BUCKET',['../openflow-1_85_8h.html#a101a38a46b99eb62dfe97b0003e974e3a89da25dd3dd0572a22f305c937ce0253',1,'openflow-1.5.h']]],
['ofpgc15_5fmodify',['OFPGC15_MODIFY',['../openflow-1_85_8h.html#a101a38a46b99eb62dfe97b0003e974e3a22f7785bbf6b9244fb4640ff1678d0d3',1,'openflow-1.5.h']]],
['ofpgc15_5fremove_5fbucket',['OFPGC15_REMOVE_BUCKET',['../openflow-1_85_8h.html#a101a38a46b99eb62dfe97b0003e974e3a070e9fb8b9546b63cc5bfa76d5e017bd',1,'openflow-1.5.h']]],
['ofpgfc12_5fchaining',['OFPGFC12_CHAINING',['../openflow-1_82_8h.html#acaf17f72cf38a4ada873d547fe821e99a8a961fb38d40b3f54669d7315e375915',1,'openflow-1.2.h']]],
['ofpgfc12_5fchaining_5fchecks',['OFPGFC12_CHAINING_CHECKS',['../openflow-1_82_8h.html#acaf17f72cf38a4ada873d547fe821e99a2892b89d7fe47ea6d3da8ac8fd685b3c',1,'openflow-1.2.h']]],
['ofpgfc12_5fselect_5fliveness',['OFPGFC12_SELECT_LIVENESS',['../openflow-1_82_8h.html#acaf17f72cf38a4ada873d547fe821e99a8862c0195dd6f73c01c30e944cebcd08',1,'openflow-1.2.h']]],
['ofpgfc12_5fselect_5fweight',['OFPGFC12_SELECT_WEIGHT',['../openflow-1_82_8h.html#acaf17f72cf38a4ada873d547fe821e99a275f6303794e7b8930383fe69bb7627c',1,'openflow-1.2.h']]],
['ofpgfc_5fchaining',['OFPGFC_CHAINING',['../openflow-common_8h.html#aa6f510b5a67eabe05774a853f6183349a449ca34893fe78516d60dd5febe8b6a9',1,'openflow-common.h']]],
['ofpgfc_5fchaining_5fchecks',['OFPGFC_CHAINING_CHECKS',['../openflow-common_8h.html#aa6f510b5a67eabe05774a853f6183349aa74a6450acce4676554aac9ecf8c885a',1,'openflow-common.h']]],
['ofpgfc_5fselect_5fliveness',['OFPGFC_SELECT_LIVENESS',['../openflow-common_8h.html#aa6f510b5a67eabe05774a853f6183349ae9f6f1d2dc5cca5794b82665838c2c6a',1,'openflow-common.h']]],
['ofpgfc_5fselect_5fweight',['OFPGFC_SELECT_WEIGHT',['../openflow-common_8h.html#aa6f510b5a67eabe05774a853f6183349ad09e697cc88cc7ca834e684baf97535f',1,'openflow-common.h']]],
['ofpgpt15_5fexperimenter',['OFPGPT15_EXPERIMENTER',['../openflow-1_85_8h.html#aae9d999e1b8045d413eed16c957039c2a5d0e39c6809b1d762c0ccc295122f37b',1,'openflow-1.5.h']]],
['ofpgt11_5fall',['OFPGT11_ALL',['../openflow-1_81_8h.html#ada39f36adc98b0ae2443caaf04763497a4371c56c1daee18f831dee20b594c6a1',1,'openflow-1.1.h']]],
['ofpgt11_5fff',['OFPGT11_FF',['../openflow-1_81_8h.html#ada39f36adc98b0ae2443caaf04763497ae7aaec788fa6f5fcde99d616c187c4a8',1,'openflow-1.1.h']]],
['ofpgt11_5findirect',['OFPGT11_INDIRECT',['../openflow-1_81_8h.html#ada39f36adc98b0ae2443caaf04763497a33a4fcafdc41958d1baab5552cc54e2a',1,'openflow-1.1.h']]],
['ofpgt11_5fselect',['OFPGT11_SELECT',['../openflow-1_81_8h.html#ada39f36adc98b0ae2443caaf04763497a9a70f9ef759514163bbc69c347ab1462',1,'openflow-1.1.h']]],
['ofphet_5fversionbitmap',['OFPHET_VERSIONBITMAP',['../openflow-common_8h.html#aa5d07b194e3521759f3ed76a822863b5a9ea699e1eb44b2b693237c76006d07be',1,'openflow-common.h']]],
['ofpieh12_5fauth',['OFPIEH12_AUTH',['../openflow-1_82_8h.html#ab433717ad25294861440e1bcb1be09b5ac070b36b2baa0ce5bdaf0f9f9f697f0f',1,'openflow-1.2.h']]],
['ofpieh12_5fdest',['OFPIEH12_DEST',['../openflow-1_82_8h.html#ab433717ad25294861440e1bcb1be09b5a970f304ea4c4714201335fe5e08db637',1,'openflow-1.2.h']]],
['ofpieh12_5fesp',['OFPIEH12_ESP',['../openflow-1_82_8h.html#ab433717ad25294861440e1bcb1be09b5aa51f7c6871c3b66d5442a835c2f80634',1,'openflow-1.2.h']]],
['ofpieh12_5ffrag',['OFPIEH12_FRAG',['../openflow-1_82_8h.html#ab433717ad25294861440e1bcb1be09b5ac6f49d61ccda06bf8276d3734ea15861',1,'openflow-1.2.h']]],
['ofpieh12_5fhop',['OFPIEH12_HOP',['../openflow-1_82_8h.html#ab433717ad25294861440e1bcb1be09b5a90f39c4231e5400c641438b55eefe39d',1,'openflow-1.2.h']]],
['ofpieh12_5fnonext',['OFPIEH12_NONEXT',['../openflow-1_82_8h.html#ab433717ad25294861440e1bcb1be09b5ab659722c04aad5c8df54ea0f84daa103',1,'openflow-1.2.h']]],
['ofpieh12_5frouter',['OFPIEH12_ROUTER',['../openflow-1_82_8h.html#ab433717ad25294861440e1bcb1be09b5a5b45ca4e33ada713ea7c6121a49531b8',1,'openflow-1.2.h']]],
['ofpieh12_5funrep',['OFPIEH12_UNREP',['../openflow-1_82_8h.html#ab433717ad25294861440e1bcb1be09b5a60ad4e338149f5a5251f2dbd5ac42d1a',1,'openflow-1.2.h']]],
['ofpieh12_5funseq',['OFPIEH12_UNSEQ',['../openflow-1_82_8h.html#ab433717ad25294861440e1bcb1be09b5a39d87931406276022ccee78e7228df6d',1,'openflow-1.2.h']]],
['ofpit11_5fapply_5factions',['OFPIT11_APPLY_ACTIONS',['../openflow-1_81_8h.html#a70dc23bfba535804cd586568fd4dfbffac01d0011a348dbb11fa42f9ba20ad4d3',1,'openflow-1.1.h']]],
['ofpit11_5fclear_5factions',['OFPIT11_CLEAR_ACTIONS',['../openflow-1_81_8h.html#a70dc23bfba535804cd586568fd4dfbffa7d4977b1e3c5a5ae488ecc5732e3c624',1,'openflow-1.1.h']]],
['ofpit11_5fexperimenter',['OFPIT11_EXPERIMENTER',['../openflow-1_81_8h.html#a70dc23bfba535804cd586568fd4dfbffa24d55a583bd86171e22c284da55c79db',1,'openflow-1.1.h']]],
['ofpit11_5fgoto_5ftable',['OFPIT11_GOTO_TABLE',['../openflow-1_81_8h.html#a70dc23bfba535804cd586568fd4dfbffab7928275a29ad3daa359c1cded39f660',1,'openflow-1.1.h']]],
['ofpit11_5fwrite_5factions',['OFPIT11_WRITE_ACTIONS',['../openflow-1_81_8h.html#a70dc23bfba535804cd586568fd4dfbffa87bd2d9e8d067b666fdd8c7fba4ad457',1,'openflow-1.1.h']]],
['ofpit11_5fwrite_5fmetadata',['OFPIT11_WRITE_METADATA',['../openflow-1_81_8h.html#a70dc23bfba535804cd586568fd4dfbffaf48c239db0aa5c503e9aa941434b10cb',1,'openflow-1.1.h']]],
['ofpit13_5fmeter',['OFPIT13_METER',['../openflow-1_83_8h.html#a18b88f7a9e315fbe64111dc16c4e49feaba773f3f11098770000f0c19635f34d4',1,'openflow-1.3.h']]],
['ofpm13_5fall',['OFPM13_ALL',['../openflow-1_83_8h.html#ade52210ba46a0a340adc91bb06c4e70da7384a254745fb3d55cf4c08ab6f8e4f7',1,'openflow-1.3.h']]],
['ofpm13_5fcontroller',['OFPM13_CONTROLLER',['../openflow-1_83_8h.html#ade52210ba46a0a340adc91bb06c4e70da5e9d49abe43456c3d8de165643c41e81',1,'openflow-1.3.h']]],
['ofpm13_5fmax',['OFPM13_MAX',['../openflow-1_83_8h.html#ade52210ba46a0a340adc91bb06c4e70da7161ae31aad69cd17bf12f6ddb2d7037',1,'openflow-1.3.h']]],
['ofpm13_5fslowpath',['OFPM13_SLOWPATH',['../openflow-1_83_8h.html#ade52210ba46a0a340adc91bb06c4e70daaaeca2a33d4cd34f5b7a436f5b8ec6e0',1,'openflow-1.3.h']]],
['ofpmbt13_5fdrop',['OFPMBT13_DROP',['../openflow-1_83_8h.html#a1f1f6e3af67051bbf008eb185eaf7cdaadf0bcf2a28bc6405f1db37d1cfea130f',1,'openflow-1.3.h']]],
['ofpmbt13_5fdscp_5fremark',['OFPMBT13_DSCP_REMARK',['../openflow-1_83_8h.html#a1f1f6e3af67051bbf008eb185eaf7cdaab231ff0e3047124fee285e1ed868f675',1,'openflow-1.3.h']]],
['ofpmbt13_5fexperimenter',['OFPMBT13_EXPERIMENTER',['../openflow-1_83_8h.html#a1f1f6e3af67051bbf008eb185eaf7cdaa03867723db54efb9c812e47262443d40',1,'openflow-1.3.h']]],
['ofpmc13_5fadd',['OFPMC13_ADD',['../openflow-1_83_8h.html#a134ab11994a7a5ea17e305594c7c53d4a0140f6f1d3f845888a2160986d8402c4',1,'openflow-1.3.h']]],
['ofpmc13_5fdelete',['OFPMC13_DELETE',['../openflow-1_83_8h.html#a134ab11994a7a5ea17e305594c7c53d4a253f8158fcaee2c11f592bb3227598e1',1,'openflow-1.3.h']]],
['ofpmc13_5fmodify',['OFPMC13_MODIFY',['../openflow-1_83_8h.html#a134ab11994a7a5ea17e305594c7c53d4ae3ec9399d0676d2fbf7e76706a99c411',1,'openflow-1.3.h']]],
['ofpmf13_5fburst',['OFPMF13_BURST',['../openflow-1_83_8h.html#a2ccacd4eb629fa0dcf749213f77df343acf05a916a9f6110a108d1bd03a2e1cc3',1,'openflow-1.3.h']]],
['ofpmf13_5fkbps',['OFPMF13_KBPS',['../openflow-1_83_8h.html#a2ccacd4eb629fa0dcf749213f77df343af8f6a446c2c2a4d55fd94ccd86a37e36',1,'openflow-1.3.h']]],
['ofpmf13_5fpktps',['OFPMF13_PKTPS',['../openflow-1_83_8h.html#a2ccacd4eb629fa0dcf749213f77df343acb3caf2d15528a8eaf601722a2b1748b',1,'openflow-1.3.h']]],
['ofpmf13_5fstats',['OFPMF13_STATS',['../openflow-1_83_8h.html#a2ccacd4eb629fa0dcf749213f77df343a53af99fb84ed44888ee13215a004b82a',1,'openflow-1.3.h']]],
['ofpmpf13_5freq_5fmore',['OFPMPF13_REQ_MORE',['../openflow-1_83_8h.html#a17781310f501aa8a2815c36bd7b16c5eabb269000d25bf371f3365c9706a98504',1,'openflow-1.3.h']]],
['ofpmt_5foxm',['OFPMT_OXM',['../openflow-common_8h.html#a7d7be92811e6eac6832e53b47080410ea0133f1c02cb65f62361a5847fc1da763',1,'openflow-common.h']]],
['ofpmt_5fstandard',['OFPMT_STANDARD',['../openflow-common_8h.html#a7d7be92811e6eac6832e53b47080410eafbe418b41bccae3a39669b2c14014764',1,'openflow-common.h']]],
['ofppc10_5fno_5fflood',['OFPPC10_NO_FLOOD',['../openflow-1_80_8h.html#a503db4b3cbb376fb90beb8c309268b84a9286e32a55d26aa34a221ee42d98b8c3',1,'openflow-1.0.h']]],
['ofppc10_5fno_5frecv_5fstp',['OFPPC10_NO_RECV_STP',['../openflow-1_80_8h.html#a503db4b3cbb376fb90beb8c309268b84a2813f3149793537bc9a74a124a10fd2a',1,'openflow-1.0.h']]],
['ofppc10_5fno_5fstp',['OFPPC10_NO_STP',['../openflow-1_80_8h.html#a503db4b3cbb376fb90beb8c309268b84ab4b54d3a99c29bdaa7a5a5a97ffab994',1,'openflow-1.0.h']]],
['ofppc_5fno_5ffwd',['OFPPC_NO_FWD',['../openflow-common_8h.html#a8bb0db8e83e8ab8cdd28d47ad74184b2a26941f160169b6a667fce7f06f78ceb5',1,'openflow-common.h']]],
['ofppc_5fno_5fpacket_5fin',['OFPPC_NO_PACKET_IN',['../openflow-common_8h.html#a8bb0db8e83e8ab8cdd28d47ad74184b2ad88ac191921910935e9295461dbb6b60',1,'openflow-common.h']]],
['ofppc_5fno_5frecv',['OFPPC_NO_RECV',['../openflow-common_8h.html#a8bb0db8e83e8ab8cdd28d47ad74184b2a9900ede4b31101534495e157a84ecd8f',1,'openflow-common.h']]],
['ofppc_5fport_5fdown',['OFPPC_PORT_DOWN',['../openflow-common_8h.html#a8bb0db8e83e8ab8cdd28d47ad74184b2acfc2bcd5ea6a898bce4c5fadd3550cf5',1,'openflow-common.h']]],
['ofppdpt14_5fethernet',['OFPPDPT14_ETHERNET',['../openflow-1_84_8h.html#a3e80dd4b201d08d642e7cbda742934e4a7a93772e00af26721f6212d3c7bafdfc',1,'openflow-1.4.h']]],
['ofppdpt14_5fexperimenter',['OFPPDPT14_EXPERIMENTER',['../openflow-1_84_8h.html#a3e80dd4b201d08d642e7cbda742934e4ad40aeae5764577ade95384699acee5b9',1,'openflow-1.4.h']]],
['ofppdpt14_5foptical',['OFPPDPT14_OPTICAL',['../openflow-1_84_8h.html#a3e80dd4b201d08d642e7cbda742934e4ad6bba88351f54602fa2daacd145c59e1',1,'openflow-1.4.h']]],
['ofppf10_5fautoneg',['OFPPF10_AUTONEG',['../openflow-1_80_8h.html#af10ff83c42670e98e4077e555d8b06cbab7bc2633169e8aef2324486d6b2c069f',1,'openflow-1.0.h']]],
['ofppf10_5fcopper',['OFPPF10_COPPER',['../openflow-1_80_8h.html#af10ff83c42670e98e4077e555d8b06cbaaddbe6d5f797578a62502dae2a02ca07',1,'openflow-1.0.h']]],
['ofppf10_5ffiber',['OFPPF10_FIBER',['../openflow-1_80_8h.html#af10ff83c42670e98e4077e555d8b06cba6ef5dd3cacd7531bdbebe5fd5e411f7d',1,'openflow-1.0.h']]],
['ofppf10_5fpause',['OFPPF10_PAUSE',['../openflow-1_80_8h.html#af10ff83c42670e98e4077e555d8b06cbae2f2b60a999fe29460b480197011f088',1,'openflow-1.0.h']]],
['ofppf10_5fpause_5fasym',['OFPPF10_PAUSE_ASYM',['../openflow-1_80_8h.html#af10ff83c42670e98e4077e555d8b06cbaef99935af3cefa3a2ea2c6d367ac7830',1,'openflow-1.0.h']]],
['ofppf11_5f100gb_5ffd',['OFPPF11_100GB_FD',['../openflow-1_81_8h.html#aa4ecd3c30464ecbe566375b0172704c5a988070f65e5e6c40bdf86ae8b7ab9dbb',1,'openflow-1.1.h']]],
['ofppf11_5f1tb_5ffd',['OFPPF11_1TB_FD',['../openflow-1_81_8h.html#aa4ecd3c30464ecbe566375b0172704c5a791fbb2391587c4f0e9acba00917edf3',1,'openflow-1.1.h']]],
['ofppf11_5f40gb_5ffd',['OFPPF11_40GB_FD',['../openflow-1_81_8h.html#aa4ecd3c30464ecbe566375b0172704c5a8a4ee05314778b3536ad8f49b11afbf4',1,'openflow-1.1.h']]],
['ofppf11_5fautoneg',['OFPPF11_AUTONEG',['../openflow-1_81_8h.html#aa4ecd3c30464ecbe566375b0172704c5abac99bae1eb209532b232dbc0f00a8a5',1,'openflow-1.1.h']]],
['ofppf11_5fcopper',['OFPPF11_COPPER',['../openflow-1_81_8h.html#aa4ecd3c30464ecbe566375b0172704c5a57d20b9a2a3466bd12f73e3829614ed8',1,'openflow-1.1.h']]],
['ofppf11_5ffiber',['OFPPF11_FIBER',['../openflow-1_81_8h.html#aa4ecd3c30464ecbe566375b0172704c5ab820274c729ea4504707abb72298a950',1,'openflow-1.1.h']]],
['ofppf11_5fother',['OFPPF11_OTHER',['../openflow-1_81_8h.html#aa4ecd3c30464ecbe566375b0172704c5a9d83c72871ccda60782deb7088bc1edf',1,'openflow-1.1.h']]],
['ofppf11_5fpause',['OFPPF11_PAUSE',['../openflow-1_81_8h.html#aa4ecd3c30464ecbe566375b0172704c5a467924aef7aab02cb6cabc3d35b93193',1,'openflow-1.1.h']]],
['ofppf11_5fpause_5fasym',['OFPPF11_PAUSE_ASYM',['../openflow-1_81_8h.html#aa4ecd3c30464ecbe566375b0172704c5a533121845b4832bc9a0a0069b0ed1344',1,'openflow-1.1.h']]],
['ofppf_5f100mb_5ffd',['OFPPF_100MB_FD',['../openflow-common_8h.html#a718ef9aea0cb13b5319ac242d03896f6a742df2a5c7e2be8fa1ffaefee5c5de2e',1,'openflow-common.h']]],
['ofppf_5f100mb_5fhd',['OFPPF_100MB_HD',['../openflow-common_8h.html#a718ef9aea0cb13b5319ac242d03896f6a83f5c7c155c2517abc03f0894ed914d6',1,'openflow-common.h']]],
['ofppf_5f10gb_5ffd',['OFPPF_10GB_FD',['../openflow-common_8h.html#a718ef9aea0cb13b5319ac242d03896f6a5492f40e70277dfdfb4d623d2bab5f3f',1,'openflow-common.h']]],
['ofppf_5f10mb_5ffd',['OFPPF_10MB_FD',['../openflow-common_8h.html#a718ef9aea0cb13b5319ac242d03896f6ada6a6059178387f3390caa878a2ae64f',1,'openflow-common.h']]],
['ofppf_5f10mb_5fhd',['OFPPF_10MB_HD',['../openflow-common_8h.html#a718ef9aea0cb13b5319ac242d03896f6a70e51319b3f0f94e22b446c1f4bd92da',1,'openflow-common.h']]],
['ofppf_5f1gb_5ffd',['OFPPF_1GB_FD',['../openflow-common_8h.html#a718ef9aea0cb13b5319ac242d03896f6a2ff235b1a4fd7b1d0a64e9906e898e86',1,'openflow-common.h']]],
['ofppf_5f1gb_5fhd',['OFPPF_1GB_HD',['../openflow-common_8h.html#a718ef9aea0cb13b5319ac242d03896f6acd11502328dc086d5e6cd810849e400a',1,'openflow-common.h']]],
['ofppmpt14_5fethernet',['OFPPMPT14_ETHERNET',['../openflow-1_84_8h.html#ac7bb87bb30dad52e4dd03ac81d5e7872a176f2f6d5d9ca45ef7f6436198a0869d',1,'openflow-1.4.h']]],
['ofppmpt14_5fexperimenter',['OFPPMPT14_EXPERIMENTER',['../openflow-1_84_8h.html#ac7bb87bb30dad52e4dd03ac81d5e7872a25a2ed48d7493f511c61376fe733c95c',1,'openflow-1.4.h']]],
['ofppmpt14_5foptical',['OFPPMPT14_OPTICAL',['../openflow-1_84_8h.html#ac7bb87bb30dad52e4dd03ac81d5e7872aaf880ec6189b82bd2177282f7b10d149',1,'openflow-1.4.h']]],
['ofppr_5fadd',['OFPPR_ADD',['../openflow-common_8h.html#af611484ae659a003d175861d7a1f7475a3e73061a9a6c57122424b080ff0a9601',1,'openflow-common.h']]],
['ofppr_5fdelete',['OFPPR_DELETE',['../openflow-common_8h.html#af611484ae659a003d175861d7a1f7475a35dc178773cf8c4d9ce3b5a95dbb426f',1,'openflow-common.h']]],
['ofppr_5fmodify',['OFPPR_MODIFY',['../openflow-common_8h.html#af611484ae659a003d175861d7a1f7475ae16e70faf101e0ccca9bc04b7b8f2730',1,'openflow-common.h']]],
['ofpps10_5fstp_5fblock',['OFPPS10_STP_BLOCK',['../openflow-1_80_8h.html#a5b60a6584b5788eabea2ab50f309bd6fa885cdbd8d24d5eab967cc4b650c4d314',1,'openflow-1.0.h']]],
['ofpps10_5fstp_5fforward',['OFPPS10_STP_FORWARD',['../openflow-1_80_8h.html#a5b60a6584b5788eabea2ab50f309bd6fa58f245edf750e87549dcfa14bacc560d',1,'openflow-1.0.h']]],
['ofpps10_5fstp_5flearn',['OFPPS10_STP_LEARN',['../openflow-1_80_8h.html#a5b60a6584b5788eabea2ab50f309bd6fa2a074471222aacaef6bab3cb3bd8b170',1,'openflow-1.0.h']]],
['ofpps10_5fstp_5flisten',['OFPPS10_STP_LISTEN',['../openflow-1_80_8h.html#a5b60a6584b5788eabea2ab50f309bd6faff9abff4d71547fff62aa6fdcd974676',1,'openflow-1.0.h']]],
['ofpps10_5fstp_5fmask',['OFPPS10_STP_MASK',['../openflow-1_80_8h.html#a5b60a6584b5788eabea2ab50f309bd6faebd433862b08be960fd141460a79d4e8',1,'openflow-1.0.h']]],
['ofpps11_5fblocked',['OFPPS11_BLOCKED',['../openflow-1_81_8h.html#a91ff14ee9c0492d68c85fbb14d328827a697d39beb40caf0fe7607d4ad0fad591',1,'openflow-1.1.h']]],
['ofpps11_5flive',['OFPPS11_LIVE',['../openflow-1_81_8h.html#a91ff14ee9c0492d68c85fbb14d328827ad9de8060cb16fe8c2ee7152072553e5b',1,'openflow-1.1.h']]],
['ofpps_5flink_5fdown',['OFPPS_LINK_DOWN',['../openflow-common_8h.html#a8b737091ada1d371daf552f759a98053ac36266ff68e3ce8dd9d77b82bdfa165b',1,'openflow-common.h']]],
['ofppspt14_5fethernet',['OFPPSPT14_ETHERNET',['../openflow-1_84_8h.html#aaee67f6614015eda28248ec8906e0cc6a971994fb6e6a755d370375126a1b84be',1,'openflow-1.4.h']]],
['ofppspt14_5fexperimenter',['OFPPSPT14_EXPERIMENTER',['../openflow-1_84_8h.html#aaee67f6614015eda28248ec8906e0cc6acfb633dd5896654b6bbc3f9c9b67b3b2',1,'openflow-1.4.h']]],
['ofppspt14_5foptical',['OFPPSPT14_OPTICAL',['../openflow-1_84_8h.html#aaee67f6614015eda28248ec8906e0cc6af89071959ffad32d2a48f4c4fbade4b6',1,'openflow-1.4.h']]],
['ofpqt_5fexperimenter',['OFPQT_EXPERIMENTER',['../openflow-common_8h.html#a7afe3bc27964dd13382d0cfa9131ec43ae6246d9b7f42d944962cdce8d1642888',1,'openflow-common.h']]],
['ofpqt_5fmax_5frate',['OFPQT_MAX_RATE',['../openflow-common_8h.html#a7afe3bc27964dd13382d0cfa9131ec43a97b6a7ebcbcbc5d39c1c6501505931e1',1,'openflow-common.h']]],
['ofpqt_5fmin_5frate',['OFPQT_MIN_RATE',['../openflow-common_8h.html#a7afe3bc27964dd13382d0cfa9131ec43af00fa9803b2b5a3e7b748d2253316a6f',1,'openflow-common.h']]],
['ofpr_5faction',['OFPR_ACTION',['../openflow-common_8h.html#a55a105eb82a255ad76d02dda33517359a1a86659514fd660398f442f3b6daea5a',1,'openflow-common.h']]],
['ofpr_5faction_5fset',['OFPR_ACTION_SET',['../openflow-common_8h.html#a55a105eb82a255ad76d02dda33517359a2e7a8c09ca7b27ba1013b4d671aaaaf7',1,'openflow-common.h']]],
['ofpr_5fgroup',['OFPR_GROUP',['../openflow-common_8h.html#a55a105eb82a255ad76d02dda33517359ac51fe83903ffa952ee4500a125b01054',1,'openflow-common.h']]],
['ofpr_5finvalid_5fttl',['OFPR_INVALID_TTL',['../openflow-common_8h.html#a55a105eb82a255ad76d02dda33517359a0512b884eb780a26dacf5f2e3b72418f',1,'openflow-common.h']]],
['ofpr_5fn_5freasons',['OFPR_N_REASONS',['../openflow-common_8h.html#a55a105eb82a255ad76d02dda33517359a21c87a838a1eb37160db6559d236330a',1,'openflow-common.h']]],
['ofpr_5fno_5fmatch',['OFPR_NO_MATCH',['../openflow-common_8h.html#a55a105eb82a255ad76d02dda33517359aa7b6d012d60b0b104dfac54370984967',1,'openflow-common.h']]],
['ofpr_5fpacket_5fout',['OFPR_PACKET_OUT',['../openflow-common_8h.html#a55a105eb82a255ad76d02dda33517359a5da5b69a32d81e9b2881daed1a726cd5',1,'openflow-common.h']]],
['ofpraw_5fnxst_5faggregate_5freply',['OFPRAW_NXST_AGGREGATE_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a10d6f5c76e4764b1708341c742ce7272',1,'ofp-msgs.h']]],
['ofpraw_5fnxst_5faggregate_5frequest',['OFPRAW_NXST_AGGREGATE_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a5616b9a46f8dd8e7bdac9aaed0b84a1a',1,'ofp-msgs.h']]],
['ofpraw_5fnxst_5fflow_5fmonitor_5freply',['OFPRAW_NXST_FLOW_MONITOR_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a9f07bb2067bae066e58c464e8d283e1a',1,'ofp-msgs.h']]],
['ofpraw_5fnxst_5fflow_5fmonitor_5frequest',['OFPRAW_NXST_FLOW_MONITOR_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aaa39e7c91680838b3abc9002300ae900',1,'ofp-msgs.h']]],
['ofpraw_5fnxst_5fflow_5freply',['OFPRAW_NXST_FLOW_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a71380931a301dae89a4943cb219cc0e5',1,'ofp-msgs.h']]],
['ofpraw_5fnxst_5fflow_5frequest',['OFPRAW_NXST_FLOW_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528af13d0a1de4b49d66e6bcf9667a7f615b',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fflow_5fage',['OFPRAW_NXT_FLOW_AGE',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a6ef1dda471221b6589b3bc698bad9a16',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fflow_5fmod',['OFPRAW_NXT_FLOW_MOD',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a928e391e9dc62fb6a788c03bb5c63809',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fflow_5fmod_5ftable_5fid',['OFPRAW_NXT_FLOW_MOD_TABLE_ID',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ac6e24dde8d2a5523ceb848958e824bfe',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fflow_5fmonitor_5fcancel',['OFPRAW_NXT_FLOW_MONITOR_CANCEL',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a743802cb7c1a2e323964428f81579e7a',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fflow_5fmonitor_5fpaused',['OFPRAW_NXT_FLOW_MONITOR_PAUSED',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aa0eb39657b4bf79be3a60b63f632d452',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fflow_5fmonitor_5fresumed',['OFPRAW_NXT_FLOW_MONITOR_RESUMED',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a036aa04b922500bcf900f1ed369d5dd9',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fflow_5fremoved',['OFPRAW_NXT_FLOW_REMOVED',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528adebdfb2121eef4326c50042aaa653b92',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fgeneve_5ftable_5fmod',['OFPRAW_NXT_GENEVE_TABLE_MOD',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a7c324f0e4632990520235f2c0f197168',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fgeneve_5ftable_5freply',['OFPRAW_NXT_GENEVE_TABLE_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a0c9841672ba15c69646591d7e2adcaa0',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fgeneve_5ftable_5frequest',['OFPRAW_NXT_GENEVE_TABLE_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aac056097a4032640be67570dc07c1c5b',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fpacket_5fin',['OFPRAW_NXT_PACKET_IN',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528adf7f6f032a3cd9219569d73d931fec67',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5frole_5freply',['OFPRAW_NXT_ROLE_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a9fc0b274663047d383128183c814f1c4',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5frole_5frequest',['OFPRAW_NXT_ROLE_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ab7cac749297f93a3c16e09259e1f4303',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fset_5fasync_5fconfig',['OFPRAW_NXT_SET_ASYNC_CONFIG',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528abe319ca2c9fe98aa41898eedac7c8489',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fset_5fcontroller_5fid',['OFPRAW_NXT_SET_CONTROLLER_ID',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aad70d662723795d78ab4fae04254781e',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fset_5fflow_5fformat',['OFPRAW_NXT_SET_FLOW_FORMAT',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a43490ea84e80cf6c9e7c752e1954c15b',1,'ofp-msgs.h']]],
['ofpraw_5fnxt_5fset_5fpacket_5fin_5fformat',['OFPRAW_NXT_SET_PACKET_IN_FORMAT',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ad601f2f9eeb83f070b7332f4ae837e4f',1,'ofp-msgs.h']]],
['ofpraw_5fofpst10_5faggregate_5frequest',['OFPRAW_OFPST10_AGGREGATE_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a3875c74cb562a79e4f9a1651d80d0a3e',1,'ofp-msgs.h']]],
['ofpraw_5fofpst10_5fflow_5freply',['OFPRAW_OFPST10_FLOW_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ac517bb0761e6c322e1ee11c5ef2186f5',1,'ofp-msgs.h']]],
['ofpraw_5fofpst10_5fflow_5frequest',['OFPRAW_OFPST10_FLOW_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ad0e26f86d5491ace76e198b1786205c5',1,'ofp-msgs.h']]],
['ofpraw_5fofpst10_5fport_5fdesc_5freply',['OFPRAW_OFPST10_PORT_DESC_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528afe6c5af2cce27975dfbad01498223dbf',1,'ofp-msgs.h']]],
['ofpraw_5fofpst10_5fport_5fdesc_5frequest',['OFPRAW_OFPST10_PORT_DESC_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a7dc6d72972af667882c1bcbb205bd879',1,'ofp-msgs.h']]],
['ofpraw_5fofpst10_5fport_5freply',['OFPRAW_OFPST10_PORT_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aa1b1ceb61f6df5960a0d050a760fdb01',1,'ofp-msgs.h']]],
['ofpraw_5fofpst10_5fport_5frequest',['OFPRAW_OFPST10_PORT_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a6f94ce6563784c0e69d8be7e3fa9ef83',1,'ofp-msgs.h']]],
['ofpraw_5fofpst10_5fqueue_5freply',['OFPRAW_OFPST10_QUEUE_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aafaf0837c5961128305f640343395014',1,'ofp-msgs.h']]],
['ofpraw_5fofpst10_5fqueue_5frequest',['OFPRAW_OFPST10_QUEUE_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aa7fc79f1442f5c4d6f39bcfc1500c203',1,'ofp-msgs.h']]],
['ofpraw_5fofpst10_5ftable_5freply',['OFPRAW_OFPST10_TABLE_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a25289e31d5f633a04e0b58e4ce06385e',1,'ofp-msgs.h']]],
['ofpraw_5fofpst11_5faggregate_5frequest',['OFPRAW_OFPST11_AGGREGATE_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aec0e11e59ed7d44abe180824cdab01d5',1,'ofp-msgs.h']]],
['ofpraw_5fofpst11_5fflow_5freply',['OFPRAW_OFPST11_FLOW_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a79b9b4b1b4150a6c3a0616b80608bdb6',1,'ofp-msgs.h']]],
['ofpraw_5fofpst11_5fflow_5frequest',['OFPRAW_OFPST11_FLOW_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a7eefe2523581189e72744ac5a676e07e',1,'ofp-msgs.h']]],
['ofpraw_5fofpst11_5fgroup_5fdesc_5freply',['OFPRAW_OFPST11_GROUP_DESC_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a5bfb07937a02bbcac14acda46cd567a9',1,'ofp-msgs.h']]],
['ofpraw_5fofpst11_5fgroup_5fdesc_5frequest',['OFPRAW_OFPST11_GROUP_DESC_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ae4286f25f0bbe76066b25dc64d16ac51',1,'ofp-msgs.h']]],
['ofpraw_5fofpst11_5fgroup_5freply',['OFPRAW_OFPST11_GROUP_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a951b70d665eaf685dbbea6a303684c73',1,'ofp-msgs.h']]],
['ofpraw_5fofpst11_5fgroup_5frequest',['OFPRAW_OFPST11_GROUP_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528afc786bc801f4bc80e0302099f04de7b5',1,'ofp-msgs.h']]],
['ofpraw_5fofpst11_5fport_5fdesc_5freply',['OFPRAW_OFPST11_PORT_DESC_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a8bd3bc57466311a613bcd7a221d4899b',1,'ofp-msgs.h']]],
['ofpraw_5fofpst11_5fport_5freply',['OFPRAW_OFPST11_PORT_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a3a6c1e91222525d50cbb3930a6fa8184',1,'ofp-msgs.h']]],
['ofpraw_5fofpst11_5fport_5frequest',['OFPRAW_OFPST11_PORT_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a0cdbc8e73702fc29606a78593143d0a4',1,'ofp-msgs.h']]],
['ofpraw_5fofpst11_5fqueue_5freply',['OFPRAW_OFPST11_QUEUE_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ae7fc39f1aedbe6277bbaa7b6846c5332',1,'ofp-msgs.h']]],
['ofpraw_5fofpst11_5fqueue_5frequest',['OFPRAW_OFPST11_QUEUE_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528acc1ba992bc71e8ad3fe08fb9c5e8982a',1,'ofp-msgs.h']]],
['ofpraw_5fofpst11_5ftable_5freply',['OFPRAW_OFPST11_TABLE_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a5c25cd60cfecce34f0aa05f9c58243f7',1,'ofp-msgs.h']]],
['ofpraw_5fofpst12_5fgroup_5ffeatures_5freply',['OFPRAW_OFPST12_GROUP_FEATURES_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a2f3dbe7f751b68d5861466c57474fabd',1,'ofp-msgs.h']]],
['ofpraw_5fofpst12_5fgroup_5ffeatures_5frequest',['OFPRAW_OFPST12_GROUP_FEATURES_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a52a66dc623244a388ed7785ef2b8cb2f',1,'ofp-msgs.h']]],
['ofpraw_5fofpst12_5ftable_5freply',['OFPRAW_OFPST12_TABLE_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ac47b3f41fde7728f054a083f70c988dd',1,'ofp-msgs.h']]],
['ofpraw_5fofpst13_5fflow_5freply',['OFPRAW_OFPST13_FLOW_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aa90192e9ad5afe1ec6178f868b6788b6',1,'ofp-msgs.h']]],
['ofpraw_5fofpst13_5fgroup_5freply',['OFPRAW_OFPST13_GROUP_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a245e18589ae7e772d35844ef06ef6f2b',1,'ofp-msgs.h']]],
['ofpraw_5fofpst13_5fmeter_5fconfig_5freply',['OFPRAW_OFPST13_METER_CONFIG_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a5ec48e3df9fb3eeed3d9de823bf34775',1,'ofp-msgs.h']]],
['ofpraw_5fofpst13_5fmeter_5fconfig_5frequest',['OFPRAW_OFPST13_METER_CONFIG_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a71f963f5a37c83f952f59bc48ece7f42',1,'ofp-msgs.h']]],
['ofpraw_5fofpst13_5fmeter_5ffeatures_5freply',['OFPRAW_OFPST13_METER_FEATURES_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ac5f414577dab0b02db061a1e87feaa95',1,'ofp-msgs.h']]],
['ofpraw_5fofpst13_5fmeter_5ffeatures_5frequest',['OFPRAW_OFPST13_METER_FEATURES_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aa8cffd045c993adbda6aaba0d29ce5f3',1,'ofp-msgs.h']]],
['ofpraw_5fofpst13_5fmeter_5freply',['OFPRAW_OFPST13_METER_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ac20f60d31a1d757e10b4bcd93f78a7af',1,'ofp-msgs.h']]],
['ofpraw_5fofpst13_5fmeter_5frequest',['OFPRAW_OFPST13_METER_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a0acb33633964a3ddac08c88c4b2864ed',1,'ofp-msgs.h']]],
['ofpraw_5fofpst13_5fport_5freply',['OFPRAW_OFPST13_PORT_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a7284b852d7da8e668aadfd269cd27775',1,'ofp-msgs.h']]],
['ofpraw_5fofpst13_5fqueue_5freply',['OFPRAW_OFPST13_QUEUE_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a38e11960b883f73e487beb4f3bf29966',1,'ofp-msgs.h']]],
['ofpraw_5fofpst13_5ftable_5ffeatures_5freply',['OFPRAW_OFPST13_TABLE_FEATURES_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ade4a54ccc9bead634a3a616ea8fd8b61',1,'ofp-msgs.h']]],
['ofpraw_5fofpst13_5ftable_5ffeatures_5frequest',['OFPRAW_OFPST13_TABLE_FEATURES_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ac1c2c9c30ad8cc96b6170bb521fef356',1,'ofp-msgs.h']]],
['ofpraw_5fofpst13_5ftable_5freply',['OFPRAW_OFPST13_TABLE_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a3068de718b9ac93bb41fcba9ce00192c',1,'ofp-msgs.h']]],
['ofpraw_5fofpst14_5fflow_5fmonitor_5freply',['OFPRAW_OFPST14_FLOW_MONITOR_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ae68029f55dad4c261aed081a1f901786',1,'ofp-msgs.h']]],
['ofpraw_5fofpst14_5fflow_5fmonitor_5frequest',['OFPRAW_OFPST14_FLOW_MONITOR_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a94ee2a75e2408e5c3c75dbda227229ec',1,'ofp-msgs.h']]],
['ofpraw_5fofpst14_5fport_5fdesc_5freply',['OFPRAW_OFPST14_PORT_DESC_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a0e152ae5a4c6059bd6472e6d21d383eb',1,'ofp-msgs.h']]],
['ofpraw_5fofpst14_5fport_5freply',['OFPRAW_OFPST14_PORT_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528adf31894be66d8ce307694d10efc9a2ef',1,'ofp-msgs.h']]],
['ofpraw_5fofpst14_5fqueue_5freply',['OFPRAW_OFPST14_QUEUE_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a511e3d99e2eb660e180c4f225f95359e',1,'ofp-msgs.h']]],
['ofpraw_5fofpst14_5ftable_5fdesc_5freply',['OFPRAW_OFPST14_TABLE_DESC_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a033920334a7dcb2dedb065cc0531676b',1,'ofp-msgs.h']]],
['ofpraw_5fofpst14_5ftable_5fdesc_5frequest',['OFPRAW_OFPST14_TABLE_DESC_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a23abe969bf93a168b2ec6d0f5dd15808',1,'ofp-msgs.h']]],
['ofpraw_5fofpst15_5fgroup_5fdesc_5frequest',['OFPRAW_OFPST15_GROUP_DESC_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aa8aa440c42927da5f88801c35124a3db',1,'ofp-msgs.h']]],
['ofpraw_5fofpst15_5fport_5fdesc_5frequest',['OFPRAW_OFPST15_PORT_DESC_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aee41e8d6cec7902676d7142745ea898a',1,'ofp-msgs.h']]],
['ofpraw_5fofpst_5faggregate_5freply',['OFPRAW_OFPST_AGGREGATE_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a96519f80ab4aef39c534c72d4fe5ddeb',1,'ofp-msgs.h']]],
['ofpraw_5fofpst_5fdesc_5freply',['OFPRAW_OFPST_DESC_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a753bbb0a2d7a48fdd51e485fcb77c141',1,'ofp-msgs.h']]],
['ofpraw_5fofpst_5fdesc_5frequest',['OFPRAW_OFPST_DESC_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ae05468a4820a99ddd186430d32b26bab',1,'ofp-msgs.h']]],
['ofpraw_5fofpst_5ftable_5frequest',['OFPRAW_OFPST_TABLE_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a569b1976bbc4641b798583d61ac908e9',1,'ofp-msgs.h']]],
['ofpraw_5fofpt10_5fbarrier_5freply',['OFPRAW_OFPT10_BARRIER_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ad649430b6c5d25579042fd0ff1097115',1,'ofp-msgs.h']]],
['ofpraw_5fofpt10_5fbarrier_5frequest',['OFPRAW_OFPT10_BARRIER_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a724ab4f190b3d6e0c3cb8e76341eee12',1,'ofp-msgs.h']]],
['ofpraw_5fofpt10_5ffeatures_5freply',['OFPRAW_OFPT10_FEATURES_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528adcb35d0d197da34cc360cd9a0527709e',1,'ofp-msgs.h']]],
['ofpraw_5fofpt10_5fflow_5fmod',['OFPRAW_OFPT10_FLOW_MOD',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a4cc6d2c9a5bf1aa24d7eaf5892d65520',1,'ofp-msgs.h']]],
['ofpraw_5fofpt10_5fflow_5fremoved',['OFPRAW_OFPT10_FLOW_REMOVED',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a4d1935890b2905f44a22a71f3494eeb9',1,'ofp-msgs.h']]],
['ofpraw_5fofpt10_5fpacket_5fin',['OFPRAW_OFPT10_PACKET_IN',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a3c406c736b2eef8f8ab1b301e12d072b',1,'ofp-msgs.h']]],
['ofpraw_5fofpt10_5fpacket_5fout',['OFPRAW_OFPT10_PACKET_OUT',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528af64c15dca55f635e657457cce68f7622',1,'ofp-msgs.h']]],
['ofpraw_5fofpt10_5fport_5fmod',['OFPRAW_OFPT10_PORT_MOD',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a8320f7e662174d2fbe6656dfb74e4793',1,'ofp-msgs.h']]],
['ofpraw_5fofpt10_5fport_5fstatus',['OFPRAW_OFPT10_PORT_STATUS',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ac723a2c7a9253aa98fb0d05f01594d4d',1,'ofp-msgs.h']]],
['ofpraw_5fofpt10_5fqueue_5fget_5fconfig_5freply',['OFPRAW_OFPT10_QUEUE_GET_CONFIG_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ac2863672c84704f52bcd2a3065181f6d',1,'ofp-msgs.h']]],
['ofpraw_5fofpt10_5fqueue_5fget_5fconfig_5frequest',['OFPRAW_OFPT10_QUEUE_GET_CONFIG_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ada6a141809fd955ba614ea17c58ed2b0',1,'ofp-msgs.h']]],
['ofpraw_5fofpt11_5fbarrier_5freply',['OFPRAW_OFPT11_BARRIER_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ac554bc4ee0fb04ff3482d98acdff945a',1,'ofp-msgs.h']]],
['ofpraw_5fofpt11_5fbarrier_5frequest',['OFPRAW_OFPT11_BARRIER_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ab12f665f92307549332067f90577aa9c',1,'ofp-msgs.h']]],
['ofpraw_5fofpt11_5ffeatures_5freply',['OFPRAW_OFPT11_FEATURES_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a3e757804a6e548b1c281e9f0f18d4ed1',1,'ofp-msgs.h']]],
['ofpraw_5fofpt11_5fflow_5fmod',['OFPRAW_OFPT11_FLOW_MOD',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a350d4360e2832c17c681c5d3b5463db2',1,'ofp-msgs.h']]],
['ofpraw_5fofpt11_5fflow_5fremoved',['OFPRAW_OFPT11_FLOW_REMOVED',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528abbbfc09e53adcdde282e7585bea04481',1,'ofp-msgs.h']]],
['ofpraw_5fofpt11_5fgroup_5fmod',['OFPRAW_OFPT11_GROUP_MOD',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a3cc3bc2ef81a31e60dcaca11ce6741d2',1,'ofp-msgs.h']]],
['ofpraw_5fofpt11_5fpacket_5fin',['OFPRAW_OFPT11_PACKET_IN',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528af4c3ea80d6525d537040a44064c9af84',1,'ofp-msgs.h']]],
['ofpraw_5fofpt11_5fpacket_5fout',['OFPRAW_OFPT11_PACKET_OUT',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a0d5e14caecf684fb1dd1465db7691856',1,'ofp-msgs.h']]],
['ofpraw_5fofpt11_5fport_5fmod',['OFPRAW_OFPT11_PORT_MOD',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528adc7584b72380da737f6087d7abb6d8bc',1,'ofp-msgs.h']]],
['ofpraw_5fofpt11_5fport_5fstatus',['OFPRAW_OFPT11_PORT_STATUS',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aeceee57d366c100edec6d118b0345a6f',1,'ofp-msgs.h']]],
['ofpraw_5fofpt11_5fqueue_5fget_5fconfig_5freply',['OFPRAW_OFPT11_QUEUE_GET_CONFIG_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ac37cafd279d125cca8e0c83336722e1b',1,'ofp-msgs.h']]],
['ofpraw_5fofpt11_5fqueue_5fget_5fconfig_5frequest',['OFPRAW_OFPT11_QUEUE_GET_CONFIG_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a2bebf58bac733658b20b55d026941368',1,'ofp-msgs.h']]],
['ofpraw_5fofpt11_5ftable_5fmod',['OFPRAW_OFPT11_TABLE_MOD',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a68a66c5d5d27cd7880cf0e5efc1cde2d',1,'ofp-msgs.h']]],
['ofpraw_5fofpt12_5fpacket_5fin',['OFPRAW_OFPT12_PACKET_IN',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a51a819fbc2f171d0ca4045568a020c73',1,'ofp-msgs.h']]],
['ofpraw_5fofpt12_5frole_5freply',['OFPRAW_OFPT12_ROLE_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a4a8217e8528f418fe95166d24821126f',1,'ofp-msgs.h']]],
['ofpraw_5fofpt12_5frole_5frequest',['OFPRAW_OFPT12_ROLE_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a45cae907b43247d651c40266566540df',1,'ofp-msgs.h']]],
['ofpraw_5fofpt13_5ffeatures_5freply',['OFPRAW_OFPT13_FEATURES_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ad7fa42bd4ffc191a4c29d17fca801629',1,'ofp-msgs.h']]],
['ofpraw_5fofpt13_5fget_5fasync_5freply',['OFPRAW_OFPT13_GET_ASYNC_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a0da3e438e4d2f39227e93f0964baa2cd',1,'ofp-msgs.h']]],
['ofpraw_5fofpt13_5fget_5fasync_5frequest',['OFPRAW_OFPT13_GET_ASYNC_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528af395098e8281c971c9f80c26293cb684',1,'ofp-msgs.h']]],
['ofpraw_5fofpt13_5fmeter_5fmod',['OFPRAW_OFPT13_METER_MOD',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a497405c741dda090914a665cd67202d1',1,'ofp-msgs.h']]],
['ofpraw_5fofpt13_5fpacket_5fin',['OFPRAW_OFPT13_PACKET_IN',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528afb2b716edd510c614071f347735201ba',1,'ofp-msgs.h']]],
['ofpraw_5fofpt13_5fset_5fasync',['OFPRAW_OFPT13_SET_ASYNC',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a95bf14730209ff0da61e173dee21c5e6',1,'ofp-msgs.h']]],
['ofpraw_5fofpt14_5fbundle_5fadd_5fmessage',['OFPRAW_OFPT14_BUNDLE_ADD_MESSAGE',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a552c359f95911e6fa1622592fd73abf2',1,'ofp-msgs.h']]],
['ofpraw_5fofpt14_5fbundle_5fcontrol',['OFPRAW_OFPT14_BUNDLE_CONTROL',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a4536eab76ed5d9ce3f86dc8f77454bd6',1,'ofp-msgs.h']]],
['ofpraw_5fofpt14_5fget_5fasync_5freply',['OFPRAW_OFPT14_GET_ASYNC_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a9bc249473635914a4f55159d940b36f9',1,'ofp-msgs.h']]],
['ofpraw_5fofpt14_5fget_5fasync_5frequest',['OFPRAW_OFPT14_GET_ASYNC_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a3fc121815a19ec23f9c4cd5b078a643a',1,'ofp-msgs.h']]],
['ofpraw_5fofpt14_5fport_5fmod',['OFPRAW_OFPT14_PORT_MOD',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ab3c779073b835f5863e4be7fe8626156',1,'ofp-msgs.h']]],
['ofpraw_5fofpt14_5fport_5fstatus',['OFPRAW_OFPT14_PORT_STATUS',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a84022fc32682c334316b5f9f00ac8eac',1,'ofp-msgs.h']]],
['ofpraw_5fofpt14_5frole_5fstatus',['OFPRAW_OFPT14_ROLE_STATUS',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528af184154c07faefa6d9339eb5432626fe',1,'ofp-msgs.h']]],
['ofpraw_5fofpt14_5fset_5fasync',['OFPRAW_OFPT14_SET_ASYNC',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528aa7a2934f759e81889f928276a9bc9ea1',1,'ofp-msgs.h']]],
['ofpraw_5fofpt14_5ftable_5fmod',['OFPRAW_OFPT14_TABLE_MOD',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a3d1216855df29fdf1bb33903edb837c8',1,'ofp-msgs.h']]],
['ofpraw_5fofpt15_5fgroup_5fmod',['OFPRAW_OFPT15_GROUP_MOD',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528af69fe4fcdf070134375681b3cfce3bde',1,'ofp-msgs.h']]],
['ofpraw_5fofpt_5fecho_5freply',['OFPRAW_OFPT_ECHO_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ad751b34bfc872242c2518ae783938eee',1,'ofp-msgs.h']]],
['ofpraw_5fofpt_5fecho_5frequest',['OFPRAW_OFPT_ECHO_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a6f77701c34d04d3cf81b085abc2661c7',1,'ofp-msgs.h']]],
['ofpraw_5fofpt_5ferror',['OFPRAW_OFPT_ERROR',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528af82bca50e91010d97efa2b9e0f2926f4',1,'ofp-msgs.h']]],
['ofpraw_5fofpt_5ffeatures_5frequest',['OFPRAW_OFPT_FEATURES_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a66f81fa28e5584c09867cc64f76a49c8',1,'ofp-msgs.h']]],
['ofpraw_5fofpt_5fget_5fconfig_5freply',['OFPRAW_OFPT_GET_CONFIG_REPLY',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a0838577bb801a8c8660d5c71079ef521',1,'ofp-msgs.h']]],
['ofpraw_5fofpt_5fget_5fconfig_5frequest',['OFPRAW_OFPT_GET_CONFIG_REQUEST',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528a0773a60938ceab6959b25b7e300b637c',1,'ofp-msgs.h']]],
['ofpraw_5fofpt_5fhello',['OFPRAW_OFPT_HELLO',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528ace93db235a635c47a3854cf7ebc53db8',1,'ofp-msgs.h']]],
['ofpraw_5fofpt_5fset_5fconfig',['OFPRAW_OFPT_SET_CONFIG',['../ofp-msgs_8h.html#a33449a5115ebb83159b9bf69a8f08528af8fcf5871cab7ba751dc37e56c153baf',1,'ofp-msgs.h']]],
['ofprfr_5fgroup_5fmod',['OFPRFR_GROUP_MOD',['../openflow-1_84_8h.html#a6f61138a1d097c91b0ca7a7d8a481e19a1f94f5fbb7fcbbc669ef3007d5f4879a',1,'openflow-1.4.h']]],
['ofprfr_5fmeter_5fmod',['OFPRFR_METER_MOD',['../openflow-1_84_8h.html#a6f61138a1d097c91b0ca7a7d8a481e19a1024eb2edca58b870ad558bfef21045b',1,'openflow-1.4.h']]],
['ofproto_5ffail_5fsecure',['OFPROTO_FAIL_SECURE',['../ofproto_8h.html#a529f481b8fc1c4009e79d08f694599d5a68c03ec7ac39bb1fdade0ea45da28b3e',1,'ofproto.h']]],
['ofproto_5ffail_5fstandalone',['OFPROTO_FAIL_STANDALONE',['../ofproto_8h.html#a529f481b8fc1c4009e79d08f694599d5a37fd84d354acbd33ede780ea852bdb7c',1,'ofproto.h']]],
['ofproto_5fin_5fband',['OFPROTO_IN_BAND',['../ofproto_8h.html#a036f213c2d013b67352bb9e8d95ad7eba31493f52e2437215895d8d8590210889',1,'ofproto.h']]],
['ofproto_5fout_5fof_5fband',['OFPROTO_OUT_OF_BAND',['../ofproto_8h.html#a036f213c2d013b67352bb9e8d95ad7ebaa336c7cc268483e13df744ae804d530d',1,'ofproto.h']]],
['ofproto_5fpacket_5fin_5fmiss_5fflow',['OFPROTO_PACKET_IN_MISS_FLOW',['../connmgr_8h.html#a939399d4efc67b7e2c31693db1866001af307ce9386e9fd5e195feb4b5a7720c9',1,'connmgr.h']]],
['ofproto_5fpacket_5fin_5fmiss_5fwithout_5fflow',['OFPROTO_PACKET_IN_MISS_WITHOUT_FLOW',['../connmgr_8h.html#a939399d4efc67b7e2c31693db1866001aeaf596b6b202047613926197df5319c8',1,'connmgr.h']]],
['ofproto_5fpacket_5fin_5fno_5fmiss',['OFPROTO_PACKET_IN_NO_MISS',['../connmgr_8h.html#a939399d4efc67b7e2c31693db1866001a066a5b794f50390b5a09ec00c9e64eeb',1,'connmgr.h']]],
['ofprpt_5fexperimenter',['OFPRPT_EXPERIMENTER',['../openflow-1_84_8h.html#a77bd28c5a14d88970a03222a77d7359dae542719d05f182eb4be8ff2a3bcf6204',1,'openflow-1.4.h']]],
['ofprr_5fdelete',['OFPRR_DELETE',['../openflow-common_8h.html#a3da74ffe5ef15be7795316d042442b8eacea4e190e1aaf326cc783275383d05dc',1,'openflow-common.h']]],
['ofprr_5feviction',['OFPRR_EVICTION',['../openflow-common_8h.html#a3da74ffe5ef15be7795316d042442b8eab34ea3f6c034e40e190aaf4d8bbfd9f9',1,'openflow-common.h']]],
['ofprr_5fgroup_5fdelete',['OFPRR_GROUP_DELETE',['../openflow-common_8h.html#a3da74ffe5ef15be7795316d042442b8eae9290848a88f749b6f748ce023fa0316',1,'openflow-common.h']]],
['ofprr_5fhard_5ftimeout',['OFPRR_HARD_TIMEOUT',['../openflow-common_8h.html#a3da74ffe5ef15be7795316d042442b8ea1cb5e5f5e72b4e0bb5997b047926ff34',1,'openflow-common.h']]],
['ofprr_5fidle_5ftimeout',['OFPRR_IDLE_TIMEOUT',['../openflow-common_8h.html#a3da74ffe5ef15be7795316d042442b8ea9403600be881d09362e7f06e9cd7d774',1,'openflow-common.h']]],
['ofprr_5fmeter_5fdelete',['OFPRR_METER_DELETE',['../openflow-common_8h.html#a3da74ffe5ef15be7795316d042442b8eab79dbf696189cd6649ff11ce23ce5dcd',1,'openflow-common.h']]],
['ofpsf_5freply_5fmore',['OFPSF_REPLY_MORE',['../openflow-common_8h.html#a7204c009a04ead6e1763ea47d3eed43faedb209ce9ff23209d66034daad3120e8',1,'openflow-common.h']]],
['ofptc11_5ftable_5fmiss_5fcontinue',['OFPTC11_TABLE_MISS_CONTINUE',['../openflow-common_8h.html#af9fd34d0a179772dc03bf696cca2c048aeee81706324b1de88979fa74b727a158',1,'openflow-common.h']]],
['ofptc11_5ftable_5fmiss_5fcontroller',['OFPTC11_TABLE_MISS_CONTROLLER',['../openflow-common_8h.html#af9fd34d0a179772dc03bf696cca2c048aa09681ab9cb86f9fb029d6fd7e27c4f2',1,'openflow-common.h']]],
['ofptc11_5ftable_5fmiss_5fdrop',['OFPTC11_TABLE_MISS_DROP',['../openflow-common_8h.html#af9fd34d0a179772dc03bf696cca2c048a0c273dfae240f94a2c1842ba864d9708',1,'openflow-common.h']]],
['ofptc11_5ftable_5fmiss_5fmask',['OFPTC11_TABLE_MISS_MASK',['../openflow-common_8h.html#af9fd34d0a179772dc03bf696cca2c048a8567311b751ea8f8aa46c87e401656d0',1,'openflow-common.h']]],
['ofptc13_5fdeprecated_5fmask',['OFPTC13_DEPRECATED_MASK',['../openflow-1_83_8h.html#a6d67c42ace26c05b70c58c638d0d4f7ba20d3fd708237afbb621e0640a8951b60',1,'openflow-1.3.h']]],
['ofptc14_5feviction',['OFPTC14_EVICTION',['../openflow-common_8h.html#af9fd34d0a179772dc03bf696cca2c048a70bc459fc70eb526fb34762642ccf04b',1,'openflow-common.h']]],
['ofptc14_5fvacancy_5fevents',['OFPTC14_VACANCY_EVENTS',['../openflow-common_8h.html#af9fd34d0a179772dc03bf696cca2c048ab7f82bc42c63ff1f444f12260d5cf2ba',1,'openflow-common.h']]],
['ofptfpt13_5fapply_5factions',['OFPTFPT13_APPLY_ACTIONS',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573a0b7405173b4a370680c632a51bc6b7b1',1,'openflow-1.3.h']]],
['ofptfpt13_5fapply_5factions_5fmiss',['OFPTFPT13_APPLY_ACTIONS_MISS',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573ab1a044a578948f89d6526bf6fca67dff',1,'openflow-1.3.h']]],
['ofptfpt13_5fapply_5fsetfield',['OFPTFPT13_APPLY_SETFIELD',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573acedb2e43559622c909a5fee34ed63d98',1,'openflow-1.3.h']]],
['ofptfpt13_5fapply_5fsetfield_5fmiss',['OFPTFPT13_APPLY_SETFIELD_MISS',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573a34b6661a9122b45126002cb4875f9a5e',1,'openflow-1.3.h']]],
['ofptfpt13_5fexperimenter',['OFPTFPT13_EXPERIMENTER',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573a2b20ec8f7bf26a10410764d502149c5c',1,'openflow-1.3.h']]],
['ofptfpt13_5fexperimenter_5fmiss',['OFPTFPT13_EXPERIMENTER_MISS',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573a9f491762ea1e82dead35fa2360e532f7',1,'openflow-1.3.h']]],
['ofptfpt13_5finstructions',['OFPTFPT13_INSTRUCTIONS',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573acf7eb6a1fcead33b770eea4ed207ad5b',1,'openflow-1.3.h']]],
['ofptfpt13_5finstructions_5fmiss',['OFPTFPT13_INSTRUCTIONS_MISS',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573a178b58cc979af82011c354257b4812ca',1,'openflow-1.3.h']]],
['ofptfpt13_5fmatch',['OFPTFPT13_MATCH',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573a14bdb778cb09e878ff6898b21d695bb5',1,'openflow-1.3.h']]],
['ofptfpt13_5fnext_5ftables',['OFPTFPT13_NEXT_TABLES',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573af67cecbfd0bbea977a1688784598d3a7',1,'openflow-1.3.h']]],
['ofptfpt13_5fnext_5ftables_5fmiss',['OFPTFPT13_NEXT_TABLES_MISS',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573a130d2da2a00c33983c60799bb6ba1266',1,'openflow-1.3.h']]],
['ofptfpt13_5fwildcards',['OFPTFPT13_WILDCARDS',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573a766f2ead263586aa956101d78a613f4a',1,'openflow-1.3.h']]],
['ofptfpt13_5fwrite_5factions',['OFPTFPT13_WRITE_ACTIONS',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573af2ff86342e8b4656e82572d226b04687',1,'openflow-1.3.h']]],
['ofptfpt13_5fwrite_5factions_5fmiss',['OFPTFPT13_WRITE_ACTIONS_MISS',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573aa7e6479c7da5b4c0aeca48d5040cf754',1,'openflow-1.3.h']]],
['ofptfpt13_5fwrite_5fsetfield',['OFPTFPT13_WRITE_SETFIELD',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573a9bdf5a81923ddf9de0afa994df49b4a4',1,'openflow-1.3.h']]],
['ofptfpt13_5fwrite_5fsetfield_5fmiss',['OFPTFPT13_WRITE_SETFIELD_MISS',['../openflow-1_83_8h.html#adc42647b6e8b47d689d042e50a25e573af9657aab019bd2411ed582ee95045746',1,'openflow-1.3.h']]],
['ofptfpt_5fexperimenter_5fmaster',['OFPTFPT_EXPERIMENTER_MASTER',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fda5d9c065af2308c6e20837c1e0c61e8dd',1,'openflow-1.4.h']]],
['ofptfpt_5fexperimenter_5fslave',['OFPTFPT_EXPERIMENTER_SLAVE',['../openflow-1_84_8h.html#affbc59610b5111b712175530370721fda2ba5fda3c3ee7abe8db18c467920ef56',1,'openflow-1.4.h']]],
['ofptmpef14_5fimportance',['OFPTMPEF14_IMPORTANCE',['../openflow-1_84_8h.html#a09cbe851752535f6b881d09abc32f2b9a6f99d268e676e461e847d67fbaf3a79c',1,'openflow-1.4.h']]],
['ofptmpef14_5flifetime',['OFPTMPEF14_LIFETIME',['../openflow-1_84_8h.html#a09cbe851752535f6b881d09abc32f2b9a0ec0d28910bbe08b8111768a78647221',1,'openflow-1.4.h']]],
['ofptmpef14_5fother',['OFPTMPEF14_OTHER',['../openflow-1_84_8h.html#a09cbe851752535f6b881d09abc32f2b9affd6cb7c38802e26449e8da276f6c6b5',1,'openflow-1.4.h']]],
['ofptmpt14_5feviction',['OFPTMPT14_EVICTION',['../openflow-1_84_8h.html#adc316df8e555f29f587e80f4989c0705ad9ae758e46637054a6721ad954e495cf',1,'openflow-1.4.h']]],
['ofptmpt14_5fexperimenter',['OFPTMPT14_EXPERIMENTER',['../openflow-1_84_8h.html#adc316df8e555f29f587e80f4989c0705ad3407ccef70030e327d7b346d5767c85',1,'openflow-1.4.h']]],
['ofptmpt14_5fvacancy',['OFPTMPT14_VACANCY',['../openflow-1_84_8h.html#adc316df8e555f29f587e80f4989c0705a79eccd52c3fa819109bdf50aebc09e9f',1,'openflow-1.4.h']]],
['ofptr_5fvacancy_5fdown',['OFPTR_VACANCY_DOWN',['../openflow-1_84_8h.html#a3ac2175b06175b841c04544717370a61a542133cbe8f2c8fd59e2911ab0794879',1,'openflow-1.4.h']]],
['ofptr_5fvacancy_5fup',['OFPTR_VACANCY_UP',['../openflow-1_84_8h.html#a3ac2175b06175b841c04544717370a61abff538e2f4a4fb5eb2a2115bea0611e9',1,'openflow-1.4.h']]],
['ofptt_5fall',['OFPTT_ALL',['../openflow-common_8h.html#a8c522c8aeb5faee4a837f440d781195aa1bfabff4687e1a7979a8c6c0b16e3ab7',1,'openflow-common.h']]],
['ofptt_5fmax',['OFPTT_MAX',['../openflow-common_8h.html#a8c522c8aeb5faee4a837f440d781195aa2b287bb7cba3e75d7b5b5266118fb62b',1,'openflow-common.h']]],
['ofptype_5faggregate_5fstats_5freply',['OFPTYPE_AGGREGATE_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea0972cd525b9863102369bb4b4a4841eb',1,'ofp-msgs.h']]],
['ofptype_5faggregate_5fstats_5frequest',['OFPTYPE_AGGREGATE_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea063b4c737fc9c62f2533afc849c30323',1,'ofp-msgs.h']]],
['ofptype_5fbarrier_5freply',['OFPTYPE_BARRIER_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eabf3f1f2cb22c7a7d8ed55364ec7ead5c',1,'ofp-msgs.h']]],
['ofptype_5fbarrier_5frequest',['OFPTYPE_BARRIER_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eaaa8fbb7dd151da9895eec49ba49cb378',1,'ofp-msgs.h']]],
['ofptype_5fbundle_5fadd_5fmessage',['OFPTYPE_BUNDLE_ADD_MESSAGE',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ead90bef3d51503be7a42a8bf0ba775ff1',1,'ofp-msgs.h']]],
['ofptype_5fbundle_5fcontrol',['OFPTYPE_BUNDLE_CONTROL',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea8420170aec664716c9bbcf55d6e5c123',1,'ofp-msgs.h']]],
['ofptype_5fdesc_5fstats_5freply',['OFPTYPE_DESC_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eab6ed930a7cc496c5f7950e72a6353327',1,'ofp-msgs.h']]],
['ofptype_5fdesc_5fstats_5frequest',['OFPTYPE_DESC_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eac771fd8f2b32b0ac0e782bc599e7af7e',1,'ofp-msgs.h']]],
['ofptype_5fecho_5freply',['OFPTYPE_ECHO_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea546f8d77d056aa68d98a90e2890c4a22',1,'ofp-msgs.h']]],
['ofptype_5fecho_5frequest',['OFPTYPE_ECHO_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea218a05ea98ccce2b68c29fc1aae83f7a',1,'ofp-msgs.h']]],
['ofptype_5ferror',['OFPTYPE_ERROR',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea3e5347e4e8e1229c765ac5a15d136b72',1,'ofp-msgs.h']]],
['ofptype_5ffeatures_5freply',['OFPTYPE_FEATURES_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea6c88ebdeda23d8587c3773d07dc765c5',1,'ofp-msgs.h']]],
['ofptype_5ffeatures_5frequest',['OFPTYPE_FEATURES_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eaaf4e181386e4120249832552802f7cd3',1,'ofp-msgs.h']]],
['ofptype_5fflow_5fage',['OFPTYPE_FLOW_AGE',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea78998e40c06ed75b6e0d59989c18e683',1,'ofp-msgs.h']]],
['ofptype_5fflow_5fmod',['OFPTYPE_FLOW_MOD',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea840a494ba47db3422454f331fa796796',1,'ofp-msgs.h']]],
['ofptype_5fflow_5fmod_5ftable_5fid',['OFPTYPE_FLOW_MOD_TABLE_ID',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eac7b38d2dec001c59089663e5de5e86ef',1,'ofp-msgs.h']]],
['ofptype_5fflow_5fmonitor_5fcancel',['OFPTYPE_FLOW_MONITOR_CANCEL',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea2b4dca7adddf9f3ce83fab2145f3d084',1,'ofp-msgs.h']]],
['ofptype_5fflow_5fmonitor_5fpaused',['OFPTYPE_FLOW_MONITOR_PAUSED',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea820aa62819e645b49bd3a76ea64ca97d',1,'ofp-msgs.h']]],
['ofptype_5fflow_5fmonitor_5fresumed',['OFPTYPE_FLOW_MONITOR_RESUMED',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea6792b606dde00859d1d8c4e18cb42682',1,'ofp-msgs.h']]],
['ofptype_5fflow_5fmonitor_5fstats_5freply',['OFPTYPE_FLOW_MONITOR_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea3e73031bb6d3bc91e31f13c6f4c0db80',1,'ofp-msgs.h']]],
['ofptype_5fflow_5fmonitor_5fstats_5frequest',['OFPTYPE_FLOW_MONITOR_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea9a0bf1820ddedc95a3cd3f2f8ab84027',1,'ofp-msgs.h']]],
['ofptype_5fflow_5fremoved',['OFPTYPE_FLOW_REMOVED',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eadf5f8eedef0645f0b6b8ef308bdf8719',1,'ofp-msgs.h']]],
['ofptype_5fflow_5fstats_5freply',['OFPTYPE_FLOW_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ead0a2ee92dc0a69bdcd9b614f40c8b8d2',1,'ofp-msgs.h']]],
['ofptype_5fflow_5fstats_5frequest',['OFPTYPE_FLOW_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eabc1ca58775260434b09171ba9a3325cb',1,'ofp-msgs.h']]],
['ofptype_5fget_5fasync_5freply',['OFPTYPE_GET_ASYNC_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea0f692e9038e636eef23b3c6b6e2f5616',1,'ofp-msgs.h']]],
['ofptype_5fget_5fasync_5frequest',['OFPTYPE_GET_ASYNC_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eabf19904da414050eff49145c3180d6db',1,'ofp-msgs.h']]],
['ofptype_5fget_5fconfig_5freply',['OFPTYPE_GET_CONFIG_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea9c47f6f5c704a0641cdaca5dcf1c2c3b',1,'ofp-msgs.h']]],
['ofptype_5fget_5fconfig_5frequest',['OFPTYPE_GET_CONFIG_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea8343f5b05f5df21eb894399704929f46',1,'ofp-msgs.h']]],
['ofptype_5fgroup_5fdesc_5fstats_5freply',['OFPTYPE_GROUP_DESC_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea7b402562922ecfa87a6b3c25abab8afc',1,'ofp-msgs.h']]],
['ofptype_5fgroup_5fdesc_5fstats_5frequest',['OFPTYPE_GROUP_DESC_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea40d607b347d515bb5f4b71a3885ee9d0',1,'ofp-msgs.h']]],
['ofptype_5fgroup_5ffeatures_5fstats_5freply',['OFPTYPE_GROUP_FEATURES_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea15650b62f8cd99a32dd676d72f061701',1,'ofp-msgs.h']]],
['ofptype_5fgroup_5ffeatures_5fstats_5frequest',['OFPTYPE_GROUP_FEATURES_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eae36dd888c770a0be2c66e9cf4bf7dcec',1,'ofp-msgs.h']]],
['ofptype_5fgroup_5fmod',['OFPTYPE_GROUP_MOD',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea66c4130d01ced0bd41a770340c760ddc',1,'ofp-msgs.h']]],
['ofptype_5fgroup_5fstats_5freply',['OFPTYPE_GROUP_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea90c7a575fcf05d03987b9dfc360c7339',1,'ofp-msgs.h']]],
['ofptype_5fgroup_5fstats_5frequest',['OFPTYPE_GROUP_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eace798c8a68b8d52e4934fb0b71a1983f',1,'ofp-msgs.h']]],
['ofptype_5fhello',['OFPTYPE_HELLO',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea6d5ac9d2d5b60e7a2617754e6a07da21',1,'ofp-msgs.h']]],
['ofptype_5fmeter_5fconfig_5fstats_5freply',['OFPTYPE_METER_CONFIG_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eae5e2a48fa6f8dae54b137b7340fb6ba0',1,'ofp-msgs.h']]],
['ofptype_5fmeter_5fconfig_5fstats_5frequest',['OFPTYPE_METER_CONFIG_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eaab79c67eef88575eb74da6ceea992000',1,'ofp-msgs.h']]],
['ofptype_5fmeter_5ffeatures_5fstats_5freply',['OFPTYPE_METER_FEATURES_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea7ad6603e24b32aaf0a28ed3c12e67481',1,'ofp-msgs.h']]],
['ofptype_5fmeter_5ffeatures_5fstats_5frequest',['OFPTYPE_METER_FEATURES_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eabdf34e68bc2e846e153c18e950dc2ca6',1,'ofp-msgs.h']]],
['ofptype_5fmeter_5fmod',['OFPTYPE_METER_MOD',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eada61c8fe92d1893754683bbbd477437a',1,'ofp-msgs.h']]],
['ofptype_5fmeter_5fstats_5freply',['OFPTYPE_METER_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea90783df59797c55d3469c588d16a68a2',1,'ofp-msgs.h']]],
['ofptype_5fmeter_5fstats_5frequest',['OFPTYPE_METER_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea9df289b1bea5b9b8a00d922c10272529',1,'ofp-msgs.h']]],
['ofptype_5fnxt_5fgeneve_5ftable_5fmod',['OFPTYPE_NXT_GENEVE_TABLE_MOD',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eaddf1b31e49309e59c5628e3da85ccebe',1,'ofp-msgs.h']]],
['ofptype_5fnxt_5fgeneve_5ftable_5freply',['OFPTYPE_NXT_GENEVE_TABLE_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea1be3a238ea0c344fd0bdd2bcc3c82321',1,'ofp-msgs.h']]],
['ofptype_5fnxt_5fgeneve_5ftable_5frequest',['OFPTYPE_NXT_GENEVE_TABLE_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea1ae1986e2853ea17fc7ecc9e89b99c5c',1,'ofp-msgs.h']]],
['ofptype_5fpacket_5fin',['OFPTYPE_PACKET_IN',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eabec0e7e4025415b64215596d641c54dd',1,'ofp-msgs.h']]],
['ofptype_5fpacket_5fout',['OFPTYPE_PACKET_OUT',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea6ff5677e506d11ddc7cefebe33471a8a',1,'ofp-msgs.h']]],
['ofptype_5fport_5fdesc_5fstats_5freply',['OFPTYPE_PORT_DESC_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea0c7a16bae8eedcc4a9f8937a5c7054e1',1,'ofp-msgs.h']]],
['ofptype_5fport_5fdesc_5fstats_5frequest',['OFPTYPE_PORT_DESC_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea18a019d4d46e2bf4a77aa901ffb01acb',1,'ofp-msgs.h']]],
['ofptype_5fport_5fmod',['OFPTYPE_PORT_MOD',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea992a0d76f014708d99803e41e724fd2c',1,'ofp-msgs.h']]],
['ofptype_5fport_5fstats_5freply',['OFPTYPE_PORT_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eae8551bec5c9c426fc58f8dacc19f1cbd',1,'ofp-msgs.h']]],
['ofptype_5fport_5fstats_5frequest',['OFPTYPE_PORT_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eae93b6d8b33309a753125015ac12f128d',1,'ofp-msgs.h']]],
['ofptype_5fport_5fstatus',['OFPTYPE_PORT_STATUS',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea25ce84da33ffcec1e9a9bd01667a1c39',1,'ofp-msgs.h']]],
['ofptype_5fqueue_5fget_5fconfig_5freply',['OFPTYPE_QUEUE_GET_CONFIG_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea126a92ff93520917dc2c263c45c1d2a8',1,'ofp-msgs.h']]],
['ofptype_5fqueue_5fget_5fconfig_5frequest',['OFPTYPE_QUEUE_GET_CONFIG_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea477edbcf55afedb69c5841915b9139e7',1,'ofp-msgs.h']]],
['ofptype_5fqueue_5fstats_5freply',['OFPTYPE_QUEUE_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eafd3d984dae02e850e09ae492a3c9c137',1,'ofp-msgs.h']]],
['ofptype_5fqueue_5fstats_5frequest',['OFPTYPE_QUEUE_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea6625e107d2272f5eb321e8c51384bedb',1,'ofp-msgs.h']]],
['ofptype_5frole_5freply',['OFPTYPE_ROLE_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea5582149720671d50aa93bb1ac70ee014',1,'ofp-msgs.h']]],
['ofptype_5frole_5frequest',['OFPTYPE_ROLE_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eadcb28bf3341dd8e598c15eebaf8d81ae',1,'ofp-msgs.h']]],
['ofptype_5frole_5fstatus',['OFPTYPE_ROLE_STATUS',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea1a895cee25a16affe62bba668c830b2c',1,'ofp-msgs.h']]],
['ofptype_5fset_5fasync_5fconfig',['OFPTYPE_SET_ASYNC_CONFIG',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea4320cf36b5cefd8914fb4476771a438a',1,'ofp-msgs.h']]],
['ofptype_5fset_5fconfig',['OFPTYPE_SET_CONFIG',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea7fd9f08fa7c17f9f0b9eb1c6b9b05dcc',1,'ofp-msgs.h']]],
['ofptype_5fset_5fcontroller_5fid',['OFPTYPE_SET_CONTROLLER_ID',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eaf8605fa980edb345da7496af04aae51e',1,'ofp-msgs.h']]],
['ofptype_5fset_5fflow_5fformat',['OFPTYPE_SET_FLOW_FORMAT',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eaea12850ef34f62a1a7d0ff051b61176a',1,'ofp-msgs.h']]],
['ofptype_5fset_5fpacket_5fin_5fformat',['OFPTYPE_SET_PACKET_IN_FORMAT',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eaa99f567a335e638173d35afe6d0be217',1,'ofp-msgs.h']]],
['ofptype_5ftable_5fdesc_5freply',['OFPTYPE_TABLE_DESC_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea6018d61ffe6426c0b4655a687f2e8076',1,'ofp-msgs.h']]],
['ofptype_5ftable_5fdesc_5frequest',['OFPTYPE_TABLE_DESC_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eaf0c6ef39fa5c722d7d956b7db2602ffb',1,'ofp-msgs.h']]],
['ofptype_5ftable_5ffeatures_5fstats_5freply',['OFPTYPE_TABLE_FEATURES_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea4e10f604273a114e6db658de9bc72a2b',1,'ofp-msgs.h']]],
['ofptype_5ftable_5ffeatures_5fstats_5frequest',['OFPTYPE_TABLE_FEATURES_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea66f318bef410f75485b26800b7824d7c',1,'ofp-msgs.h']]],
['ofptype_5ftable_5fmod',['OFPTYPE_TABLE_MOD',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ead26a3070f163041e8786c9324e72c5a1',1,'ofp-msgs.h']]],
['ofptype_5ftable_5fstats_5freply',['OFPTYPE_TABLE_STATS_REPLY',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5ea706f7bc86f0c0673513ab48fba937fe8',1,'ofp-msgs.h']]],
['ofptype_5ftable_5fstats_5frequest',['OFPTYPE_TABLE_STATS_REQUEST',['../ofp-msgs_8h.html#a6883ebfa575f43a8601179d4fd160c5eae24beb8c19a28e197da81fe2d2f06f9d',1,'ofp-msgs.h']]],
['ofputil_5fc_5farp_5fmatch_5fip',['OFPUTIL_C_ARP_MATCH_IP',['../ofp-util_8h.html#a50743bae9daa8de0a117708a78f1ec4faa67329114ac8f8355d4c44edb5da96a9',1,'ofp-util.h']]],
['ofputil_5fc_5fflow_5fstats',['OFPUTIL_C_FLOW_STATS',['../ofp-util_8h.html#a50743bae9daa8de0a117708a78f1ec4fa91791209ff754c6a26efd0c517809418',1,'ofp-util.h']]],
['ofputil_5fc_5fgroup_5fstats',['OFPUTIL_C_GROUP_STATS',['../ofp-util_8h.html#a50743bae9daa8de0a117708a78f1ec4fa795db3d5e15522c6ff91059880f75562',1,'ofp-util.h']]],
['ofputil_5fc_5fip_5freasm',['OFPUTIL_C_IP_REASM',['../ofp-util_8h.html#a50743bae9daa8de0a117708a78f1ec4fa3e586f2661aabcdb05b01a863a945f17',1,'ofp-util.h']]],
['ofputil_5fc_5fport_5fblocked',['OFPUTIL_C_PORT_BLOCKED',['../ofp-util_8h.html#a50743bae9daa8de0a117708a78f1ec4fa62411b85165e2dd9f528b7e8d91d85b6',1,'ofp-util.h']]],
['ofputil_5fc_5fport_5fstats',['OFPUTIL_C_PORT_STATS',['../ofp-util_8h.html#a50743bae9daa8de0a117708a78f1ec4fa3fc2fa6aaf5339d68ca12be7d38a3f75',1,'ofp-util.h']]],
['ofputil_5fc_5fqueue_5fstats',['OFPUTIL_C_QUEUE_STATS',['../ofp-util_8h.html#a50743bae9daa8de0a117708a78f1ec4fab72f8246ff260d3eee740a3afb196d84',1,'ofp-util.h']]],
['ofputil_5fc_5fstp',['OFPUTIL_C_STP',['../ofp-util_8h.html#a50743bae9daa8de0a117708a78f1ec4fa0b32b9715a8aac085e0a6344349cf739',1,'ofp-util.h']]],
['ofputil_5fc_5ftable_5fstats',['OFPUTIL_C_TABLE_STATS',['../ofp-util_8h.html#a50743bae9daa8de0a117708a78f1ec4fa7379b6d5cd595460531fca488fe6eb78',1,'ofp-util.h']]],
['ofputil_5fff_5fcheck_5foverlap',['OFPUTIL_FF_CHECK_OVERLAP',['../ofp-util_8h.html#a13b3702ad33d149bbd88b27f73d0e629aa504946b377d3286a1b4103c15a953cf',1,'ofp-util.h']]],
['ofputil_5fff_5femerg',['OFPUTIL_FF_EMERG',['../ofp-util_8h.html#a13b3702ad33d149bbd88b27f73d0e629a52a968fc78315b61f7c83559724bdd7a',1,'ofp-util.h']]],
['ofputil_5fff_5fhidden_5ffields',['OFPUTIL_FF_HIDDEN_FIELDS',['../ofp-util_8h.html#a13b3702ad33d149bbd88b27f73d0e629a9febc35a50fe3170414e64f8c650da15',1,'ofp-util.h']]],
['ofputil_5fff_5fno_5fbyt_5fcounts',['OFPUTIL_FF_NO_BYT_COUNTS',['../ofp-util_8h.html#a13b3702ad33d149bbd88b27f73d0e629a144b1dc5181cb195f5e327452db77f35',1,'ofp-util.h']]],
['ofputil_5fff_5fno_5fpkt_5fcounts',['OFPUTIL_FF_NO_PKT_COUNTS',['../ofp-util_8h.html#a13b3702ad33d149bbd88b27f73d0e629aa71ca1b6005c52e548b4727cd455799a',1,'ofp-util.h']]],
['ofputil_5fff_5fno_5freadonly',['OFPUTIL_FF_NO_READONLY',['../ofp-util_8h.html#a13b3702ad33d149bbd88b27f73d0e629a283ba20660d4430fa98033ab3e8ca484',1,'ofp-util.h']]],
['ofputil_5fff_5freset_5fcounts',['OFPUTIL_FF_RESET_COUNTS',['../ofp-util_8h.html#a13b3702ad33d149bbd88b27f73d0e629a8e446996ce6bd8c1b1a88912bebeb426',1,'ofp-util.h']]],
['ofputil_5fff_5fsend_5fflow_5frem',['OFPUTIL_FF_SEND_FLOW_REM',['../ofp-util_8h.html#a13b3702ad33d149bbd88b27f73d0e629a477c76d759494251bf2a51a7e096206e',1,'ofp-util.h']]],
['ofputil_5fmeter_5fconfig',['OFPUTIL_METER_CONFIG',['../ofp-util_8h.html#a4f34de276f2b2f97b011085427bbb96caa790ac975910f476fb255ffc7cf88a41',1,'ofp-util.h']]],
['ofputil_5fmeter_5ffeatures',['OFPUTIL_METER_FEATURES',['../ofp-util_8h.html#a4f34de276f2b2f97b011085427bbb96cac1f622cd24d5595a2198aa93ef39b14b',1,'ofp-util.h']]],
['ofputil_5fmeter_5fstats',['OFPUTIL_METER_STATS',['../ofp-util_8h.html#a4f34de276f2b2f97b011085427bbb96ca05d3540e43c0715f93244cbb7f2296d2',1,'ofp-util.h']]],
['ofputil_5fp_5fof10_5fnxm',['OFPUTIL_P_OF10_NXM',['../ofp-util_8h.html#ad6ddb245efe25cc866d15c8560a89374a2b12509e6e2c1d89a0c3307c0146fd64',1,'ofp-util.h']]],
['ofputil_5fp_5fof10_5fnxm_5ftid',['OFPUTIL_P_OF10_NXM_TID',['../ofp-util_8h.html#ad6ddb245efe25cc866d15c8560a89374ad31318ab1320e93072bccb1214e0f648',1,'ofp-util.h']]],
['ofputil_5fp_5fof10_5fstd',['OFPUTIL_P_OF10_STD',['../ofp-util_8h.html#ad6ddb245efe25cc866d15c8560a89374ae494bd79e68713dbfc7928a999053180',1,'ofp-util.h']]],
['ofputil_5fp_5fof10_5fstd_5ftid',['OFPUTIL_P_OF10_STD_TID',['../ofp-util_8h.html#ad6ddb245efe25cc866d15c8560a89374a7b16753ec96d6c1a4186dd4ec8292204',1,'ofp-util.h']]],
['ofputil_5fp_5fof11_5fstd',['OFPUTIL_P_OF11_STD',['../ofp-util_8h.html#ad6ddb245efe25cc866d15c8560a89374a921bc40594d8e4805526f520aff9337f',1,'ofp-util.h']]],
['ofputil_5fp_5fof12_5foxm',['OFPUTIL_P_OF12_OXM',['../ofp-util_8h.html#ad6ddb245efe25cc866d15c8560a89374a3a5f7c86d646969eb80407740a066b80',1,'ofp-util.h']]],
['ofputil_5fp_5fof13_5foxm',['OFPUTIL_P_OF13_OXM',['../ofp-util_8h.html#ad6ddb245efe25cc866d15c8560a89374a437e5e10f51fa3e5a928130b8c65f4a6',1,'ofp-util.h']]],
['ofputil_5fp_5fof14_5foxm',['OFPUTIL_P_OF14_OXM',['../ofp-util_8h.html#ad6ddb245efe25cc866d15c8560a89374a9c9af3fc440aef5f7f617b0e4327e1f9',1,'ofp-util.h']]],
['ofputil_5fp_5fof15_5foxm',['OFPUTIL_P_OF15_OXM',['../ofp-util_8h.html#ad6ddb245efe25cc866d15c8560a89374aa791dc4343663f6ee66375b3c98bbe7c',1,'ofp-util.h']]],
['ofputil_5fpacket_5fin_5freason_5fbufsize',['OFPUTIL_PACKET_IN_REASON_BUFSIZE',['../ofp-util_8h.html#a52864abcf6ebd8d120995b36fe6ce06ea282ae898ed6dcdc2972633f32764ee99',1,'ofp-util.h']]],
['ofputil_5fpc_5fno_5fflood',['OFPUTIL_PC_NO_FLOOD',['../ofp-util_8h.html#ab27ad00027dfb5bef3fc5e05e73f97bea855d9b0426909c7efd39581657883375',1,'ofp-util.h']]],
['ofputil_5fpc_5fno_5ffwd',['OFPUTIL_PC_NO_FWD',['../ofp-util_8h.html#ab27ad00027dfb5bef3fc5e05e73f97beadc5826bf6398a935fe070724ed9d3724',1,'ofp-util.h']]],
['ofputil_5fpc_5fno_5fpacket_5fin',['OFPUTIL_PC_NO_PACKET_IN',['../ofp-util_8h.html#ab27ad00027dfb5bef3fc5e05e73f97beadac8d78067ba4c990d600e58b12da068',1,'ofp-util.h']]],
['ofputil_5fpc_5fno_5frecv',['OFPUTIL_PC_NO_RECV',['../ofp-util_8h.html#ab27ad00027dfb5bef3fc5e05e73f97beae14573cb0600d1f8b886533ee2f4509a',1,'ofp-util.h']]],
['ofputil_5fpc_5fno_5frecv_5fstp',['OFPUTIL_PC_NO_RECV_STP',['../ofp-util_8h.html#ab27ad00027dfb5bef3fc5e05e73f97bea7c5acb12c0ff127783b7c256ffb01c78',1,'ofp-util.h']]],
['ofputil_5fpc_5fno_5fstp',['OFPUTIL_PC_NO_STP',['../ofp-util_8h.html#ab27ad00027dfb5bef3fc5e05e73f97bea9c56725cd1998825c8ce3031c6390267',1,'ofp-util.h']]],
['ofputil_5fpc_5fport_5fdown',['OFPUTIL_PC_PORT_DOWN',['../ofp-util_8h.html#ab27ad00027dfb5bef3fc5e05e73f97bea12e30eb6737db0be0b0fcf896c052c81',1,'ofp-util.h']]],
['ofputil_5fps_5fblocked',['OFPUTIL_PS_BLOCKED',['../ofp-util_8h.html#a2a03843761a6eb27c5c9589ad621486ea1e64fd0a4ed7fbfea1c37ee8f558b17a',1,'ofp-util.h']]],
['ofputil_5fps_5flink_5fdown',['OFPUTIL_PS_LINK_DOWN',['../ofp-util_8h.html#a2a03843761a6eb27c5c9589ad621486ea7579daae44574c532a169495490dbbcd',1,'ofp-util.h']]],
['ofputil_5fps_5flive',['OFPUTIL_PS_LIVE',['../ofp-util_8h.html#a2a03843761a6eb27c5c9589ad621486ea270020653ea8729a2dbb86e3eba19c44',1,'ofp-util.h']]],
['ofputil_5fps_5fstp_5fblock',['OFPUTIL_PS_STP_BLOCK',['../ofp-util_8h.html#a2a03843761a6eb27c5c9589ad621486ea409a0f78ae1e963b144f40846ea38930',1,'ofp-util.h']]],
['ofputil_5fps_5fstp_5fforward',['OFPUTIL_PS_STP_FORWARD',['../ofp-util_8h.html#a2a03843761a6eb27c5c9589ad621486ea12a16fd662b0eb3b1db02744eacb3e6a',1,'ofp-util.h']]],
['ofputil_5fps_5fstp_5flearn',['OFPUTIL_PS_STP_LEARN',['../ofp-util_8h.html#a2a03843761a6eb27c5c9589ad621486ea604f91aeea20d5af80fb945b719a23eb',1,'ofp-util.h']]],
['ofputil_5fps_5fstp_5flisten',['OFPUTIL_PS_STP_LISTEN',['../ofp-util_8h.html#a2a03843761a6eb27c5c9589ad621486ea26ba5fdef554e3cb5af4fd0058ef32a6',1,'ofp-util.h']]],
['ofputil_5fps_5fstp_5fmask',['OFPUTIL_PS_STP_MASK',['../ofp-util_8h.html#a2a03843761a6eb27c5c9589ad621486ea6e02b417ec5191316600fe34d0a16266',1,'ofp-util.h']]],
['ofputil_5ftable_5feviction_5fdefault',['OFPUTIL_TABLE_EVICTION_DEFAULT',['../ofp-util_8h.html#aa669c95bb0a4c5e11fffdae610782b8ba8932a979b02dc06b96b72728cfdbbb85',1,'ofp-util.h']]],
['ofputil_5ftable_5feviction_5foff',['OFPUTIL_TABLE_EVICTION_OFF',['../ofp-util_8h.html#aa669c95bb0a4c5e11fffdae610782b8ba1f7328fda61558833b03db219ceda1ea',1,'ofp-util.h']]],
['ofputil_5ftable_5feviction_5fon',['OFPUTIL_TABLE_EVICTION_ON',['../ofp-util_8h.html#aa669c95bb0a4c5e11fffdae610782b8ba9abea5f06c284e8273810b7e3bd3e11d',1,'ofp-util.h']]],
['ofputil_5ftable_5fmiss_5fcontinue',['OFPUTIL_TABLE_MISS_CONTINUE',['../ofp-util_8h.html#a8027aa246f8c71f48bafbb7b6ddfe592a746b3ff5731ca69a8ef13c86104c215e',1,'ofp-util.h']]],
['ofputil_5ftable_5fmiss_5fcontroller',['OFPUTIL_TABLE_MISS_CONTROLLER',['../ofp-util_8h.html#a8027aa246f8c71f48bafbb7b6ddfe592ab9b77df4e516d8f3dff6f1ae827272fa',1,'ofp-util.h']]],
['ofputil_5ftable_5fmiss_5fdefault',['OFPUTIL_TABLE_MISS_DEFAULT',['../ofp-util_8h.html#a8027aa246f8c71f48bafbb7b6ddfe592ad0e6b5659875eb1c00e2d9a5e0bcf014',1,'ofp-util.h']]],
['ofputil_5ftable_5fmiss_5fdrop',['OFPUTIL_TABLE_MISS_DROP',['../ofp-util_8h.html#a8027aa246f8c71f48bafbb7b6ddfe592a037d8a95322e03eedabe4386483054e6',1,'ofp-util.h']]],
['ofpvid11_5fany',['OFPVID11_ANY',['../openflow-1_81_8h.html#a151f2da6b177cd9599711b6a19e22482a6c6e0605858bd60766b31b51ed1cbd13',1,'openflow-1.1.h']]],
['ofpvid11_5fnone',['OFPVID11_NONE',['../openflow-1_81_8h.html#a151f2da6b177cd9599711b6a19e22482a835f987fed0a1354863eb16fafd062e9',1,'openflow-1.1.h']]],
['ofpvid12_5fnone',['OFPVID12_NONE',['../openflow-1_82_8h.html#ad3d97bdc0ca6b1136766bbdbd0e37577a4dce8ef8b55fb1e11c3f2e94f271f920',1,'openflow-1.2.h']]],
['ofpvid12_5fpresent',['OFPVID12_PRESENT',['../openflow-1_82_8h.html#ad3d97bdc0ca6b1136766bbdbd0e37577a52443d552dfc40a0422725d3cd653dce',1,'openflow-1.2.h']]],
['ofpxmc12_5fexperimenter',['OFPXMC12_EXPERIMENTER',['../nx-match_8c.html#aacc864b91798d7d5972608334a918a72a912f371b20a3ef8df5e4cd32680a85f4',1,'nx-match.c']]],
['ofpxmc12_5fnxm_5f0',['OFPXMC12_NXM_0',['../nx-match_8c.html#aacc864b91798d7d5972608334a918a72a92ec95d769e4e225dd00a7bc52122deb',1,'nx-match.c']]],
['ofpxmc12_5fnxm_5f1',['OFPXMC12_NXM_1',['../nx-match_8c.html#aacc864b91798d7d5972608334a918a72ab9bdbe5ebb23478bbcb23523525609e3',1,'nx-match.c']]],
['ofpxmc12_5fopenflow_5fbasic',['OFPXMC12_OPENFLOW_BASIC',['../nx-match_8c.html#aacc864b91798d7d5972608334a918a72a8332b31c4b8bb13fbcca9a3bb35e4299',1,'nx-match.c']]],
['ofpxmc15_5fpacket_5fregs',['OFPXMC15_PACKET_REGS',['../nx-match_8c.html#aacc864b91798d7d5972608334a918a72a53bd1f19bec83fd8e7bae7644e093c5d',1,'nx-match.c']]],
['oftable_5fhidden',['OFTABLE_HIDDEN',['../ofproto-provider_8h.html#a406f8e3884e31b4eeac5d00bbc8c3bdca493a26a46cf71f677213f3ab60fddc63',1,'ofproto-provider.h']]],
['oftable_5freadonly',['OFTABLE_READONLY',['../ofproto-provider_8h.html#a406f8e3884e31b4eeac5d00bbc8c3bdcaa95fe62208d3c454d2c06558d1a83c51',1,'ofproto-provider.h']]],
['ojms_5fdelete',['OJMS_DELETE',['../monitor_8h.html#a89da44ca7792c8bbcedc6982b16d4ebdaa77565ca9dfdff8b42387b52d3633716',1,'monitor.h']]],
['ojms_5finitial',['OJMS_INITIAL',['../monitor_8h.html#a89da44ca7792c8bbcedc6982b16d4ebda136692ef5e5b79292458493f3383c62f',1,'monitor.h']]],
['ojms_5finsert',['OJMS_INSERT',['../monitor_8h.html#a89da44ca7792c8bbcedc6982b16d4ebda365529f71e12021d35a9f62dbfe49603',1,'monitor.h']]],
['ojms_5fmodify',['OJMS_MODIFY',['../monitor_8h.html#a89da44ca7792c8bbcedc6982b16d4ebda7b48f8da78286c41c0fe24ba2749da29',1,'monitor.h']]],
['onfact_5fraw13_5fcopy_5ffield',['ONFACT_RAW13_COPY_FIELD',['../ofp-actions_8c.html#adc92dc1cd16d494eead2b1a84e606a86a57cb027e7d4eb48e7b731f0914dbdc6b',1,'ofp-actions.c']]],
['op_5fany',['OP_ANY',['../ovsdb-parser_8h.html#aa4aff5b4dd1078ca7d9f0af76e01b8aaaccf027bd6c08cde017717172a120a9f2',1,'ovsdb-parser.h']]],
['op_5farray',['OP_ARRAY',['../ovsdb-parser_8h.html#aa4aff5b4dd1078ca7d9f0af76e01b8aaae0775c82585e1e9ee7d49d1904cd2a0e',1,'ovsdb-parser.h']]],
['op_5fboolean',['OP_BOOLEAN',['../ovsdb-parser_8h.html#aa4aff5b4dd1078ca7d9f0af76e01b8aaa7dfbef446af8d33dd0d0a7ed4326a791',1,'ovsdb-parser.h']]],
['op_5fconvert',['OP_CONVERT',['../test-ovn_8c.html#aa7477aaaec7caec07471eb609c556f5fa6ccc94d237d0221110370a798163f7c9',1,'test-ovn.c']]],
['op_5ffalse',['OP_FALSE',['../ovsdb-parser_8h.html#aa4aff5b4dd1078ca7d9f0af76e01b8aaa6d68e13058c7fd0d7f66513aeca24c88',1,'ovsdb-parser.h']]],
['op_5fflow',['OP_FLOW',['../test-ovn_8c.html#aa7477aaaec7caec07471eb609c556f5fa370cd3031ba8ed082f626da24739b0b0',1,'test-ovn.c']]],
['op_5fid',['OP_ID',['../ovsdb-parser_8h.html#aa4aff5b4dd1078ca7d9f0af76e01b8aaa90e532fc9c12cba0cf665be61cc03aa8',1,'ovsdb-parser.h']]],
['op_5finteger',['OP_INTEGER',['../ovsdb-parser_8h.html#aa4aff5b4dd1078ca7d9f0af76e01b8aaaa5087579d71722be9d06816518da2bc2',1,'ovsdb-parser.h']]],
['op_5fnoninteger',['OP_NONINTEGER',['../ovsdb-parser_8h.html#aa4aff5b4dd1078ca7d9f0af76e01b8aaaa4dd5016932397e73272c529ce0ec8f1',1,'ovsdb-parser.h']]],
['op_5fnormalize',['OP_NORMALIZE',['../test-ovn_8c.html#aa7477aaaec7caec07471eb609c556f5fac9761f1852625914c46a203f267984b3',1,'test-ovn.c']]],
['op_5fnull',['OP_NULL',['../ovsdb-parser_8h.html#aa4aff5b4dd1078ca7d9f0af76e01b8aaa3a429eddbb7f929a66970a68efc450a0',1,'ovsdb-parser.h']]],
['op_5fnumber',['OP_NUMBER',['../ovsdb-parser_8h.html#aa4aff5b4dd1078ca7d9f0af76e01b8aaa938c79e00e21ab6a1e95dd901142dded',1,'ovsdb-parser.h']]],
['op_5fobject',['OP_OBJECT',['../ovsdb-parser_8h.html#aa4aff5b4dd1078ca7d9f0af76e01b8aaa5d06c03b186e86aee8b9433a2b3b5656',1,'ovsdb-parser.h']]],
['op_5foptional',['OP_OPTIONAL',['../ovsdb-parser_8h.html#aa4aff5b4dd1078ca7d9f0af76e01b8aaa682affcf84b517cac6e44a6f06739232',1,'ovsdb-parser.h']]],
['op_5fsimplify',['OP_SIMPLIFY',['../test-ovn_8c.html#aa7477aaaec7caec07471eb609c556f5fac41749512b28c1cb1386024de0ef234f',1,'test-ovn.c']]],
['op_5fstring',['OP_STRING',['../ovsdb-parser_8h.html#aa4aff5b4dd1078ca7d9f0af76e01b8aaaa502c803a23d2dea0a61c1579e8b8486',1,'ovsdb-parser.h']]],
['op_5ftrue',['OP_TRUE',['../ovsdb-parser_8h.html#aa4aff5b4dd1078ca7d9f0af76e01b8aaa804f1324daff5d2d04639a57ce6b8ec3',1,'ovsdb-parser.h']]],
['other_5finfo',['OTHER_INFO',['../rstp-common_8h.html#afbe67c749ff88ef9c14ef6765eb060f0a4ab7115d66aa09dac24a9dd19a76bc6d',1,'rstp-common.h']]],
['ovs_5faction_5fattr_5fhash',['OVS_ACTION_ATTR_HASH',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26eaa783c1e8488baea181d3497e0e9676f9',1,'OVS_ACTION_ATTR_HASH(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26eaa783c1e8488baea181d3497e0e9676f9',1,'OVS_ACTION_ATTR_HASH(): odp-netlink.h']]],
['ovs_5faction_5fattr_5foutput',['OVS_ACTION_ATTR_OUTPUT',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26eacad69687bf2bfae5092ea828cf0d4fe2',1,'OVS_ACTION_ATTR_OUTPUT(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26eacad69687bf2bfae5092ea828cf0d4fe2',1,'OVS_ACTION_ATTR_OUTPUT(): odp-netlink.h']]],
['ovs_5faction_5fattr_5fpop_5fmpls',['OVS_ACTION_ATTR_POP_MPLS',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26eafe4ec9b68459771a3ffd07d20cd628e1',1,'OVS_ACTION_ATTR_POP_MPLS(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26eafe4ec9b68459771a3ffd07d20cd628e1',1,'OVS_ACTION_ATTR_POP_MPLS(): odp-netlink.h']]],
['ovs_5faction_5fattr_5fpop_5fvlan',['OVS_ACTION_ATTR_POP_VLAN',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26ea9cd4ec18560c7c3f81276cba51a96a24',1,'OVS_ACTION_ATTR_POP_VLAN(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26ea9cd4ec18560c7c3f81276cba51a96a24',1,'OVS_ACTION_ATTR_POP_VLAN(): odp-netlink.h']]],
['ovs_5faction_5fattr_5fpush_5fmpls',['OVS_ACTION_ATTR_PUSH_MPLS',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26eafb68488325a1ab2d6bfb67ea115a5cdb',1,'OVS_ACTION_ATTR_PUSH_MPLS(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26eafb68488325a1ab2d6bfb67ea115a5cdb',1,'OVS_ACTION_ATTR_PUSH_MPLS(): odp-netlink.h']]],
['ovs_5faction_5fattr_5fpush_5fvlan',['OVS_ACTION_ATTR_PUSH_VLAN',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26ea6f41b7751556ff0acc2f4c6f94963ba6',1,'OVS_ACTION_ATTR_PUSH_VLAN(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26ea6f41b7751556ff0acc2f4c6f94963ba6',1,'OVS_ACTION_ATTR_PUSH_VLAN(): odp-netlink.h']]],
['ovs_5faction_5fattr_5frecirc',['OVS_ACTION_ATTR_RECIRC',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26ea2cad0b08a7809d6e7cb1a9e86d73a47c',1,'OVS_ACTION_ATTR_RECIRC(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26ea2cad0b08a7809d6e7cb1a9e86d73a47c',1,'OVS_ACTION_ATTR_RECIRC(): odp-netlink.h']]],
['ovs_5faction_5fattr_5fsample',['OVS_ACTION_ATTR_SAMPLE',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26eaddc6f70b9e8501e5bb90548373faf734',1,'OVS_ACTION_ATTR_SAMPLE(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26eaddc6f70b9e8501e5bb90548373faf734',1,'OVS_ACTION_ATTR_SAMPLE(): odp-netlink.h']]],
['ovs_5faction_5fattr_5fset',['OVS_ACTION_ATTR_SET',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26eaff937deb7687d0dd4b073c27aed9c8be',1,'OVS_ACTION_ATTR_SET(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26eaff937deb7687d0dd4b073c27aed9c8be',1,'OVS_ACTION_ATTR_SET(): odp-netlink.h']]],
['ovs_5faction_5fattr_5fset_5fmasked',['OVS_ACTION_ATTR_SET_MASKED',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26ea50a466abca8b11394e9364de28ebe03f',1,'OVS_ACTION_ATTR_SET_MASKED(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26ea50a466abca8b11394e9364de28ebe03f',1,'OVS_ACTION_ATTR_SET_MASKED(): odp-netlink.h']]],
['ovs_5faction_5fattr_5ftunnel_5fpop',['OVS_ACTION_ATTR_TUNNEL_POP',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26ea342ee7c1a254d643fb285248c8c30600',1,'OVS_ACTION_ATTR_TUNNEL_POP(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26ea342ee7c1a254d643fb285248c8c30600',1,'OVS_ACTION_ATTR_TUNNEL_POP(): odp-netlink.h']]],
['ovs_5faction_5fattr_5ftunnel_5fpush',['OVS_ACTION_ATTR_TUNNEL_PUSH',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26ea1be03aa7fae601a428d5b9ec6269bf44',1,'OVS_ACTION_ATTR_TUNNEL_PUSH(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26ea1be03aa7fae601a428d5b9ec6269bf44',1,'OVS_ACTION_ATTR_TUNNEL_PUSH(): odp-netlink.h']]],
['ovs_5faction_5fattr_5funspec',['OVS_ACTION_ATTR_UNSPEC',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26ea7ea71a1f3bf51504d9ee79e77578287b',1,'OVS_ACTION_ATTR_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26ea7ea71a1f3bf51504d9ee79e77578287b',1,'OVS_ACTION_ATTR_UNSPEC(): odp-netlink.h']]],
['ovs_5faction_5fattr_5fuserspace',['OVS_ACTION_ATTR_USERSPACE',['../openvswitch_8h.html#affc4a4d29437ad03a23444243e2db26ea17132af22505d8b1bb535a270f83a8bd',1,'OVS_ACTION_ATTR_USERSPACE(): openvswitch.h'],['../odp-netlink_8h.html#affc4a4d29437ad03a23444243e2db26ea17132af22505d8b1bb535a270f83a8bd',1,'OVS_ACTION_ATTR_USERSPACE(): odp-netlink.h']]],
['ovs_5fbuffer_5ffragment',['OVS_BUFFER_FRAGMENT',['../BufferMgmt_8h.html#a394b3903fbf00ba2b6243f60689a5a5fae730055bd69c56df50f75e45344bba7f',1,'BufferMgmt.h']]],
['ovs_5fbuffer_5ffrom_5ffix_5fsize_5fpool',['OVS_BUFFER_FROM_FIX_SIZE_POOL',['../BufferMgmt_8h.html#a394b3903fbf00ba2b6243f60689a5a5fa1dab99c10e4e5e4efe4d3d8e82facf33',1,'BufferMgmt.h']]],
['ovs_5fbuffer_5ffrom_5fnbl_5fonly_5fpool',['OVS_BUFFER_FROM_NBL_ONLY_POOL',['../BufferMgmt_8h.html#a394b3903fbf00ba2b6243f60689a5a5fa81aa4763528b4a943b437f1fd5a4e61e',1,'BufferMgmt.h']]],
['ovs_5fbuffer_5ffrom_5fzero_5fsize_5fpool',['OVS_BUFFER_FROM_ZERO_SIZE_POOL',['../BufferMgmt_8h.html#a394b3903fbf00ba2b6243f60689a5a5fa00cf79c6483f6de3cbce789063d44dbc',1,'BufferMgmt.h']]],
['ovs_5fbuffer_5fneed_5fcomplete',['OVS_BUFFER_NEED_COMPLETE',['../BufferMgmt_8h.html#a394b3903fbf00ba2b6243f60689a5a5fabdc0e9bf89a7948103d890914a1991bf',1,'BufferMgmt.h']]],
['ovs_5fbuffer_5fprivate_5fcontext',['OVS_BUFFER_PRIVATE_CONTEXT',['../BufferMgmt_8h.html#a394b3903fbf00ba2b6243f60689a5a5fa2b17a0c16c0445277179c03b8e2024df',1,'BufferMgmt.h']]],
['ovs_5fbuffer_5fprivate_5fdata',['OVS_BUFFER_PRIVATE_DATA',['../BufferMgmt_8h.html#a394b3903fbf00ba2b6243f60689a5a5fadde8c41799f0cefa7b766de3548ee92e',1,'BufferMgmt.h']]],
['ovs_5fbuffer_5fprivate_5fforward_5fcontext',['OVS_BUFFER_PRIVATE_FORWARD_CONTEXT',['../BufferMgmt_8h.html#a394b3903fbf00ba2b6243f60689a5a5fa50edac20dc3316e9e7c24c04eebd4034',1,'BufferMgmt.h']]],
['ovs_5fbuffer_5fprivate_5fmdl',['OVS_BUFFER_PRIVATE_MDL',['../BufferMgmt_8h.html#a394b3903fbf00ba2b6243f60689a5a5fa101bf39b65c0963e5d19d39614ce27be',1,'BufferMgmt.h']]],
['ovs_5fbuffer_5fprivate_5fnet_5fbuffer',['OVS_BUFFER_PRIVATE_NET_BUFFER',['../BufferMgmt_8h.html#a394b3903fbf00ba2b6243f60689a5a5fa0c00822d1c2cce85ce67d78876fc9e0e',1,'BufferMgmt.h']]],
['ovs_5fbuffer_5frecv_5fbuffer',['OVS_BUFFER_RECV_BUFFER',['../BufferMgmt_8h.html#a394b3903fbf00ba2b6243f60689a5a5fad77faf0dbdc3a0c5520ed4f42dd48403',1,'BufferMgmt.h']]],
['ovs_5fbuffer_5fsend_5fbuffer',['OVS_BUFFER_SEND_BUFFER',['../BufferMgmt_8h.html#a394b3903fbf00ba2b6243f60689a5a5fa6ee1e78e55bccc490bb034ab047222a4',1,'BufferMgmt.h']]],
['ovs_5fctrl_5fcmd_5fevent_5fnotify',['OVS_CTRL_CMD_EVENT_NOTIFY',['../OvsDpInterfaceExt_8h.html#acc88266c0ca0ce3e03e89ef4be575c6fa5d2a9fdd011407410e080f0bfe4928f0',1,'OvsDpInterfaceExt.h']]],
['ovs_5fctrl_5fcmd_5fmc_5fsubscribe_5freq',['OVS_CTRL_CMD_MC_SUBSCRIBE_REQ',['../OvsDpInterfaceExt_8h.html#acc88266c0ca0ce3e03e89ef4be575c6fab33ae444c386be73746b0967e85810be',1,'OvsDpInterfaceExt.h']]],
['ovs_5fctrl_5fcmd_5fpacket_5fsubscribe_5freq',['OVS_CTRL_CMD_PACKET_SUBSCRIBE_REQ',['../OvsDpInterfaceExt_8h.html#acc88266c0ca0ce3e03e89ef4be575c6fa0a68b9b4033654150c7a82c20ca01112',1,'OvsDpInterfaceExt.h']]],
['ovs_5fctrl_5fcmd_5fread_5fnotify',['OVS_CTRL_CMD_READ_NOTIFY',['../OvsDpInterfaceExt_8h.html#acc88266c0ca0ce3e03e89ef4be575c6fafb669a93c771f13e88554c0cd24472fa',1,'OvsDpInterfaceExt.h']]],
['ovs_5fctrl_5fcmd_5fwin_5fpend_5fpacket_5freq',['OVS_CTRL_CMD_WIN_PEND_PACKET_REQ',['../OvsDpInterfaceExt_8h.html#acc88266c0ca0ce3e03e89ef4be575c6fa4617ae30afcb9149dd14ae3bed406a09',1,'OvsDpInterfaceExt.h']]],
['ovs_5fctrl_5fcmd_5fwin_5fpend_5freq',['OVS_CTRL_CMD_WIN_PEND_REQ',['../OvsDpInterfaceExt_8h.html#acc88266c0ca0ce3e03e89ef4be575c6facf9e4a697af5d86a1bf93bac48dcd5ae',1,'OvsDpInterfaceExt.h']]],
['ovs_5fdp_5fattr_5fmegaflow_5fstats',['OVS_DP_ATTR_MEGAFLOW_STATS',['../openvswitch_8h.html#a6ebc7cf092971c117649bbb97f9b9ae7a910e55b5d883ea8b793b89473e48d667',1,'OVS_DP_ATTR_MEGAFLOW_STATS(): openvswitch.h'],['../odp-netlink_8h.html#a6ebc7cf092971c117649bbb97f9b9ae7a910e55b5d883ea8b793b89473e48d667',1,'OVS_DP_ATTR_MEGAFLOW_STATS(): odp-netlink.h']]],
['ovs_5fdp_5fattr_5fname',['OVS_DP_ATTR_NAME',['../openvswitch_8h.html#a6ebc7cf092971c117649bbb97f9b9ae7a4a2ac3c4a891b957f1788c0c9ebb736d',1,'OVS_DP_ATTR_NAME(): openvswitch.h'],['../odp-netlink_8h.html#a6ebc7cf092971c117649bbb97f9b9ae7a4a2ac3c4a891b957f1788c0c9ebb736d',1,'OVS_DP_ATTR_NAME(): odp-netlink.h']]],
['ovs_5fdp_5fattr_5fstats',['OVS_DP_ATTR_STATS',['../openvswitch_8h.html#a6ebc7cf092971c117649bbb97f9b9ae7a87d0c639500ec7bf5f901ef8ea8a3e88',1,'OVS_DP_ATTR_STATS(): openvswitch.h'],['../odp-netlink_8h.html#a6ebc7cf092971c117649bbb97f9b9ae7a87d0c639500ec7bf5f901ef8ea8a3e88',1,'OVS_DP_ATTR_STATS(): odp-netlink.h']]],
['ovs_5fdp_5fattr_5funspec',['OVS_DP_ATTR_UNSPEC',['../openvswitch_8h.html#a6ebc7cf092971c117649bbb97f9b9ae7a531c7240b325fc3f49f0fae1d1380252',1,'OVS_DP_ATTR_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#a6ebc7cf092971c117649bbb97f9b9ae7a531c7240b325fc3f49f0fae1d1380252',1,'OVS_DP_ATTR_UNSPEC(): odp-netlink.h']]],
['ovs_5fdp_5fattr_5fupcall_5fpid',['OVS_DP_ATTR_UPCALL_PID',['../openvswitch_8h.html#a6ebc7cf092971c117649bbb97f9b9ae7a1f5b964b750d20b64d4f9c68fd39908a',1,'OVS_DP_ATTR_UPCALL_PID(): openvswitch.h'],['../odp-netlink_8h.html#a6ebc7cf092971c117649bbb97f9b9ae7a1f5b964b750d20b64d4f9c68fd39908a',1,'OVS_DP_ATTR_UPCALL_PID(): odp-netlink.h']]],
['ovs_5fdp_5fattr_5fuser_5ffeatures',['OVS_DP_ATTR_USER_FEATURES',['../openvswitch_8h.html#a6ebc7cf092971c117649bbb97f9b9ae7a40ebfa9b92707b878c6d32c889537b32',1,'OVS_DP_ATTR_USER_FEATURES(): openvswitch.h'],['../odp-netlink_8h.html#a6ebc7cf092971c117649bbb97f9b9ae7a40ebfa9b92707b878c6d32c889537b32',1,'OVS_DP_ATTR_USER_FEATURES(): odp-netlink.h']]],
['ovs_5fdp_5fcmd_5fdel',['OVS_DP_CMD_DEL',['../openvswitch_8h.html#aa8ba551904bd37a482265422ae718fbda185ce13c521cefbceee31b2f7c8bc3dc',1,'OVS_DP_CMD_DEL(): openvswitch.h'],['../odp-netlink_8h.html#aa8ba551904bd37a482265422ae718fbda185ce13c521cefbceee31b2f7c8bc3dc',1,'OVS_DP_CMD_DEL(): odp-netlink.h']]],
['ovs_5fdp_5fcmd_5fget',['OVS_DP_CMD_GET',['../openvswitch_8h.html#aa8ba551904bd37a482265422ae718fbda1fcf92e01e60c2820a8799f4457a8171',1,'OVS_DP_CMD_GET(): openvswitch.h'],['../odp-netlink_8h.html#aa8ba551904bd37a482265422ae718fbda1fcf92e01e60c2820a8799f4457a8171',1,'OVS_DP_CMD_GET(): odp-netlink.h']]],
['ovs_5fdp_5fcmd_5fnew',['OVS_DP_CMD_NEW',['../openvswitch_8h.html#aa8ba551904bd37a482265422ae718fbdabde26912980136dc563e8918e2d90334',1,'OVS_DP_CMD_NEW(): openvswitch.h'],['../odp-netlink_8h.html#aa8ba551904bd37a482265422ae718fbdabde26912980136dc563e8918e2d90334',1,'OVS_DP_CMD_NEW(): odp-netlink.h']]],
['ovs_5fdp_5fcmd_5fset',['OVS_DP_CMD_SET',['../openvswitch_8h.html#aa8ba551904bd37a482265422ae718fbda4f5de6647e59f92ae8220596700b8fb2',1,'OVS_DP_CMD_SET(): openvswitch.h'],['../odp-netlink_8h.html#aa8ba551904bd37a482265422ae718fbda4f5de6647e59f92ae8220596700b8fb2',1,'OVS_DP_CMD_SET(): odp-netlink.h']]],
['ovs_5fdp_5fcmd_5funspec',['OVS_DP_CMD_UNSPEC',['../openvswitch_8h.html#aa8ba551904bd37a482265422ae718fbdad2d44916e251bbe54c53fc9de969fc41',1,'OVS_DP_CMD_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#aa8ba551904bd37a482265422ae718fbdad2d44916e251bbe54c53fc9de969fc41',1,'OVS_DP_CMD_UNSPEC(): odp-netlink.h']]],
['ovs_5fevent_5fconnect',['OVS_EVENT_CONNECT',['../DpInternal_8h.html#ae8a3b6a5d0d3244ed73924ab2421a0d0aea11cc0b6a794b832ccea8393fa28eff',1,'DpInternal.h']]],
['ovs_5fevent_5fdisconnect',['OVS_EVENT_DISCONNECT',['../DpInternal_8h.html#ae8a3b6a5d0d3244ed73924ab2421a0d0a296aabcee1efde54badbb9919f223df3',1,'DpInternal.h']]],
['ovs_5fevent_5flink_5fdown',['OVS_EVENT_LINK_DOWN',['../DpInternal_8h.html#ae8a3b6a5d0d3244ed73924ab2421a0d0a200bd0cf1b367f24165db97f8ac6f13a',1,'DpInternal.h']]],
['ovs_5fevent_5flink_5fup',['OVS_EVENT_LINK_UP',['../DpInternal_8h.html#ae8a3b6a5d0d3244ed73924ab2421a0d0abeac18c1c5cbd6fb12773b947a8dd489',1,'DpInternal.h']]],
['ovs_5fevent_5fmac_5fchange',['OVS_EVENT_MAC_CHANGE',['../DpInternal_8h.html#ae8a3b6a5d0d3244ed73924ab2421a0d0a04063ecafc058fadb9f4224a129a7b18',1,'DpInternal.h']]],
['ovs_5fevent_5fmask_5fall',['OVS_EVENT_MASK_ALL',['../DpInternal_8h.html#ae8a3b6a5d0d3244ed73924ab2421a0d0aeb0c281c45104132ccb2dd7d4d7a114c',1,'DpInternal.h']]],
['ovs_5fevent_5fmtu_5fchange',['OVS_EVENT_MTU_CHANGE',['../DpInternal_8h.html#ae8a3b6a5d0d3244ed73924ab2421a0d0a9da2e094ebfdffc1ad09d3ba5bb600d7',1,'DpInternal.h']]],
['ovs_5fflow_5fattr_5factions',['OVS_FLOW_ATTR_ACTIONS',['../openvswitch_8h.html#a57b731cb45ac4bf32234fbf071e9c554ae28f57a4b243f965ad67a6e96ad09aea',1,'OVS_FLOW_ATTR_ACTIONS(): openvswitch.h'],['../odp-netlink_8h.html#a57b731cb45ac4bf32234fbf071e9c554ae28f57a4b243f965ad67a6e96ad09aea',1,'OVS_FLOW_ATTR_ACTIONS(): odp-netlink.h']]],
['ovs_5fflow_5fattr_5fclear',['OVS_FLOW_ATTR_CLEAR',['../openvswitch_8h.html#a57b731cb45ac4bf32234fbf071e9c554a4f9d4c0277a9ba32b021a411a37259c6',1,'OVS_FLOW_ATTR_CLEAR(): openvswitch.h'],['../odp-netlink_8h.html#a57b731cb45ac4bf32234fbf071e9c554a4f9d4c0277a9ba32b021a411a37259c6',1,'OVS_FLOW_ATTR_CLEAR(): odp-netlink.h']]],
['ovs_5fflow_5fattr_5fkey',['OVS_FLOW_ATTR_KEY',['../openvswitch_8h.html#a57b731cb45ac4bf32234fbf071e9c554a0d310e7624962a1b4c5212459995a5c9',1,'OVS_FLOW_ATTR_KEY(): openvswitch.h'],['../odp-netlink_8h.html#a57b731cb45ac4bf32234fbf071e9c554a0d310e7624962a1b4c5212459995a5c9',1,'OVS_FLOW_ATTR_KEY(): odp-netlink.h']]],
['ovs_5fflow_5fattr_5fmask',['OVS_FLOW_ATTR_MASK',['../openvswitch_8h.html#a57b731cb45ac4bf32234fbf071e9c554a355a203b089e115abb28ea003dc5822c',1,'OVS_FLOW_ATTR_MASK(): openvswitch.h'],['../odp-netlink_8h.html#a57b731cb45ac4bf32234fbf071e9c554a355a203b089e115abb28ea003dc5822c',1,'OVS_FLOW_ATTR_MASK(): odp-netlink.h']]],
['ovs_5fflow_5fattr_5fprobe',['OVS_FLOW_ATTR_PROBE',['../openvswitch_8h.html#a57b731cb45ac4bf32234fbf071e9c554a667851b468a6c195d627220177b2a973',1,'OVS_FLOW_ATTR_PROBE(): openvswitch.h'],['../odp-netlink_8h.html#a57b731cb45ac4bf32234fbf071e9c554a667851b468a6c195d627220177b2a973',1,'OVS_FLOW_ATTR_PROBE(): odp-netlink.h']]],
['ovs_5fflow_5fattr_5fstats',['OVS_FLOW_ATTR_STATS',['../openvswitch_8h.html#a57b731cb45ac4bf32234fbf071e9c554aad261b1394b027a2d23a043bf4169103',1,'OVS_FLOW_ATTR_STATS(): openvswitch.h'],['../odp-netlink_8h.html#a57b731cb45ac4bf32234fbf071e9c554aad261b1394b027a2d23a043bf4169103',1,'OVS_FLOW_ATTR_STATS(): odp-netlink.h']]],
['ovs_5fflow_5fattr_5ftcp_5fflags',['OVS_FLOW_ATTR_TCP_FLAGS',['../openvswitch_8h.html#a57b731cb45ac4bf32234fbf071e9c554a41629096476c3022be85319b116f2839',1,'OVS_FLOW_ATTR_TCP_FLAGS(): openvswitch.h'],['../odp-netlink_8h.html#a57b731cb45ac4bf32234fbf071e9c554a41629096476c3022be85319b116f2839',1,'OVS_FLOW_ATTR_TCP_FLAGS(): odp-netlink.h']]],
['ovs_5fflow_5fattr_5fufid',['OVS_FLOW_ATTR_UFID',['../openvswitch_8h.html#a57b731cb45ac4bf32234fbf071e9c554a0d2822e9d4b6fa37c54dd8b693c2b465',1,'OVS_FLOW_ATTR_UFID(): openvswitch.h'],['../odp-netlink_8h.html#a57b731cb45ac4bf32234fbf071e9c554a0d2822e9d4b6fa37c54dd8b693c2b465',1,'OVS_FLOW_ATTR_UFID(): odp-netlink.h']]],
['ovs_5fflow_5fattr_5fufid_5fflags',['OVS_FLOW_ATTR_UFID_FLAGS',['../openvswitch_8h.html#a57b731cb45ac4bf32234fbf071e9c554a151813739a9f8d3ecc0c08503b9b0042',1,'OVS_FLOW_ATTR_UFID_FLAGS(): openvswitch.h'],['../odp-netlink_8h.html#a57b731cb45ac4bf32234fbf071e9c554a151813739a9f8d3ecc0c08503b9b0042',1,'OVS_FLOW_ATTR_UFID_FLAGS(): odp-netlink.h']]],
['ovs_5fflow_5fattr_5funspec',['OVS_FLOW_ATTR_UNSPEC',['../openvswitch_8h.html#a57b731cb45ac4bf32234fbf071e9c554a295d409740909bcb4d776b0ff0f201ac',1,'OVS_FLOW_ATTR_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#a57b731cb45ac4bf32234fbf071e9c554a295d409740909bcb4d776b0ff0f201ac',1,'OVS_FLOW_ATTR_UNSPEC(): odp-netlink.h']]],
['ovs_5fflow_5fattr_5fused',['OVS_FLOW_ATTR_USED',['../openvswitch_8h.html#a57b731cb45ac4bf32234fbf071e9c554abff0dc46f1e37c1afd60db41ee16ce53',1,'OVS_FLOW_ATTR_USED(): openvswitch.h'],['../odp-netlink_8h.html#a57b731cb45ac4bf32234fbf071e9c554abff0dc46f1e37c1afd60db41ee16ce53',1,'OVS_FLOW_ATTR_USED(): odp-netlink.h']]],
['ovs_5fflow_5fcmd_5fdel',['OVS_FLOW_CMD_DEL',['../openvswitch_8h.html#ab057316614ced2632c206f5b09fb6406a7bc985bd1b36d9c15028c5b66f650273',1,'OVS_FLOW_CMD_DEL(): openvswitch.h'],['../odp-netlink_8h.html#ab057316614ced2632c206f5b09fb6406a7bc985bd1b36d9c15028c5b66f650273',1,'OVS_FLOW_CMD_DEL(): odp-netlink.h']]],
['ovs_5fflow_5fcmd_5fget',['OVS_FLOW_CMD_GET',['../openvswitch_8h.html#ab057316614ced2632c206f5b09fb6406ad06e12cfb34bd0de68552a1fe1d85cc4',1,'OVS_FLOW_CMD_GET(): openvswitch.h'],['../odp-netlink_8h.html#ab057316614ced2632c206f5b09fb6406ad06e12cfb34bd0de68552a1fe1d85cc4',1,'OVS_FLOW_CMD_GET(): odp-netlink.h']]],
['ovs_5fflow_5fcmd_5fnew',['OVS_FLOW_CMD_NEW',['../openvswitch_8h.html#ab057316614ced2632c206f5b09fb6406ac86b2408dee1e6128057215035e2515e',1,'OVS_FLOW_CMD_NEW(): openvswitch.h'],['../odp-netlink_8h.html#ab057316614ced2632c206f5b09fb6406ac86b2408dee1e6128057215035e2515e',1,'OVS_FLOW_CMD_NEW(): odp-netlink.h']]],
['ovs_5fflow_5fcmd_5fset',['OVS_FLOW_CMD_SET',['../openvswitch_8h.html#ab057316614ced2632c206f5b09fb6406ac0cc55d79341974845a29394ccb1943a',1,'OVS_FLOW_CMD_SET(): openvswitch.h'],['../odp-netlink_8h.html#ab057316614ced2632c206f5b09fb6406ac0cc55d79341974845a29394ccb1943a',1,'OVS_FLOW_CMD_SET(): odp-netlink.h']]],
['ovs_5fflow_5fcmd_5funspec',['OVS_FLOW_CMD_UNSPEC',['../openvswitch_8h.html#ab057316614ced2632c206f5b09fb6406a2a0d0a23ebc6006e4d490576b7a05904',1,'OVS_FLOW_CMD_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#ab057316614ced2632c206f5b09fb6406a2a0d0a23ebc6006e4d490576b7a05904',1,'OVS_FLOW_CMD_UNSPEC(): odp-netlink.h']]],
['ovs_5ffrag_5ftype_5ffirst',['OVS_FRAG_TYPE_FIRST',['../openvswitch_8h.html#ad843f713a855bfcacd0adfe3e98eb447a7302a2ecd7ef2e817fadcd3e943af200',1,'OVS_FRAG_TYPE_FIRST(): openvswitch.h'],['../odp-netlink_8h.html#ad843f713a855bfcacd0adfe3e98eb447a7302a2ecd7ef2e817fadcd3e943af200',1,'OVS_FRAG_TYPE_FIRST(): odp-netlink.h']]],
['ovs_5ffrag_5ftype_5flater',['OVS_FRAG_TYPE_LATER',['../openvswitch_8h.html#ad843f713a855bfcacd0adfe3e98eb447a1d1c9f89ced33419ec870391d8954c10',1,'OVS_FRAG_TYPE_LATER(): openvswitch.h'],['../odp-netlink_8h.html#ad843f713a855bfcacd0adfe3e98eb447a1d1c9f89ced33419ec870391d8954c10',1,'OVS_FRAG_TYPE_LATER(): odp-netlink.h']]],
['ovs_5ffrag_5ftype_5fnone',['OVS_FRAG_TYPE_NONE',['../openvswitch_8h.html#ad843f713a855bfcacd0adfe3e98eb447a8551f9db6addee11579a10fe4b1e9d62',1,'OVS_FRAG_TYPE_NONE(): openvswitch.h'],['../odp-netlink_8h.html#ad843f713a855bfcacd0adfe3e98eb447a8551f9db6addee11579a10fe4b1e9d62',1,'OVS_FRAG_TYPE_NONE(): odp-netlink.h']]],
['ovs_5fhash_5falg_5fl4',['OVS_HASH_ALG_L4',['../openvswitch_8h.html#a26bab1f427f0d834e49cf627cd869b05abc58a227eae8b0c6e494642dd6e62903',1,'OVS_HASH_ALG_L4(): openvswitch.h'],['../odp-netlink_8h.html#a26bab1f427f0d834e49cf627cd869b05abc58a227eae8b0c6e494642dd6e62903',1,'OVS_HASH_ALG_L4(): odp-netlink.h']]],
['ovs_5finstructions',['OVS_INSTRUCTIONS',['../ofp-actions_8h.html#a7a22aca59bc0a82dcbdb8a635c230295aea2102939ad9af81b3ee7605c31c4015',1,'ofp-actions.h']]],
['ovs_5fip_5fhelper_5ffwd_5frequest',['OVS_IP_HELPER_FWD_REQUEST',['../IpHelper_8h.html#a9334a5b9057f32da96db9b5c6a045d67a1ddc21f239e6997d2fb8729757ac3df6',1,'IpHelper.h']]],
['ovs_5fip_5fhelper_5finternal_5fadapter_5fup',['OVS_IP_HELPER_INTERNAL_ADAPTER_UP',['../IpHelper_8h.html#a9334a5b9057f32da96db9b5c6a045d67ac8e4a31cc843b8ce89c1095263868b33',1,'IpHelper.h']]],
['ovs_5fkey_5fattr_5farp',['OVS_KEY_ATTR_ARP',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a78599a1574b0b24244c2911e420a951b',1,'OVS_KEY_ATTR_ARP(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a78599a1574b0b24244c2911e420a951b',1,'OVS_KEY_ATTR_ARP(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fbufsize',['OVS_KEY_ATTR_BUFSIZE',['../odp-util_8c.html#a97f905ac94bfebd46e50e32c7389e6ebafe71bf4b8de36b570b444946218b0423',1,'odp-util.c']]],
['ovs_5fkey_5fattr_5fdp_5fhash',['OVS_KEY_ATTR_DP_HASH',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a8f119543030b5cafc424d37ef817208d',1,'OVS_KEY_ATTR_DP_HASH(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a8f119543030b5cafc424d37ef817208d',1,'OVS_KEY_ATTR_DP_HASH(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fencap',['OVS_KEY_ATTR_ENCAP',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a869b60116d7d6ac79bfad91cc808cf75',1,'OVS_KEY_ATTR_ENCAP(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a869b60116d7d6ac79bfad91cc808cf75',1,'OVS_KEY_ATTR_ENCAP(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fethernet',['OVS_KEY_ATTR_ETHERNET',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a75127b87d8a2f36ae2c9aae2cf42cd56',1,'OVS_KEY_ATTR_ETHERNET(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a75127b87d8a2f36ae2c9aae2cf42cd56',1,'OVS_KEY_ATTR_ETHERNET(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fethertype',['OVS_KEY_ATTR_ETHERTYPE',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864aaccef1ecf941c78c70cf8a6a3374235a',1,'OVS_KEY_ATTR_ETHERTYPE(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864aaccef1ecf941c78c70cf8a6a3374235a',1,'OVS_KEY_ATTR_ETHERTYPE(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5ficmp',['OVS_KEY_ATTR_ICMP',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a7059323c7b14c529cc9d2ff8d3134de9',1,'OVS_KEY_ATTR_ICMP(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a7059323c7b14c529cc9d2ff8d3134de9',1,'OVS_KEY_ATTR_ICMP(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5ficmpv6',['OVS_KEY_ATTR_ICMPV6',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864af4093db51c9d12b98e1b18d7ddc2b5e3',1,'OVS_KEY_ATTR_ICMPV6(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864af4093db51c9d12b98e1b18d7ddc2b5e3',1,'OVS_KEY_ATTR_ICMPV6(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fin_5fport',['OVS_KEY_ATTR_IN_PORT',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a84a968b0e1dd75ba2f6b543c7fcde5b4',1,'OVS_KEY_ATTR_IN_PORT(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a84a968b0e1dd75ba2f6b543c7fcde5b4',1,'OVS_KEY_ATTR_IN_PORT(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fipv4',['OVS_KEY_ATTR_IPV4',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a67c672ef69eb0c5db9136812e3cdd92e',1,'OVS_KEY_ATTR_IPV4(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a67c672ef69eb0c5db9136812e3cdd92e',1,'OVS_KEY_ATTR_IPV4(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fipv6',['OVS_KEY_ATTR_IPV6',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864aff74bae1efeecfd5d6cf28d8987a8bfd',1,'OVS_KEY_ATTR_IPV6(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864aff74bae1efeecfd5d6cf28d8987a8bfd',1,'OVS_KEY_ATTR_IPV6(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fmpls',['OVS_KEY_ATTR_MPLS',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864ac46f7c8520cb93d091b4247ef8707f7b',1,'OVS_KEY_ATTR_MPLS(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864ac46f7c8520cb93d091b4247ef8707f7b',1,'OVS_KEY_ATTR_MPLS(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fnd',['OVS_KEY_ATTR_ND',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a6049f54211f31d444025675813d3881b',1,'OVS_KEY_ATTR_ND(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a6049f54211f31d444025675813d3881b',1,'OVS_KEY_ATTR_ND(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fpriority',['OVS_KEY_ATTR_PRIORITY',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a3dee91d2ad17f698e34ebb913fcef8bf',1,'OVS_KEY_ATTR_PRIORITY(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a3dee91d2ad17f698e34ebb913fcef8bf',1,'OVS_KEY_ATTR_PRIORITY(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5frecirc_5fid',['OVS_KEY_ATTR_RECIRC_ID',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864afa5af2b14a419c06035a864807572a69',1,'OVS_KEY_ATTR_RECIRC_ID(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864afa5af2b14a419c06035a864807572a69',1,'OVS_KEY_ATTR_RECIRC_ID(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fsctp',['OVS_KEY_ATTR_SCTP',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a33b7870d10d17ea1604aa83edf40e452',1,'OVS_KEY_ATTR_SCTP(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a33b7870d10d17ea1604aa83edf40e452',1,'OVS_KEY_ATTR_SCTP(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fskb_5fmark',['OVS_KEY_ATTR_SKB_MARK',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a32f36d9e41b0fbae0746d67fa34340ad',1,'OVS_KEY_ATTR_SKB_MARK(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a32f36d9e41b0fbae0746d67fa34340ad',1,'OVS_KEY_ATTR_SKB_MARK(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5ftcp',['OVS_KEY_ATTR_TCP',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a120ca2131b2881b0c52b6fcc8f6cccb5',1,'OVS_KEY_ATTR_TCP(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a120ca2131b2881b0c52b6fcc8f6cccb5',1,'OVS_KEY_ATTR_TCP(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5ftcp_5fflags',['OVS_KEY_ATTR_TCP_FLAGS',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a79bb45fd4c1a62364eec929283795161',1,'OVS_KEY_ATTR_TCP_FLAGS(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a79bb45fd4c1a62364eec929283795161',1,'OVS_KEY_ATTR_TCP_FLAGS(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5ftunnel',['OVS_KEY_ATTR_TUNNEL',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a97fc8cc803ab65e231ad28def7bcbb5f',1,'OVS_KEY_ATTR_TUNNEL(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a97fc8cc803ab65e231ad28def7bcbb5f',1,'OVS_KEY_ATTR_TUNNEL(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fudp',['OVS_KEY_ATTR_UDP',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a4dea7a1acfa9eeffb8f09838bb9f9a7d',1,'OVS_KEY_ATTR_UDP(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a4dea7a1acfa9eeffb8f09838bb9f9a7d',1,'OVS_KEY_ATTR_UDP(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5funspec',['OVS_KEY_ATTR_UNSPEC',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864a4976c14e5992a1a93d4c40d7c86f114d',1,'OVS_KEY_ATTR_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864a4976c14e5992a1a93d4c40d7c86f114d',1,'OVS_KEY_ATTR_UNSPEC(): odp-netlink.h']]],
['ovs_5fkey_5fattr_5fvlan',['OVS_KEY_ATTR_VLAN',['../openvswitch_8h.html#a6a279bc7098c9bc819c12355c9e07864ae513231d4612ed9b19551a7e70648005',1,'OVS_KEY_ATTR_VLAN(): openvswitch.h'],['../odp-netlink_8h.html#a6a279bc7098c9bc819c12355c9e07864ae513231d4612ed9b19551a7e70648005',1,'OVS_KEY_ATTR_VLAN(): odp-netlink.h']]],
['ovs_5fnl_5fattr_5fmcast_5fgrp',['OVS_NL_ATTR_MCAST_GRP',['../OvsDpInterfaceExt_8h.html#ae6ad93a71cfefae243aea37453fe31c1a7e79cbb9fb1a4c5c2d815141716a10bd',1,'OvsDpInterfaceExt.h']]],
['ovs_5fnl_5fattr_5fmcast_5fjoin',['OVS_NL_ATTR_MCAST_JOIN',['../OvsDpInterfaceExt_8h.html#ae6ad93a71cfefae243aea37453fe31c1aeaf8eb9b3e09ef34f458cf90836ca004',1,'OvsDpInterfaceExt.h']]],
['ovs_5fnl_5fattr_5fpacket_5fpid',['OVS_NL_ATTR_PACKET_PID',['../OvsDpInterfaceExt_8h.html#ae6ad93a71cfefae243aea37453fe31c1af4edde6e66e622598e91b0a7bc2420ab',1,'OvsDpInterfaceExt.h']]],
['ovs_5fnl_5fattr_5fpacket_5fsubscribe',['OVS_NL_ATTR_PACKET_SUBSCRIBE',['../OvsDpInterfaceExt_8h.html#ae6ad93a71cfefae243aea37453fe31c1a9da6392e11045380694f3e226aa5ff99',1,'OvsDpInterfaceExt.h']]],
['ovs_5fofprr_5fnone',['OVS_OFPRR_NONE',['../openflow-common_8h.html#a3da74ffe5ef15be7795316d042442b8ea1f1aeed0cbb85ac38968484233dd2326',1,'openflow-common.h']]],
['ovs_5fpacket_5fattr_5factions',['OVS_PACKET_ATTR_ACTIONS',['../openvswitch_8h.html#a34899be8f30456f4c7c2747eaf3eb78ba92b7b96f0518290779bfd078f1456d85',1,'OVS_PACKET_ATTR_ACTIONS(): openvswitch.h'],['../odp-netlink_8h.html#a34899be8f30456f4c7c2747eaf3eb78ba92b7b96f0518290779bfd078f1456d85',1,'OVS_PACKET_ATTR_ACTIONS(): odp-netlink.h']]],
['ovs_5fpacket_5fattr_5fegress_5ftun_5fkey',['OVS_PACKET_ATTR_EGRESS_TUN_KEY',['../openvswitch_8h.html#a34899be8f30456f4c7c2747eaf3eb78ba286dae32c610cf3e3d0e767ef003b1ff',1,'OVS_PACKET_ATTR_EGRESS_TUN_KEY(): openvswitch.h'],['../odp-netlink_8h.html#a34899be8f30456f4c7c2747eaf3eb78ba286dae32c610cf3e3d0e767ef003b1ff',1,'OVS_PACKET_ATTR_EGRESS_TUN_KEY(): odp-netlink.h']]],
['ovs_5fpacket_5fattr_5fkey',['OVS_PACKET_ATTR_KEY',['../openvswitch_8h.html#a34899be8f30456f4c7c2747eaf3eb78ba24d5d8704ff3c8ad939a01ea2f29acf7',1,'OVS_PACKET_ATTR_KEY(): openvswitch.h'],['../odp-netlink_8h.html#a34899be8f30456f4c7c2747eaf3eb78ba24d5d8704ff3c8ad939a01ea2f29acf7',1,'OVS_PACKET_ATTR_KEY(): odp-netlink.h']]],
['ovs_5fpacket_5fattr_5fpacket',['OVS_PACKET_ATTR_PACKET',['../openvswitch_8h.html#a34899be8f30456f4c7c2747eaf3eb78bac19f59ebb0be0e7a3d6e145369562977',1,'OVS_PACKET_ATTR_PACKET(): openvswitch.h'],['../odp-netlink_8h.html#a34899be8f30456f4c7c2747eaf3eb78bac19f59ebb0be0e7a3d6e145369562977',1,'OVS_PACKET_ATTR_PACKET(): odp-netlink.h']]],
['ovs_5fpacket_5fattr_5fprobe',['OVS_PACKET_ATTR_PROBE',['../openvswitch_8h.html#a34899be8f30456f4c7c2747eaf3eb78ba704db48bfb2df7e31805ee5c5909172e',1,'OVS_PACKET_ATTR_PROBE(): openvswitch.h'],['../odp-netlink_8h.html#a34899be8f30456f4c7c2747eaf3eb78ba704db48bfb2df7e31805ee5c5909172e',1,'OVS_PACKET_ATTR_PROBE(): odp-netlink.h']]],
['ovs_5fpacket_5fattr_5funspec',['OVS_PACKET_ATTR_UNSPEC',['../openvswitch_8h.html#a34899be8f30456f4c7c2747eaf3eb78bac7f5507f7075db7dd4f59d548be85d4f',1,'OVS_PACKET_ATTR_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#a34899be8f30456f4c7c2747eaf3eb78bac7f5507f7075db7dd4f59d548be85d4f',1,'OVS_PACKET_ATTR_UNSPEC(): odp-netlink.h']]],
['ovs_5fpacket_5fattr_5funused1',['OVS_PACKET_ATTR_UNUSED1',['../openvswitch_8h.html#a34899be8f30456f4c7c2747eaf3eb78ba81959fe0f878cd8f5f376492b131c6ad',1,'OVS_PACKET_ATTR_UNUSED1(): openvswitch.h'],['../odp-netlink_8h.html#a34899be8f30456f4c7c2747eaf3eb78ba81959fe0f878cd8f5f376492b131c6ad',1,'OVS_PACKET_ATTR_UNUSED1(): odp-netlink.h']]],
['ovs_5fpacket_5fattr_5funused2',['OVS_PACKET_ATTR_UNUSED2',['../openvswitch_8h.html#a34899be8f30456f4c7c2747eaf3eb78baca367a270a937a64a6364c27728c4fb3',1,'OVS_PACKET_ATTR_UNUSED2(): openvswitch.h'],['../odp-netlink_8h.html#a34899be8f30456f4c7c2747eaf3eb78baca367a270a937a64a6364c27728c4fb3',1,'OVS_PACKET_ATTR_UNUSED2(): odp-netlink.h']]],
['ovs_5fpacket_5fattr_5fuserdata',['OVS_PACKET_ATTR_USERDATA',['../openvswitch_8h.html#a34899be8f30456f4c7c2747eaf3eb78ba100abd429da107a1405dacf7a9bfa6f0',1,'OVS_PACKET_ATTR_USERDATA(): openvswitch.h'],['../odp-netlink_8h.html#a34899be8f30456f4c7c2747eaf3eb78ba100abd429da107a1405dacf7a9bfa6f0',1,'OVS_PACKET_ATTR_USERDATA(): odp-netlink.h']]],
['ovs_5fpacket_5fcmd_5faction',['OVS_PACKET_CMD_ACTION',['../openvswitch_8h.html#a162a763c571debd951c9d2727b0f9bc3a2af7ee4788fccebcf92e5a24c98261a2',1,'OVS_PACKET_CMD_ACTION(): openvswitch.h'],['../odp-netlink_8h.html#a162a763c571debd951c9d2727b0f9bc3a2af7ee4788fccebcf92e5a24c98261a2',1,'OVS_PACKET_CMD_ACTION(): odp-netlink.h']]],
['ovs_5fpacket_5fcmd_5fexecute',['OVS_PACKET_CMD_EXECUTE',['../openvswitch_8h.html#a162a763c571debd951c9d2727b0f9bc3ac4964483b5e4005e4c9c745b28735e75',1,'OVS_PACKET_CMD_EXECUTE(): openvswitch.h'],['../odp-netlink_8h.html#a162a763c571debd951c9d2727b0f9bc3ac4964483b5e4005e4c9c745b28735e75',1,'OVS_PACKET_CMD_EXECUTE(): odp-netlink.h']]],
['ovs_5fpacket_5fcmd_5fmiss',['OVS_PACKET_CMD_MISS',['../openvswitch_8h.html#a162a763c571debd951c9d2727b0f9bc3ae41f30829d03ed04928e74f82b349f0a',1,'OVS_PACKET_CMD_MISS(): openvswitch.h'],['../odp-netlink_8h.html#a162a763c571debd951c9d2727b0f9bc3ae41f30829d03ed04928e74f82b349f0a',1,'OVS_PACKET_CMD_MISS(): odp-netlink.h']]],
['ovs_5fpacket_5fcmd_5funspec',['OVS_PACKET_CMD_UNSPEC',['../openvswitch_8h.html#a162a763c571debd951c9d2727b0f9bc3af1b077da55a024a9a0100d1263dc4f42',1,'OVS_PACKET_CMD_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#a162a763c571debd951c9d2727b0f9bc3af1b077da55a024a9a0100d1263dc4f42',1,'OVS_PACKET_CMD_UNSPEC(): odp-netlink.h']]],
['ovs_5fsample_5fattr_5factions',['OVS_SAMPLE_ATTR_ACTIONS',['../openvswitch_8h.html#a5e170c4233862ef6223a7d26ffa980d6af557ec8d2fb56cf036384aab53211327',1,'OVS_SAMPLE_ATTR_ACTIONS(): openvswitch.h'],['../odp-netlink_8h.html#a5e170c4233862ef6223a7d26ffa980d6af557ec8d2fb56cf036384aab53211327',1,'OVS_SAMPLE_ATTR_ACTIONS(): odp-netlink.h']]],
['ovs_5fsample_5fattr_5fprobability',['OVS_SAMPLE_ATTR_PROBABILITY',['../openvswitch_8h.html#a5e170c4233862ef6223a7d26ffa980d6af761759afff1c7ca1663aab6fed71ebc',1,'OVS_SAMPLE_ATTR_PROBABILITY(): openvswitch.h'],['../odp-netlink_8h.html#a5e170c4233862ef6223a7d26ffa980d6af761759afff1c7ca1663aab6fed71ebc',1,'OVS_SAMPLE_ATTR_PROBABILITY(): odp-netlink.h']]],
['ovs_5fsample_5fattr_5funspec',['OVS_SAMPLE_ATTR_UNSPEC',['../openvswitch_8h.html#a5e170c4233862ef6223a7d26ffa980d6aa6d9d14f32aa0f1b0b14fe5f781427e6',1,'OVS_SAMPLE_ATTR_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#a5e170c4233862ef6223a7d26ffa980d6aa6d9d14f32aa0f1b0b14fe5f781427e6',1,'OVS_SAMPLE_ATTR_UNSPEC(): odp-netlink.h']]],
['ovs_5fstate_5fconnected',['OVS_STATE_CONNECTED',['../Vport_8h.html#abb7621346fd1817c79de758a7fa38500a92e85d37d1e9c24506a040f4dc02a28a',1,'Vport.h']]],
['ovs_5fstate_5fnic_5fcreated',['OVS_STATE_NIC_CREATED',['../Vport_8h.html#abb7621346fd1817c79de758a7fa38500accd1d056cf3ad846f5ab14ffd60ec9ce',1,'Vport.h']]],
['ovs_5fstate_5fport_5fcreated',['OVS_STATE_PORT_CREATED',['../Vport_8h.html#abb7621346fd1817c79de758a7fa38500a104dff900611aecef40cc4f5a03beaeb',1,'Vport.h']]],
['ovs_5fstate_5fport_5fdeleted',['OVS_STATE_PORT_DELETED',['../Vport_8h.html#abb7621346fd1817c79de758a7fa38500a18f5d18a42973f1011c1171fffc12aeb',1,'Vport.h']]],
['ovs_5fstate_5fport_5ftear_5fdown',['OVS_STATE_PORT_TEAR_DOWN',['../Vport_8h.html#abb7621346fd1817c79de758a7fa38500aa42e8647086285b51403db48417f4bbc',1,'Vport.h']]],
['ovs_5fstate_5funknown',['OVS_STATE_UNKNOWN',['../Vport_8h.html#abb7621346fd1817c79de758a7fa38500adc88cddc7f2519b554249a6b1bb5e0bf',1,'Vport.h']]],
['ovs_5ftun_5ffilter_5fcreate',['OVS_TUN_FILTER_CREATE',['../TunnelFilter_8c.html#a091d5c49bf27c0a3b86636e3b7aefeeeaf1eecc7e60beff58ddcd8a357b2c44e4',1,'TunnelFilter.c']]],
['ovs_5ftun_5ffilter_5fdelete',['OVS_TUN_FILTER_DELETE',['../TunnelFilter_8c.html#a091d5c49bf27c0a3b86636e3b7aefeeeaaa501bbb519ad168394c4088e46dd6e7',1,'TunnelFilter.c']]],
['ovs_5ftunnel_5fattr_5fdst_5fport',['OVS_TUNNEL_ATTR_DST_PORT',['../openvswitch_8h.html#a96a58e29e8dbf2b5bdeb775cba46556eae2bec9320cf2cc32228c9783e1bba39a',1,'OVS_TUNNEL_ATTR_DST_PORT(): openvswitch.h'],['../odp-netlink_8h.html#a7859c0a3efa8b1c360f5c2376baf051eae2bec9320cf2cc32228c9783e1bba39a',1,'OVS_TUNNEL_ATTR_DST_PORT(): odp-netlink.h']]],
['ovs_5ftunnel_5fattr_5fextension',['OVS_TUNNEL_ATTR_EXTENSION',['../openvswitch_8h.html#a96a58e29e8dbf2b5bdeb775cba46556ea310d573fc264521a7d47f37295666999',1,'OVS_TUNNEL_ATTR_EXTENSION(): openvswitch.h'],['../odp-netlink_8h.html#a7859c0a3efa8b1c360f5c2376baf051ea310d573fc264521a7d47f37295666999',1,'OVS_TUNNEL_ATTR_EXTENSION(): odp-netlink.h']]],
['ovs_5ftunnel_5fattr_5funspec',['OVS_TUNNEL_ATTR_UNSPEC',['../openvswitch_8h.html#a96a58e29e8dbf2b5bdeb775cba46556eae1beeaf0090cae949871c76945521f17',1,'OVS_TUNNEL_ATTR_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#a7859c0a3efa8b1c360f5c2376baf051eae1beeaf0090cae949871c76945521f17',1,'OVS_TUNNEL_ATTR_UNSPEC(): odp-netlink.h']]],
['ovs_5ftunnel_5fkey_5fattr_5fcsum',['OVS_TUNNEL_KEY_ATTR_CSUM',['../openvswitch_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a0b2355fe72f1590f795e2febdcb3cafe',1,'OVS_TUNNEL_KEY_ATTR_CSUM(): openvswitch.h'],['../odp-netlink_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a0b2355fe72f1590f795e2febdcb3cafe',1,'OVS_TUNNEL_KEY_ATTR_CSUM(): odp-netlink.h']]],
['ovs_5ftunnel_5fkey_5fattr_5fdont_5ffragment',['OVS_TUNNEL_KEY_ATTR_DONT_FRAGMENT',['../openvswitch_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a2b4acde1fe308fb5cdb703d197ccad11',1,'OVS_TUNNEL_KEY_ATTR_DONT_FRAGMENT(): openvswitch.h'],['../odp-netlink_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a2b4acde1fe308fb5cdb703d197ccad11',1,'OVS_TUNNEL_KEY_ATTR_DONT_FRAGMENT(): odp-netlink.h']]],
['ovs_5ftunnel_5fkey_5fattr_5fgeneve_5fopts',['OVS_TUNNEL_KEY_ATTR_GENEVE_OPTS',['../openvswitch_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a3a6f60bb79d6ad889a091b82667009b9',1,'OVS_TUNNEL_KEY_ATTR_GENEVE_OPTS(): openvswitch.h'],['../odp-netlink_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a3a6f60bb79d6ad889a091b82667009b9',1,'OVS_TUNNEL_KEY_ATTR_GENEVE_OPTS(): odp-netlink.h']]],
['ovs_5ftunnel_5fkey_5fattr_5fid',['OVS_TUNNEL_KEY_ATTR_ID',['../openvswitch_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427abba6b12276aaae09ecdf61a2189edda5',1,'OVS_TUNNEL_KEY_ATTR_ID(): openvswitch.h'],['../odp-netlink_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427abba6b12276aaae09ecdf61a2189edda5',1,'OVS_TUNNEL_KEY_ATTR_ID(): odp-netlink.h']]],
['ovs_5ftunnel_5fkey_5fattr_5fipv4_5fdst',['OVS_TUNNEL_KEY_ATTR_IPV4_DST',['../openvswitch_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427aa8a1fb062a0a5c1c718096a530c1fee9',1,'OVS_TUNNEL_KEY_ATTR_IPV4_DST(): openvswitch.h'],['../odp-netlink_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427aa8a1fb062a0a5c1c718096a530c1fee9',1,'OVS_TUNNEL_KEY_ATTR_IPV4_DST(): odp-netlink.h']]],
['ovs_5ftunnel_5fkey_5fattr_5fipv4_5fsrc',['OVS_TUNNEL_KEY_ATTR_IPV4_SRC',['../openvswitch_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427add76f93836f5e1dcb33419c58aa1afd0',1,'OVS_TUNNEL_KEY_ATTR_IPV4_SRC(): openvswitch.h'],['../odp-netlink_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427add76f93836f5e1dcb33419c58aa1afd0',1,'OVS_TUNNEL_KEY_ATTR_IPV4_SRC(): odp-netlink.h']]],
['ovs_5ftunnel_5fkey_5fattr_5foam',['OVS_TUNNEL_KEY_ATTR_OAM',['../openvswitch_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a72ef8de21b6623d09331a68f87038b95',1,'OVS_TUNNEL_KEY_ATTR_OAM(): openvswitch.h'],['../odp-netlink_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a72ef8de21b6623d09331a68f87038b95',1,'OVS_TUNNEL_KEY_ATTR_OAM(): odp-netlink.h']]],
['ovs_5ftunnel_5fkey_5fattr_5ftos',['OVS_TUNNEL_KEY_ATTR_TOS',['../openvswitch_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427ab452549b72cc81cc38c53a0487cded37',1,'OVS_TUNNEL_KEY_ATTR_TOS(): openvswitch.h'],['../odp-netlink_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427ab452549b72cc81cc38c53a0487cded37',1,'OVS_TUNNEL_KEY_ATTR_TOS(): odp-netlink.h']]],
['ovs_5ftunnel_5fkey_5fattr_5ftp_5fdst',['OVS_TUNNEL_KEY_ATTR_TP_DST',['../openvswitch_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a3fa87a8982452cc6e68ddf8e91dfced2',1,'OVS_TUNNEL_KEY_ATTR_TP_DST(): openvswitch.h'],['../odp-netlink_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a3fa87a8982452cc6e68ddf8e91dfced2',1,'OVS_TUNNEL_KEY_ATTR_TP_DST(): odp-netlink.h']]],
['ovs_5ftunnel_5fkey_5fattr_5ftp_5fsrc',['OVS_TUNNEL_KEY_ATTR_TP_SRC',['../openvswitch_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a82ec563a3032a39aa9f9694276933101',1,'OVS_TUNNEL_KEY_ATTR_TP_SRC(): openvswitch.h'],['../odp-netlink_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a82ec563a3032a39aa9f9694276933101',1,'OVS_TUNNEL_KEY_ATTR_TP_SRC(): odp-netlink.h']]],
['ovs_5ftunnel_5fkey_5fattr_5fttl',['OVS_TUNNEL_KEY_ATTR_TTL',['../openvswitch_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427ace9b9fe26daaf5d99409d1563cc68f5c',1,'OVS_TUNNEL_KEY_ATTR_TTL(): openvswitch.h'],['../odp-netlink_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427ace9b9fe26daaf5d99409d1563cc68f5c',1,'OVS_TUNNEL_KEY_ATTR_TTL(): odp-netlink.h']]],
['ovs_5ftunnel_5fkey_5fattr_5fvxlan_5fopts',['OVS_TUNNEL_KEY_ATTR_VXLAN_OPTS',['../openvswitch_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a97447e85c3c3a2f9d648911b727c16ee',1,'OVS_TUNNEL_KEY_ATTR_VXLAN_OPTS(): openvswitch.h'],['../odp-netlink_8h.html#a3ab62ef434a436d109e5dc7fe6a7f427a97447e85c3c3a2f9d648911b727c16ee',1,'OVS_TUNNEL_KEY_ATTR_VXLAN_OPTS(): odp-netlink.h']]],
['ovs_5fuserspace_5fattr_5factions',['OVS_USERSPACE_ATTR_ACTIONS',['../openvswitch_8h.html#a0a23de2e1fb14024871505b857be9552aa71985c2371051a12e04a654971b53db',1,'OVS_USERSPACE_ATTR_ACTIONS(): openvswitch.h'],['../odp-netlink_8h.html#a0a23de2e1fb14024871505b857be9552aa71985c2371051a12e04a654971b53db',1,'OVS_USERSPACE_ATTR_ACTIONS(): odp-netlink.h']]],
['ovs_5fuserspace_5fattr_5fegress_5ftun_5fport',['OVS_USERSPACE_ATTR_EGRESS_TUN_PORT',['../openvswitch_8h.html#a0a23de2e1fb14024871505b857be9552ac4708d2460d2517eea521efe780354ff',1,'OVS_USERSPACE_ATTR_EGRESS_TUN_PORT(): openvswitch.h'],['../odp-netlink_8h.html#a0a23de2e1fb14024871505b857be9552ac4708d2460d2517eea521efe780354ff',1,'OVS_USERSPACE_ATTR_EGRESS_TUN_PORT(): odp-netlink.h']]],
['ovs_5fuserspace_5fattr_5fpid',['OVS_USERSPACE_ATTR_PID',['../openvswitch_8h.html#a0a23de2e1fb14024871505b857be9552a584c9f592b15980433c447e8ad68e8fb',1,'OVS_USERSPACE_ATTR_PID(): openvswitch.h'],['../odp-netlink_8h.html#a0a23de2e1fb14024871505b857be9552a584c9f592b15980433c447e8ad68e8fb',1,'OVS_USERSPACE_ATTR_PID(): odp-netlink.h']]],
['ovs_5fuserspace_5fattr_5funspec',['OVS_USERSPACE_ATTR_UNSPEC',['../openvswitch_8h.html#a0a23de2e1fb14024871505b857be9552ae7b0d25ff1fad3f15cbe7da093ad2c5c',1,'OVS_USERSPACE_ATTR_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#a0a23de2e1fb14024871505b857be9552ae7b0d25ff1fad3f15cbe7da093ad2c5c',1,'OVS_USERSPACE_ATTR_UNSPEC(): odp-netlink.h']]],
['ovs_5fuserspace_5fattr_5fuserdata',['OVS_USERSPACE_ATTR_USERDATA',['../openvswitch_8h.html#a0a23de2e1fb14024871505b857be9552ab137427ad093e922d4bc781a67aa3a7d',1,'OVS_USERSPACE_ATTR_USERDATA(): openvswitch.h'],['../odp-netlink_8h.html#a0a23de2e1fb14024871505b857be9552ab137427ad093e922d4bc781a67aa3a7d',1,'OVS_USERSPACE_ATTR_USERDATA(): odp-netlink.h']]],
['ovs_5fvport_5fattr_5fname',['OVS_VPORT_ATTR_NAME',['../openvswitch_8h.html#aae19f7a3f207d3adc0b9a30b79c6464daef39b12d8a0cb39f2248d82f435bec3c',1,'OVS_VPORT_ATTR_NAME(): openvswitch.h'],['../odp-netlink_8h.html#aae19f7a3f207d3adc0b9a30b79c6464daef39b12d8a0cb39f2248d82f435bec3c',1,'OVS_VPORT_ATTR_NAME(): odp-netlink.h']]],
['ovs_5fvport_5fattr_5foptions',['OVS_VPORT_ATTR_OPTIONS',['../openvswitch_8h.html#aae19f7a3f207d3adc0b9a30b79c6464dac0bc104dd1ef77ac2f0a0f9d6f087239',1,'OVS_VPORT_ATTR_OPTIONS(): openvswitch.h'],['../odp-netlink_8h.html#aae19f7a3f207d3adc0b9a30b79c6464dac0bc104dd1ef77ac2f0a0f9d6f087239',1,'OVS_VPORT_ATTR_OPTIONS(): odp-netlink.h']]],
['ovs_5fvport_5fattr_5fport_5fno',['OVS_VPORT_ATTR_PORT_NO',['../openvswitch_8h.html#aae19f7a3f207d3adc0b9a30b79c6464da08e4cd652a0f6cd6eeeaac1db3bdf503',1,'OVS_VPORT_ATTR_PORT_NO(): openvswitch.h'],['../odp-netlink_8h.html#aae19f7a3f207d3adc0b9a30b79c6464da08e4cd652a0f6cd6eeeaac1db3bdf503',1,'OVS_VPORT_ATTR_PORT_NO(): odp-netlink.h']]],
['ovs_5fvport_5fattr_5fstats',['OVS_VPORT_ATTR_STATS',['../openvswitch_8h.html#aae19f7a3f207d3adc0b9a30b79c6464dadab030c40c3510bf42f3e33d3986fbaa',1,'OVS_VPORT_ATTR_STATS(): openvswitch.h'],['../odp-netlink_8h.html#aae19f7a3f207d3adc0b9a30b79c6464dadab030c40c3510bf42f3e33d3986fbaa',1,'OVS_VPORT_ATTR_STATS(): odp-netlink.h']]],
['ovs_5fvport_5fattr_5ftype',['OVS_VPORT_ATTR_TYPE',['../openvswitch_8h.html#aae19f7a3f207d3adc0b9a30b79c6464da84ada86f1005907daaf7dc8eb0c0a637',1,'OVS_VPORT_ATTR_TYPE(): openvswitch.h'],['../odp-netlink_8h.html#aae19f7a3f207d3adc0b9a30b79c6464da84ada86f1005907daaf7dc8eb0c0a637',1,'OVS_VPORT_ATTR_TYPE(): odp-netlink.h']]],
['ovs_5fvport_5fattr_5funspec',['OVS_VPORT_ATTR_UNSPEC',['../openvswitch_8h.html#aae19f7a3f207d3adc0b9a30b79c6464dae95dcba476ce36d232d6b0bc6a221635',1,'OVS_VPORT_ATTR_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#aae19f7a3f207d3adc0b9a30b79c6464dae95dcba476ce36d232d6b0bc6a221635',1,'OVS_VPORT_ATTR_UNSPEC(): odp-netlink.h']]],
['ovs_5fvport_5fattr_5fupcall_5fpid',['OVS_VPORT_ATTR_UPCALL_PID',['../openvswitch_8h.html#aae19f7a3f207d3adc0b9a30b79c6464da3afa40888197949fd69c2f5f6076fcc2',1,'OVS_VPORT_ATTR_UPCALL_PID(): openvswitch.h'],['../odp-netlink_8h.html#aae19f7a3f207d3adc0b9a30b79c6464da3afa40888197949fd69c2f5f6076fcc2',1,'OVS_VPORT_ATTR_UPCALL_PID(): odp-netlink.h']]],
['ovs_5fvport_5fcmd_5fdel',['OVS_VPORT_CMD_DEL',['../openvswitch_8h.html#ae012c39e873d42b086636b19a242c354a067967d6cc0d7b7283ad6d77cba6936f',1,'OVS_VPORT_CMD_DEL(): openvswitch.h'],['../odp-netlink_8h.html#ae012c39e873d42b086636b19a242c354a067967d6cc0d7b7283ad6d77cba6936f',1,'OVS_VPORT_CMD_DEL(): odp-netlink.h']]],
['ovs_5fvport_5fcmd_5fget',['OVS_VPORT_CMD_GET',['../openvswitch_8h.html#ae012c39e873d42b086636b19a242c354a05c323e17334722a02cc910e29d3d338',1,'OVS_VPORT_CMD_GET(): openvswitch.h'],['../odp-netlink_8h.html#ae012c39e873d42b086636b19a242c354a05c323e17334722a02cc910e29d3d338',1,'OVS_VPORT_CMD_GET(): odp-netlink.h']]],
['ovs_5fvport_5fcmd_5fnew',['OVS_VPORT_CMD_NEW',['../openvswitch_8h.html#ae012c39e873d42b086636b19a242c354af6255867587891980ef6577446362d45',1,'OVS_VPORT_CMD_NEW(): openvswitch.h'],['../odp-netlink_8h.html#ae012c39e873d42b086636b19a242c354af6255867587891980ef6577446362d45',1,'OVS_VPORT_CMD_NEW(): odp-netlink.h']]],
['ovs_5fvport_5fcmd_5fset',['OVS_VPORT_CMD_SET',['../openvswitch_8h.html#ae012c39e873d42b086636b19a242c354a96ee5280006d8c13e60f0c97fceb346e',1,'OVS_VPORT_CMD_SET(): openvswitch.h'],['../odp-netlink_8h.html#ae012c39e873d42b086636b19a242c354a96ee5280006d8c13e60f0c97fceb346e',1,'OVS_VPORT_CMD_SET(): odp-netlink.h']]],
['ovs_5fvport_5fcmd_5funspec',['OVS_VPORT_CMD_UNSPEC',['../openvswitch_8h.html#ae012c39e873d42b086636b19a242c354a089e6ea3eed1d7d00ac0e73f727d17a5',1,'OVS_VPORT_CMD_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#ae012c39e873d42b086636b19a242c354a089e6ea3eed1d7d00ac0e73f727d17a5',1,'OVS_VPORT_CMD_UNSPEC(): odp-netlink.h']]],
['ovs_5fvport_5ftype_5fgeneve',['OVS_VPORT_TYPE_GENEVE',['../openvswitch_8h.html#a9a1b861aa99bd83177a2b10b34745b0aa8b60aa1406bfa154f35ede891a4ea382',1,'OVS_VPORT_TYPE_GENEVE(): openvswitch.h'],['../odp-netlink_8h.html#a9a1b861aa99bd83177a2b10b34745b0aa8b60aa1406bfa154f35ede891a4ea382',1,'OVS_VPORT_TYPE_GENEVE(): odp-netlink.h']]],
['ovs_5fvport_5ftype_5fgre',['OVS_VPORT_TYPE_GRE',['../openvswitch_8h.html#a9a1b861aa99bd83177a2b10b34745b0aaf65a369c5ba48431dc28ec57a839068d',1,'OVS_VPORT_TYPE_GRE(): openvswitch.h'],['../odp-netlink_8h.html#a9a1b861aa99bd83177a2b10b34745b0aaf65a369c5ba48431dc28ec57a839068d',1,'OVS_VPORT_TYPE_GRE(): odp-netlink.h']]],
['ovs_5fvport_5ftype_5finternal',['OVS_VPORT_TYPE_INTERNAL',['../openvswitch_8h.html#a9a1b861aa99bd83177a2b10b34745b0aa99034286803fd0adf04dde0fa7e69f00',1,'OVS_VPORT_TYPE_INTERNAL(): openvswitch.h'],['../odp-netlink_8h.html#a9a1b861aa99bd83177a2b10b34745b0aa99034286803fd0adf04dde0fa7e69f00',1,'OVS_VPORT_TYPE_INTERNAL(): odp-netlink.h']]],
['ovs_5fvport_5ftype_5flisp',['OVS_VPORT_TYPE_LISP',['../openvswitch_8h.html#a9a1b861aa99bd83177a2b10b34745b0aa99a33a2b25d9e9de2bdba0544804122e',1,'OVS_VPORT_TYPE_LISP(): openvswitch.h'],['../odp-netlink_8h.html#a9a1b861aa99bd83177a2b10b34745b0aa99a33a2b25d9e9de2bdba0544804122e',1,'OVS_VPORT_TYPE_LISP(): odp-netlink.h']]],
['ovs_5fvport_5ftype_5fnetdev',['OVS_VPORT_TYPE_NETDEV',['../openvswitch_8h.html#a9a1b861aa99bd83177a2b10b34745b0aa825efa4a45bf501996d8d8fbb83887dd',1,'OVS_VPORT_TYPE_NETDEV(): openvswitch.h'],['../odp-netlink_8h.html#a9a1b861aa99bd83177a2b10b34745b0aa825efa4a45bf501996d8d8fbb83887dd',1,'OVS_VPORT_TYPE_NETDEV(): odp-netlink.h']]],
['ovs_5fvport_5ftype_5fstt',['OVS_VPORT_TYPE_STT',['../openvswitch_8h.html#a9a1b861aa99bd83177a2b10b34745b0aaae60ab231553b32a64b09211537fdaf5',1,'OVS_VPORT_TYPE_STT(): openvswitch.h'],['../odp-netlink_8h.html#a9a1b861aa99bd83177a2b10b34745b0aaae60ab231553b32a64b09211537fdaf5',1,'OVS_VPORT_TYPE_STT(): odp-netlink.h']]],
['ovs_5fvport_5ftype_5funspec',['OVS_VPORT_TYPE_UNSPEC',['../openvswitch_8h.html#a9a1b861aa99bd83177a2b10b34745b0aa5f8eca7a7dddfe6931e05513e25548db',1,'OVS_VPORT_TYPE_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#a9a1b861aa99bd83177a2b10b34745b0aa5f8eca7a7dddfe6931e05513e25548db',1,'OVS_VPORT_TYPE_UNSPEC(): odp-netlink.h']]],
['ovs_5fvport_5ftype_5fvxlan',['OVS_VPORT_TYPE_VXLAN',['../openvswitch_8h.html#a9a1b861aa99bd83177a2b10b34745b0aabd94b320598ca17b189318d8e27ac1b0',1,'OVS_VPORT_TYPE_VXLAN(): openvswitch.h'],['../odp-netlink_8h.html#a9a1b861aa99bd83177a2b10b34745b0aabd94b320598ca17b189318d8e27ac1b0',1,'OVS_VPORT_TYPE_VXLAN(): odp-netlink.h']]],
['ovs_5fvxlan_5fext_5fgbp',['OVS_VXLAN_EXT_GBP',['../openvswitch_8h.html#a4caf8d8f829279fba122163d961608a4ac0ae9083a880298a86e9d28d46b541c1',1,'OVS_VXLAN_EXT_GBP(): openvswitch.h'],['../odp-netlink_8h.html#ad63240694c6dc2a28c24bfc2db90ad7aac0ae9083a880298a86e9d28d46b541c1',1,'OVS_VXLAN_EXT_GBP(): odp-netlink.h']]],
['ovs_5fvxlan_5fext_5funspec',['OVS_VXLAN_EXT_UNSPEC',['../openvswitch_8h.html#a4caf8d8f829279fba122163d961608a4a334a15c7df2718e27b0c20bab3584c3d',1,'OVS_VXLAN_EXT_UNSPEC(): openvswitch.h'],['../odp-netlink_8h.html#ad63240694c6dc2a28c24bfc2db90ad7aa334a15c7df2718e27b0c20bab3584c3d',1,'OVS_VXLAN_EXT_UNSPEC(): odp-netlink.h']]],
['ovs_5fwin_5fnetdev_5fattr_5fif_5fflags',['OVS_WIN_NETDEV_ATTR_IF_FLAGS',['../OvsDpInterfaceExt_8h.html#afb3b010cfa85c074d4ce6280dda1c4eaadec0845d727cd997910b937f63cd6415',1,'OvsDpInterfaceExt.h']]],
['ovs_5fwin_5fnetdev_5fattr_5fmac_5faddr',['OVS_WIN_NETDEV_ATTR_MAC_ADDR',['../OvsDpInterfaceExt_8h.html#afb3b010cfa85c074d4ce6280dda1c4eaa2a61e106ffc34859e17f7f1af26c7005',1,'OvsDpInterfaceExt.h']]],
['ovs_5fwin_5fnetdev_5fattr_5fmtu',['OVS_WIN_NETDEV_ATTR_MTU',['../OvsDpInterfaceExt_8h.html#afb3b010cfa85c074d4ce6280dda1c4eaa580f8df420c1fc03ba40d7ad014bcdaa',1,'OvsDpInterfaceExt.h']]],
['ovs_5fwin_5fnetdev_5fattr_5fname',['OVS_WIN_NETDEV_ATTR_NAME',['../OvsDpInterfaceExt_8h.html#afb3b010cfa85c074d4ce6280dda1c4eaa9cc4b6dc2b4442a31485383603d680d1',1,'OvsDpInterfaceExt.h']]],
['ovs_5fwin_5fnetdev_5fattr_5fport_5fno',['OVS_WIN_NETDEV_ATTR_PORT_NO',['../OvsDpInterfaceExt_8h.html#afb3b010cfa85c074d4ce6280dda1c4eaad7f5e5006e82757114c4d8fff6d94252',1,'OvsDpInterfaceExt.h']]],
['ovs_5fwin_5fnetdev_5fattr_5ftype',['OVS_WIN_NETDEV_ATTR_TYPE',['../OvsDpInterfaceExt_8h.html#afb3b010cfa85c074d4ce6280dda1c4eaa324b34a37b72e1d7387064edeaf22a3a',1,'OvsDpInterfaceExt.h']]],
['ovs_5fwin_5fnetdev_5fattr_5funspec',['OVS_WIN_NETDEV_ATTR_UNSPEC',['../OvsDpInterfaceExt_8h.html#afb3b010cfa85c074d4ce6280dda1c4eaac0dd5a01e4960d04e7297c66380f5dac',1,'OvsDpInterfaceExt.h']]],
['ovs_5fwin_5fnetdev_5fcmd_5fget',['OVS_WIN_NETDEV_CMD_GET',['../OvsDpInterfaceExt_8h.html#a0f4a39829dbb21a304ff5282a663214da228075811879cf16adae37dfac0105b3',1,'OvsDpInterfaceExt.h']]],
['ovs_5fwin_5fnetdev_5fcmd_5funspec',['OVS_WIN_NETDEV_CMD_UNSPEC',['../OvsDpInterfaceExt_8h.html#a0f4a39829dbb21a304ff5282a663214da856eddbabd1ae7f72f665e481df47aa1',1,'OvsDpInterfaceExt.h']]],
['ovsdb_5fchanges_5fno_5feffect',['OVSDB_CHANGES_NO_EFFECT',['../monitor_8c.html#a8fa012715d35ad3ee5d0562d0c405347a69c9db846ddc5557d31d6a2cf3e4f7a3',1,'monitor.c']]],
['ovsdb_5fchanges_5frequire_5fexternal_5fupdate',['OVSDB_CHANGES_REQUIRE_EXTERNAL_UPDATE',['../monitor_8c.html#a8fa012715d35ad3ee5d0562d0c405347abfec473d95d706ccd7970f35fb218ebf',1,'monitor.c']]],
['ovsdb_5fchanges_5frequire_5finternal_5fupdate',['OVSDB_CHANGES_REQUIRE_INTERNAL_UPDATE',['../monitor_8c.html#a8fa012715d35ad3ee5d0562d0c405347afcbc0a014aba2b7f6da6a391e80db930',1,'monitor.c']]],
['ovsdb_5fcol_5fuuid',['OVSDB_COL_UUID',['../column_8h.html#acb6f6fa3e73244ffcf5c366390b4a4edaf6aab54d7cb797127668139aee78d41c',1,'column.h']]],
['ovsdb_5fcol_5fversion',['OVSDB_COL_VERSION',['../column_8h.html#acb6f6fa3e73244ffcf5c366390b4a4eda27e1f9ecc69c4c2caed89a89cf8c0389',1,'column.h']]],
['ovsdb_5ffunctions',['OVSDB_FUNCTIONS',['../condition_8h.html#ad37a80e08801f50356738b8a3ff9a252aaee7c9d0d25a7ec97398d9d9bdc2f08b',1,'condition.h']]],
['ovsdb_5flock_5fsteal',['OVSDB_LOCK_STEAL',['../server_8h.html#a747d4d03d0756381b65242e6e4d4c0fda6b237ab054d675bc171165499b407c60',1,'server.h']]],
['ovsdb_5flock_5fwait',['OVSDB_LOCK_WAIT',['../server_8h.html#a747d4d03d0756381b65242e6e4d4c0fda1bf6f1aa2bd32a79a22e1b2fd6d190c4',1,'server.h']]],
['ovsdb_5flog_5fcreate',['OVSDB_LOG_CREATE',['../log_8h.html#a30d09f358db82cd6c3bbc936c7832779a956ec29ad09f2a110bf966be3ef8fc87',1,'log.h']]],
['ovsdb_5flog_5fread',['OVSDB_LOG_READ',['../log_8c.html#aef99a68f383993c8ed9326b121967101aebacf0ddedfab1bb6fc8dbf02b75d320',1,'log.c']]],
['ovsdb_5flog_5fread_5fonly',['OVSDB_LOG_READ_ONLY',['../log_8h.html#a30d09f358db82cd6c3bbc936c7832779aae25edff4e089a642a467ab142fbd692',1,'log.h']]],
['ovsdb_5flog_5fread_5fwrite',['OVSDB_LOG_READ_WRITE',['../log_8h.html#a30d09f358db82cd6c3bbc936c7832779a8c92ef8a6ae2d5b4950083ff6f54550c',1,'log.h']]],
['ovsdb_5flog_5fwrite',['OVSDB_LOG_WRITE',['../log_8c.html#aef99a68f383993c8ed9326b121967101afef8abaf54151d01f1b16d13c042c65a',1,'log.c']]],
['ovsdb_5fmutators',['OVSDB_MUTATORS',['../mutation_8h.html#a44dfe9cd58e5d17315e16fb3568804a5a94a662a437b66c581426466db2a26a17',1,'mutation.h']]],
['ovsdb_5fn_5fstd_5fcolumns',['OVSDB_N_STD_COLUMNS',['../column_8h.html#acb6f6fa3e73244ffcf5c366390b4a4eda3872d6a3eb7e937d4aba938795f27f9f',1,'column.h']]],
['ovsdb_5fn_5ftypes',['OVSDB_N_TYPES',['../ovsdb-types_8h.html#a79818fb8d03b6fc13a286689e1ffa7cda097f6ac48c952224135346b8180ede55',1,'ovsdb-types.h']]],
['ovsdb_5fref_5fstrong',['OVSDB_REF_STRONG',['../ovsdb-types_8h.html#aae74b2b8bef13067465cf846999ec1f4ac30b706d1df1790fbb8fbd280fb44935',1,'ovsdb-types.h']]],
['ovsdb_5fref_5fweak',['OVSDB_REF_WEAK',['../ovsdb-types_8h.html#aae74b2b8bef13067465cf846999ec1f4a4b4ad58ec204bfc744c07ee3dc060e6d',1,'ovsdb-types.h']]],
['ovsdb_5ftype_5fboolean',['OVSDB_TYPE_BOOLEAN',['../ovsdb-types_8h.html#a79818fb8d03b6fc13a286689e1ffa7cdab7805fc7ee92658d772d346698c11a0f',1,'ovsdb-types.h']]],
['ovsdb_5ftype_5finteger',['OVSDB_TYPE_INTEGER',['../ovsdb-types_8h.html#a79818fb8d03b6fc13a286689e1ffa7cda68d3a3d8acfa1079ba251a53b4b78897',1,'ovsdb-types.h']]],
['ovsdb_5ftype_5freal',['OVSDB_TYPE_REAL',['../ovsdb-types_8h.html#a79818fb8d03b6fc13a286689e1ffa7cdab1b0992889d8f6ff0f0f35c24311e379',1,'ovsdb-types.h']]],
['ovsdb_5ftype_5fstring',['OVSDB_TYPE_STRING',['../ovsdb-types_8h.html#a79818fb8d03b6fc13a286689e1ffa7cdacd64ba88d87b765cf4538ea223d99222',1,'ovsdb-types.h']]],
['ovsdb_5ftype_5fuuid',['OVSDB_TYPE_UUID',['../ovsdb-types_8h.html#a79818fb8d03b6fc13a286689e1ffa7cdaae3ac65903e2d886130d7a8a3fd3858a',1,'ovsdb-types.h']]],
['ovsdb_5ftype_5fvoid',['OVSDB_TYPE_VOID',['../ovsdb-types_8h.html#a79818fb8d03b6fc13a286689e1ffa7cda6ad32ed65bba89ad997e74b773133186',1,'ovsdb-types.h']]],
['ovsrec_5fautoattach_5fcol_5fmappings',['OVSREC_AUTOATTACH_COL_MAPPINGS',['../vswitch-idl_8h.html#aaa1faf9307efabe7471b4443de4ba66bac4649b0956dd0ed0b64e436c39b5e7b3',1,'vswitch-idl.h']]],
['ovsrec_5fautoattach_5fcol_5fsystem_5fdescription',['OVSREC_AUTOATTACH_COL_SYSTEM_DESCRIPTION',['../vswitch-idl_8h.html#aaa1faf9307efabe7471b4443de4ba66ba006dd57a77e76c726f78f3fbc576682e',1,'vswitch-idl.h']]],
['ovsrec_5fautoattach_5fcol_5fsystem_5fname',['OVSREC_AUTOATTACH_COL_SYSTEM_NAME',['../vswitch-idl_8h.html#aaa1faf9307efabe7471b4443de4ba66ba73671ca0bf6db7263cf8c1eb5bea7701',1,'vswitch-idl.h']]],
['ovsrec_5fautoattach_5fn_5fcolumns',['OVSREC_AUTOATTACH_N_COLUMNS',['../vswitch-idl_8h.html#aaa1faf9307efabe7471b4443de4ba66ba80e34725837db503fa52568fee4739bd',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fauto_5fattach',['OVSREC_BRIDGE_COL_AUTO_ATTACH',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a79ff076ffd7619f40bce1dfd7c7b3b1a',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fcontroller',['OVSREC_BRIDGE_COL_CONTROLLER',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a582357f369d3b4aeac9571d83a2ca2cd',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fdatapath_5fid',['OVSREC_BRIDGE_COL_DATAPATH_ID',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a3231a688c1180978302eaf7edfe91c5d',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fdatapath_5ftype',['OVSREC_BRIDGE_COL_DATAPATH_TYPE',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a574800043b68611ca6acb2db335743b7',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fdatapath_5fversion',['OVSREC_BRIDGE_COL_DATAPATH_VERSION',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923aa9832c99840c18dc8a5d5efc83873d04',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fexternal_5fids',['OVSREC_BRIDGE_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a619b03f8702f3435afaf15926c7b2fd9',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5ffail_5fmode',['OVSREC_BRIDGE_COL_FAIL_MODE',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923aaf28653422979255e8adaaac953f9313',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fflood_5fvlans',['OVSREC_BRIDGE_COL_FLOOD_VLANS',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923aa0a97365ffdad54caba133bfe82b75e5',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fflow_5ftables',['OVSREC_BRIDGE_COL_FLOW_TABLES',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a3e2fc6ae4eadd75c4ac4dd1f35af3fb7',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fipfix',['OVSREC_BRIDGE_COL_IPFIX',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923adaac3ca905551514ebdb6bc1124cfedd',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fmcast_5fsnooping_5fenable',['OVSREC_BRIDGE_COL_MCAST_SNOOPING_ENABLE',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a6efa3e6ccdfb443f9918008cf003ee28',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fmirrors',['OVSREC_BRIDGE_COL_MIRRORS',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a48badb851ef766add5f05c7aad4d273e',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fname',['OVSREC_BRIDGE_COL_NAME',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923ac1283d6126fb3ef497700bdf11a806ec',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fnetflow',['OVSREC_BRIDGE_COL_NETFLOW',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a204a33272f7e73d0aeab0c5fd3d81ce1',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fother_5fconfig',['OVSREC_BRIDGE_COL_OTHER_CONFIG',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a0981c605a17e5ffd81e1eaffe314e705',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fports',['OVSREC_BRIDGE_COL_PORTS',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a17c4c98ae60a8e09a78ff363658ce577',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fprotocols',['OVSREC_BRIDGE_COL_PROTOCOLS',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923ad861e0464845d390d9d9c3717f9b8ac0',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5frstp_5fenable',['OVSREC_BRIDGE_COL_RSTP_ENABLE',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a58b71e686e256eb5b6b398caa15dd0f9',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5frstp_5fstatus',['OVSREC_BRIDGE_COL_RSTP_STATUS',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923aa58ee4b39b7da9d2024a7c3138f30d7a',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fsflow',['OVSREC_BRIDGE_COL_SFLOW',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923ae4c7318a7286b11daa343fb27a462178',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fstatus',['OVSREC_BRIDGE_COL_STATUS',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923ae0dd42e8cef0fccc0533a87fd022ceae',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fcol_5fstp_5fenable',['OVSREC_BRIDGE_COL_STP_ENABLE',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a13b4e8da3c6bb980be3119735b96b1cc',1,'vswitch-idl.h']]],
['ovsrec_5fbridge_5fn_5fcolumns',['OVSREC_BRIDGE_N_COLUMNS',['../vswitch-idl_8h.html#a14061dd054afd472999a4f4f6cdf3923a4be75b8181f6acfe781913e9547afae6',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5fconnection_5fmode',['OVSREC_CONTROLLER_COL_CONNECTION_MODE',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aa3b05695578b8948d889a66a3c7db5aed',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5fcontroller_5fburst_5flimit',['OVSREC_CONTROLLER_COL_CONTROLLER_BURST_LIMIT',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aa13a724987c260390aae175b82264fc90',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5fcontroller_5frate_5flimit',['OVSREC_CONTROLLER_COL_CONTROLLER_RATE_LIMIT',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aa217cb588b8761beebbc94d6aae492a09',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5fenable_5fasync_5fmessages',['OVSREC_CONTROLLER_COL_ENABLE_ASYNC_MESSAGES',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aa8915743e036b484e2ae9b46151a75b1c',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5fexternal_5fids',['OVSREC_CONTROLLER_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aae29d6a540476884ffcf6133d4a4d7f71',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5finactivity_5fprobe',['OVSREC_CONTROLLER_COL_INACTIVITY_PROBE',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aa8b64e09f9f316265176eacda60bc930a',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5fis_5fconnected',['OVSREC_CONTROLLER_COL_IS_CONNECTED',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aacf7f37e85bdd05ceb4ce8fd88f84d5cf',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5flocal_5fgateway',['OVSREC_CONTROLLER_COL_LOCAL_GATEWAY',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aa7b9c5466815ecf8f43e73604ec90d51b',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5flocal_5fip',['OVSREC_CONTROLLER_COL_LOCAL_IP',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aa58a592cab76c41ff8915f170d049e63c',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5flocal_5fnetmask',['OVSREC_CONTROLLER_COL_LOCAL_NETMASK',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aa4f38f897a333f83ed98190bf9da8819c',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5fmax_5fbackoff',['OVSREC_CONTROLLER_COL_MAX_BACKOFF',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aabbe068d4bc34a43209a965ede6332c8e',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5fother_5fconfig',['OVSREC_CONTROLLER_COL_OTHER_CONFIG',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aa02c543860092c28ab1cd638c6e1f4fed',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5frole',['OVSREC_CONTROLLER_COL_ROLE',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aac89978afcdcc79112e2d7e30a693221d',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5fstatus',['OVSREC_CONTROLLER_COL_STATUS',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aa8a142112e85c274526f3835ae6e7a90a',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fcol_5ftarget',['OVSREC_CONTROLLER_COL_TARGET',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aafd4259b9e974a38ee1d62ce8d1729945',1,'vswitch-idl.h']]],
['ovsrec_5fcontroller_5fn_5fcolumns',['OVSREC_CONTROLLER_N_COLUMNS',['../vswitch-idl_8h.html#a5584fee7841d9376fb0394600e9ed81aae7592254a35a636de17d2b38b5ab34af',1,'vswitch-idl.h']]],
['ovsrec_5fflow_5fsample_5fcollector_5fset_5fcol_5fbridge',['OVSREC_FLOW_SAMPLE_COLLECTOR_SET_COL_BRIDGE',['../vswitch-idl_8h.html#a5e66f304417530ef056f13a6a6dc668aa6af3be4d9606a5130de93240f54ebecc',1,'vswitch-idl.h']]],
['ovsrec_5fflow_5fsample_5fcollector_5fset_5fcol_5fexternal_5fids',['OVSREC_FLOW_SAMPLE_COLLECTOR_SET_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#a5e66f304417530ef056f13a6a6dc668aad989e6e1ed5aed0b3e846fdce4643b52',1,'vswitch-idl.h']]],
['ovsrec_5fflow_5fsample_5fcollector_5fset_5fcol_5fid',['OVSREC_FLOW_SAMPLE_COLLECTOR_SET_COL_ID',['../vswitch-idl_8h.html#a5e66f304417530ef056f13a6a6dc668aa2c6b93664897717fcc60f6d1bb677c7c',1,'vswitch-idl.h']]],
['ovsrec_5fflow_5fsample_5fcollector_5fset_5fcol_5fipfix',['OVSREC_FLOW_SAMPLE_COLLECTOR_SET_COL_IPFIX',['../vswitch-idl_8h.html#a5e66f304417530ef056f13a6a6dc668aa5f20b2781bd207c7f90987999d1c0718',1,'vswitch-idl.h']]],
['ovsrec_5fflow_5fsample_5fcollector_5fset_5fn_5fcolumns',['OVSREC_FLOW_SAMPLE_COLLECTOR_SET_N_COLUMNS',['../vswitch-idl_8h.html#a5e66f304417530ef056f13a6a6dc668aa5e5f1e49b2fac5b4c2d47e42be09b1e2',1,'vswitch-idl.h']]],
['ovsrec_5fflow_5ftable_5fcol_5fexternal_5fids',['OVSREC_FLOW_TABLE_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#af77d65ab56b38a820b1efc0bcafbd4fbafaac2a7ad0f14031b20fef14a3c7daa8',1,'vswitch-idl.h']]],
['ovsrec_5fflow_5ftable_5fcol_5fflow_5flimit',['OVSREC_FLOW_TABLE_COL_FLOW_LIMIT',['../vswitch-idl_8h.html#af77d65ab56b38a820b1efc0bcafbd4fbacbfa52a99adf8b62e377b4858af30778',1,'vswitch-idl.h']]],
['ovsrec_5fflow_5ftable_5fcol_5fgroups',['OVSREC_FLOW_TABLE_COL_GROUPS',['../vswitch-idl_8h.html#af77d65ab56b38a820b1efc0bcafbd4fba758129ea7c5725754935b37996ce8f6a',1,'vswitch-idl.h']]],
['ovsrec_5fflow_5ftable_5fcol_5fname',['OVSREC_FLOW_TABLE_COL_NAME',['../vswitch-idl_8h.html#af77d65ab56b38a820b1efc0bcafbd4fbaa3f09cd863c9ba227c2a4baa83a7bb9f',1,'vswitch-idl.h']]],
['ovsrec_5fflow_5ftable_5fcol_5foverflow_5fpolicy',['OVSREC_FLOW_TABLE_COL_OVERFLOW_POLICY',['../vswitch-idl_8h.html#af77d65ab56b38a820b1efc0bcafbd4fba6b4cc423d805229fd6abbf921dd7d1f8',1,'vswitch-idl.h']]],
['ovsrec_5fflow_5ftable_5fcol_5fprefixes',['OVSREC_FLOW_TABLE_COL_PREFIXES',['../vswitch-idl_8h.html#af77d65ab56b38a820b1efc0bcafbd4fba29e46ec59eb6f799f78f65da4671b4eb',1,'vswitch-idl.h']]],
['ovsrec_5fflow_5ftable_5fn_5fcolumns',['OVSREC_FLOW_TABLE_N_COLUMNS',['../vswitch-idl_8h.html#af77d65ab56b38a820b1efc0bcafbd4fbae53ff6450cec463c1ae8e2f25623e82e',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fadmin_5fstate',['OVSREC_INTERFACE_COL_ADMIN_STATE',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa68c44e71b3daf4a2f41ffb6f1cf03e3d',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fbfd',['OVSREC_INTERFACE_COL_BFD',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaae1f527fcdfd8425f326c3d3ad9b44961',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fbfd_5fstatus',['OVSREC_INTERFACE_COL_BFD_STATUS',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa176dab9f5214ea5cfa18a5006a2c88a0',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fcfm_5ffault',['OVSREC_INTERFACE_COL_CFM_FAULT',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa292df208a6bf74a2778837e49a85bb12',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fcfm_5ffault_5fstatus',['OVSREC_INTERFACE_COL_CFM_FAULT_STATUS',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa5813196d6c5c2c8751c2f53212a23a8b',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fcfm_5fflap_5fcount',['OVSREC_INTERFACE_COL_CFM_FLAP_COUNT',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaafd0a81b1a278ba343fff5626b4a5a77f',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fcfm_5fhealth',['OVSREC_INTERFACE_COL_CFM_HEALTH',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa58c0ad62761a413bbc6a57f49d76dd40',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fcfm_5fmpid',['OVSREC_INTERFACE_COL_CFM_MPID',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaab926e3683f4888e6448fcf1581241249',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fcfm_5fremote_5fmpids',['OVSREC_INTERFACE_COL_CFM_REMOTE_MPIDS',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa98b97ecfdf2348ce89dab7c98b0a0880',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fcfm_5fremote_5fopstate',['OVSREC_INTERFACE_COL_CFM_REMOTE_OPSTATE',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaaf1da84f3ca7712a71677a971085d5ee5',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fduplex',['OVSREC_INTERFACE_COL_DUPLEX',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa8e95bed052994f007f401cb783bde02f',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5ferror',['OVSREC_INTERFACE_COL_ERROR',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaaf6e9d2dc136149668ea14711f4593dbd',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fexternal_5fids',['OVSREC_INTERFACE_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaab6cb249de58d624f9dd17288aee61c62',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fifindex',['OVSREC_INTERFACE_COL_IFINDEX',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa577d5656a5f457f119df99b13af5bb77',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fingress_5fpolicing_5fburst',['OVSREC_INTERFACE_COL_INGRESS_POLICING_BURST',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaae5635d78f981bd6eed563f795dcff112',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fingress_5fpolicing_5frate',['OVSREC_INTERFACE_COL_INGRESS_POLICING_RATE',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa0054bf54a383585441a15279f8fd2d0c',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5flacp_5fcurrent',['OVSREC_INTERFACE_COL_LACP_CURRENT',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa4b593e95dd328c41f17a32caf1e233bd',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5flink_5fresets',['OVSREC_INTERFACE_COL_LINK_RESETS',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaacd26b493c9a067b0d2d3a578fac6dc70',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5flink_5fspeed',['OVSREC_INTERFACE_COL_LINK_SPEED',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa1f8fc3edfc2e5a72f957c7a7965b3e9a',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5flink_5fstate',['OVSREC_INTERFACE_COL_LINK_STATE',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaad200a181335929eb053e76eabcc2bfec',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5flldp',['OVSREC_INTERFACE_COL_LLDP',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa90c21969a911d7d87f1a952ed5781b4d',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fmac',['OVSREC_INTERFACE_COL_MAC',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaad838667064a2cbb7a91ec4b811ad2bda',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fmac_5fin_5fuse',['OVSREC_INTERFACE_COL_MAC_IN_USE',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa21532f580e70ec6a6efa76e700b9fdb7',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fmtu',['OVSREC_INTERFACE_COL_MTU',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaaf5cf83fec8df81bb9cbc7102949b3b13',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fname',['OVSREC_INTERFACE_COL_NAME',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa5bc4c217a13c8e82079c1e2a2546d243',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fofport',['OVSREC_INTERFACE_COL_OFPORT',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa162b2f6c450c5efa3aa28ea9634141c2',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fofport_5frequest',['OVSREC_INTERFACE_COL_OFPORT_REQUEST',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa680fc8588885ae8e1963addf3bdeacf1',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5foptions',['OVSREC_INTERFACE_COL_OPTIONS',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaada924c0cb5c1c521fecc9332af6daa9b',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fother_5fconfig',['OVSREC_INTERFACE_COL_OTHER_CONFIG',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaadcc37d0f50378e6810fdff0db79a0aff',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fstatistics',['OVSREC_INTERFACE_COL_STATISTICS',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa773e5e7f1ea3bd6253002064539f3e24',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5fstatus',['OVSREC_INTERFACE_COL_STATUS',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaafd035d29faa731e08d1aa963ee8d1aaa',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fcol_5ftype',['OVSREC_INTERFACE_COL_TYPE',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaaaa6e751d8d458c180297f8ec97cbf91a',1,'vswitch-idl.h']]],
['ovsrec_5finterface_5fn_5fcolumns',['OVSREC_INTERFACE_N_COLUMNS',['../vswitch-idl_8h.html#ac72f7803394f05658258f8a2b76f53aaa5466b01ed3a114a75b0a241fce003895',1,'vswitch-idl.h']]],
['ovsrec_5fipfix_5fcol_5fcache_5factive_5ftimeout',['OVSREC_IPFIX_COL_CACHE_ACTIVE_TIMEOUT',['../vswitch-idl_8h.html#a0724528cce39d640312f4a7ad1a893f7ad998346fefaaee6c5e7ed1f7c3e85c6e',1,'vswitch-idl.h']]],
['ovsrec_5fipfix_5fcol_5fcache_5fmax_5fflows',['OVSREC_IPFIX_COL_CACHE_MAX_FLOWS',['../vswitch-idl_8h.html#a0724528cce39d640312f4a7ad1a893f7a3868570d45ed31ee2d309d2545c59c13',1,'vswitch-idl.h']]],
['ovsrec_5fipfix_5fcol_5fexternal_5fids',['OVSREC_IPFIX_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#a0724528cce39d640312f4a7ad1a893f7a9246978b304fd941de28c42e7e8fdde8',1,'vswitch-idl.h']]],
['ovsrec_5fipfix_5fcol_5fobs_5fdomain_5fid',['OVSREC_IPFIX_COL_OBS_DOMAIN_ID',['../vswitch-idl_8h.html#a0724528cce39d640312f4a7ad1a893f7a48c84ca77db6472b122cda4dd2b1e9c7',1,'vswitch-idl.h']]],
['ovsrec_5fipfix_5fcol_5fobs_5fpoint_5fid',['OVSREC_IPFIX_COL_OBS_POINT_ID',['../vswitch-idl_8h.html#a0724528cce39d640312f4a7ad1a893f7adf16f1ae1b1a1cc2fe1279ed975f1b9d',1,'vswitch-idl.h']]],
['ovsrec_5fipfix_5fcol_5fother_5fconfig',['OVSREC_IPFIX_COL_OTHER_CONFIG',['../vswitch-idl_8h.html#a0724528cce39d640312f4a7ad1a893f7abf4f88e25145cc987cb4c32b51e4e0f4',1,'vswitch-idl.h']]],
['ovsrec_5fipfix_5fcol_5fsampling',['OVSREC_IPFIX_COL_SAMPLING',['../vswitch-idl_8h.html#a0724528cce39d640312f4a7ad1a893f7ac92d0472a32f898b0c8b422866aef528',1,'vswitch-idl.h']]],
['ovsrec_5fipfix_5fcol_5ftargets',['OVSREC_IPFIX_COL_TARGETS',['../vswitch-idl_8h.html#a0724528cce39d640312f4a7ad1a893f7ac202ff522f4787241fba04b838634361',1,'vswitch-idl.h']]],
['ovsrec_5fipfix_5fn_5fcolumns',['OVSREC_IPFIX_N_COLUMNS',['../vswitch-idl_8h.html#a0724528cce39d640312f4a7ad1a893f7a3e149752cacc20d0459ad5f2c34c6e83',1,'vswitch-idl.h']]],
['ovsrec_5fmanager_5fcol_5fconnection_5fmode',['OVSREC_MANAGER_COL_CONNECTION_MODE',['../vswitch-idl_8h.html#a425be5f49e9c31d8d13d53190a3e7bc2a8688adbb4acd91b0c9114d8d032de227',1,'vswitch-idl.h']]],
['ovsrec_5fmanager_5fcol_5fexternal_5fids',['OVSREC_MANAGER_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#a425be5f49e9c31d8d13d53190a3e7bc2ab5c1225e7fbf0d9cab415f20807dec29',1,'vswitch-idl.h']]],
['ovsrec_5fmanager_5fcol_5finactivity_5fprobe',['OVSREC_MANAGER_COL_INACTIVITY_PROBE',['../vswitch-idl_8h.html#a425be5f49e9c31d8d13d53190a3e7bc2a4401bf7cc323c1b5d095739f3c801600',1,'vswitch-idl.h']]],
['ovsrec_5fmanager_5fcol_5fis_5fconnected',['OVSREC_MANAGER_COL_IS_CONNECTED',['../vswitch-idl_8h.html#a425be5f49e9c31d8d13d53190a3e7bc2a18d2cef065d128c9bef912de21b25875',1,'vswitch-idl.h']]],
['ovsrec_5fmanager_5fcol_5fmax_5fbackoff',['OVSREC_MANAGER_COL_MAX_BACKOFF',['../vswitch-idl_8h.html#a425be5f49e9c31d8d13d53190a3e7bc2a4a902ed8c16567b55f1a90b2aea80f88',1,'vswitch-idl.h']]],
['ovsrec_5fmanager_5fcol_5fother_5fconfig',['OVSREC_MANAGER_COL_OTHER_CONFIG',['../vswitch-idl_8h.html#a425be5f49e9c31d8d13d53190a3e7bc2a6023f273ebd3c51497f43842c7dbc2c7',1,'vswitch-idl.h']]],
['ovsrec_5fmanager_5fcol_5fstatus',['OVSREC_MANAGER_COL_STATUS',['../vswitch-idl_8h.html#a425be5f49e9c31d8d13d53190a3e7bc2a6dfdf7f6448d4afc6dbcf9ac693fa6b5',1,'vswitch-idl.h']]],
['ovsrec_5fmanager_5fcol_5ftarget',['OVSREC_MANAGER_COL_TARGET',['../vswitch-idl_8h.html#a425be5f49e9c31d8d13d53190a3e7bc2af3758816aa65429fd37b8f8e7001bf03',1,'vswitch-idl.h']]],
['ovsrec_5fmanager_5fn_5fcolumns',['OVSREC_MANAGER_N_COLUMNS',['../vswitch-idl_8h.html#a425be5f49e9c31d8d13d53190a3e7bc2aadb40c9acab27dcfcd7915e0767fee28',1,'vswitch-idl.h']]],
['ovsrec_5fmirror_5fcol_5fexternal_5fids',['OVSREC_MIRROR_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#a6739788b75165c40c5fa298fbd9c18bdac7a77563e29e53a4ec812d6c98b55834',1,'vswitch-idl.h']]],
['ovsrec_5fmirror_5fcol_5fname',['OVSREC_MIRROR_COL_NAME',['../vswitch-idl_8h.html#a6739788b75165c40c5fa298fbd9c18bdac6dc57e42ca502a7052e0e147a83ffcd',1,'vswitch-idl.h']]],
['ovsrec_5fmirror_5fcol_5foutput_5fport',['OVSREC_MIRROR_COL_OUTPUT_PORT',['../vswitch-idl_8h.html#a6739788b75165c40c5fa298fbd9c18bdac49e825beb7dfd6c2869a6c800c97c19',1,'vswitch-idl.h']]],
['ovsrec_5fmirror_5fcol_5foutput_5fvlan',['OVSREC_MIRROR_COL_OUTPUT_VLAN',['../vswitch-idl_8h.html#a6739788b75165c40c5fa298fbd9c18bda9f7ccdbd381c00d98740cb0dbf3b0bd3',1,'vswitch-idl.h']]],
['ovsrec_5fmirror_5fcol_5fselect_5fall',['OVSREC_MIRROR_COL_SELECT_ALL',['../vswitch-idl_8h.html#a6739788b75165c40c5fa298fbd9c18bda6e21742524e81c577fe09a043059626c',1,'vswitch-idl.h']]],
['ovsrec_5fmirror_5fcol_5fselect_5fdst_5fport',['OVSREC_MIRROR_COL_SELECT_DST_PORT',['../vswitch-idl_8h.html#a6739788b75165c40c5fa298fbd9c18bda9dc994cf7c409b51ad56f5daeb870e17',1,'vswitch-idl.h']]],
['ovsrec_5fmirror_5fcol_5fselect_5fsrc_5fport',['OVSREC_MIRROR_COL_SELECT_SRC_PORT',['../vswitch-idl_8h.html#a6739788b75165c40c5fa298fbd9c18bda51c6de82899493f1c459d705f4f4e98c',1,'vswitch-idl.h']]],
['ovsrec_5fmirror_5fcol_5fselect_5fvlan',['OVSREC_MIRROR_COL_SELECT_VLAN',['../vswitch-idl_8h.html#a6739788b75165c40c5fa298fbd9c18bda802817e33ef47c28d3cceec38122019a',1,'vswitch-idl.h']]],
['ovsrec_5fmirror_5fcol_5fstatistics',['OVSREC_MIRROR_COL_STATISTICS',['../vswitch-idl_8h.html#a6739788b75165c40c5fa298fbd9c18bdaa86a37ad240966dd7d70210d1906f4eb',1,'vswitch-idl.h']]],
['ovsrec_5fmirror_5fn_5fcolumns',['OVSREC_MIRROR_N_COLUMNS',['../vswitch-idl_8h.html#a6739788b75165c40c5fa298fbd9c18bdaaf8dfb756b4b92440a4ebffb2c683ebd',1,'vswitch-idl.h']]],
['ovsrec_5fn_5ftables',['OVSREC_N_TABLES',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a632b81add19f2c9e5ba3e3e9846d276f',1,'vswitch-idl.h']]],
['ovsrec_5fnetflow_5fcol_5factive_5ftimeout',['OVSREC_NETFLOW_COL_ACTIVE_TIMEOUT',['../vswitch-idl_8h.html#ab98c672c5aaffb98a9189cd99e58ff23a49f930dc8104f29e5ab2820377e6b575',1,'vswitch-idl.h']]],
['ovsrec_5fnetflow_5fcol_5fadd_5fid_5fto_5finterface',['OVSREC_NETFLOW_COL_ADD_ID_TO_INTERFACE',['../vswitch-idl_8h.html#ab98c672c5aaffb98a9189cd99e58ff23a2285992ded915ae3416e072c0a3e0759',1,'vswitch-idl.h']]],
['ovsrec_5fnetflow_5fcol_5fengine_5fid',['OVSREC_NETFLOW_COL_ENGINE_ID',['../vswitch-idl_8h.html#ab98c672c5aaffb98a9189cd99e58ff23af1262f79edddd426e2cb05efd408821c',1,'vswitch-idl.h']]],
['ovsrec_5fnetflow_5fcol_5fengine_5ftype',['OVSREC_NETFLOW_COL_ENGINE_TYPE',['../vswitch-idl_8h.html#ab98c672c5aaffb98a9189cd99e58ff23a04b7ac3c252de9b0f7b56892fee9ecbd',1,'vswitch-idl.h']]],
['ovsrec_5fnetflow_5fcol_5fexternal_5fids',['OVSREC_NETFLOW_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#ab98c672c5aaffb98a9189cd99e58ff23a28082ee80d8e109c4c04278d3334974b',1,'vswitch-idl.h']]],
['ovsrec_5fnetflow_5fcol_5ftargets',['OVSREC_NETFLOW_COL_TARGETS',['../vswitch-idl_8h.html#ab98c672c5aaffb98a9189cd99e58ff23a0ac0e5afee9142562befbe282e3fb8b8',1,'vswitch-idl.h']]],
['ovsrec_5fnetflow_5fn_5fcolumns',['OVSREC_NETFLOW_N_COLUMNS',['../vswitch-idl_8h.html#ab98c672c5aaffb98a9189cd99e58ff23a9ff829a2880a9426764ae1ff54852b94',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fbridges',['OVSREC_OPEN_VSWITCH_COL_BRIDGES',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edea342ddf3c920447075987053f4b60d57f',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fcur_5fcfg',['OVSREC_OPEN_VSWITCH_COL_CUR_CFG',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edea3cb82e5a7dd252434f407192d36ca6dc',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fdatapath_5ftypes',['OVSREC_OPEN_VSWITCH_COL_DATAPATH_TYPES',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edea0c908f36b7afd1e23337dab4fce1bb54',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fdb_5fversion',['OVSREC_OPEN_VSWITCH_COL_DB_VERSION',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edea8f81a8dceec344295acae616ad867161',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fexternal_5fids',['OVSREC_OPEN_VSWITCH_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edeac4515903590912edef5b1f8cef3ade1b',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fiface_5ftypes',['OVSREC_OPEN_VSWITCH_COL_IFACE_TYPES',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edea1ce1cedd55efff833672a50850b9848c',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fmanager_5foptions',['OVSREC_OPEN_VSWITCH_COL_MANAGER_OPTIONS',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edeadd1a49c697130a2884d23703274990ca',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fnext_5fcfg',['OVSREC_OPEN_VSWITCH_COL_NEXT_CFG',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edeab5d560c6d0d58132fbd4b0b56da96c0a',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fother_5fconfig',['OVSREC_OPEN_VSWITCH_COL_OTHER_CONFIG',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edea20335020cb1cbe27863a555f731f24b0',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fovs_5fversion',['OVSREC_OPEN_VSWITCH_COL_OVS_VERSION',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edea8706e181b0ff5b7dcc2b149e4eecce68',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fssl',['OVSREC_OPEN_VSWITCH_COL_SSL',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edea0ba18488f90ccdd7db97e6d60044cce6',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fstatistics',['OVSREC_OPEN_VSWITCH_COL_STATISTICS',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edea2b50a5d7115708d8439f79ac3c25441b',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fsystem_5ftype',['OVSREC_OPEN_VSWITCH_COL_SYSTEM_TYPE',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edeaca8c35b7c93c9d626802dc7324f286ba',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fcol_5fsystem_5fversion',['OVSREC_OPEN_VSWITCH_COL_SYSTEM_VERSION',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edea97475b5294c0aaef9b368d306b56d2a9',1,'vswitch-idl.h']]],
['ovsrec_5fopen_5fvswitch_5fn_5fcolumns',['OVSREC_OPEN_VSWITCH_N_COLUMNS',['../vswitch-idl_8h.html#ac791b66a82093c303b1b2aaf4f185edea02f3640f9f1ba2b1aac3f189c9f29f16',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5fbond_5factive_5fslave',['OVSREC_PORT_COL_BOND_ACTIVE_SLAVE',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752ca8947b7226528f7e1e9a84b189a3ed705',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5fbond_5fdowndelay',['OVSREC_PORT_COL_BOND_DOWNDELAY',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752ca9840797df59c0183315f7a9fd9bcd79e',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5fbond_5ffake_5fiface',['OVSREC_PORT_COL_BOND_FAKE_IFACE',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752ca7a9f7d39169681bcae4a2f4207e71a1e',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5fbond_5fmode',['OVSREC_PORT_COL_BOND_MODE',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752ca4936529fba5ca10fe1e4f665b53b936d',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5fbond_5fupdelay',['OVSREC_PORT_COL_BOND_UPDELAY',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752ca4f2d8a7deb04c0989d17c9577f574541',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5fexternal_5fids',['OVSREC_PORT_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752ca07bbd6c2133723e6ae2c41a16c8064e7',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5ffake_5fbridge',['OVSREC_PORT_COL_FAKE_BRIDGE',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752cae19907580f212387c22f2e11a6f2162e',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5finterfaces',['OVSREC_PORT_COL_INTERFACES',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752cad95023abb05f395b25632dc8c3ff3760',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5flacp',['OVSREC_PORT_COL_LACP',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752caf452f9baab64f9e66e37f73f1a439cef',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5fmac',['OVSREC_PORT_COL_MAC',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752ca4a991a5e13defc85cc5a264b07b988be',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5fname',['OVSREC_PORT_COL_NAME',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752ca9ec0737b4bc2a2a052d03be6d2eabba9',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5fother_5fconfig',['OVSREC_PORT_COL_OTHER_CONFIG',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752caef9d5f3cf3e6b109c90454843e0146b8',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5fqos',['OVSREC_PORT_COL_QOS',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752ca978eddab6f163b77348aac2e02c0bfea',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5frstp_5fstatistics',['OVSREC_PORT_COL_RSTP_STATISTICS',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752cad34ef7bc5c3c5f396747a991b5ef6661',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5frstp_5fstatus',['OVSREC_PORT_COL_RSTP_STATUS',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752cafe8d938351fa8c16c3e2c0cd49c9515f',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5fstatistics',['OVSREC_PORT_COL_STATISTICS',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752caaee6c91394bc3b6ab7e1b271e8559564',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5fstatus',['OVSREC_PORT_COL_STATUS',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752ca4b811737743e2c5c966398fd42417dba',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5ftag',['OVSREC_PORT_COL_TAG',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752cac6ee685e3a4a50958fed676038674804',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5ftrunks',['OVSREC_PORT_COL_TRUNKS',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752ca403a56e28aefd6ae856ee19b0e21796d',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fcol_5fvlan_5fmode',['OVSREC_PORT_COL_VLAN_MODE',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752ca54520d89fc05adfaf2cc5d691038744c',1,'vswitch-idl.h']]],
['ovsrec_5fport_5fn_5fcolumns',['OVSREC_PORT_N_COLUMNS',['../vswitch-idl_8h.html#a5efefa44b296976f2147b8acbed1752ca9ba4d21b619468b451dfc1f51d7d9969',1,'vswitch-idl.h']]],
['ovsrec_5fqos_5fcol_5fexternal_5fids',['OVSREC_QOS_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#ade4ace78b27f5ceccade6e2e29404c48a0db809cc9ba61e901b7455ced7092380',1,'vswitch-idl.h']]],
['ovsrec_5fqos_5fcol_5fother_5fconfig',['OVSREC_QOS_COL_OTHER_CONFIG',['../vswitch-idl_8h.html#ade4ace78b27f5ceccade6e2e29404c48a5775469ae6c0506834f0fd06fc010bfd',1,'vswitch-idl.h']]],
['ovsrec_5fqos_5fcol_5fqueues',['OVSREC_QOS_COL_QUEUES',['../vswitch-idl_8h.html#ade4ace78b27f5ceccade6e2e29404c48adf07af4b1ee9759b283b0327fc182927',1,'vswitch-idl.h']]],
['ovsrec_5fqos_5fcol_5ftype',['OVSREC_QOS_COL_TYPE',['../vswitch-idl_8h.html#ade4ace78b27f5ceccade6e2e29404c48a78ba4095586fd50007630d1aeeb62af0',1,'vswitch-idl.h']]],
['ovsrec_5fqos_5fn_5fcolumns',['OVSREC_QOS_N_COLUMNS',['../vswitch-idl_8h.html#ade4ace78b27f5ceccade6e2e29404c48a11e3aacc52e63931edf74604beae45ce',1,'vswitch-idl.h']]],
['ovsrec_5fqueue_5fcol_5fdscp',['OVSREC_QUEUE_COL_DSCP',['../vswitch-idl_8h.html#a9d62e2a4d6edc3a479d15fdf213decd0a4b42a7d1926fdf1d31105384f42f55f4',1,'vswitch-idl.h']]],
['ovsrec_5fqueue_5fcol_5fexternal_5fids',['OVSREC_QUEUE_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#a9d62e2a4d6edc3a479d15fdf213decd0a8e90bcf2d84a6a839aed3f3242cf7c82',1,'vswitch-idl.h']]],
['ovsrec_5fqueue_5fcol_5fother_5fconfig',['OVSREC_QUEUE_COL_OTHER_CONFIG',['../vswitch-idl_8h.html#a9d62e2a4d6edc3a479d15fdf213decd0a3b0b5e622b3d403b35d46db622f81754',1,'vswitch-idl.h']]],
['ovsrec_5fqueue_5fn_5fcolumns',['OVSREC_QUEUE_N_COLUMNS',['../vswitch-idl_8h.html#a9d62e2a4d6edc3a479d15fdf213decd0a768b0003a4afa1fd3df9b944c400bc14',1,'vswitch-idl.h']]],
['ovsrec_5fsflow_5fcol_5fagent',['OVSREC_SFLOW_COL_AGENT',['../vswitch-idl_8h.html#a49b1d57ca8b026018a74c3dcb2779740a4fbaecb839693dd46afa412085578928',1,'vswitch-idl.h']]],
['ovsrec_5fsflow_5fcol_5fexternal_5fids',['OVSREC_SFLOW_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#a49b1d57ca8b026018a74c3dcb2779740a0e11157a90deebf269ba93c7a51bbade',1,'vswitch-idl.h']]],
['ovsrec_5fsflow_5fcol_5fheader',['OVSREC_SFLOW_COL_HEADER',['../vswitch-idl_8h.html#a49b1d57ca8b026018a74c3dcb2779740a4142a90818f141b74762a72b5672c053',1,'vswitch-idl.h']]],
['ovsrec_5fsflow_5fcol_5fpolling',['OVSREC_SFLOW_COL_POLLING',['../vswitch-idl_8h.html#a49b1d57ca8b026018a74c3dcb2779740a05915cd468c52c0661fa1da342447fad',1,'vswitch-idl.h']]],
['ovsrec_5fsflow_5fcol_5fsampling',['OVSREC_SFLOW_COL_SAMPLING',['../vswitch-idl_8h.html#a49b1d57ca8b026018a74c3dcb2779740a1fa536cd6789b980d0ae26887730075d',1,'vswitch-idl.h']]],
['ovsrec_5fsflow_5fcol_5ftargets',['OVSREC_SFLOW_COL_TARGETS',['../vswitch-idl_8h.html#a49b1d57ca8b026018a74c3dcb2779740a3582b66f617348c32f296c4ed8063a78',1,'vswitch-idl.h']]],
['ovsrec_5fsflow_5fn_5fcolumns',['OVSREC_SFLOW_N_COLUMNS',['../vswitch-idl_8h.html#a49b1d57ca8b026018a74c3dcb2779740a15978b565584b592b2dc19f619038391',1,'vswitch-idl.h']]],
['ovsrec_5fssl_5fcol_5fbootstrap_5fca_5fcert',['OVSREC_SSL_COL_BOOTSTRAP_CA_CERT',['../vswitch-idl_8h.html#a3d01b665f7e924f5f97fa41f5879c7f7ade6f0397651a836c83bc933e9eb748e4',1,'vswitch-idl.h']]],
['ovsrec_5fssl_5fcol_5fca_5fcert',['OVSREC_SSL_COL_CA_CERT',['../vswitch-idl_8h.html#a3d01b665f7e924f5f97fa41f5879c7f7a6c418c1de871161f21dbb7fc8d9813bc',1,'vswitch-idl.h']]],
['ovsrec_5fssl_5fcol_5fcertificate',['OVSREC_SSL_COL_CERTIFICATE',['../vswitch-idl_8h.html#a3d01b665f7e924f5f97fa41f5879c7f7aa0c6b23755ed343c23f0fbe396e518a9',1,'vswitch-idl.h']]],
['ovsrec_5fssl_5fcol_5fexternal_5fids',['OVSREC_SSL_COL_EXTERNAL_IDS',['../vswitch-idl_8h.html#a3d01b665f7e924f5f97fa41f5879c7f7a5bea84a69d77e0a8fdc5927dcf466e3d',1,'vswitch-idl.h']]],
['ovsrec_5fssl_5fcol_5fprivate_5fkey',['OVSREC_SSL_COL_PRIVATE_KEY',['../vswitch-idl_8h.html#a3d01b665f7e924f5f97fa41f5879c7f7a6d4482bc18b88c694df7ad3a067217d7',1,'vswitch-idl.h']]],
['ovsrec_5fssl_5fn_5fcolumns',['OVSREC_SSL_N_COLUMNS',['../vswitch-idl_8h.html#a3d01b665f7e924f5f97fa41f5879c7f7a4d5ae762fd11829591bf4166178a1a23',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fautoattach',['OVSREC_TABLE_AUTOATTACH',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64ae9293775a1d840e2f21793a7746e53d5',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fbridge',['OVSREC_TABLE_BRIDGE',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a212b69e0e7241ab60adeec28917e4087',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fcontroller',['OVSREC_TABLE_CONTROLLER',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a2d6479d70840137dc7a59ca0e0b96dc3',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fflow_5fsample_5fcollector_5fset',['OVSREC_TABLE_FLOW_SAMPLE_COLLECTOR_SET',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a33427ca71f9e9b24ebbc2eba5201e99e',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fflow_5ftable',['OVSREC_TABLE_FLOW_TABLE',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a95f6ea8995baacfbba5dfce4b0aeff78',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5finterface',['OVSREC_TABLE_INTERFACE',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a2f02b1efc93dd7e323af5f62fc025eb5',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fipfix',['OVSREC_TABLE_IPFIX',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a351a433b8bd24d6e0b0092fcd8fc842e',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fmanager',['OVSREC_TABLE_MANAGER',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a09f3a3f8f4214aec405d8f2e3787595e',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fmirror',['OVSREC_TABLE_MIRROR',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a4656a1861d2a3bedc1ac961911a35f4b',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fnetflow',['OVSREC_TABLE_NETFLOW',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a380676d0e69845c8e6b826426e6a5903',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fopen_5fvswitch',['OVSREC_TABLE_OPEN_VSWITCH',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64add07b4c07bee02c2add9ad068a6878fd',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fport',['OVSREC_TABLE_PORT',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64aa2957a58cc073dd1cf517118b8617325',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fqos',['OVSREC_TABLE_QOS',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a6bc0e198f562ea6e7308694ffa11078a',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fqueue',['OVSREC_TABLE_QUEUE',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a8b21d314b5d3f11618284a6ec8d8b8a9',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fsflow',['OVSREC_TABLE_SFLOW',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a3c62d48320035321d8912282eecc1890',1,'vswitch-idl.h']]],
['ovsrec_5ftable_5fssl',['OVSREC_TABLE_SSL',['../vswitch-idl_8h.html#a12acb3634428eafc5724df6d836f4e64a06a16ca0993bd3afdc9ba9a79bd8eae4',1,'vswitch-idl.h']]],
['ovsswitchattached',['OvsSwitchAttached',['../Switch_8h.html#a878a7e8fe9b88cc48a28df76b1f21fd9a188ca452bdd2892e0de91bebc272ac54',1,'Switch.h']]],
['ovsswitchdetached',['OvsSwitchDetached',['../Switch_8h.html#a878a7e8fe9b88cc48a28df76b1f21fd9a59c6801ba22b93b16225f717d2164128',1,'Switch.h']]],
['ovsswitchpaused',['OvsSwitchPaused',['../Switch_8h.html#a5b2b89210a1723f6b4e8bab49f695671a53a7b5515314fa2166b6bd7b6c8dc813',1,'Switch.h']]],
['ovsswitchrunning',['OvsSwitchRunning',['../Switch_8h.html#a5b2b89210a1723f6b4e8bab49f695671ae81c091ed47bf89001158c61c6584d9f',1,'Switch.h']]],
['ovsswitchunknown',['OvsSwitchUnknown',['../Switch_8h.html#a878a7e8fe9b88cc48a28df76b1f21fd9afa60866f33c2e8d17c8c49a39bd97456',1,'Switch.h']]],
['ovswin_5fflow_5fput_5fclear',['OVSWIN_FLOW_PUT_CLEAR',['../DpInternal_8h.html#a7cc8d83f6d0048696ec6be0c6ad9a616a2cc8347ed238765a5dc43082399936d2',1,'DpInternal.h']]],
['ovswin_5fflow_5fput_5fcreate',['OVSWIN_FLOW_PUT_CREATE',['../DpInternal_8h.html#a7cc8d83f6d0048696ec6be0c6ad9a616aa5586c760620337765908a86413ebc3d',1,'DpInternal.h']]],
['ovswin_5fflow_5fput_5fdelete',['OVSWIN_FLOW_PUT_DELETE',['../DpInternal_8h.html#a7cc8d83f6d0048696ec6be0c6ad9a616a22e8e5ccf369c5f8ca047e95ca684a46',1,'DpInternal.h']]],
['ovswin_5fflow_5fput_5fmodify',['OVSWIN_FLOW_PUT_MODIFY',['../DpInternal_8h.html#a7cc8d83f6d0048696ec6be0c6ad9a616a9df3fee2cddb00fae2beefd8081909ec',1,'DpInternal.h']]]
];
| vladn-ma/vladn-ovs-doc | doxygen/ovs_all/html/search/enumvalues_d.js | JavaScript | apache-2.0 | 231,425 |
// Copyright 2018, Google, Inc.
// Licensed under the Apache License, Version 2.0 (the 'License');
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an 'AS IS' BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
const {DateTime, Suggestions} = require('actions-on-google');
module.exports = {
'ask_for_datetime': (conv) => {
const options = {
prompts: {
initial: 'When would you like to schedule the appointment?',
date: 'What day was that?',
time: 'What time works for you?',
},
};
conv.ask(new DateTime(options));
},
'ask_for_datetime_confirmation': (conv, params, datetime) => {
const { month, day } = datetime.date
const { hours, minutes } = datetime.time
conv.ask(`<speak>
Great, we will see you on
<say-as interpret-as="date" format="dm">${day}-${month}</say-as>
<say-as interpret-as="time" format="hms12" detail="2">${hours}:${minutes || '00'}</say-as>
</speak>`);
conv.ask(new Suggestions([
'Confirmation',
'Permission',
'Place',
'Sign In',
]));
},
};
| actions-on-google/dialogflow-helper-intents-nodejs | functions/helper-intents/ask-for-datetime.js | JavaScript | apache-2.0 | 1,468 |
import {toContextualLogsUrl} from '../../js/component_data/trace';
describe('toContextualLogsUrl', () => {
it('replaces token in logsUrl when set', () => {
const kibanaLogsUrl = 'http://company.com/kibana/#/discover?_a=(query:(query_string:(query:\'{traceId}\')))';
const traceId = '86bad84b319c8379';
toContextualLogsUrl(kibanaLogsUrl, traceId)
.should.equal(kibanaLogsUrl.replace('{traceId}', traceId));
});
it('returns logsUrl when not set', () => {
const kibanaLogsUrl = undefined;
const traceId = '86bad84b319c8379';
(typeof toContextualLogsUrl(kibanaLogsUrl, traceId)).should.equal('undefined');
});
it('returns the same url when token not present', () => {
const kibanaLogsUrl = 'http://mylogqueryservice.com/';
const traceId = '86bad84b319c8379';
toContextualLogsUrl(kibanaLogsUrl, traceId).should.equal(kibanaLogsUrl);
});
});
| soundcloud/zipkin | zipkin-ui/test/component_data/trace.test.js | JavaScript | apache-2.0 | 893 |
/*
* Copyright 2013 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict';
// Declare app level module which depends on filters, and services
angular.module('guestbook', [
'guestbook.filters',
'guestbook.services',
'guestbook.directives',
'ngSanitize'
])
.config(['$routeProvider', function($routeProvider) {
$routeProvider
.when('/:guestbookName', {
controller: 'GuestbookCtrl',
templateUrl: 'guestbook.html'
})
.otherwise({ redirectTo: '/default' });
}]);
| tmatsuo/appengine-angular-guestbook-java | src/main/webapp/js/app.js | JavaScript | apache-2.0 | 1,018 |
/**
* @license Apache-2.0
*
* Copyright (c) 2018 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict';
// MODULES //
var bench = require( '@stdlib/bench' );
var pow = require( '@stdlib/math/base/special/pow' );
var pkg = require( './../package.json' ).name;
var Int8Array = require( './../lib' );
// FUNCTIONS //
/**
* Creates a benchmark function.
*
* @private
* @param {PositiveInteger} len - array length
* @returns {Function} benchmark function
*/
function createBenchmark( len ) {
var arr = new Int8Array( len );
return benchmark;
/**
* Benchmark function.
*
* @private
* @param {Benchmark} b - benchmark instance
*/
function benchmark( b ) {
var v;
var i;
b.tic();
for ( i = 0; i < b.iterations; i++ ) {
v = i % 128;
arr = arr.fill( v );
if ( arr[ 0 ] !== v ) {
b.fail( 'unexpected result' );
}
}
b.toc();
if ( arr[ 0 ] !== arr[ 0 ] ) {
b.fail( 'should not be NaN' );
}
b.pass( 'benchmark finished' );
b.end();
}
}
// MAIN //
/**
* Main execution sequence.
*
* @private
*/
function main() {
var len;
var min;
var max;
var f;
var i;
min = 1; // 10^min
max = 6; // 10^max
for ( i = min; i <= max; i++ ) {
len = pow( 10, i );
f = createBenchmark( len );
bench( pkg+':fill:len='+len, f );
}
}
main();
| stdlib-js/stdlib | lib/node_modules/@stdlib/array/int8/benchmark/benchmark.fill.length.js | JavaScript | apache-2.0 | 1,809 |
import classNames from "classnames";
import React from "react";
import { Tooltip } from "reactjs-components";
import HealthBarStates from "../constants/HealthBarStates";
import StatusBar from "../../../../../src/js/components/StatusBar";
class HealthBar extends React.Component {
getMappedTasksSummary(tasksSummary) {
return Object.keys(tasksSummary)
.filter(function(task) {
return task !== "tasksRunning";
})
.map(function(taskStatus) {
return {
className: HealthBarStates[taskStatus].className,
value: tasksSummary[taskStatus]
};
});
}
getTaskList(tasksSummary, instancesCount) {
return Object.keys(tasksSummary)
.filter(function(task) {
return tasksSummary[task] !== 0 && task !== "tasksRunning";
})
.map(function(task, index) {
const percentage = parseInt(
tasksSummary[task] / instancesCount * 100,
10
);
const classSet = classNames(
HealthBarStates[task].className,
"dot icon"
);
return (
<div key={index} className="tooltip-line-item">
<span className={classSet} />
{` ${tasksSummary[task]} ${HealthBarStates[task].label} `}
<span className="health-bar-tooltip-instances-total">
of {instancesCount}
</span>
{` (${percentage}%)`}
</div>
);
});
}
renderToolTip() {
let { tasksSummary, instancesCount } = this.props;
tasksSummary = this.getTaskList(
tasksSummary,
Math.max(tasksSummary.tasksRunning, instancesCount)
);
if (tasksSummary.length === 0) {
return "没有正在运行的任务";
}
return tasksSummary;
}
render() {
let { tasksSummary, instancesCount, isDeploying } = this.props;
if (tasksSummary == null) {
return null;
}
// This filters overCapacity ou
tasksSummary = Object.keys(tasksSummary)
.filter(function(key) {
return key !== "tasksOverCapacity";
})
.reduce(function(memo, key) {
memo[key] = tasksSummary[key];
return memo;
}, {});
if (isDeploying) {
tasksSummary = {
tasksStaged: instancesCount
};
}
return (
<Tooltip interactive={true} content={this.renderToolTip()}>
<StatusBar
className="status-bar--large"
data={this.getMappedTasksSummary(tasksSummary)}
scale={instancesCount}
/>
</Tooltip>
);
}
}
HealthBar.defaultProps = {
isDeploying: false,
instancesCount: null
};
HealthBar.propTypes = {
isDeploying: React.PropTypes.bool,
instancesCount: React.PropTypes.number,
tasksSummary: React.PropTypes.shape({
tasksRunning: React.PropTypes.number,
tasksHealthy: React.PropTypes.number,
tasksOverCapacity: React.PropTypes.number,
tasksStaged: React.PropTypes.number,
tasksUnhealthy: React.PropTypes.number,
tasksUnknown: React.PropTypes.number
}).isRequired
};
module.exports = HealthBar;
| jcloud-shengtai/dcos-ui_CN | plugins/services/src/js/components/HealthBar.js | JavaScript | apache-2.0 | 3,083 |
//// [incrementOperatorWithAnyOtherTypeInvalidOperations.js]
// ++ operator on any type
var ANY1;
var ANY2 = [1, 2];
var obj;
var obj1 = { x: "", y: function () {
} };
function foo() {
var a;
return a;
}
var A = (function () {
function A() {
}
A.foo = function () {
var a;
return a;
};
return A;
})();
var M;
(function (M) {
M.n;
})(M || (M = {}));
var objA = new A();
// any type var
var ResultIsNumber1 = ++ANY2;
var ResultIsNumber2 = ++A;
var ResultIsNumber3 = ++M;
var ResultIsNumber4 = ++obj;
var ResultIsNumber5 = ++obj1;
var ResultIsNumber6 = ANY2++;
var ResultIsNumber7 = A++;
var ResultIsNumber8 = M++;
var ResultIsNumber9 = obj++;
var ResultIsNumber10 = obj1++;
// any type literal
var ResultIsNumber11 = ++{};
var ResultIsNumber12 = ++null;
var ResultIsNumber13 = ++undefined;
var ResultIsNumber14 = null++;
var ResultIsNumber15 = {}++;
var ResultIsNumber16 = undefined++;
// any type expressions
var ResultIsNumber17 = ++foo();
var ResultIsNumber18 = ++A.foo();
var ResultIsNumber19 = ++(null + undefined);
var ResultIsNumber20 = ++(null + null);
var ResultIsNumber21 = ++(undefined + undefined);
var ResultIsNumber22 = ++obj1.x;
var ResultIsNumber23 = ++obj1.y;
var ResultIsNumber24 = foo()++;
var ResultIsNumber25 = A.foo()++;
var ResultIsNumber26 = (null + undefined)++;
var ResultIsNumber27 = (null + null)++;
var ResultIsNumber28 = (undefined + undefined)++;
var ResultIsNumber29 = obj1.x++;
var ResultIsNumber30 = obj1.y++;
// miss assignment operators
++ANY2;
ANY2++;
++ANY1++;
++ANY2++;
++ANY2[0]++;
| fdecampredon/jsx-typescript-old-version | tests/baselines/reference/incrementOperatorWithAnyOtherTypeInvalidOperations.js | JavaScript | apache-2.0 | 1,656 |
import mx from '../../multiplex';
import * as mocks from './_mocks';
import {
qmodule,
qtest
} from '../../qunit';
qmodule('linq-to-array');
qtest('collections to-array method tests', function (assert) {
var len = mocks.array.length;
assert.equal(mx(mocks.array).toArray().length, len, 'Test toArray in an array');
assert.equal(mocks.enumerable.toArray().length, len, 'Test toArray in an array');
assert.equal(mocks.collection.toArray().length, len, 'Test toArray in a Collection');
assert.equal(mocks.list.toArray().length, len, 'Test toArray in a List');
assert.equal(mocks.readOnlyCollection.toArray().length, len, 'Test toArray in a ReadOnlyCollection');
assert.equal(mocks.linkedList.toArray().length, len, 'Test toArray in a LinkedList');
assert.equal(mocks.hashSet.toArray().length, len, 'Test toArray in a HashSet');
assert.equal(mocks.stack.toArray().length, len, 'Test toArray in a Stack');
assert.equal(mocks.queue.toArray().length, len, 'Test toArray in a Queue');
assert.equal(mocks.set.toArray().length, len, 'Test toArray in a Set');
assert.equal(mocks.map.toArray().length, len, 'Test toArray in a Map');
assert.equal(mocks.dictionary.toArray().length, len, 'Test toArray in a Dictionary');
assert.equal(mocks.lookup.toArray().length, len, 'Test toArray in a Lookup');
assert.equal(mocks.sortedList.toArray().length, len, 'Test toArray in a SortedList');
assert.deepEqual(mx(mocks.array).toArray(), mocks.array, 'Test toArray in an array');
assert.deepEqual(mocks.enumerable.toArray(), mocks.array, 'Test toArray in an array');
assert.deepEqual(mocks.collection.toArray(), mocks.array, 'Test toArray in a Collection');
assert.deepEqual(mocks.list.toArray(), mocks.array, 'Test toArray in a List');
assert.deepEqual(mocks.readOnlyCollection.toArray(), mocks.array, 'Test toArray in a ReadOnlyCollection');
assert.deepEqual(mocks.linkedList.toArray(), mocks.array, 'Test toArray in a LinkedList');
assert.deepEqual(mocks.hashSet.toArray(), mocks.array, 'Test toArray in a HashSet');
assert.deepEqual(mocks.stack.toArray(), mocks.array, 'Test toArray in a Stack');
assert.deepEqual(mocks.queue.toArray(), mocks.array, 'Test toArray in a Queue');
assert.deepEqual(mocks.set.toArray(), mocks.array, 'Test toArray in a Set');
});
| multiplex/multiplex.js | test/unit/linq/to-array.js | JavaScript | apache-2.0 | 2,351 |
$().ready(function(){
SyntaxHighlighter.all();
$("#_hArticleId").val("${article.articleId}");
showComment();
tagsInit();
});
function tagsInit(){
var div = $("#_articleContentTags");
div.empty();
// var tagList = '${article.tagList}';
var tagList = eval('('+ '${article.tagList}' +')');
var tagStr = "";
for (var i = 0; i < tagList.length; i++) {
var tag = tagList[i];
tagStr += '<a href="#" onClick="tagClick(' + tag.tagId + ',\'' + tag.tagName + '\')"><em>' + tag.tagName + '</em>';
if(tagList.length - i != 1) {
tagStr += ', ';
}
}
div.append(tagStr);
}
function tagClick(tagId, tagName) {
window.location = "/articles/tag=" + tagName;
} | KenKwan/blog | thymeleaf.blog/src/main/resources/static/js/default/articleContent.js | JavaScript | apache-2.0 | 741 |
/**
* @license Apache-2.0
*
* Copyright (c) 2020 The Stdlib Authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
'use strict';
/**
* Create an iterator which iteratively computes the inverse versed cosine.
*
* @module @stdlib/math/iter/special/avercos
*
* @example
* var uniform = require( '@stdlib/random/iter/uniform' );
* var iterAvercos = require( '@stdlib/math/iter/special/avercos' );
*
* var iter = iterAvercos( uniform( -2.0, 0.0 ) );
*
* var r = iter.next().value;
* // returns <number>
*
* r = iter.next().value;
* // returns <number>
*
* r = iter.next().value;
* // returns <number>
*
* // ...
*/
// MODULES //
var iterator = require( './main.js' );
// EXPORTS //
module.exports = iterator;
| stdlib-js/stdlib | lib/node_modules/@stdlib/math/iter/special/avercos/lib/index.js | JavaScript | apache-2.0 | 1,213 |