Home
last modified time | relevance | path

Searched refs:newfields (Results 1 – 25 of 62) sorted by relevance

123

/dports/textproc/py-petl/petl-1.7.4/petl/transform/
H A Dunpacks.py42 return UnpackView(table, field, newfields=newfields,
55 self.newfields = newfields
60 return iterunpack(self.source, self.field, self.newfields,
81 if isinstance(newfields, (list, tuple)):
82 outhdr.extend(newfields)
83 nunpack = len(newfields)
84 elif isinstance(newfields, int):
85 nunpack = newfields
86 newfields = [text_type(field) + text_type(i+1) for i in range(newfields)]
87 outhdr.extend(newfields)
[all …]
H A Dregex.py15 def capture(table, field, pattern, newfields=None, include_original=False, argument
72 newfields=newfields,
83 def __init__(self, source, field, pattern, newfields=None, argument
88 self.newfields = newfields
117 if newfields:
118 outhdr.extend(newfields)
140 def split(table, field, pattern, newfields=None, include_original=False, argument
180 def __init__(self, source, field, pattern, newfields=None, argument
185 self.newfields = newfields
215 if newfields:
[all …]
/dports/www/habari/habari-0.8/system/classes/
H A Dqueryrecord.php14 protected $newfields = array(); // Holds updated field values to commit to db variable in QueryRecord
48 if ( isset( $this->newfields[$name] ) ) {
49 return $this->newfields[$name];
69 $this->newfields[$name] = $value;
85 return ( isset( $this->newfields[$name] ) || isset( $this->fields[$name] ) );
130 $merge = array_merge( $this->fields, $this->newfields );
141 return array_merge( $this->fields, $this->newfields );
170 $merge = array_merge( $this->fields, $this->newfields );
H A Dterm.php81 if ( isset( $this->newfields[ 'term' ] ) && $this->newfields[ 'term' ] != '' ) {
82 $value = $this->newfields[ 'term' ];
89 …elseif ( isset( $this->newfields[ 'term_display' ] ) && $this->newfields[ 'term_display' ] != '' )…
90 $value = $this->newfields[ 'term_display' ];
112 return $this->newfields[ 'term' ] = $slug . $postfix;
134 $this->newfields[ 'id' ] = DB::last_insert_id();
137 $this->fields = array_merge( $this->fields, $this->newfields );
140 $this->newfields = array();
168 if ( isset( $this->newfields[ 'term' ] ) && $this->newfields[ 'term' ] != '' ) {
169 if ( $this->fields[ 'term' ] != $this->newfields[ 'term' ] ) {
[all …]
H A Dpost.php431 if ( isset( $this->newfields['slug'] ) && $this->newfields['slug'] != '' ) {
432 $value = $this->newfields['slug'];
441 elseif ( isset( $this->newfields['slug'] ) && $this->newfields['slug'] == '' ) {
450 if ( isset( $this->newfields['title'] ) && $this->newfields['title'] != '' ) {
466 elseif ( isset( $this->newfields['title'] ) && $this->newfields['title'] != '' ) {
510 return $this->newfields['guid'];
549 $this->newfields['modified'] = $this->newfields['updated'];
574 $this->newfields = array();
602 unset( $this->newfields['guid'] );
631 …if ( isset( $this->newfields['status'] ) && $this->fields['status'] != $this->newfields['status'] …
[all …]
H A Dcomment.php138 $this->fields = array_merge( $this->fields, $this->newfields );
139 $this->newfields = array();
158 foreach ( $this->newfields as $fieldname => $value ) {
162 $this->fields = array_merge( $this->fields, $this->newfields );
163 $this->newfields = array();
319 $this->newfields['status'] = $value;
326 $this->newfields['status'] = self::STATUS_APPROVED;
330 $this->newfields['status'] = self::STATUS_UNAPPROVED;
333 $this->newfields['status'] = self::STATUS_SPAM;
336 $this->newfields['status'] = self::STATUS_DELETED;
[all …]
H A Dvocabulary.php200 if ( isset( $this->newfields['features'] ) ) {
201 $this->newfields['features'] = serialize( $this->newfields['features'] );
209 $this->newfields['id'] = DB::last_insert_id();
212 $this->fields = array_merge( $this->fields, $this->newfields );
219 $this->newfields = array();
236 if ( isset( $this->newfields['name'] ) && Vocabulary::exists( $this->newfields['name'] ) ) {
248 if ( isset( $this->newfields['features'] ) ) {
249 $this->newfields['features'] = serialize( $this->newfields['features'] );
256 $this->fields = array_merge( $this->fields, $this->newfields );
257 $this->newfields = array();
H A Dblock.php26 $this->newfields
220 $this->newfields['id'] = DB::last_insert_id();
223 $this->fields = array_merge( $this->fields, $this->newfields );
226 $this->newfields = array();
252 $this->fields = array_merge( $this->fields, $this->newfields );
253 $this->newfields = array();
/dports/www/interchange/interchange-5.6.3/eg/
H A Dte374 my @newfields;
396 @newfields = @fieldnames;
398 @found_fields{@newfields} = @newfields;
399 $fields_out = join("\t", @newfields) . "\n";
413 print OUT join("\t", @record{@newfields}), "\n";
424 push @newfields, $fn;
/dports/audio/py-apetag/py-ApeTag-1.2/
H A DApeTag.py487 newfields = {}
513 newfields[field] = chr(value)
516 if field in newfields:
517 fieldlength = len(newfields[field])
519 newfields[field] = newfields[field][:maxlength]
521 newfields[field] = newfields[field] + \
526 if 'track' not in newfields:
527 newfields['track'] = '\x00'
528 if 'genre' not in newfields:
529 newfields['genre'] = '\xff'
[all …]
/dports/lang/go-devel/go-becaeea1199b875bc24800fa88f2f4fea119bf78/src/cmd/compile/internal/typecheck/
H A Dsubr.go1271 var newfields []*types.Field
1287 newfields[i].Nname = nname
1314 var newfields []*types.Field
1323 newfields[j] = t.Field(j)
1326 if newfields != nil {
1329 newfields[i].Note = f.Note
1344 newfields[i].Nname = v
1356 if newfields != nil {
1376 var newfields []*types.Field
1388 if newfields != nil {
[all …]
/dports/audio/clementine-player/Clementine-1.4.0rc1/3rdparty/taglib/mpeg/id3v2/
H A Did3v2framefactory.cpp59 StringList newfields; in updateGenre() local
71 newfields.append(s.substr(1, end - 1)); in updateGenre()
73 newfields.append(text); in updateGenre()
77 newfields.append(s); in updateGenre()
81 if(newfields.isEmpty()) in updateGenre()
84 frame->setText(newfields); in updateGenre()
/dports/multimedia/musikcube/musikcube-0.96.7/src/plugins/taglib_plugin/taglib-1.11/taglib/mpeg/id3v2/
H A Did3v2framefactory.cpp59 StringList newfields; in updateGenre() local
71 newfields.append(s.substr(1, end - 1)); in updateGenre()
73 newfields.append(text); in updateGenre()
77 newfields.append(s); in updateGenre()
81 if(newfields.isEmpty()) in updateGenre()
84 frame->setText(newfields); in updateGenre()
/dports/www/moodle310/moodle/mod/data/
H A Drenderer.php18 $newfields = $params->importfields;
34 if (!empty($newfields)) {
40 foreach ($newfields as $nid => $newfield) {
/dports/www/moodle311/moodle/mod/data/
H A Drenderer.php18 $newfields = $params->importfields;
34 if (!empty($newfields)) {
40 foreach ($newfields as $nid => $newfield) {
/dports/www/moodle39/moodle/mod/data/
H A Drenderer.php18 $newfields = $params->importfields;
34 if (!empty($newfields)) {
40 foreach ($newfields as $nid => $newfield) {
/dports/math/vtk8/VTK-8.2.0/ThirdParty/netcdf/vtknetcdf/libdispatch/
H A Dncaux.c112 struct NCAUX_FIELD* newfields = NULL; in ncaux_add_field() local
121 newfields = (struct NCAUX_FIELD*)calloc(1,sizeof(struct NCAUX_FIELD)); in ncaux_add_field()
123newfields = (struct NCAUX_FIELD*)realloc(cmpd->fields,cmpd->nfields+1*sizeof(struct NCAUX_FIELD)); in ncaux_add_field()
126 cmpd->fields = newfields; in ncaux_add_field()
136 if(newfields) in ncaux_add_field()
137 free(newfields); in ncaux_add_field()
/dports/audio/taglib/taglib-1.12/taglib/mpeg/id3v2/
H A Did3v2framefactory.cpp59 StringList newfields;
76 newfields.append(genreCode);
80 newfields.append(s);
83 if(newfields.isEmpty())
86 frame->setText(newfields);
/dports/math/libmesh/libmesh-1.6.2/contrib/netcdf/netcdf-c-4.6.2/libdispatch/
H A Ddaux.c335 struct NCAUX_FIELD* newfields = NULL; in ncaux_add_field() local
344 newfields = (struct NCAUX_FIELD*)calloc(1,sizeof(struct NCAUX_FIELD)); in ncaux_add_field()
346newfields = (struct NCAUX_FIELD*)realloc(cmpd->fields,cmpd->nfields+1*sizeof(struct NCAUX_FIELD)); in ncaux_add_field()
349 cmpd->fields = newfields; in ncaux_add_field()
359 if(newfields) in ncaux_add_field()
360 free(newfields); in ncaux_add_field()
/dports/science/netcdf/netcdf-c-4.7.4/libdispatch/
H A Ddaux.c336 struct NCAUX_FIELD* newfields = NULL; in ncaux_add_field() local
345 newfields = (struct NCAUX_FIELD*)calloc(1,sizeof(struct NCAUX_FIELD)); in ncaux_add_field()
347newfields = (struct NCAUX_FIELD*)realloc(cmpd->fields,cmpd->nfields+1*sizeof(struct NCAUX_FIELD)); in ncaux_add_field()
350 cmpd->fields = newfields; in ncaux_add_field()
360 if(newfields) in ncaux_add_field()
361 free(newfields); in ncaux_add_field()
/dports/www/zenphoto/zenphoto-1.5.9/zp-core/zp-extensions/common/
H A DfieldExtender.php52 * @param array $newfields
54 function constructor($me, $newfields) { argument
58 foreach ($newfields as $newfield) {
/dports/www/moodle311/moodle/user/classes/
H A Dfields.php274 $newfields = ['id' => $this->fields['id']];
277 $newfields[$field] = $purposes;
280 $this->fields = $newfields;
/dports/editors/emacs-devel/emacs-4d1968b/lisp/cedet/srecode/
H A Ddictionary.el110 (let ((newfields nil)
116 (setq newfields (cons (car (cdr fields))
117 (cons (car fields) newfields))))
123 (cl-call-next-method this (nreverse newfields))
/dports/editors/emacs/emacs-27.2/lisp/cedet/srecode/
H A Ddictionary.el110 (let ((newfields nil)
116 (setq newfields (cons (car (cdr fields))
117 (cons (car fields) newfields))))
123 (cl-call-next-method this (nreverse newfields))
/dports/databases/redis5/redis-5.0.14/tests/support/
H A Dutil.tcl323 set newfields {}
325 lappend newfields [list $k $v]
327 set fields [lsort -index 0 $newfields]

123